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

com.pulumi.azurenative.logic.RosettaNetProcessConfiguration Maven / Gradle / Ivy

There is a newer version: 2.72.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.logic;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.logic.RosettaNetProcessConfigurationArgs;
import com.pulumi.azurenative.logic.outputs.RosettaNetPipActivitySettingsResponse;
import com.pulumi.azurenative.logic.outputs.RosettaNetPipRoleSettingsResponse;
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.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * The integration account RosettaNet process configuration.
 * Azure REST API version: 2016-06-01. Prior API version in Azure Native 1.x: 2016-06-01.
 * 
 * ## Example Usage
 * ### Create or update an RosettaNetProcessConfiguration
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.logic.RosettaNetProcessConfiguration;
 * import com.pulumi.azurenative.logic.RosettaNetProcessConfigurationArgs;
 * import com.pulumi.azurenative.logic.inputs.RosettaNetPipActivitySettingsArgs;
 * import com.pulumi.azurenative.logic.inputs.RosettaNetPipAcknowledgmentOfReceiptSettingsArgs;
 * import com.pulumi.azurenative.logic.inputs.RosettaNetPipActivityBehaviorArgs;
 * import com.pulumi.azurenative.logic.inputs.RosettaNetPipRoleSettingsArgs;
 * import com.pulumi.azurenative.logic.inputs.RosettaNetPipBusinessDocumentArgs;
 * 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 rosettaNetProcessConfiguration = new RosettaNetProcessConfiguration("rosettaNetProcessConfiguration", RosettaNetProcessConfigurationArgs.builder()
 *             .activitySettings(RosettaNetPipActivitySettingsArgs.builder()
 *                 .acknowledgmentOfReceiptSettings(RosettaNetPipAcknowledgmentOfReceiptSettingsArgs.builder()
 *                     .isNonRepudiationRequired(false)
 *                     .timeToAcknowledgeInSeconds(600)
 *                     .build())
 *                 .activityBehavior(RosettaNetPipActivityBehaviorArgs.builder()
 *                     .actionType("DoubleAction")
 *                     .isAuthorizationRequired(false)
 *                     .isSecuredTransportRequired(false)
 *                     .nonRepudiationOfOriginAndContent(false)
 *                     .persistentConfidentialityScope("None")
 *                     .responseType("Async")
 *                     .retryCount(2)
 *                     .timeToPerformInSeconds(7200)
 *                     .build())
 *                 .activityType("RequestResponse")
 *                 .build())
 *             .description("Test description")
 *             .initiatorRoleSettings(RosettaNetPipRoleSettingsArgs.builder()
 *                 .action("Purchase Order Request")
 *                 .businessDocument(RosettaNetPipBusinessDocumentArgs.builder()
 *                     .description("A request to accept a purchase order for fulfillment..")
 *                     .name("Purchase Order Request")
 *                     .version("V02.02.00")
 *                     .build())
 *                 .description("This partner role creates a demand for a product or service.")
 *                 .role("Buyer")
 *                 .roleType("Functional")
 *                 .service("Buyer Service")
 *                 .serviceClassification("Business Service")
 *                 .build())
 *             .integrationAccountName("testia123")
 *             .processCode("3A4")
 *             .processName("Request Purchase Order")
 *             .processVersion("V02.02.00")
 *             .resourceGroupName("testrg123")
 *             .responderRoleSettings(RosettaNetPipRoleSettingsArgs.builder()
 *                 .action("Purchase Order Confirmation Action")
 *                 .businessDocument(RosettaNetPipBusinessDocumentArgs.builder()
 *                     .description("Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.")
 *                     .name("Purchase Order Confirmation")
 *                     .version("V02.02.00")
 *                     .build())
 *                 .description("An organization that sells products to partners in the supply chain.")
 *                 .role("Seller")
 *                 .roleType("Organizational")
 *                 .service("Seller Service")
 *                 .serviceClassification("Business Service")
 *                 .build())
 *             .rosettaNetProcessConfigurationName("3A4")
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:logic:RosettaNetProcessConfiguration 3A4 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations/{rosettaNetProcessConfigurationName} * ``` * */ @ResourceType(type="azure-native:logic:RosettaNetProcessConfiguration") public class RosettaNetProcessConfiguration extends com.pulumi.resources.CustomResource { /** * The RosettaNet process configuration activity settings. * */ @Export(name="activitySettings", refs={RosettaNetPipActivitySettingsResponse.class}, tree="[0]") private Output activitySettings; /** * @return The RosettaNet process configuration activity settings. * */ public Output activitySettings() { return this.activitySettings; } /** * The changed time. * */ @Export(name="changedTime", refs={String.class}, tree="[0]") private Output changedTime; /** * @return The changed time. * */ public Output changedTime() { return this.changedTime; } /** * The created time. * */ @Export(name="createdTime", refs={String.class}, tree="[0]") private Output createdTime; /** * @return The created time. * */ public Output createdTime() { return this.createdTime; } /** * The integration account RosettaNet ProcessConfiguration properties. * */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** * @return The integration account RosettaNet ProcessConfiguration properties. * */ public Output> description() { return Codegen.optional(this.description); } /** * The RosettaNet initiator role settings. * */ @Export(name="initiatorRoleSettings", refs={RosettaNetPipRoleSettingsResponse.class}, tree="[0]") private Output initiatorRoleSettings; /** * @return The RosettaNet initiator role settings. * */ public Output initiatorRoleSettings() { return this.initiatorRoleSettings; } /** * The resource location. * */ @Export(name="location", refs={String.class}, tree="[0]") private Output location; /** * @return The resource location. * */ public Output> location() { return Codegen.optional(this.location); } /** * The metadata. * */ @Export(name="metadata", refs={Map.class,String.class}, tree="[0,1,1]") private Output> metadata; /** * @return The metadata. * */ public Output>> metadata() { return Codegen.optional(this.metadata); } /** * Gets the resource name. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return Gets the resource name. * */ public Output name() { return this.name; } /** * The integration account RosettaNet process code. * */ @Export(name="processCode", refs={String.class}, tree="[0]") private Output processCode; /** * @return The integration account RosettaNet process code. * */ public Output processCode() { return this.processCode; } /** * The integration account RosettaNet process name. * */ @Export(name="processName", refs={String.class}, tree="[0]") private Output processName; /** * @return The integration account RosettaNet process name. * */ public Output processName() { return this.processName; } /** * The integration account RosettaNet process version. * */ @Export(name="processVersion", refs={String.class}, tree="[0]") private Output processVersion; /** * @return The integration account RosettaNet process version. * */ public Output processVersion() { return this.processVersion; } /** * The RosettaNet responder role settings. * */ @Export(name="responderRoleSettings", refs={RosettaNetPipRoleSettingsResponse.class}, tree="[0]") private Output responderRoleSettings; /** * @return The RosettaNet responder role settings. * */ public Output responderRoleSettings() { return this.responderRoleSettings; } /** * The resource tags. * */ @Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> tags; /** * @return The resource tags. * */ public Output>> tags() { return Codegen.optional(this.tags); } /** * Gets the resource type. * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** * @return Gets the resource type. * */ public Output type() { return this.type; } /** * * @param name The _unique_ name of the resulting resource. */ public RosettaNetProcessConfiguration(java.lang.String name) { this(name, RosettaNetProcessConfigurationArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public RosettaNetProcessConfiguration(java.lang.String name, RosettaNetProcessConfigurationArgs 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 RosettaNetProcessConfiguration(java.lang.String name, RosettaNetProcessConfigurationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:logic:RosettaNetProcessConfiguration", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private RosettaNetProcessConfiguration(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:logic:RosettaNetProcessConfiguration", name, null, makeResourceOptions(options, id), false); } private static RosettaNetProcessConfigurationArgs makeArgs(RosettaNetProcessConfigurationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? RosettaNetProcessConfigurationArgs.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:logic/v20160601:RosettaNetProcessConfiguration").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 RosettaNetProcessConfiguration get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new RosettaNetProcessConfiguration(name, id, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy