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:
- Feature
Profile stringId - Feature Profile ID
- Description string
- The description of the Feature
- Gps
Enable bool - Enable/disable GPS - Default value:
false
- Gps
Enable stringVariable - Variable name
- Gps
Mode string - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- Gps
Mode stringVariable - Variable name
- Name string
- The name of the Feature
- Nmea
Destination stringAddress - Destination address
- Nmea
Destination stringAddress Variable - Variable name
- Nmea
Destination intPort - Destination port - Range:
1
-65535
- Nmea
Destination stringPort Variable - Variable name
- Nmea
Enable bool - Enable/disable NMEA data - Default value:
false
- Nmea
Enable stringVariable - Variable name
- Nmea
Source stringAddress - Source address
- Nmea
Source stringAddress Variable - Variable name
- Feature
Profile stringId - Feature Profile ID
- Description string
- The description of the Feature
- Gps
Enable bool - Enable/disable GPS - Default value:
false
- Gps
Enable stringVariable - Variable name
- Gps
Mode string - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- Gps
Mode stringVariable - Variable name
- Name string
- The name of the Feature
- Nmea
Destination stringAddress - Destination address
- Nmea
Destination stringAddress Variable - Variable name
- Nmea
Destination intPort - Destination port - Range:
1
-65535
- Nmea
Destination stringPort Variable - Variable name
- Nmea
Enable bool - Enable/disable NMEA data - Default value:
false
- Nmea
Enable stringVariable - Variable name
- Nmea
Source stringAddress - Source address
- Nmea
Source stringAddress Variable - Variable name
- feature
Profile StringId - Feature Profile ID
- description String
- The description of the Feature
- gps
Enable Boolean - Enable/disable GPS - Default value:
false
- gps
Enable StringVariable - Variable name
- gps
Mode String - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- gps
Mode StringVariable - Variable name
- name String
- The name of the Feature
- nmea
Destination StringAddress - Destination address
- nmea
Destination StringAddress Variable - Variable name
- nmea
Destination IntegerPort - Destination port - Range:
1
-65535
- nmea
Destination StringPort Variable - Variable name
- nmea
Enable Boolean - Enable/disable NMEA data - Default value:
false
- nmea
Enable StringVariable - Variable name
- nmea
Source StringAddress - Source address
- nmea
Source StringAddress Variable - Variable name
- feature
Profile stringId - Feature Profile ID
- description string
- The description of the Feature
- gps
Enable boolean - Enable/disable GPS - Default value:
false
- gps
Enable stringVariable - Variable name
- gps
Mode string - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- gps
Mode stringVariable - Variable name
- name string
- The name of the Feature
- nmea
Destination stringAddress - Destination address
- nmea
Destination stringAddress Variable - Variable name
- nmea
Destination numberPort - Destination port - Range:
1
-65535
- nmea
Destination stringPort Variable - Variable name
- nmea
Enable boolean - Enable/disable NMEA data - Default value:
false
- nmea
Enable stringVariable - Variable name
- nmea
Source stringAddress - Source address
- nmea
Source 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
- feature
Profile StringId - Feature Profile ID
- description String
- The description of the Feature
- gps
Enable Boolean - Enable/disable GPS - Default value:
false
- gps
Enable StringVariable - Variable name
- gps
Mode String - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- gps
Mode StringVariable - Variable name
- name String
- The name of the Feature
- nmea
Destination StringAddress - Destination address
- nmea
Destination StringAddress Variable - Variable name
- nmea
Destination NumberPort - Destination port - Range:
1
-65535
- nmea
Destination StringPort Variable - Variable name
- nmea
Enable Boolean - Enable/disable NMEA data - Default value:
false
- nmea
Enable StringVariable - Variable name
- nmea
Source StringAddress - Source address
- nmea
Source 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) -> TransportGpsFeature
func 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)
Resource lookup is not supported in YAML
- 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
- Feature
Profile stringId - Feature Profile ID
- Gps
Enable bool - Enable/disable GPS - Default value:
false
- Gps
Enable stringVariable - Variable name
- Gps
Mode string - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- Gps
Mode stringVariable - Variable name
- Name string
- The name of the Feature
- Nmea
Destination stringAddress - Destination address
- Nmea
Destination stringAddress Variable - Variable name
- Nmea
Destination intPort - Destination port - Range:
1
-65535
- Nmea
Destination stringPort Variable - Variable name
- Nmea
Enable bool - Enable/disable NMEA data - Default value:
false
- Nmea
Enable stringVariable - Variable name
- Nmea
Source stringAddress - Source address
- Nmea
Source stringAddress Variable - Variable name
- Version int
- The version of the Feature
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Gps
Enable bool - Enable/disable GPS - Default value:
false
- Gps
Enable stringVariable - Variable name
- Gps
Mode string - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- Gps
Mode stringVariable - Variable name
- Name string
- The name of the Feature
- Nmea
Destination stringAddress - Destination address
- Nmea
Destination stringAddress Variable - Variable name
- Nmea
Destination intPort - Destination port - Range:
1
-65535
- Nmea
Destination stringPort Variable - Variable name
- Nmea
Enable bool - Enable/disable NMEA data - Default value:
false
- Nmea
Enable stringVariable - Variable name
- Nmea
Source stringAddress - Source address
- Nmea
Source stringAddress Variable - Variable name
- Version int
- The version of the Feature
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- gps
Enable Boolean - Enable/disable GPS - Default value:
false
- gps
Enable StringVariable - Variable name
- gps
Mode String - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- gps
Mode StringVariable - Variable name
- name String
- The name of the Feature
- nmea
Destination StringAddress - Destination address
- nmea
Destination StringAddress Variable - Variable name
- nmea
Destination IntegerPort - Destination port - Range:
1
-65535
- nmea
Destination StringPort Variable - Variable name
- nmea
Enable Boolean - Enable/disable NMEA data - Default value:
false
- nmea
Enable StringVariable - Variable name
- nmea
Source StringAddress - Source address
- nmea
Source StringAddress Variable - Variable name
- version Integer
- The version of the Feature
- description string
- The description of the Feature
- feature
Profile stringId - Feature Profile ID
- gps
Enable boolean - Enable/disable GPS - Default value:
false
- gps
Enable stringVariable - Variable name
- gps
Mode string - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- gps
Mode stringVariable - Variable name
- name string
- The name of the Feature
- nmea
Destination stringAddress - Destination address
- nmea
Destination stringAddress Variable - Variable name
- nmea
Destination numberPort - Destination port - Range:
1
-65535
- nmea
Destination stringPort Variable - Variable name
- nmea
Enable boolean - Enable/disable NMEA data - Default value:
false
- nmea
Enable stringVariable - Variable name
- nmea
Source stringAddress - Source address
- nmea
Source 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
- feature
Profile StringId - Feature Profile ID
- gps
Enable Boolean - Enable/disable GPS - Default value:
false
- gps
Enable StringVariable - Variable name
- gps
Mode String - Select GPS mode - Choices:
ms-based
,standalone
- Default value:ms-based
- gps
Mode StringVariable - Variable name
- name String
- The name of the Feature
- nmea
Destination StringAddress - Destination address
- nmea
Destination StringAddress Variable - Variable name
- nmea
Destination NumberPort - Destination port - Range:
1
-65535
- nmea
Destination StringPort Variable - Variable name
- nmea
Enable Boolean - Enable/disable NMEA data - Default value:
false
- nmea
Enable StringVariable - Variable name
- nmea
Source StringAddress - Source address
- nmea
Source 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
sdwan
Terraform Provider.