import * as pulumi from "@pulumi/pulumi"; /** * Manages an orbital contact. * * > **Note:** The `azure.orbital.Contact` resource has been deprecated and will be removed in v5.0 of the AzureRM Provider. * * ## 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 exampleSpacecraft = new azure.orbital.Spacecraft("example", { * name: "example-spacecraft", * resourceGroupName: example.name, * location: "westeurope", * noradId: "12345", * links: [{ * bandwidthMhz: 100, * centerFrequencyMhz: 101, * direction: "Uplink", * polarization: "LHCP", * name: "examplename", * }], * twoLineElements: [ * "1 23455U 94089A 97320.90946019 .00000140 00000-0 10191-3 0 2621", * "2 23455 99.0090 272.6745 0008546 223.1686 136.8816 14.11711747148495", * ], * titleLine: "AQUA", * tags: { * "aks-managed-cluster-name": "9a57225d-a405-4d40-aa46-f13d2342abef", * }, * }); * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", { * name: "example-vnet", * addressSpaces: ["10.0.0.0/16"], * location: example.location, * resourceGroupName: example.name, * }); * const exampleSubnet = new azure.network.Subnet("example", { * name: "example-subnet", * 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-contactprofile", * 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: "49153", * protocol: "TCP", * }], * }], * direction: "Uplink", * name: "RHCP_UL", * polarization: "RHCP", * }], * networkConfigurationSubnetId: exampleSubnet.id, * }); * const exampleContact = new azure.orbital.Contact("example", { * name: "example-contact", * spacecraftId: exampleSpacecraft.id, * reservationStartTime: "2020-07-16T20:35:00.00Z", * reservationEndTime: "2020-07-16T20:55:00.00Z", * groundStationName: "WESTUS2_0", * contactProfileId: exampleContactProfile.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Orbital` - 2022-11-01 * * ## Import * * Spacecraft can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:orbital/contact:Contact example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Orbital/spacecrafts/spacecraft1/contacts/contact1 * ``` */ export declare class Contact extends pulumi.CustomResource { /** * Get an existing Contact resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ContactState, opts?: pulumi.CustomResourceOptions): Contact; /** * Returns true if the given object is an instance of Contact. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Contact; /** * ID of the orbital contact profile. Changing this forces a new resource to be created. */ readonly contactProfileId: pulumi.Output; /** * Name of the Azure ground station. Changing this forces a new resource to be created. */ readonly groundStationName: pulumi.Output; /** * The name of the Contact. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Reservation end time of the Contact. Changing this forces a new resource to be created. */ readonly reservationEndTime: pulumi.Output; /** * Reservation start time of the Contact. Changing this forces a new resource to be created. */ readonly reservationStartTime: pulumi.Output; /** * The ID of the spacecraft which the contact will be made to. Changing this forces a new resource to be created. */ readonly spacecraftId: pulumi.Output; /** * Create a Contact resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ContactArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Contact resources. */ export interface ContactState { /** * ID of the orbital contact profile. Changing this forces a new resource to be created. */ contactProfileId?: pulumi.Input; /** * Name of the Azure ground station. Changing this forces a new resource to be created. */ groundStationName?: pulumi.Input; /** * The name of the Contact. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Reservation end time of the Contact. Changing this forces a new resource to be created. */ reservationEndTime?: pulumi.Input; /** * Reservation start time of the Contact. Changing this forces a new resource to be created. */ reservationStartTime?: pulumi.Input; /** * The ID of the spacecraft which the contact will be made to. Changing this forces a new resource to be created. */ spacecraftId?: pulumi.Input; } /** * The set of arguments for constructing a Contact resource. */ export interface ContactArgs { /** * ID of the orbital contact profile. Changing this forces a new resource to be created. */ contactProfileId: pulumi.Input; /** * Name of the Azure ground station. Changing this forces a new resource to be created. */ groundStationName: pulumi.Input; /** * The name of the Contact. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Reservation end time of the Contact. Changing this forces a new resource to be created. */ reservationEndTime: pulumi.Input; /** * Reservation start time of the Contact. Changing this forces a new resource to be created. */ reservationStartTime: pulumi.Input; /** * The ID of the spacecraft which the contact will be made to. Changing this forces a new resource to be created. */ spacecraftId: pulumi.Input; }