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

com.pulumi.azure.orbital.kotlin.ContactProfileArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.orbital.kotlin

import com.pulumi.azure.orbital.ContactProfileArgs.builder
import com.pulumi.azure.orbital.kotlin.inputs.ContactProfileLinkArgs
import com.pulumi.azure.orbital.kotlin.inputs.ContactProfileLinkArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Manages a Contact profile.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "rg-example",
 *     location: "West Europe",
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "testvnet",
 *     addressSpaces: ["10.0.0.0/16"],
 *     location: example.location,
 *     resourceGroupName: example.name,
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "testsubnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.0.1.0/24"],
 *     delegations: [{
 *         name: "orbitalgateway",
 *         serviceDelegation: {
 *             name: "Microsoft.Orbital/orbitalGateways",
 *             actions: [
 *                 "Microsoft.Network/publicIPAddresses/join/action",
 *                 "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                 "Microsoft.Network/virtualNetworks/read",
 *                 "Microsoft.Network/publicIPAddresses/read",
 *             ],
 *         },
 *     }],
 * });
 * const exampleContactProfile = new azure.orbital.ContactProfile("example", {
 *     name: "example-contact-profile",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     minimumVariableContactDuration: "PT1M",
 *     autoTracking: "disabled",
 *     links: [{
 *         channels: [{
 *             name: "channelname",
 *             bandwidthMhz: 100,
 *             centerFrequencyMhz: 101,
 *             endPoints: [{
 *                 endPointName: "AQUA_command",
 *                 ipAddress: "10.0.1.0",
 *                 port: "49513",
 *                 protocol: "TCP",
 *             }],
 *         }],
 *         direction: "Uplink",
 *         name: "RHCP_UL",
 *         polarization: "RHCP",
 *     }],
 *     networkConfigurationSubnetId: exampleSubnet.id,
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="rg-example",
 *     location="West Europe")
 * example_virtual_network = azure.network.VirtualNetwork("example",
 *     name="testvnet",
 *     address_spaces=["10.0.0.0/16"],
 *     location=example.location,
 *     resource_group_name=example.name)
 * example_subnet = azure.network.Subnet("example",
 *     name="testsubnet",
 *     resource_group_name=example.name,
 *     virtual_network_name=example_virtual_network.name,
 *     address_prefixes=["10.0.1.0/24"],
 *     delegations=[azure.network.SubnetDelegationArgs(
 *         name="orbitalgateway",
 *         service_delegation=azure.network.SubnetDelegationServiceDelegationArgs(
 *             name="Microsoft.Orbital/orbitalGateways",
 *             actions=[
 *                 "Microsoft.Network/publicIPAddresses/join/action",
 *                 "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                 "Microsoft.Network/virtualNetworks/read",
 *                 "Microsoft.Network/publicIPAddresses/read",
 *             ],
 *         ),
 *     )])
 * example_contact_profile = azure.orbital.ContactProfile("example",
 *     name="example-contact-profile",
 *     resource_group_name=example.name,
 *     location=example.location,
 *     minimum_variable_contact_duration="PT1M",
 *     auto_tracking="disabled",
 *     links=[azure.orbital.ContactProfileLinkArgs(
 *         channels=[azure.orbital.ContactProfileLinkChannelArgs(
 *             name="channelname",
 *             bandwidth_mhz=100,
 *             center_frequency_mhz=101,
 *             end_points=[azure.orbital.ContactProfileLinkChannelEndPointArgs(
 *                 end_point_name="AQUA_command",
 *                 ip_address="10.0.1.0",
 *                 port="49513",
 *                 protocol="TCP",
 *             )],
 *         )],
 *         direction="Uplink",
 *         name="RHCP_UL",
 *         polarization="RHCP",
 *     )],
 *     network_configuration_subnet_id=example_subnet.id)
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "rg-example",
 *         Location = "West Europe",
 *     });
 *     var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
 *     {
 *         Name = "testvnet",
 *         AddressSpaces = new[]
 *         {
 *             "10.0.0.0/16",
 *         },
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *     });
 *     var exampleSubnet = new Azure.Network.Subnet("example", new()
 *     {
 *         Name = "testsubnet",
 *         ResourceGroupName = example.Name,
 *         VirtualNetworkName = exampleVirtualNetwork.Name,
 *         AddressPrefixes = new[]
 *         {
 *             "10.0.1.0/24",
 *         },
 *         Delegations = new[]
 *         {
 *             new Azure.Network.Inputs.SubnetDelegationArgs
 *             {
 *                 Name = "orbitalgateway",
 *                 ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
 *                 {
 *                     Name = "Microsoft.Orbital/orbitalGateways",
 *                     Actions = new[]
 *                     {
 *                         "Microsoft.Network/publicIPAddresses/join/action",
 *                         "Microsoft.Network/virtualNetworks/subnets/join/action",
 *                         "Microsoft.Network/virtualNetworks/read",
 *                         "Microsoft.Network/publicIPAddresses/read",
 *                     },
 *                 },
 *             },
 *         },
 *     });
 *     var exampleContactProfile = new Azure.Orbital.ContactProfile("example", new()
 *     {
 *         Name = "example-contact-profile",
 *         ResourceGroupName = example.Name,
 *         Location = example.Location,
 *         MinimumVariableContactDuration = "PT1M",
 *         AutoTracking = "disabled",
 *         Links = new[]
 *         {
 *             new Azure.Orbital.Inputs.ContactProfileLinkArgs
 *             {
 *                 Channels = new[]
 *                 {
 *                     new Azure.Orbital.Inputs.ContactProfileLinkChannelArgs
 *                     {
 *                         Name = "channelname",
 *                         BandwidthMhz = 100,
 *                         CenterFrequencyMhz = 101,
 *                         EndPoints = new[]
 *                         {
 *                             new Azure.Orbital.Inputs.ContactProfileLinkChannelEndPointArgs
 *                             {
 *                                 EndPointName = "AQUA_command",
 *                                 IpAddress = "10.0.1.0",
 *                                 Port = "49513",
 *                                 Protocol = "TCP",
 *                             },
 *                         },
 *                     },
 *                 },
 *                 Direction = "Uplink",
 *                 Name = "RHCP_UL",
 *                 Polarization = "RHCP",
 *             },
 *         },
 *         NetworkConfigurationSubnetId = exampleSubnet.Id,
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/orbital"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("rg-example"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
 * 			Name: pulumi.String("testvnet"),
 * 			AddressSpaces: pulumi.StringArray{
 * 				pulumi.String("10.0.0.0/16"),
 * 			},
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
 * 			Name:               pulumi.String("testsubnet"),
 * 			ResourceGroupName:  example.Name,
 * 			VirtualNetworkName: exampleVirtualNetwork.Name,
 * 			AddressPrefixes: pulumi.StringArray{
 * 				pulumi.String("10.0.1.0/24"),
 * 			},
 * 			Delegations: network.SubnetDelegationArray{
 * 				&network.SubnetDelegationArgs{
 * 					Name: pulumi.String("orbitalgateway"),
 * 					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
 * 						Name: pulumi.String("Microsoft.Orbital/orbitalGateways"),
 * 						Actions: pulumi.StringArray{
 * 							pulumi.String("Microsoft.Network/publicIPAddresses/join/action"),
 * 							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
 * 							pulumi.String("Microsoft.Network/virtualNetworks/read"),
 * 							pulumi.String("Microsoft.Network/publicIPAddresses/read"),
 * 						},
 * 					},
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = orbital.NewContactProfile(ctx, "example", &orbital.ContactProfileArgs{
 * 			Name:                           pulumi.String("example-contact-profile"),
 * 			ResourceGroupName:              example.Name,
 * 			Location:                       example.Location,
 * 			MinimumVariableContactDuration: pulumi.String("PT1M"),
 * 			AutoTracking:                   pulumi.String("disabled"),
 * 			Links: orbital.ContactProfileLinkArray{
 * 				&orbital.ContactProfileLinkArgs{
 * 					Channels: orbital.ContactProfileLinkChannelArray{
 * 						&orbital.ContactProfileLinkChannelArgs{
 * 							Name:               pulumi.String("channelname"),
 * 							BandwidthMhz:       pulumi.Float64(100),
 * 							CenterFrequencyMhz: pulumi.Float64(101),
 * 							EndPoints: orbital.ContactProfileLinkChannelEndPointArray{
 * 								&orbital.ContactProfileLinkChannelEndPointArgs{
 * 									EndPointName: pulumi.String("AQUA_command"),
 * 									IpAddress:    pulumi.String("10.0.1.0"),
 * 									Port:         pulumi.String("49513"),
 * 									Protocol:     pulumi.String("TCP"),
 * 								},
 * 							},
 * 						},
 * 					},
 * 					Direction:    pulumi.String("Uplink"),
 * 					Name:         pulumi.String("RHCP_UL"),
 * 					Polarization: pulumi.String("RHCP"),
 * 				},
 * 			},
 * 			NetworkConfigurationSubnetId: exampleSubnet.ID(),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * 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.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 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("rg-example")
 *             .location("West Europe")
 *             .build());
 *         var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
 *             .name("testvnet")
 *             .addressSpaces("10.0.0.0/16")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .build());
 *         var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
 *             .name("testsubnet")
 *             .resourceGroupName(example.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()
 *             .name("example-contact-profile")
 *             .resourceGroupName(example.name())
 *             .location(example.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("49513")
 *                         .protocol("TCP")
 *                         .build())
 *                     .build())
 *                 .direction("Uplink")
 *                 .name("RHCP_UL")
 *                 .polarization("RHCP")
 *                 .build())
 *             .networkConfigurationSubnetId(exampleSubnet.id())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: rg-example
 *       location: West Europe
 *   exampleVirtualNetwork:
 *     type: azure:network:VirtualNetwork
 *     name: example
 *     properties:
 *       name: testvnet
 *       addressSpaces:
 *         - 10.0.0.0/16
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *   exampleSubnet:
 *     type: azure:network:Subnet
 *     name: example
 *     properties:
 *       name: testsubnet
 *       resourceGroupName: ${example.name}
 *       virtualNetworkName: ${exampleVirtualNetwork.name}
 *       addressPrefixes:
 *         - 10.0.1.0/24
 *       delegations:
 *         - name: orbitalgateway
 *           serviceDelegation:
 *             name: Microsoft.Orbital/orbitalGateways
 *             actions:
 *               - Microsoft.Network/publicIPAddresses/join/action
 *               - Microsoft.Network/virtualNetworks/subnets/join/action
 *               - Microsoft.Network/virtualNetworks/read
 *               - Microsoft.Network/publicIPAddresses/read
 *   exampleContactProfile:
 *     type: azure:orbital:ContactProfile
 *     name: example
 *     properties:
 *       name: example-contact-profile
 *       resourceGroupName: ${example.name}
 *       location: ${example.location}
 *       minimumVariableContactDuration: PT1M
 *       autoTracking: disabled
 *       links:
 *         - channels:
 *             - name: channelname
 *               bandwidthMhz: 100
 *               centerFrequencyMhz: 101
 *               endPoints:
 *                 - endPointName: AQUA_command
 *                   ipAddress: 10.0.1.0
 *                   port: '49513'
 *                   protocol: TCP
 *           direction: Uplink
 *           name: RHCP_UL
 *           polarization: RHCP
 *       networkConfigurationSubnetId: ${exampleSubnet.id}
 * ```
 * 
 * ## Import
 * Contact profile can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:orbital/contactProfile:ContactProfile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/contactProfiles/contactProfile1
 * ```
 * @property autoTracking Auto-tracking configurations for a spacecraft. Possible values are `disabled`, `xBand` and `sBand`.
 * @property eventHubUri ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to send telemetry into the hub.
 * @property links A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
 * @property location The location where the contact profile exists. Changing this forces a new resource to be created.
 * @property minimumElevationDegrees Maximum elevation of the antenna during the contact in decimal degrees.
 * @property minimumVariableContactDuration Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given ground station.
 * @property name The name of the contact profile. Changing this forces a new resource to be created.
 * @property networkConfigurationSubnetId ARM resource identifier of the subnet delegated to the Microsoft.Orbital/orbitalGateways. Needs to be at least a class C subnet, and should not have any IP created in it. Changing this forces a new resource to be created.
 * @property resourceGroupName The name of the Resource Group where the contact profile exists. Changing this forces a new resource to be created.
 * @property tags A mapping of tags to assign to the resource.
 */
public data class ContactProfileArgs(
    public val autoTracking: Output? = null,
    public val eventHubUri: Output? = null,
    public val links: Output>? = null,
    public val location: Output? = null,
    public val minimumElevationDegrees: Output? = null,
    public val minimumVariableContactDuration: Output? = null,
    public val name: Output? = null,
    public val networkConfigurationSubnetId: Output? = null,
    public val resourceGroupName: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.orbital.ContactProfileArgs =
        com.pulumi.azure.orbital.ContactProfileArgs.builder()
            .autoTracking(autoTracking?.applyValue({ args0 -> args0 }))
            .eventHubUri(eventHubUri?.applyValue({ args0 -> args0 }))
            .links(links?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .location(location?.applyValue({ args0 -> args0 }))
            .minimumElevationDegrees(minimumElevationDegrees?.applyValue({ args0 -> args0 }))
            .minimumVariableContactDuration(minimumVariableContactDuration?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .networkConfigurationSubnetId(networkConfigurationSubnetId?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [ContactProfileArgs].
 */
@PulumiTagMarker
public class ContactProfileArgsBuilder internal constructor() {
    private var autoTracking: Output? = null

    private var eventHubUri: Output? = null

    private var links: Output>? = null

    private var location: Output? = null

    private var minimumElevationDegrees: Output? = null

    private var minimumVariableContactDuration: Output? = null

    private var name: Output? = null

    private var networkConfigurationSubnetId: Output? = null

    private var resourceGroupName: Output? = null

    private var tags: Output>? = null

    /**
     * @param value Auto-tracking configurations for a spacecraft. Possible values are `disabled`, `xBand` and `sBand`.
     */
    @JvmName("hjbbgugluguofwtf")
    public suspend fun autoTracking(`value`: Output) {
        this.autoTracking = value
    }

    /**
     * @param value ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to send telemetry into the hub.
     */
    @JvmName("yabgqhwiwqvxfpgj")
    public suspend fun eventHubUri(`value`: Output) {
        this.eventHubUri = value
    }

    /**
     * @param value A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("gidqjhbqyenagqvb")
    public suspend fun links(`value`: Output>) {
        this.links = value
    }

    @JvmName("gkxadinyqvndxeor")
    public suspend fun links(vararg values: Output) {
        this.links = Output.all(values.asList())
    }

    /**
     * @param values A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("oewqinrqkghllctj")
    public suspend fun links(values: List>) {
        this.links = Output.all(values)
    }

    /**
     * @param value The location where the contact profile exists. Changing this forces a new resource to be created.
     */
    @JvmName("myrlqxsxaitwbout")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value Maximum elevation of the antenna during the contact in decimal degrees.
     */
    @JvmName("wyhjkglwpjrocvdi")
    public suspend fun minimumElevationDegrees(`value`: Output) {
        this.minimumElevationDegrees = value
    }

    /**
     * @param value Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given ground station.
     */
    @JvmName("fjyrmglxctqdpkqh")
    public suspend fun minimumVariableContactDuration(`value`: Output) {
        this.minimumVariableContactDuration = value
    }

    /**
     * @param value The name of the contact profile. Changing this forces a new resource to be created.
     */
    @JvmName("hwwixohynogouvvi")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value ARM resource identifier of the subnet delegated to the Microsoft.Orbital/orbitalGateways. Needs to be at least a class C subnet, and should not have any IP created in it. Changing this forces a new resource to be created.
     */
    @JvmName("qqsdueyoiwnxfshi")
    public suspend fun networkConfigurationSubnetId(`value`: Output) {
        this.networkConfigurationSubnetId = value
    }

    /**
     * @param value The name of the Resource Group where the contact profile exists. Changing this forces a new resource to be created.
     */
    @JvmName("jpcxxdvvytifqudn")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value A mapping of tags to assign to the resource.
     */
    @JvmName("jdhqmymqbiexainq")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value Auto-tracking configurations for a spacecraft. Possible values are `disabled`, `xBand` and `sBand`.
     */
    @JvmName("eledskwqoxyngcqf")
    public suspend fun autoTracking(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.autoTracking = mapped
    }

    /**
     * @param value ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to send telemetry into the hub.
     */
    @JvmName("ydnpvpjpsbufjits")
    public suspend fun eventHubUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eventHubUri = mapped
    }

    /**
     * @param value A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("hrnppcykajpjlioh")
    public suspend fun links(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.links = mapped
    }

    /**
     * @param argument A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("tuihokimowkghrwu")
    public suspend fun links(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ContactProfileLinkArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.links = mapped
    }

    /**
     * @param argument A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("swwtaptlfqsslcvq")
    public suspend fun links(vararg argument: suspend ContactProfileLinkArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ContactProfileLinkArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.links = mapped
    }

    /**
     * @param argument A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("nomcvoejskqtvinc")
    public suspend fun links(argument: suspend ContactProfileLinkArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(ContactProfileLinkArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.links = mapped
    }

    /**
     * @param values A list of spacecraft links. A `links` block as defined below. Changing this forces a new resource to be created.
     */
    @JvmName("ofvxaeaohsmmpomi")
    public suspend fun links(vararg values: ContactProfileLinkArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.links = mapped
    }

    /**
     * @param value The location where the contact profile exists. Changing this forces a new resource to be created.
     */
    @JvmName("sprlgbtxcnupwogw")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value Maximum elevation of the antenna during the contact in decimal degrees.
     */
    @JvmName("reskhuvbdnayirpa")
    public suspend fun minimumElevationDegrees(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumElevationDegrees = mapped
    }

    /**
     * @param value Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given ground station.
     */
    @JvmName("ppaisugshvdgtdif")
    public suspend fun minimumVariableContactDuration(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumVariableContactDuration = mapped
    }

    /**
     * @param value The name of the contact profile. Changing this forces a new resource to be created.
     */
    @JvmName("crjutofibpggoktb")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value ARM resource identifier of the subnet delegated to the Microsoft.Orbital/orbitalGateways. Needs to be at least a class C subnet, and should not have any IP created in it. Changing this forces a new resource to be created.
     */
    @JvmName("gfwypddcubkkkrbf")
    public suspend fun networkConfigurationSubnetId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkConfigurationSubnetId = mapped
    }

    /**
     * @param value The name of the Resource Group where the contact profile exists. Changing this forces a new resource to be created.
     */
    @JvmName("aehbsnnimorgtsyb")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value A mapping of tags to assign to the resource.
     */
    @JvmName("qvshpqhkqvdbfddr")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A mapping of tags to assign to the resource.
     */
    @JvmName("umrfrvemlqgtlcsk")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): ContactProfileArgs = ContactProfileArgs(
        autoTracking = autoTracking,
        eventHubUri = eventHubUri,
        links = links,
        location = location,
        minimumElevationDegrees = minimumElevationDegrees,
        minimumVariableContactDuration = minimumVariableContactDuration,
        name = name,
        networkConfigurationSubnetId = networkConfigurationSubnetId,
        resourceGroupName = resourceGroupName,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy