ContactProfile

class ContactProfile : KotlinCustomResource

Manages a Contact profile.

Note: The azure.orbital.ContactProfile resource has been deprecated and will be removed in v5.0 of the AzureRM Provider.

Example Usage

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,
});
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=[{
"name": "orbitalgateway",
"service_delegation": {
"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=[{
"channels": [{
"name": "channelname",
"bandwidth_mhz": 100,
"center_frequency_mhz": 101,
"end_points": [{
"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)
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,
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/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
})
}
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());
}
}
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.

$ pulumi import azure:orbital/contactProfile:ContactProfile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/contactProfiles/contactProfile1

Properties

Link copied to clipboard
val autoTracking: Output<String>

Auto-tracking configurations for a spacecraft. Possible values are disabled, xBand and sBand.

Link copied to clipboard
val eventHubUri: Output<String>?

ARM resource identifier of the Event Hub used for telemetry. Requires granting Orbital Resource Provider the rights to send telemetry into the hub.

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

A list of spacecraft links. A links block as defined below. Changing this forces a new resource to be created.

Link copied to clipboard
val location: Output<String>

The location where the contact profile exists. Changing this forces a new resource to be created.

Link copied to clipboard

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

Link copied to clipboard

Minimum viable contact duration in ISO 8601 format. Used for listing the available contacts with a spacecraft at a given ground station.

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard

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.

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

The name of the Resource Group where the contact profile exists. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>