Contact Args
data class ContactArgs(val contactName: Output<String>? = null, val contactProfile: Output<ContactsPropertiesContactProfileArgs>? = 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. Uses Azure REST API version 2022-11-01. Other available API versions: 2022-03-01.
Example Usage
Create a contact
using System.Collections.Generic;
using System.Linq;
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.ContactsPropertiesContactProfileArgs
{
Id = "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP",
},
GroundStationName = "EASTUS2_0",
ReservationEndTime = "2023-02-22T11:10:45Z",
ReservationStartTime = "2023-02-22T10:58:30Z",
ResourceGroupName = "contoso-Rgp",
SpacecraftName = "CONTOSO_SAT",
});
});
Content copied to clipboard
package main
import (
orbital "github.com/pulumi/pulumi-azure-native-sdk/orbital/v2"
"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.ContactsPropertiesContactProfileArgs{
Id: pulumi.String("/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/contactProfiles/CONTOSO-CP"),
},
GroundStationName: pulumi.String("EASTUS2_0"),
ReservationEndTime: pulumi.String("2023-02-22T11:10:45Z"),
ReservationStartTime: pulumi.String("2023-02-22T10:58:30Z"),
ResourceGroupName: pulumi.String("contoso-Rgp"),
SpacecraftName: pulumi.String("CONTOSO_SAT"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:orbital:Contact contact1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/spacecrafts/{spacecraftName}/contacts/{contactName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(contactName: Output<String>? = null, contactProfile: Output<ContactsPropertiesContactProfileArgs>? = null, groundStationName: Output<String>? = null, reservationEndTime: Output<String>? = null, reservationStartTime: Output<String>? = null, resourceGroupName: Output<String>? = null, spacecraftName: Output<String>? = null)
Properties
Link copied to clipboard
Contact name.
Link copied to clipboard
The reference to the contact profile resource.
Link copied to clipboard
Azure Ground Station name.
Link copied to clipboard
Reservation end time of a contact (ISO 8601 UTC standard).
Link copied to clipboard
Reservation start time of a contact (ISO 8601 UTC standard).
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
Spacecraft ID.