sdwan.TransportGpsFeature
Explore with Pulumi AI
This resource can manage a Transport GPS Feature.
- Minimum SD-WAN Manager version: 20.12.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.TransportGpsFeature("example", {
    name: "Example",
    description: "My Example",
    featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    gpsEnable: false,
    gpsMode: "ms-based",
    nmeaEnable: false,
    nmeaSourceAddress: "1.2.3.4",
    nmeaDestinationAddress: "2.3.4.5",
    nmeaDestinationPort: 22,
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.TransportGpsFeature("example",
    name="Example",
    description="My Example",
    feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    gps_enable=False,
    gps_mode="ms-based",
    nmea_enable=False,
    nmea_source_address="1.2.3.4",
    nmea_destination_address="2.3.4.5",
    nmea_destination_port=22)
package main
import (
	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sdwan.NewTransportGpsFeature(ctx, "example", &sdwan.TransportGpsFeatureArgs{
			Name:                   pulumi.String("Example"),
			Description:            pulumi.String("My Example"),
			FeatureProfileId:       pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
			GpsEnable:              pulumi.Bool(false),
			GpsMode:                pulumi.String("ms-based"),
			NmeaEnable:             pulumi.Bool(false),
			NmeaSourceAddress:      pulumi.String("1.2.3.4"),
			NmeaDestinationAddress: pulumi.String("2.3.4.5"),
			NmeaDestinationPort:    pulumi.Int(22),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() => 
{
    var example = new Sdwan.TransportGpsFeature("example", new()
    {
        Name = "Example",
        Description = "My Example",
        FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        GpsEnable = false,
        GpsMode = "ms-based",
        NmeaEnable = false,
        NmeaSourceAddress = "1.2.3.4",
        NmeaDestinationAddress = "2.3.4.5",
        NmeaDestinationPort = 22,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.TransportGpsFeature;
import com.pulumi.sdwan.TransportGpsFeatureArgs;
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 TransportGpsFeature("example", TransportGpsFeatureArgs.builder()
            .name("Example")
            .description("My Example")
            .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
            .gpsEnable(false)
            .gpsMode("ms-based")
            .nmeaEnable(false)
            .nmeaSourceAddress("1.2.3.4")
            .nmeaDestinationAddress("2.3.4.5")
            .nmeaDestinationPort(22)
            .build());
    }
}
resources:
  example:
    type: sdwan:TransportGpsFeature
    properties:
      name: Example
      description: My Example
      featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
      gpsEnable: false
      gpsMode: ms-based
      nmeaEnable: false
      nmeaSourceAddress: 1.2.3.4
      nmeaDestinationAddress: 2.3.4.5
      nmeaDestinationPort: 22
Create TransportGpsFeature Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransportGpsFeature(name: string, args: TransportGpsFeatureArgs, opts?: CustomResourceOptions);@overload
def TransportGpsFeature(resource_name: str,
                        args: TransportGpsFeatureArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def TransportGpsFeature(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        feature_profile_id: Optional[str] = None,
                        name: Optional[str] = None,
                        gps_enable: Optional[bool] = None,
                        gps_enable_variable: Optional[str] = None,
                        gps_mode: Optional[str] = None,
                        gps_mode_variable: Optional[str] = None,
                        description: Optional[str] = None,
                        nmea_destination_address: Optional[str] = None,
                        nmea_destination_address_variable: Optional[str] = None,
                        nmea_destination_port: Optional[int] = None,
                        nmea_destination_port_variable: Optional[str] = None,
                        nmea_enable: Optional[bool] = None,
                        nmea_enable_variable: Optional[str] = None,
                        nmea_source_address: Optional[str] = None,
                        nmea_source_address_variable: Optional[str] = None)func NewTransportGpsFeature(ctx *Context, name string, args TransportGpsFeatureArgs, opts ...ResourceOption) (*TransportGpsFeature, error)public TransportGpsFeature(string name, TransportGpsFeatureArgs args, CustomResourceOptions? opts = null)
public TransportGpsFeature(String name, TransportGpsFeatureArgs args)
public TransportGpsFeature(String name, TransportGpsFeatureArgs args, CustomResourceOptions options)
type: sdwan:TransportGpsFeature
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TransportGpsFeatureArgs
- 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 TransportGpsFeatureArgs
- 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 TransportGpsFeatureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransportGpsFeatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransportGpsFeatureArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var transportGpsFeatureResource = new Sdwan.TransportGpsFeature("transportGpsFeatureResource", new()
{
    FeatureProfileId = "string",
    Name = "string",
    GpsEnable = false,
    GpsEnableVariable = "string",
    GpsMode = "string",
    GpsModeVariable = "string",
    Description = "string",
    NmeaDestinationAddress = "string",
    NmeaDestinationAddressVariable = "string",
    NmeaDestinationPort = 0,
    NmeaDestinationPortVariable = "string",
    NmeaEnable = false,
    NmeaEnableVariable = "string",
    NmeaSourceAddress = "string",
    NmeaSourceAddressVariable = "string",
});
example, err := sdwan.NewTransportGpsFeature(ctx, "transportGpsFeatureResource", &sdwan.TransportGpsFeatureArgs{
	FeatureProfileId:               pulumi.String("string"),
	Name:                           pulumi.String("string"),
	GpsEnable:                      pulumi.Bool(false),
	GpsEnableVariable:              pulumi.String("string"),
	GpsMode:                        pulumi.String("string"),
	GpsModeVariable:                pulumi.String("string"),
	Description:                    pulumi.String("string"),
	NmeaDestinationAddress:         pulumi.String("string"),
	NmeaDestinationAddressVariable: pulumi.String("string"),
	NmeaDestinationPort:            pulumi.Int(0),
	NmeaDestinationPortVariable:    pulumi.String("string"),
	NmeaEnable:                     pulumi.Bool(false),
	NmeaEnableVariable:             pulumi.String("string"),
	NmeaSourceAddress:              pulumi.String("string"),
	NmeaSourceAddressVariable:      pulumi.String("string"),
})
var transportGpsFeatureResource = new TransportGpsFeature("transportGpsFeatureResource", TransportGpsFeatureArgs.builder()
    .featureProfileId("string")
    .name("string")
    .gpsEnable(false)
    .gpsEnableVariable("string")
    .gpsMode("string")
    .gpsModeVariable("string")
    .description("string")
    .nmeaDestinationAddress("string")
    .nmeaDestinationAddressVariable("string")
    .nmeaDestinationPort(0)
    .nmeaDestinationPortVariable("string")
    .nmeaEnable(false)
    .nmeaEnableVariable("string")
    .nmeaSourceAddress("string")
    .nmeaSourceAddressVariable("string")
    .build());
transport_gps_feature_resource = sdwan.TransportGpsFeature("transportGpsFeatureResource",
    feature_profile_id="string",
    name="string",
    gps_enable=False,
    gps_enable_variable="string",
    gps_mode="string",
    gps_mode_variable="string",
    description="string",
    nmea_destination_address="string",
    nmea_destination_address_variable="string",
    nmea_destination_port=0,
    nmea_destination_port_variable="string",
    nmea_enable=False,
    nmea_enable_variable="string",
    nmea_source_address="string",
    nmea_source_address_variable="string")
const transportGpsFeatureResource = new sdwan.TransportGpsFeature("transportGpsFeatureResource", {
    featureProfileId: "string",
    name: "string",
    gpsEnable: false,
    gpsEnableVariable: "string",
    gpsMode: "string",
    gpsModeVariable: "string",
    description: "string",
    nmeaDestinationAddress: "string",
    nmeaDestinationAddressVariable: "string",
    nmeaDestinationPort: 0,
    nmeaDestinationPortVariable: "string",
    nmeaEnable: false,
    nmeaEnableVariable: "string",
    nmeaSourceAddress: "string",
    nmeaSourceAddressVariable: "string",
});
type: sdwan:TransportGpsFeature
properties:
    description: string
    featureProfileId: string
    gpsEnable: false
    gpsEnableVariable: string
    gpsMode: string
    gpsModeVariable: string
    name: string
    nmeaDestinationAddress: string
    nmeaDestinationAddressVariable: string
    nmeaDestinationPort: 0
    nmeaDestinationPortVariable: string
    nmeaEnable: false
    nmeaEnableVariable: string
    nmeaSourceAddress: string
    nmeaSourceAddressVariable: string
TransportGpsFeature Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TransportGpsFeature resource accepts the following input properties:
- FeatureProfile stringId 
- Feature Profile ID
- Description string
- The description of the Feature
- GpsEnable bool
- Enable/disable GPS - Default value: false
- GpsEnable stringVariable 
- Variable name
- GpsMode string
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- GpsMode stringVariable 
- Variable name
- Name string
- The name of the Feature
- NmeaDestination stringAddress 
- Destination address
- NmeaDestination stringAddress Variable 
- Variable name
- NmeaDestination intPort 
- Destination port - Range: 1-65535
- NmeaDestination stringPort Variable 
- Variable name
- NmeaEnable bool
- Enable/disable NMEA data - Default value: false
- NmeaEnable stringVariable 
- Variable name
- NmeaSource stringAddress 
- Source address
- NmeaSource stringAddress Variable 
- Variable name
- FeatureProfile stringId 
- Feature Profile ID
- Description string
- The description of the Feature
- GpsEnable bool
- Enable/disable GPS - Default value: false
- GpsEnable stringVariable 
- Variable name
- GpsMode string
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- GpsMode stringVariable 
- Variable name
- Name string
- The name of the Feature
- NmeaDestination stringAddress 
- Destination address
- NmeaDestination stringAddress Variable 
- Variable name
- NmeaDestination intPort 
- Destination port - Range: 1-65535
- NmeaDestination stringPort Variable 
- Variable name
- NmeaEnable bool
- Enable/disable NMEA data - Default value: false
- NmeaEnable stringVariable 
- Variable name
- NmeaSource stringAddress 
- Source address
- NmeaSource stringAddress Variable 
- Variable name
- featureProfile StringId 
- Feature Profile ID
- description String
- The description of the Feature
- gpsEnable Boolean
- Enable/disable GPS - Default value: false
- gpsEnable StringVariable 
- Variable name
- gpsMode String
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gpsMode StringVariable 
- Variable name
- name String
- The name of the Feature
- nmeaDestination StringAddress 
- Destination address
- nmeaDestination StringAddress Variable 
- Variable name
- nmeaDestination IntegerPort 
- Destination port - Range: 1-65535
- nmeaDestination StringPort Variable 
- Variable name
- nmeaEnable Boolean
- Enable/disable NMEA data - Default value: false
- nmeaEnable StringVariable 
- Variable name
- nmeaSource StringAddress 
- Source address
- nmeaSource StringAddress Variable 
- Variable name
- featureProfile stringId 
- Feature Profile ID
- description string
- The description of the Feature
- gpsEnable boolean
- Enable/disable GPS - Default value: false
- gpsEnable stringVariable 
- Variable name
- gpsMode string
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gpsMode stringVariable 
- Variable name
- name string
- The name of the Feature
- nmeaDestination stringAddress 
- Destination address
- nmeaDestination stringAddress Variable 
- Variable name
- nmeaDestination numberPort 
- Destination port - Range: 1-65535
- nmeaDestination stringPort Variable 
- Variable name
- nmeaEnable boolean
- Enable/disable NMEA data - Default value: false
- nmeaEnable stringVariable 
- Variable name
- nmeaSource stringAddress 
- Source address
- nmeaSource stringAddress Variable 
- Variable name
- feature_profile_ strid 
- Feature Profile ID
- description str
- The description of the Feature
- gps_enable bool
- Enable/disable GPS - Default value: false
- gps_enable_ strvariable 
- Variable name
- gps_mode str
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gps_mode_ strvariable 
- Variable name
- name str
- The name of the Feature
- nmea_destination_ straddress 
- Destination address
- nmea_destination_ straddress_ variable 
- Variable name
- nmea_destination_ intport 
- Destination port - Range: 1-65535
- nmea_destination_ strport_ variable 
- Variable name
- nmea_enable bool
- Enable/disable NMEA data - Default value: false
- nmea_enable_ strvariable 
- Variable name
- nmea_source_ straddress 
- Source address
- nmea_source_ straddress_ variable 
- Variable name
- featureProfile StringId 
- Feature Profile ID
- description String
- The description of the Feature
- gpsEnable Boolean
- Enable/disable GPS - Default value: false
- gpsEnable StringVariable 
- Variable name
- gpsMode String
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gpsMode StringVariable 
- Variable name
- name String
- The name of the Feature
- nmeaDestination StringAddress 
- Destination address
- nmeaDestination StringAddress Variable 
- Variable name
- nmeaDestination NumberPort 
- Destination port - Range: 1-65535
- nmeaDestination StringPort Variable 
- Variable name
- nmeaEnable Boolean
- Enable/disable NMEA data - Default value: false
- nmeaEnable StringVariable 
- Variable name
- nmeaSource StringAddress 
- Source address
- nmeaSource StringAddress Variable 
- Variable name
Outputs
All input properties are implicitly available as output properties. Additionally, the TransportGpsFeature resource produces the following output properties:
Look up Existing TransportGpsFeature Resource
Get an existing TransportGpsFeature resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TransportGpsFeatureState, opts?: CustomResourceOptions): TransportGpsFeature@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        feature_profile_id: Optional[str] = None,
        gps_enable: Optional[bool] = None,
        gps_enable_variable: Optional[str] = None,
        gps_mode: Optional[str] = None,
        gps_mode_variable: Optional[str] = None,
        name: Optional[str] = None,
        nmea_destination_address: Optional[str] = None,
        nmea_destination_address_variable: Optional[str] = None,
        nmea_destination_port: Optional[int] = None,
        nmea_destination_port_variable: Optional[str] = None,
        nmea_enable: Optional[bool] = None,
        nmea_enable_variable: Optional[str] = None,
        nmea_source_address: Optional[str] = None,
        nmea_source_address_variable: Optional[str] = None,
        version: Optional[int] = None) -> TransportGpsFeaturefunc GetTransportGpsFeature(ctx *Context, name string, id IDInput, state *TransportGpsFeatureState, opts ...ResourceOption) (*TransportGpsFeature, error)public static TransportGpsFeature Get(string name, Input<string> id, TransportGpsFeatureState? state, CustomResourceOptions? opts = null)public static TransportGpsFeature get(String name, Output<String> id, TransportGpsFeatureState state, CustomResourceOptions options)resources:  _:    type: sdwan:TransportGpsFeature    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- GpsEnable bool
- Enable/disable GPS - Default value: false
- GpsEnable stringVariable 
- Variable name
- GpsMode string
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- GpsMode stringVariable 
- Variable name
- Name string
- The name of the Feature
- NmeaDestination stringAddress 
- Destination address
- NmeaDestination stringAddress Variable 
- Variable name
- NmeaDestination intPort 
- Destination port - Range: 1-65535
- NmeaDestination stringPort Variable 
- Variable name
- NmeaEnable bool
- Enable/disable NMEA data - Default value: false
- NmeaEnable stringVariable 
- Variable name
- NmeaSource stringAddress 
- Source address
- NmeaSource stringAddress Variable 
- Variable name
- Version int
- The version of the Feature
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- GpsEnable bool
- Enable/disable GPS - Default value: false
- GpsEnable stringVariable 
- Variable name
- GpsMode string
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- GpsMode stringVariable 
- Variable name
- Name string
- The name of the Feature
- NmeaDestination stringAddress 
- Destination address
- NmeaDestination stringAddress Variable 
- Variable name
- NmeaDestination intPort 
- Destination port - Range: 1-65535
- NmeaDestination stringPort Variable 
- Variable name
- NmeaEnable bool
- Enable/disable NMEA data - Default value: false
- NmeaEnable stringVariable 
- Variable name
- NmeaSource stringAddress 
- Source address
- NmeaSource stringAddress Variable 
- Variable name
- Version int
- The version of the Feature
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- gpsEnable Boolean
- Enable/disable GPS - Default value: false
- gpsEnable StringVariable 
- Variable name
- gpsMode String
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gpsMode StringVariable 
- Variable name
- name String
- The name of the Feature
- nmeaDestination StringAddress 
- Destination address
- nmeaDestination StringAddress Variable 
- Variable name
- nmeaDestination IntegerPort 
- Destination port - Range: 1-65535
- nmeaDestination StringPort Variable 
- Variable name
- nmeaEnable Boolean
- Enable/disable NMEA data - Default value: false
- nmeaEnable StringVariable 
- Variable name
- nmeaSource StringAddress 
- Source address
- nmeaSource StringAddress Variable 
- Variable name
- version Integer
- The version of the Feature
- description string
- The description of the Feature
- featureProfile stringId 
- Feature Profile ID
- gpsEnable boolean
- Enable/disable GPS - Default value: false
- gpsEnable stringVariable 
- Variable name
- gpsMode string
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gpsMode stringVariable 
- Variable name
- name string
- The name of the Feature
- nmeaDestination stringAddress 
- Destination address
- nmeaDestination stringAddress Variable 
- Variable name
- nmeaDestination numberPort 
- Destination port - Range: 1-65535
- nmeaDestination stringPort Variable 
- Variable name
- nmeaEnable boolean
- Enable/disable NMEA data - Default value: false
- nmeaEnable stringVariable 
- Variable name
- nmeaSource stringAddress 
- Source address
- nmeaSource stringAddress Variable 
- Variable name
- version number
- The version of the Feature
- description str
- The description of the Feature
- feature_profile_ strid 
- Feature Profile ID
- gps_enable bool
- Enable/disable GPS - Default value: false
- gps_enable_ strvariable 
- Variable name
- gps_mode str
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gps_mode_ strvariable 
- Variable name
- name str
- The name of the Feature
- nmea_destination_ straddress 
- Destination address
- nmea_destination_ straddress_ variable 
- Variable name
- nmea_destination_ intport 
- Destination port - Range: 1-65535
- nmea_destination_ strport_ variable 
- Variable name
- nmea_enable bool
- Enable/disable NMEA data - Default value: false
- nmea_enable_ strvariable 
- Variable name
- nmea_source_ straddress 
- Source address
- nmea_source_ straddress_ variable 
- Variable name
- version int
- The version of the Feature
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- gpsEnable Boolean
- Enable/disable GPS - Default value: false
- gpsEnable StringVariable 
- Variable name
- gpsMode String
- Select GPS mode - Choices: ms-based,standalone- Default value:ms-based
- gpsMode StringVariable 
- Variable name
- name String
- The name of the Feature
- nmeaDestination StringAddress 
- Destination address
- nmeaDestination StringAddress Variable 
- Variable name
- nmeaDestination NumberPort 
- Destination port - Range: 1-65535
- nmeaDestination StringPort Variable 
- Variable name
- nmeaEnable Boolean
- Enable/disable NMEA data - Default value: false
- nmeaEnable StringVariable 
- Variable name
- nmeaSource StringAddress 
- Source address
- nmeaSource StringAddress Variable 
- Variable name
- version Number
- The version of the Feature
Import
Expected import identifier with the format: “transport_gps_feature_id,feature_profile_id”
$ pulumi import sdwan:index/transportGpsFeature:TransportGpsFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
