ContactArgs

data class ContactArgs(val contactName: Output<String>? = null, val contactProfile: Output<ResourceReferenceArgs>? = null, val groundStationName: Output<String>? = null, val reservationEndTime: Output<String>? = null, val reservationStartTime: Output<String>? = null, val resourceGroupName: Output<String>? = null, val spacecraftName: Output<String>? = null) : ConvertibleToJava<ContactArgs>

Customer creates a contact resource for a spacecraft resource. API Version: 2021-04-04-preview.

Example Usage

Create a contact

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var contact = new AzureNative.Orbital.Contact("contact", new()
{
ContactName = "contact1",
ContactProfile = new AzureNative.Orbital.Inputs.ResourceReferenceArgs
{
Id = "/subscriptions/subId/resourceGroups/rg/Microsoft.Orbital/contactProfiles/AQUA_DIRECTPLAYBACK_WITH_UPLINK",
},
GroundStationName = "westus_gs1",
ReservationEndTime = "2020-07-16T20:55:00.00Z",
ReservationStartTime = "2020-07-16T20:35:00.00Z",
ResourceGroupName = "rg1",
SpacecraftName = "AQUA",
});
});
package main
import (
orbital "github.com/pulumi/pulumi-azure-native/sdk/go/azure/orbital"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := orbital.NewContact(ctx, "contact", &orbital.ContactArgs{
ContactName: pulumi.String("contact1"),
ContactProfile: &orbital.ResourceReferenceArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg/Microsoft.Orbital/contactProfiles/AQUA_DIRECTPLAYBACK_WITH_UPLINK"),
},
GroundStationName: pulumi.String("westus_gs1"),
ReservationEndTime: pulumi.String("2020-07-16T20:55:00.00Z"),
ReservationStartTime: pulumi.String("2020-07-16T20:35:00.00Z"),
ResourceGroupName: pulumi.String("rg1"),
SpacecraftName: pulumi.String("AQUA"),
})
if err != nil {
return err
}
return nil
})
}
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 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(Map.of("id", "/subscriptions/subId/resourceGroups/rg/Microsoft.Orbital/contactProfiles/AQUA_DIRECTPLAYBACK_WITH_UPLINK"))
.groundStationName("westus_gs1")
.reservationEndTime("2020-07-16T20:55:00.00Z")
.reservationStartTime("2020-07-16T20:35:00.00Z")
.resourceGroupName("rg1")
.spacecraftName("AQUA")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:orbital:Contact contact1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Orbital/spacecrafts/AQUA/contacts/contact1

Constructors

Link copied to clipboard
fun ContactArgs(contactName: Output<String>? = null, contactProfile: Output<ResourceReferenceArgs>? = null, groundStationName: Output<String>? = null, reservationEndTime: Output<String>? = null, reservationStartTime: Output<String>? = null, resourceGroupName: Output<String>? = null, spacecraftName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ContactArgs

Properties

Link copied to clipboard
val contactName: Output<String>? = null

Contact Name

Link copied to clipboard

The reference to the contact profile resource.

Link copied to clipboard
val groundStationName: Output<String>? = null

Azure Ground Station name.

Link copied to clipboard
val reservationEndTime: Output<String>? = null

Reservation end time of a contact.

Link copied to clipboard
val reservationStartTime: Output<String>? = null

Reservation start time of a contact.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val spacecraftName: Output<String>? = null

Spacecraft ID