Azure Native

v1.79.2 published on Thursday, Sep 29, 2022 by Pulumi

Contact

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 pulumi
import pulumi_azure_native as azure_native

contact = azure_native.orbital.Contact("contact",
    contact_name="contact1",
    contact_profile=azure_native.orbital.ResourceReferenceArgs(
        id="/subscriptions/subId/resourceGroups/rg/Microsoft.Orbital/contactProfiles/AQUA_DIRECTPLAYBACK_WITH_UPLINK",
    ),
    ground_station_name="westus_gs1",
    reservation_end_time="2020-07-16T20:55:00.00Z",
    reservation_start_time="2020-07-16T20:35:00.00Z",
    resource_group_name="rg1",
    spacecraft_name="AQUA")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const contact = new azure_native.orbital.Contact("contact", {
    contactName: "contact1",
    contactProfile: {
        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",
});
resources:
  contact:
    type: azure-native:orbital:Contact
    properties:
      contactName: contact1
      contactProfile:
        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

Create a Contact Resource

new Contact(name: string, args: ContactArgs, opts?: CustomResourceOptions);
@overload
def Contact(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            contact_name: Optional[str] = None,
            contact_profile: Optional[ResourceReferenceArgs] = None,
            ground_station_name: Optional[str] = None,
            reservation_end_time: Optional[str] = None,
            reservation_start_time: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            spacecraft_name: Optional[str] = None)
@overload
def Contact(resource_name: str,
            args: ContactArgs,
            opts: Optional[ResourceOptions] = None)
func NewContact(ctx *Context, name string, args ContactArgs, opts ...ResourceOption) (*Contact, error)
public Contact(string name, ContactArgs args, CustomResourceOptions? opts = null)
public Contact(String name, ContactArgs args)
public Contact(String name, ContactArgs args, CustomResourceOptions options)
type: azure-native:orbital:Contact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ContactArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Contact Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Contact resource accepts the following input properties:

ContactProfile Pulumi.AzureNative.Orbital.Inputs.ResourceReferenceArgs

The reference to the contact profile resource.

GroundStationName string

Azure Ground Station name.

ReservationEndTime string

Reservation end time of a contact.

ReservationStartTime string

Reservation start time of a contact.

ResourceGroupName string

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

SpacecraftName string

Spacecraft ID

ContactName string

Contact Name

ContactProfile ResourceReferenceArgs

The reference to the contact profile resource.

GroundStationName string

Azure Ground Station name.

ReservationEndTime string

Reservation end time of a contact.

ReservationStartTime string

Reservation start time of a contact.

ResourceGroupName string

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

SpacecraftName string

Spacecraft ID

ContactName string

Contact Name

contactProfile ResourceReferenceArgs

The reference to the contact profile resource.

groundStationName String

Azure Ground Station name.

reservationEndTime String

Reservation end time of a contact.

reservationStartTime String

Reservation start time of a contact.

resourceGroupName String

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

spacecraftName String

Spacecraft ID

contactName String

Contact Name

contactProfile ResourceReferenceArgs

The reference to the contact profile resource.

groundStationName string

Azure Ground Station name.

reservationEndTime string

Reservation end time of a contact.

reservationStartTime string

Reservation start time of a contact.

resourceGroupName string

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

spacecraftName string

Spacecraft ID

contactName string

Contact Name

contact_profile ResourceReferenceArgs

The reference to the contact profile resource.

ground_station_name str

Azure Ground Station name.

reservation_end_time str

Reservation end time of a contact.

reservation_start_time str

Reservation start time of a contact.

resource_group_name str

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

spacecraft_name str

Spacecraft ID

contact_name str

Contact Name

contactProfile Property Map

The reference to the contact profile resource.

groundStationName String

Azure Ground Station name.

reservationEndTime String

Reservation end time of a contact.

reservationStartTime String

Reservation start time of a contact.

resourceGroupName String

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

spacecraftName String

Spacecraft ID

contactName String

Contact Name

Outputs

All input properties are implicitly available as output properties. Additionally, the Contact resource produces the following output properties:

EndAzimuthDegrees double

Azimuth of the antenna at the end of the contact in decimal degrees.

EndElevationDegrees double

Spacecraft elevation above the horizon at contact end.

ErrorMessage string

Any error message while scheduling a contact.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

The provider-assigned unique ID for this managed resource.

MaximumElevationDegrees double

Maximum elevation of the antenna during the contact in decimal degrees.

Name string

The name of the resource

RxEndTime string

Receive end time of a contact.

RxStartTime string

Receive start time of a contact.

StartAzimuthDegrees double

Azimuth of the antenna at the start of the contact in decimal degrees.

StartElevationDegrees double

Spacecraft elevation above the horizon at contact start.

Status string

Status of a contact.

SystemData Pulumi.AzureNative.Orbital.Outputs.SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

TxEndTime string

Transmit end time of a contact.

TxStartTime string

Transmit start time of a contact.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

EndAzimuthDegrees float64

Azimuth of the antenna at the end of the contact in decimal degrees.

EndElevationDegrees float64

Spacecraft elevation above the horizon at contact end.

ErrorMessage string

Any error message while scheduling a contact.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

The provider-assigned unique ID for this managed resource.

MaximumElevationDegrees float64

Maximum elevation of the antenna during the contact in decimal degrees.

Name string

The name of the resource

RxEndTime string

Receive end time of a contact.

RxStartTime string

Receive start time of a contact.

StartAzimuthDegrees float64

Azimuth of the antenna at the start of the contact in decimal degrees.

StartElevationDegrees float64

Spacecraft elevation above the horizon at contact start.

Status string

Status of a contact.

SystemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

TxEndTime string

Transmit end time of a contact.

TxStartTime string

Transmit start time of a contact.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

endAzimuthDegrees Double

Azimuth of the antenna at the end of the contact in decimal degrees.

endElevationDegrees Double

Spacecraft elevation above the horizon at contact end.

errorMessage String

Any error message while scheduling a contact.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

The provider-assigned unique ID for this managed resource.

maximumElevationDegrees Double

Maximum elevation of the antenna during the contact in decimal degrees.

name String

The name of the resource

rxEndTime String

Receive end time of a contact.

rxStartTime String

Receive start time of a contact.

startAzimuthDegrees Double

Azimuth of the antenna at the start of the contact in decimal degrees.

startElevationDegrees Double

Spacecraft elevation above the horizon at contact start.

status String

Status of a contact.

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

txEndTime String

Transmit end time of a contact.

txStartTime String

Transmit start time of a contact.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

endAzimuthDegrees number

Azimuth of the antenna at the end of the contact in decimal degrees.

endElevationDegrees number

Spacecraft elevation above the horizon at contact end.

errorMessage string

Any error message while scheduling a contact.

etag string

A unique read-only string that changes whenever the resource is updated.

id string

The provider-assigned unique ID for this managed resource.

maximumElevationDegrees number

Maximum elevation of the antenna during the contact in decimal degrees.

name string

The name of the resource

rxEndTime string

Receive end time of a contact.

rxStartTime string

Receive start time of a contact.

startAzimuthDegrees number

Azimuth of the antenna at the start of the contact in decimal degrees.

startElevationDegrees number

Spacecraft elevation above the horizon at contact start.

status string

Status of a contact.

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

txEndTime string

Transmit end time of a contact.

txStartTime string

Transmit start time of a contact.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

end_azimuth_degrees float

Azimuth of the antenna at the end of the contact in decimal degrees.

end_elevation_degrees float

Spacecraft elevation above the horizon at contact end.

error_message str

Any error message while scheduling a contact.

etag str

A unique read-only string that changes whenever the resource is updated.

id str

The provider-assigned unique ID for this managed resource.

maximum_elevation_degrees float

Maximum elevation of the antenna during the contact in decimal degrees.

name str

The name of the resource

rx_end_time str

Receive end time of a contact.

rx_start_time str

Receive start time of a contact.

start_azimuth_degrees float

Azimuth of the antenna at the start of the contact in decimal degrees.

start_elevation_degrees float

Spacecraft elevation above the horizon at contact start.

status str

Status of a contact.

system_data SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tx_end_time str

Transmit end time of a contact.

tx_start_time str

Transmit start time of a contact.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

endAzimuthDegrees Number

Azimuth of the antenna at the end of the contact in decimal degrees.

endElevationDegrees Number

Spacecraft elevation above the horizon at contact end.

errorMessage String

Any error message while scheduling a contact.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

The provider-assigned unique ID for this managed resource.

maximumElevationDegrees Number

Maximum elevation of the antenna during the contact in decimal degrees.

name String

The name of the resource

rxEndTime String

Receive end time of a contact.

rxStartTime String

Receive start time of a contact.

startAzimuthDegrees Number

Azimuth of the antenna at the start of the contact in decimal degrees.

startElevationDegrees Number

Spacecraft elevation above the horizon at contact start.

status String

Status of a contact.

systemData Property Map

Azure Resource Manager metadata containing createdBy and modifiedBy information.

txEndTime String

Transmit end time of a contact.

txStartTime String

Transmit start time of a contact.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ResourceReference

Id string

Resource ID.

Id string

Resource ID.

id String

Resource ID.

id string

Resource ID.

id str

Resource ID.

id String

Resource ID.

ResourceReferenceResponse

Id string

Resource ID.

Id string

Resource ID.

id String

Resource ID.

id string

Resource ID.

id str

Resource ID.

id String

Resource ID.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0