com.pulumi.azurenative.orbital.Contact Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.ContactArgs;
import com.pulumi.azurenative.orbital.outputs.ContactsPropertiesResponseAntennaConfiguration;
import com.pulumi.azurenative.orbital.outputs.ContactsPropertiesResponseContactProfile;
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 javax.annotation.Nullable;
/**
* Customer creates a contact resource for a spacecraft resource.
* Azure REST API version: 2022-11-01.
*
* Other available API versions: 2022-03-01.
*
* ## Example Usage
* ### Create a contact
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.orbital.Contact;
* import com.pulumi.azurenative.orbital.ContactArgs;
* import com.pulumi.azurenative.orbital.inputs.ContactsPropertiesContactProfileArgs;
* 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 contact = new Contact("contact", ContactArgs.builder()
* .contactName("contact1")
* .contactProfile(ContactsPropertiesContactProfileArgs.builder()
* .id("/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP")
* .build())
* .groundStationName("EASTUS2_0")
* .reservationEndTime("2023-02-22T11:10:45Z")
* .reservationStartTime("2023-02-22T10:58:30Z")
* .resourceGroupName("contoso-Rgp")
* .spacecraftName("CONTOSO_SAT")
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:orbital:Contact contact1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}
* ```
*
*/
@ResourceType(type="azure-native:orbital:Contact")
public class Contact extends com.pulumi.resources.CustomResource {
/**
* The configuration associated with the allocated antenna.
*
*/
@Export(name="antennaConfiguration", refs={ContactsPropertiesResponseAntennaConfiguration.class}, tree="[0]")
private Output antennaConfiguration;
/**
* @return The configuration associated with the allocated antenna.
*
*/
public Output antennaConfiguration() {
return this.antennaConfiguration;
}
/**
* The reference to the contact profile resource.
*
*/
@Export(name="contactProfile", refs={ContactsPropertiesResponseContactProfile.class}, tree="[0]")
private Output contactProfile;
/**
* @return The reference to the contact profile resource.
*
*/
public Output contactProfile() {
return this.contactProfile;
}
/**
* Azimuth of the antenna at the end of the contact in decimal degrees.
*
*/
@Export(name="endAzimuthDegrees", refs={Double.class}, tree="[0]")
private Output endAzimuthDegrees;
/**
* @return Azimuth of the antenna at the end of the contact in decimal degrees.
*
*/
public Output endAzimuthDegrees() {
return this.endAzimuthDegrees;
}
/**
* Spacecraft elevation above the horizon at contact end.
*
*/
@Export(name="endElevationDegrees", refs={Double.class}, tree="[0]")
private Output endElevationDegrees;
/**
* @return Spacecraft elevation above the horizon at contact end.
*
*/
public Output endElevationDegrees() {
return this.endElevationDegrees;
}
/**
* Any error message while scheduling a contact.
*
*/
@Export(name="errorMessage", refs={String.class}, tree="[0]")
private Output errorMessage;
/**
* @return Any error message while scheduling a contact.
*
*/
public Output errorMessage() {
return this.errorMessage;
}
/**
* Azure Ground Station name.
*
*/
@Export(name="groundStationName", refs={String.class}, tree="[0]")
private Output groundStationName;
/**
* @return Azure Ground Station name.
*
*/
public Output groundStationName() {
return this.groundStationName;
}
/**
* Maximum elevation of the antenna during the contact in decimal degrees.
*
*/
@Export(name="maximumElevationDegrees", refs={Double.class}, tree="[0]")
private Output maximumElevationDegrees;
/**
* @return Maximum elevation of the antenna during the contact in decimal degrees.
*
*/
public Output maximumElevationDegrees() {
return this.maximumElevationDegrees;
}
/**
* 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;
}
/**
* Reservation end time of a contact (ISO 8601 UTC standard).
*
*/
@Export(name="reservationEndTime", refs={String.class}, tree="[0]")
private Output reservationEndTime;
/**
* @return Reservation end time of a contact (ISO 8601 UTC standard).
*
*/
public Output reservationEndTime() {
return this.reservationEndTime;
}
/**
* Reservation start time of a contact (ISO 8601 UTC standard).
*
*/
@Export(name="reservationStartTime", refs={String.class}, tree="[0]")
private Output reservationStartTime;
/**
* @return Reservation start time of a contact (ISO 8601 UTC standard).
*
*/
public Output reservationStartTime() {
return this.reservationStartTime;
}
/**
* Receive end time of a contact (ISO 8601 UTC standard).
*
*/
@Export(name="rxEndTime", refs={String.class}, tree="[0]")
private Output rxEndTime;
/**
* @return Receive end time of a contact (ISO 8601 UTC standard).
*
*/
public Output rxEndTime() {
return this.rxEndTime;
}
/**
* Receive start time of a contact (ISO 8601 UTC standard).
*
*/
@Export(name="rxStartTime", refs={String.class}, tree="[0]")
private Output rxStartTime;
/**
* @return Receive start time of a contact (ISO 8601 UTC standard).
*
*/
public Output rxStartTime() {
return this.rxStartTime;
}
/**
* Azimuth of the antenna at the start of the contact in decimal degrees.
*
*/
@Export(name="startAzimuthDegrees", refs={Double.class}, tree="[0]")
private Output startAzimuthDegrees;
/**
* @return Azimuth of the antenna at the start of the contact in decimal degrees.
*
*/
public Output startAzimuthDegrees() {
return this.startAzimuthDegrees;
}
/**
* Spacecraft elevation above the horizon at contact start.
*
*/
@Export(name="startElevationDegrees", refs={Double.class}, tree="[0]")
private Output startElevationDegrees;
/**
* @return Spacecraft elevation above the horizon at contact start.
*
*/
public Output startElevationDegrees() {
return this.startElevationDegrees;
}
/**
* Status of a contact.
*
*/
@Export(name="status", refs={String.class}, tree="[0]")
private Output status;
/**
* @return Status of a contact.
*
*/
public Output status() {
return this.status;
}
/**
* 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;
}
/**
* Transmit end time of a contact (ISO 8601 UTC standard).
*
*/
@Export(name="txEndTime", refs={String.class}, tree="[0]")
private Output txEndTime;
/**
* @return Transmit end time of a contact (ISO 8601 UTC standard).
*
*/
public Output txEndTime() {
return this.txEndTime;
}
/**
* Transmit start time of a contact (ISO 8601 UTC standard).
*
*/
@Export(name="txStartTime", refs={String.class}, tree="[0]")
private Output txStartTime;
/**
* @return Transmit start time of a contact (ISO 8601 UTC standard).
*
*/
public Output txStartTime() {
return this.txStartTime;
}
/**
* 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 Contact(java.lang.String name) {
this(name, ContactArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public Contact(java.lang.String name, ContactArgs 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 Contact(java.lang.String name, ContactArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:orbital:Contact", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private Contact(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("azure-native:orbital:Contact", name, null, makeResourceOptions(options, id), false);
}
private static ContactArgs makeArgs(ContactArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? ContactArgs.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:Contact").build()),
Output.of(Alias.builder().type("azure-native:orbital/v20221101:Contact").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 Contact get(java.lang.String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new Contact(name, id, options);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy