Create BgpAuthRoutingProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BgpAuthRoutingProfile(name: string, args: BgpAuthRoutingProfileArgs, opts?: CustomResourceOptions);@overload
def BgpAuthRoutingProfile(resource_name: str,
args: BgpAuthRoutingProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BgpAuthRoutingProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[BgpAuthRoutingProfileLocationArgs] = None,
name: Optional[str] = None,
secret: Optional[str] = None)func NewBgpAuthRoutingProfile(ctx *Context, name string, args BgpAuthRoutingProfileArgs, opts ...ResourceOption) (*BgpAuthRoutingProfile, error)public BgpAuthRoutingProfile(string name, BgpAuthRoutingProfileArgs args, CustomResourceOptions? opts = null)
public BgpAuthRoutingProfile(String name, BgpAuthRoutingProfileArgs args)
public BgpAuthRoutingProfile(String name, BgpAuthRoutingProfileArgs args, CustomResourceOptions options)
type: panos:BgpAuthRoutingProfile
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 BgpAuthRoutingProfileArgs
- 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 BgpAuthRoutingProfileArgs
- 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 BgpAuthRoutingProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BgpAuthRoutingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BgpAuthRoutingProfileArgs
- 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 bgpAuthRoutingProfileResource = new Panos.BgpAuthRoutingProfile("bgpAuthRoutingProfileResource", new()
{
Location = new Panos.Inputs.BgpAuthRoutingProfileLocationArgs
{
Ngfw = new Panos.Inputs.BgpAuthRoutingProfileLocationNgfwArgs
{
NgfwDevice = "string",
},
Template = new Panos.Inputs.BgpAuthRoutingProfileLocationTemplateArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
TemplateStack = new Panos.Inputs.BgpAuthRoutingProfileLocationTemplateStackArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
},
Name = "string",
Secret = "string",
});
example, err := panos.NewBgpAuthRoutingProfile(ctx, "bgpAuthRoutingProfileResource", &panos.BgpAuthRoutingProfileArgs{
Location: &panos.BgpAuthRoutingProfileLocationArgs{
Ngfw: &panos.BgpAuthRoutingProfileLocationNgfwArgs{
NgfwDevice: pulumi.String("string"),
},
Template: &panos.BgpAuthRoutingProfileLocationTemplateArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
TemplateStack: &panos.BgpAuthRoutingProfileLocationTemplateStackArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Secret: pulumi.String("string"),
})
var bgpAuthRoutingProfileResource = new BgpAuthRoutingProfile("bgpAuthRoutingProfileResource", BgpAuthRoutingProfileArgs.builder()
.location(BgpAuthRoutingProfileLocationArgs.builder()
.ngfw(BgpAuthRoutingProfileLocationNgfwArgs.builder()
.ngfwDevice("string")
.build())
.template(BgpAuthRoutingProfileLocationTemplateArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.templateStack(BgpAuthRoutingProfileLocationTemplateStackArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.build())
.name("string")
.secret("string")
.build());
bgp_auth_routing_profile_resource = panos.BgpAuthRoutingProfile("bgpAuthRoutingProfileResource",
location={
"ngfw": {
"ngfw_device": "string",
},
"template": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
"template_stack": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
},
name="string",
secret="string")
const bgpAuthRoutingProfileResource = new panos.BgpAuthRoutingProfile("bgpAuthRoutingProfileResource", {
location: {
ngfw: {
ngfwDevice: "string",
},
template: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
templateStack: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
},
name: "string",
secret: "string",
});
type: panos:BgpAuthRoutingProfile
properties:
location:
ngfw:
ngfwDevice: string
template:
name: string
ngfwDevice: string
panoramaDevice: string
templateStack:
name: string
ngfwDevice: string
panoramaDevice: string
name: string
secret: string
BgpAuthRoutingProfile 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 BgpAuthRoutingProfile resource accepts the following input properties:
- Location
Bgp
Auth Routing Profile Location - The location of this object.
- Name string
- Secret string
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- Location
Bgp
Auth Routing Profile Location Args - The location of this object.
- Name string
- Secret string
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location
Bgp
Auth Routing Profile Location - The location of this object.
- name String
- secret String
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location
Bgp
Auth Routing Profile Location - The location of this object.
- name string
- secret string
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location
Bgp
Auth Routing Profile Location Args - The location of this object.
- name str
- secret str
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location Property Map
- The location of this object.
- name String
- secret String
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
Outputs
All input properties are implicitly available as output properties. Additionally, the BgpAuthRoutingProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BgpAuthRoutingProfile Resource
Get an existing BgpAuthRoutingProfile 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?: BgpAuthRoutingProfileState, opts?: CustomResourceOptions): BgpAuthRoutingProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
location: Optional[BgpAuthRoutingProfileLocationArgs] = None,
name: Optional[str] = None,
secret: Optional[str] = None) -> BgpAuthRoutingProfilefunc GetBgpAuthRoutingProfile(ctx *Context, name string, id IDInput, state *BgpAuthRoutingProfileState, opts ...ResourceOption) (*BgpAuthRoutingProfile, error)public static BgpAuthRoutingProfile Get(string name, Input<string> id, BgpAuthRoutingProfileState? state, CustomResourceOptions? opts = null)public static BgpAuthRoutingProfile get(String name, Output<String> id, BgpAuthRoutingProfileState state, CustomResourceOptions options)resources: _: type: panos:BgpAuthRoutingProfile 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.
- Location
Bgp
Auth Routing Profile Location - The location of this object.
- Name string
- Secret string
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- Location
Bgp
Auth Routing Profile Location Args - The location of this object.
- Name string
- Secret string
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location
Bgp
Auth Routing Profile Location - The location of this object.
- name String
- secret String
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location
Bgp
Auth Routing Profile Location - The location of this object.
- name string
- secret string
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location
Bgp
Auth Routing Profile Location Args - The location of this object.
- name str
- secret str
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
- location Property Map
- The location of this object.
- name String
- secret String
- shared secret for the TCP MD5 authentication, [a-zA-Z0-9!@#%^]
Supporting Types
BgpAuthRoutingProfileLocation, BgpAuthRoutingProfileLocationArgs
- Ngfw
Bgp
Auth Routing Profile Location Ngfw - Located in a specific NGFW device
- Template
Bgp
Auth Routing Profile Location Template - Located in a specific template
- Template
Stack BgpAuth Routing Profile Location Template Stack - Located in a specific template stack
- Ngfw
Bgp
Auth Routing Profile Location Ngfw - Located in a specific NGFW device
- Template
Bgp
Auth Routing Profile Location Template - Located in a specific template
- Template
Stack BgpAuth Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Bgp
Auth Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Bgp
Auth Routing Profile Location Template - Located in a specific template
- template
Stack BgpAuth Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Bgp
Auth Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Bgp
Auth Routing Profile Location Template - Located in a specific template
- template
Stack BgpAuth Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Bgp
Auth Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Bgp
Auth Routing Profile Location Template - Located in a specific template
- template_
stack BgpAuth Routing Profile Location Template Stack - Located in a specific template stack
- ngfw Property Map
- Located in a specific NGFW device
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template stack
BgpAuthRoutingProfileLocationNgfw, BgpAuthRoutingProfileLocationNgfwArgs
- Ngfw
Device string - The NGFW device
- Ngfw
Device string - The NGFW device
- ngfw
Device String - The NGFW device
- ngfw
Device string - The NGFW device
- ngfw_
device str - The NGFW device
- ngfw
Device String - The NGFW device
BgpAuthRoutingProfileLocationTemplate, BgpAuthRoutingProfileLocationTemplateArgs
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
BgpAuthRoutingProfileLocationTemplateStack, BgpAuthRoutingProfileLocationTemplateStackArgs
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template stack
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template stack
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panosTerraform Provider.
