Contact

class Contact : KotlinCustomResource

Manages an orbital contact.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.orbital.Spacecraft;
import com.pulumi.azure.orbital.SpacecraftArgs;
import com.pulumi.azure.orbital.inputs.SpacecraftLinkArgs;
import com.pulumi.azure.network.VirtualNetwork;
import com.pulumi.azure.network.VirtualNetworkArgs;
import com.pulumi.azure.network.Subnet;
import com.pulumi.azure.network.SubnetArgs;
import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
import com.pulumi.azure.orbital.ContactProfile;
import com.pulumi.azure.orbital.ContactProfileArgs;
import com.pulumi.azure.orbital.inputs.ContactProfileLinkArgs;
import com.pulumi.azure.orbital.Contact;
import com.pulumi.azure.orbital.ContactArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleSpacecraft = new Spacecraft("exampleSpacecraft", SpacecraftArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location("westeurope")
.noradId("12345")
.links(SpacecraftLinkArgs.builder()
.bandwidthMhz(100)
.centerFrequencyMhz(101)
.direction("Uplink")
.polarization("LHCP")
.name("examplename")
.build())
.twoLineElements(
"1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621",
"2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495")
.titleLine("AQUA")
.tags(Map.of("aks-managed-cluster-name", "9a57225d-a405-4d40-aa46-f13d2342abef"))
.build());
var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
.addressSpaces("10.0.0.0/16")
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.virtualNetworkName(exampleVirtualNetwork.name())
.addressPrefixes("10.0.1.0/24")
.delegations(SubnetDelegationArgs.builder()
.name("orbitalgateway")
.serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
.name("Microsoft.Orbital/orbitalGateways")
.actions(
"Microsoft.Network/publicIPAddresses/join/action",
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Network/virtualNetworks/read",
"Microsoft.Network/publicIPAddresses/read")
.build())
.build())
.build());
var exampleContactProfile = new ContactProfile("exampleContactProfile", ContactProfileArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.minimumVariableContactDuration("PT1M")
.autoTracking("disabled")
.links(ContactProfileLinkArgs.builder()
.channels(ContactProfileLinkChannelArgs.builder()
.name("channelname")
.bandwidthMhz(100)
.centerFrequencyMhz(101)
.endPoints(ContactProfileLinkChannelEndPointArgs.builder()
.endPointName("AQUA_command")
.ipAddress("10.0.1.0")
.port("49153")
.protocol("TCP")
.build())
.build())
.direction("Uplink")
.name("RHCP_UL")
.polarization("RHCP")
.build())
.networkConfigurationSubnetId(exampleSubnet.id())
.build());
var exampleContact = new Contact("exampleContact", ContactArgs.builder()
.spacecraftId(exampleSpacecraft.id())
.reservationStartTime("2020-07-16T20:35:00.00Z")
.reservationEndTime("2020-07-16T20:55:00.00Z")
.groundStationName("WESTUS2_0")
.contactProfileId(exampleContactProfile.id())
.build());
}
}

Import

Spacecraft can be imported using the resource id, e.g.

$ pulumi import azure:orbital/contact:Contact example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1/contacts/contact1

Properties

Link copied to clipboard

ID of the orbital contact profile. Changing this forces a new resource to be created.

Link copied to clipboard

Name of the Azure ground station. Changing this forces a new resource to be created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the Contact. Changing this forces a new resource to be created. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Reservation end time of the Contact. Changing this forces a new resource to be created.

Link copied to clipboard

Reservation start time of the Contact. Changing this forces a new resource to be created.

Link copied to clipboard
val spacecraftId: Output<String>

The ID of the spacecraft which the contact will be made to. Changing this forces a new resource to be created.

Link copied to clipboard
val urn: Output<String>