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

com.pulumi.azurenative.orbital.ContactProfile 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.orbital;

import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.orbital.ContactProfileArgs;
import com.pulumi.azurenative.orbital.outputs.ContactProfileLinkResponse;
import com.pulumi.azurenative.orbital.outputs.ContactProfileThirdPartyConfigurationResponse;
import com.pulumi.azurenative.orbital.outputs.ContactProfilesPropertiesResponseNetworkConfiguration;
import com.pulumi.azurenative.orbital.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.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact.
 * Azure REST API version: 2022-11-01.
 * 
 * Other available API versions: 2022-03-01.
 * 
 * ## Example Usage
 * ### Create a contact profile
 * 
 * 
 * {@code
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.orbital.ContactProfile;
 * import com.pulumi.azurenative.orbital.ContactProfileArgs;
 * import com.pulumi.azurenative.orbital.inputs.ContactProfileLinkArgs;
 * import com.pulumi.azurenative.orbital.inputs.ContactProfilesPropertiesNetworkConfigurationArgs;
 * import com.pulumi.azurenative.orbital.inputs.ContactProfileThirdPartyConfigurationArgs;
 * 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 contactProfile = new ContactProfile("contactProfile", ContactProfileArgs.builder()
 *             .autoTrackingConfiguration("disabled")
 *             .contactProfileName("CONTOSO-CP")
 *             .eventHubUri("/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.EventHub/namespaces/contosoHub/eventhubs/contosoHub")
 *             .links(            
 *                 ContactProfileLinkArgs.builder()
 *                     .channels(ContactProfileLinkChannelArgs.builder()
 *                         .bandwidthMHz(2)
 *                         .centerFrequencyMHz(2250)
 *                         .endPoint(EndPointArgs.builder()
 *                             .endPointName("ContosoTest_Uplink")
 *                             .ipAddress("10.1.0.4")
 *                             .port("50000")
 *                             .protocol("TCP")
 *                             .build())
 *                         .name("contoso-uplink-channel")
 *                         .build())
 *                     .direction("Uplink")
 *                     .eirpdBW(45)
 *                     .gainOverTemperature(0)
 *                     .name("contoso-uplink")
 *                     .polarization("LHCP")
 *                     .build(),
 *                 ContactProfileLinkArgs.builder()
 *                     .channels(ContactProfileLinkChannelArgs.builder()
 *                         .bandwidthMHz(15)
 *                         .centerFrequencyMHz(8160)
 *                         .endPoint(EndPointArgs.builder()
 *                             .endPointName("ContosoTest_Downlink")
 *                             .ipAddress("10.1.0.5")
 *                             .port("50001")
 *                             .protocol("UDP")
 *                             .build())
 *                         .name("contoso-downlink-channel")
 *                         .build())
 *                     .direction("Downlink")
 *                     .eirpdBW(0)
 *                     .gainOverTemperature(25)
 *                     .name("contoso-downlink")
 *                     .polarization("RHCP")
 *                     .build())
 *             .location("eastus2")
 *             .minimumElevationDegrees(5)
 *             .minimumViableContactDuration("PT1M")
 *             .networkConfiguration(ContactProfilesPropertiesNetworkConfigurationArgs.builder()
 *                 .subnetId("/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Network/virtualNetworks/contoso-vnet/subnets/orbital-delegated-subnet")
 *                 .build())
 *             .resourceGroupName("contoso-Rgp")
 *             .thirdPartyConfigurations(            
 *                 ContactProfileThirdPartyConfigurationArgs.builder()
 *                     .missionConfiguration("Ksat_MissionConfiguration")
 *                     .providerName("KSAT")
 *                     .build(),
 *                 ContactProfileThirdPartyConfigurationArgs.builder()
 *                     .missionConfiguration("Viasat_Configuration")
 *                     .providerName("VIASAT")
 *                     .build())
 *             .build());
 * 
 *     }
 * }
 * 
 * }
 * 
* * ## Import * * An existing resource can be imported using its type token, name, and identifier, e.g. * * ```sh * $ pulumi import azure-native:orbital:ContactProfile CONTOSO-CP /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/contactProfiles/{contactProfileName} * ``` * */ @ResourceType(type="azure-native:orbital:ContactProfile") public class ContactProfile extends com.pulumi.resources.CustomResource { /** * Auto-tracking configuration. * */ @Export(name="autoTrackingConfiguration", refs={String.class}, tree="[0]") private Output autoTrackingConfiguration; /** * @return Auto-tracking configuration. * */ public Output> autoTrackingConfiguration() { return Codegen.optional(this.autoTrackingConfiguration); } /** * ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to send telemetry into the hub. * */ @Export(name="eventHubUri", refs={String.class}, tree="[0]") private Output eventHubUri; /** * @return ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to send telemetry into the hub. * */ public Output> eventHubUri() { return Codegen.optional(this.eventHubUri); } /** * Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints. * */ @Export(name="links", refs={List.class,ContactProfileLinkResponse.class}, tree="[0,1]") private Output> links; /** * @return Links of the Contact Profile. Describes RF links, modem processing, and IP endpoints. * */ public Output> links() { return this.links; } /** * 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; } /** * Minimum viable elevation for the contact in decimal degrees. Used for listing the available contacts with a spacecraft at a given ground station. * */ @Export(name="minimumElevationDegrees", refs={Double.class}, tree="[0]") private Output minimumElevationDegrees; /** * @return Minimum viable elevation for the contact in decimal degrees. Used for listing the available contacts with a spacecraft at a given ground station. * */ public Output> minimumElevationDegrees() { return Codegen.optional(this.minimumElevationDegrees); } /** * Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given ground station. * */ @Export(name="minimumViableContactDuration", refs={String.class}, tree="[0]") private Output minimumViableContactDuration; /** * @return Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given ground station. * */ public Output> minimumViableContactDuration() { return Codegen.optional(this.minimumViableContactDuration); } /** * 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; } /** * Network configuration of customer virtual network. * */ @Export(name="networkConfiguration", refs={ContactProfilesPropertiesResponseNetworkConfiguration.class}, tree="[0]") private Output networkConfiguration; /** * @return Network configuration of customer virtual network. * */ public Output networkConfiguration() { return this.networkConfiguration; } /** * 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); } /** * Third-party mission configuration of the Contact Profile. Describes RF links, modem processing, and IP endpoints. * */ @Export(name="thirdPartyConfigurations", refs={List.class,ContactProfileThirdPartyConfigurationResponse.class}, tree="[0,1]") private Output> thirdPartyConfigurations; /** * @return Third-party mission configuration of the Contact Profile. Describes RF links, modem processing, and IP endpoints. * */ public Output>> thirdPartyConfigurations() { return Codegen.optional(this.thirdPartyConfigurations); } /** * 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 ContactProfile(java.lang.String name) { this(name, ContactProfileArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public ContactProfile(java.lang.String name, ContactProfileArgs 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 ContactProfile(java.lang.String name, ContactProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:orbital:ContactProfile", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private ContactProfile(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure-native:orbital:ContactProfile", name, null, makeResourceOptions(options, id), false); } private static ContactProfileArgs makeArgs(ContactProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? ContactProfileArgs.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:orbital/v20220301:ContactProfile").build()), Output.of(Alias.builder().type("azure-native:orbital/v20221101:ContactProfile").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 ContactProfile get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new ContactProfile(name, id, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy