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

com.pulumi.azurenative.monitor.PipelineGroup 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.monitor;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.monitor.PipelineGroupArgs;
import com.pulumi.azurenative.monitor.outputs.AzureResourceManagerCommonTypesExtendedLocationResponse;
import com.pulumi.azurenative.monitor.outputs.ExporterResponse;
import com.pulumi.azurenative.monitor.outputs.NetworkingConfigurationResponse;
import com.pulumi.azurenative.monitor.outputs.ProcessorResponse;
import com.pulumi.azurenative.monitor.outputs.ReceiverResponse;
import com.pulumi.azurenative.monitor.outputs.ServiceResponse;
import com.pulumi.azurenative.monitor.outputs.SystemDataResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * A pipeline group definition.
 * Azure REST API version: 2023-10-01-preview.
 * 
 * Other available API versions: 2024-10-01-preview.
 * 
 * ## Example Usage
 * ### Create a PipelineGroup instance using UDP receiver
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.monitor.PipelineGroup;
 * import com.pulumi.azurenative.monitor.PipelineGroupArgs;
 * import com.pulumi.azurenative.monitor.inputs.ExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsApiConfigArgs;
 * import com.pulumi.azurenative.monitor.inputs.SchemaMapArgs;
 * import com.pulumi.azurenative.monitor.inputs.ConcurrencyConfigurationArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureResourceManagerCommonTypesExtendedLocationArgs;
 * import com.pulumi.azurenative.monitor.inputs.ReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.UdpReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.ServiceArgs;
 * 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 pipelineGroup = new PipelineGroup("pipelineGroup", PipelineGroupArgs.builder()
 *             .exporters(ExporterArgs.builder()
 *                 .azureMonitorWorkspaceLogs(AzureMonitorWorkspaceLogsExporterArgs.builder()
 *                     .api(AzureMonitorWorkspaceLogsApiConfigArgs.builder()
 *                         .dataCollectionEndpointUrl("https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com")
 *                         .dataCollectionRule("dcr-00000000000000000000000000000000")
 *                         .schema(SchemaMapArgs.builder()
 *                             .recordMap(                            
 *                                 RecordMapArgs.builder()
 *                                     .from("body")
 *                                     .to("Body")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("severity_text")
 *                                     .to("SeverityText")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("time_unix_nano")
 *                                     .to("TimeGenerated")
 *                                     .build())
 *                             .build())
 *                         .stream("Custom-MyTableRawData_CL")
 *                         .build())
 *                     .concurrency(ConcurrencyConfigurationArgs.builder()
 *                         .batchQueueSize(100)
 *                         .workerCount(4)
 *                         .build())
 *                     .build())
 *                 .name("my-workspace-logs-exporter1")
 *                 .type("AzureMonitorWorkspaceLogs")
 *                 .build())
 *             .extendedLocation(AzureResourceManagerCommonTypesExtendedLocationArgs.builder()
 *                 .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation")
 *                 .type("CustomLocation")
 *                 .build())
 *             .location("eastus2")
 *             .pipelineGroupName("plGroup1")
 *             .processors()
 *             .receivers(ReceiverArgs.builder()
 *                 .name("udp-receiver1")
 *                 .type("UDP")
 *                 .udp(UdpReceiverArgs.builder()
 *                     .encoding("utf-8")
 *                     .endpoint("0.0.0.0:518")
 *                     .build())
 *                 .build())
 *             .resourceGroupName("myResourceGroup")
 *             .service(ServiceArgs.builder()
 *                 .pipelines(PipelineArgs.builder()
 *                     .exporters("my-workspace-logs-exporter1")
 *                     .name("MyPipelineForLogs1")
 *                     .processors()
 *                     .receivers("udp-receiver1")
 *                     .type("logs")
 *                     .build())
 *                 .build())
 *             .tags(Map.ofEntries(
 *                 Map.entry("tag1", "A"),
 *                 Map.entry("tag2", "B")
 *             ))
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### Create a PipelineGroup instance using a syslog receiver * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.monitor.PipelineGroup;
 * import com.pulumi.azurenative.monitor.PipelineGroupArgs;
 * import com.pulumi.azurenative.monitor.inputs.ExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsApiConfigArgs;
 * import com.pulumi.azurenative.monitor.inputs.SchemaMapArgs;
 * import com.pulumi.azurenative.monitor.inputs.ConcurrencyConfigurationArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureResourceManagerCommonTypesExtendedLocationArgs;
 * import com.pulumi.azurenative.monitor.inputs.ProcessorArgs;
 * import com.pulumi.azurenative.monitor.inputs.ReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.SyslogReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.ServiceArgs;
 * 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 pipelineGroup = new PipelineGroup("pipelineGroup", PipelineGroupArgs.builder()
 *             .exporters(ExporterArgs.builder()
 *                 .azureMonitorWorkspaceLogs(AzureMonitorWorkspaceLogsExporterArgs.builder()
 *                     .api(AzureMonitorWorkspaceLogsApiConfigArgs.builder()
 *                         .dataCollectionEndpointUrl("https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com")
 *                         .dataCollectionRule("dcr-00000000000000000000000000000000")
 *                         .schema(SchemaMapArgs.builder()
 *                             .recordMap(                            
 *                                 RecordMapArgs.builder()
 *                                     .from("body")
 *                                     .to("Body")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("severity_text")
 *                                     .to("SeverityText")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("time_unix_nano")
 *                                     .to("TimeGenerated")
 *                                     .build())
 *                             .build())
 *                         .stream("Custom-MyTableRawData_CL")
 *                         .build())
 *                     .concurrency(ConcurrencyConfigurationArgs.builder()
 *                         .batchQueueSize(100)
 *                         .workerCount(4)
 *                         .build())
 *                     .build())
 *                 .name("my-workspace-logs-exporter1")
 *                 .type("AzureMonitorWorkspaceLogs")
 *                 .build())
 *             .extendedLocation(AzureResourceManagerCommonTypesExtendedLocationArgs.builder()
 *                 .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation")
 *                 .type("CustomLocation")
 *                 .build())
 *             .location("eastus2")
 *             .pipelineGroupName("plGroup1")
 *             .processors(ProcessorArgs.builder()
 *                 .name("batch-processor1")
 *                 .type("Batch")
 *                 .build())
 *             .receivers(ReceiverArgs.builder()
 *                 .name("syslog-receiver1")
 *                 .syslog(SyslogReceiverArgs.builder()
 *                     .endpoint("0.0.0.0:514")
 *                     .build())
 *                 .type("Syslog")
 *                 .build())
 *             .resourceGroupName("myResourceGroup")
 *             .service(ServiceArgs.builder()
 *                 .pipelines(PipelineArgs.builder()
 *                     .exporters("my-workspace-logs-exporter1")
 *                     .name("MyPipelineForLogs1")
 *                     .processors("batch-processor1")
 *                     .receivers("syslog-receiver1")
 *                     .type("logs")
 *                     .build())
 *                 .build())
 *             .tags(Map.ofEntries(
 *                 Map.entry("tag1", "A"),
 *                 Map.entry("tag2", "B")
 *             ))
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### Create a PipelineGroup instance using a syslog receiver and cache. * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.monitor.PipelineGroup;
 * import com.pulumi.azurenative.monitor.PipelineGroupArgs;
 * import com.pulumi.azurenative.monitor.inputs.ExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsApiConfigArgs;
 * import com.pulumi.azurenative.monitor.inputs.SchemaMapArgs;
 * import com.pulumi.azurenative.monitor.inputs.CacheConfigurationArgs;
 * import com.pulumi.azurenative.monitor.inputs.ConcurrencyConfigurationArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureResourceManagerCommonTypesExtendedLocationArgs;
 * import com.pulumi.azurenative.monitor.inputs.ProcessorArgs;
 * import com.pulumi.azurenative.monitor.inputs.ReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.SyslogReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.ServiceArgs;
 * 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 pipelineGroup = new PipelineGroup("pipelineGroup", PipelineGroupArgs.builder()
 *             .exporters(ExporterArgs.builder()
 *                 .azureMonitorWorkspaceLogs(AzureMonitorWorkspaceLogsExporterArgs.builder()
 *                     .api(AzureMonitorWorkspaceLogsApiConfigArgs.builder()
 *                         .dataCollectionEndpointUrl("https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com")
 *                         .dataCollectionRule("dcr-00000000000000000000000000000000")
 *                         .schema(SchemaMapArgs.builder()
 *                             .recordMap(                            
 *                                 RecordMapArgs.builder()
 *                                     .from("body")
 *                                     .to("Body")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("severity_text")
 *                                     .to("SeverityText")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("time_unix_nano")
 *                                     .to("TimeGenerated")
 *                                     .build())
 *                             .build())
 *                         .stream("Custom-MyTableRawData_CL")
 *                         .build())
 *                     .cache(CacheConfigurationArgs.builder()
 *                         .maxStorageUsage(100)
 *                         .retentionPeriod(10)
 *                         .build())
 *                     .concurrency(ConcurrencyConfigurationArgs.builder()
 *                         .batchQueueSize(100)
 *                         .workerCount(4)
 *                         .build())
 *                     .build())
 *                 .name("my-workspace-logs-exporter1")
 *                 .type("AzureMonitorWorkspaceLogs")
 *                 .build())
 *             .extendedLocation(AzureResourceManagerCommonTypesExtendedLocationArgs.builder()
 *                 .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation")
 *                 .type("CustomLocation")
 *                 .build())
 *             .location("eastus2")
 *             .pipelineGroupName("plGroup1")
 *             .processors(ProcessorArgs.builder()
 *                 .name("batch-processor1")
 *                 .type("Batch")
 *                 .build())
 *             .receivers(ReceiverArgs.builder()
 *                 .name("syslog-receiver1")
 *                 .syslog(SyslogReceiverArgs.builder()
 *                     .endpoint("0.0.0.0:514")
 *                     .build())
 *                 .type("Syslog")
 *                 .build())
 *             .resourceGroupName("myResourceGroup")
 *             .service(ServiceArgs.builder()
 *                 .pipelines(PipelineArgs.builder()
 *                     .exporters("my-workspace-logs-exporter1")
 *                     .name("MyPipelineForLogs1")
 *                     .processors("batch-processor1")
 *                     .receivers("syslog-receiver1")
 *                     .type("logs")
 *                     .build())
 *                 .build())
 *             .tags(Map.ofEntries(
 *                 Map.entry("tag1", "A"),
 *                 Map.entry("tag2", "B")
 *             ))
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* ### Create a PipelineGroup instance using a syslog receiver and networking configurations. * *
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.monitor.PipelineGroup;
 * import com.pulumi.azurenative.monitor.PipelineGroupArgs;
 * import com.pulumi.azurenative.monitor.inputs.ExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsExporterArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureMonitorWorkspaceLogsApiConfigArgs;
 * import com.pulumi.azurenative.monitor.inputs.SchemaMapArgs;
 * import com.pulumi.azurenative.monitor.inputs.ConcurrencyConfigurationArgs;
 * import com.pulumi.azurenative.monitor.inputs.AzureResourceManagerCommonTypesExtendedLocationArgs;
 * import com.pulumi.azurenative.monitor.inputs.NetworkingConfigurationArgs;
 * import com.pulumi.azurenative.monitor.inputs.ReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.SyslogReceiverArgs;
 * import com.pulumi.azurenative.monitor.inputs.ServiceArgs;
 * 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 pipelineGroup = new PipelineGroup("pipelineGroup", PipelineGroupArgs.builder()
 *             .exporters(ExporterArgs.builder()
 *                 .azureMonitorWorkspaceLogs(AzureMonitorWorkspaceLogsExporterArgs.builder()
 *                     .api(AzureMonitorWorkspaceLogsApiConfigArgs.builder()
 *                         .dataCollectionEndpointUrl("https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com")
 *                         .dataCollectionRule("dcr-00000000000000000000000000000000")
 *                         .schema(SchemaMapArgs.builder()
 *                             .recordMap(                            
 *                                 RecordMapArgs.builder()
 *                                     .from("body")
 *                                     .to("Body")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("severity_text")
 *                                     .to("SeverityText")
 *                                     .build(),
 *                                 RecordMapArgs.builder()
 *                                     .from("time_unix_nano")
 *                                     .to("TimeGenerated")
 *                                     .build())
 *                             .build())
 *                         .stream("Custom-MyTableRawData_CL")
 *                         .build())
 *                     .concurrency(ConcurrencyConfigurationArgs.builder()
 *                         .batchQueueSize(100)
 *                         .workerCount(4)
 *                         .build())
 *                     .build())
 *                 .name("my-workspace-logs-exporter1")
 *                 .type("AzureMonitorWorkspaceLogs")
 *                 .build())
 *             .extendedLocation(AzureResourceManagerCommonTypesExtendedLocationArgs.builder()
 *                 .name("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation")
 *                 .type("CustomLocation")
 *                 .build())
 *             .location("eastus2")
 *             .networkingConfigurations(NetworkingConfigurationArgs.builder()
 *                 .externalNetworkingMode("LoadBalancerOnly")
 *                 .host("azuremonitorpipeline.contoso.com")
 *                 .routes(NetworkingRouteArgs.builder()
 *                     .receiver("syslog-receiver1")
 *                     .build())
 *                 .build())
 *             .pipelineGroupName("plGroup1")
 *             .processors()
 *             .receivers(ReceiverArgs.builder()
 *                 .name("syslog-receiver1")
 *                 .syslog(SyslogReceiverArgs.builder()
 *                     .endpoint("0.0.0.0:514")
 *                     .build())
 *                 .type("Syslog")
 *                 .build())
 *             .resourceGroupName("myResourceGroup")
 *             .service(ServiceArgs.builder()
 *                 .pipelines(PipelineArgs.builder()
 *                     .exporters("my-workspace-logs-exporter1")
 *                     .name("MyPipelineForLogs1")
 *                     .processors()
 *                     .receivers("syslog-receiver1")
 *                     .type("logs")
 *                     .build())
 *                 .build())
 *             .tags(Map.ofEntries(
 *                 Map.entry("tag1", "A"),
 *                 Map.entry("tag2", "B")
 *             ))
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:monitor:PipelineGroup plGroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Monitor/pipelineGroups/{pipelineGroupName} * ``` * */ @ResourceType(type="azure-native:monitor:PipelineGroup") public class PipelineGroup extends com.pulumi.resources.CustomResource { /** * The exporters specified for a pipeline group instance. * */ @Export(name="exporters", refs={List.class,ExporterResponse.class}, tree="[0,1]") private Output> exporters; /** * @return The exporters specified for a pipeline group instance. * */ public Output> exporters() { return this.exporters; } /** * The extended location for given pipeline group. * */ @Export(name="extendedLocation", refs={AzureResourceManagerCommonTypesExtendedLocationResponse.class}, tree="[0]") private Output extendedLocation; /** * @return The extended location for given pipeline group. * */ public Output> extendedLocation() { return Codegen.optional(this.extendedLocation); } /** * The geo-location where the resource lives * */ @Export(name="location", refs={String.class}, tree="[0]") private Output location; /** * @return The geo-location where the resource lives * */ public Output location() { return this.location; } /** * The name of the resource * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The name of the resource * */ public Output name() { return this.name; } /** * Networking configurations for the pipeline group instance. * */ @Export(name="networkingConfigurations", refs={List.class,NetworkingConfigurationResponse.class}, tree="[0,1]") private Output> networkingConfigurations; /** * @return Networking configurations for the pipeline group instance. * */ public Output>> networkingConfigurations() { return Codegen.optional(this.networkingConfigurations); } /** * The processors specified for a pipeline group instance. * */ @Export(name="processors", refs={List.class,ProcessorResponse.class}, tree="[0,1]") private Output> processors; /** * @return The processors specified for a pipeline group instance. * */ public Output> processors() { return this.processors; } /** * The provisioning state of a pipeline group instance. Set to Succeeded if everything is healthy. * */ @Export(name="provisioningState", refs={String.class}, tree="[0]") private Output provisioningState; /** * @return The provisioning state of a pipeline group instance. Set to Succeeded if everything is healthy. * */ public Output provisioningState() { return this.provisioningState; } /** * The receivers specified for a pipeline group instance. * */ @Export(name="receivers", refs={List.class,ReceiverResponse.class}, tree="[0,1]") private Output> receivers; /** * @return The receivers specified for a pipeline group instance. * */ public Output> receivers() { return this.receivers; } /** * Defines the amount of replicas of the pipeline group instance. * */ @Export(name="replicas", refs={Integer.class}, tree="[0]") private Output replicas; /** * @return Defines the amount of replicas of the pipeline group instance. * */ public Output> replicas() { return Codegen.optional(this.replicas); } /** * The service section for a given pipeline group instance. * */ @Export(name="service", refs={ServiceResponse.class}, tree="[0]") private Output service; /** * @return The service section for a given pipeline group instance. * */ public Output service() { return this.service; } /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. * */ @Export(name="systemData", refs={SystemDataResponse.class}, tree="[0]") private Output systemData; /** * @return Azure Resource Manager metadata containing createdBy and modifiedBy information. * */ public Output systemData() { return this.systemData; } /** * Resource tags. * */ @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> tags; /** * @return Resource tags. * */ public Output>> tags() { return Codegen.optional(this.tags); } /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public PipelineGroup(java.lang.String name) { this(name, PipelineGroupArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public PipelineGroup(java.lang.String name, PipelineGroupArgs 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 PipelineGroup(java.lang.String name, PipelineGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:monitor:PipelineGroup", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private PipelineGroup(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:monitor:PipelineGroup", name, null, makeResourceOptions(options, id), false); } private static PipelineGroupArgs makeArgs(PipelineGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? PipelineGroupArgs.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:monitor/v20231001preview:PipelineGroup").build()), Output.of(Alias.builder().type("azure-native:monitor/v20241001preview:PipelineGroup").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 PipelineGroup get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new PipelineGroup(name, id, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy