checkpoint.ManagementTacacsServer
Explore with Pulumi AI
This resource allows you to execute Check Point Tacacs Server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementTacacsServer("example", {server: "h1"});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementTacacsServer("example", server="h1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkpoint.NewManagementTacacsServer(ctx, "example", &checkpoint.ManagementTacacsServerArgs{
Server: pulumi.String("h1"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var example = new Checkpoint.ManagementTacacsServer("example", new()
{
Server = "h1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementTacacsServer;
import com.pulumi.checkpoint.ManagementTacacsServerArgs;
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 ManagementTacacsServer("example", ManagementTacacsServerArgs.builder()
.server("h1")
.build());
}
}
resources:
example:
type: checkpoint:ManagementTacacsServer
properties:
server: h1
Create ManagementTacacsServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementTacacsServer(name: string, args: ManagementTacacsServerArgs, opts?: CustomResourceOptions);
@overload
def ManagementTacacsServer(resource_name: str,
args: ManagementTacacsServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementTacacsServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
server: Optional[str] = None,
ignore_errors: Optional[bool] = None,
encryption: Optional[bool] = None,
color: Optional[str] = None,
ignore_warnings: Optional[bool] = None,
management_tacacs_server_id: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[float] = None,
secret_key: Optional[str] = None,
comments: Optional[str] = None,
server_type: Optional[str] = None,
service: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewManagementTacacsServer(ctx *Context, name string, args ManagementTacacsServerArgs, opts ...ResourceOption) (*ManagementTacacsServer, error)
public ManagementTacacsServer(string name, ManagementTacacsServerArgs args, CustomResourceOptions? opts = null)
public ManagementTacacsServer(String name, ManagementTacacsServerArgs args)
public ManagementTacacsServer(String name, ManagementTacacsServerArgs args, CustomResourceOptions options)
type: checkpoint:ManagementTacacsServer
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 ManagementTacacsServerArgs
- 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 ManagementTacacsServerArgs
- 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 ManagementTacacsServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementTacacsServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementTacacsServerArgs
- 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 managementTacacsServerResource = new Checkpoint.ManagementTacacsServer("managementTacacsServerResource", new()
{
Server = "string",
IgnoreErrors = false,
Encryption = false,
Color = "string",
IgnoreWarnings = false,
ManagementTacacsServerId = "string",
Name = "string",
Priority = 0,
SecretKey = "string",
Comments = "string",
ServerType = "string",
Service = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementTacacsServer(ctx, "managementTacacsServerResource", &checkpoint.ManagementTacacsServerArgs{
Server: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
Encryption: pulumi.Bool(false),
Color: pulumi.String("string"),
IgnoreWarnings: pulumi.Bool(false),
ManagementTacacsServerId: pulumi.String("string"),
Name: pulumi.String("string"),
Priority: pulumi.Float64(0),
SecretKey: pulumi.String("string"),
Comments: pulumi.String("string"),
ServerType: pulumi.String("string"),
Service: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementTacacsServerResource = new ManagementTacacsServer("managementTacacsServerResource", ManagementTacacsServerArgs.builder()
.server("string")
.ignoreErrors(false)
.encryption(false)
.color("string")
.ignoreWarnings(false)
.managementTacacsServerId("string")
.name("string")
.priority(0)
.secretKey("string")
.comments("string")
.serverType("string")
.service("string")
.tags("string")
.build());
management_tacacs_server_resource = checkpoint.ManagementTacacsServer("managementTacacsServerResource",
server="string",
ignore_errors=False,
encryption=False,
color="string",
ignore_warnings=False,
management_tacacs_server_id="string",
name="string",
priority=0,
secret_key="string",
comments="string",
server_type="string",
service="string",
tags=["string"])
const managementTacacsServerResource = new checkpoint.ManagementTacacsServer("managementTacacsServerResource", {
server: "string",
ignoreErrors: false,
encryption: false,
color: "string",
ignoreWarnings: false,
managementTacacsServerId: "string",
name: "string",
priority: 0,
secretKey: "string",
comments: "string",
serverType: "string",
service: "string",
tags: ["string"],
});
type: checkpoint:ManagementTacacsServer
properties:
color: string
comments: string
encryption: false
ignoreErrors: false
ignoreWarnings: false
managementTacacsServerId: string
name: string
priority: 0
secretKey: string
server: string
serverType: string
service: string
tags:
- string
ManagementTacacsServer 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 ManagementTacacsServer resource accepts the following input properties:
- Server string
- The UID or Name of the host that is the TACACS Server.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Encryption bool
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Tacacs stringServer Id - Name string
- Object name.
- Priority double
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- Secret
Key string - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- Server
Type string - Server type, TACACS or TACACS+.
- Service string
- Server service, only relevant when "server-type" is TACACS.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Server string
- The UID or Name of the host that is the TACACS Server.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Encryption bool
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Tacacs stringServer Id - Name string
- Object name.
- Priority float64
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- Secret
Key string - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- Server
Type string - Server type, TACACS or TACACS+.
- Service string
- Server service, only relevant when "server-type" is TACACS.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- server String
- The UID or Name of the host that is the TACACS Server.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- encryption Boolean
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Tacacs StringServer Id - name String
- Object name.
- priority Double
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret
Key String - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server
Type String - Server type, TACACS or TACACS+.
- service String
- Server service, only relevant when "server-type" is TACACS.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- server string
- The UID or Name of the host that is the TACACS Server.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- encryption boolean
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore
Errors boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Tacacs stringServer Id - name string
- Object name.
- priority number
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret
Key string - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server
Type string - Server type, TACACS or TACACS+.
- service string
- Server service, only relevant when "server-type" is TACACS.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- server str
- The UID or Name of the host that is the TACACS Server.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- encryption bool
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore_
errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore_
warnings bool - Apply changes ignoring warnings.
- management_
tacacs_ strserver_ id - name str
- Object name.
- priority float
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret_
key str - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server_
type str - Server type, TACACS or TACACS+.
- service str
- Server service, only relevant when "server-type" is TACACS.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- server String
- The UID or Name of the host that is the TACACS Server.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- encryption Boolean
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Tacacs StringServer Id - name String
- Object name.
- priority Number
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret
Key String - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server
Type String - Server type, TACACS or TACACS+.
- service String
- Server service, only relevant when "server-type" is TACACS.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementTacacsServer 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 ManagementTacacsServer Resource
Get an existing ManagementTacacsServer 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?: ManagementTacacsServerState, opts?: CustomResourceOptions): ManagementTacacsServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
encryption: Optional[bool] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_tacacs_server_id: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[float] = None,
secret_key: Optional[str] = None,
server: Optional[str] = None,
server_type: Optional[str] = None,
service: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementTacacsServer
func GetManagementTacacsServer(ctx *Context, name string, id IDInput, state *ManagementTacacsServerState, opts ...ResourceOption) (*ManagementTacacsServer, error)
public static ManagementTacacsServer Get(string name, Input<string> id, ManagementTacacsServerState? state, CustomResourceOptions? opts = null)
public static ManagementTacacsServer get(String name, Output<String> id, ManagementTacacsServerState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementTacacsServer 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.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Encryption bool
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Tacacs stringServer Id - Name string
- Object name.
- Priority double
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- Secret
Key string - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- Server string
- The UID or Name of the host that is the TACACS Server.
- Server
Type string - Server type, TACACS or TACACS+.
- Service string
- Server service, only relevant when "server-type" is TACACS.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Encryption bool
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Tacacs stringServer Id - Name string
- Object name.
- Priority float64
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- Secret
Key string - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- Server string
- The UID or Name of the host that is the TACACS Server.
- Server
Type string - Server type, TACACS or TACACS+.
- Service string
- Server service, only relevant when "server-type" is TACACS.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- encryption Boolean
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Tacacs StringServer Id - name String
- Object name.
- priority Double
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret
Key String - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server String
- The UID or Name of the host that is the TACACS Server.
- server
Type String - Server type, TACACS or TACACS+.
- service String
- Server service, only relevant when "server-type" is TACACS.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- encryption boolean
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore
Errors boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Tacacs stringServer Id - name string
- Object name.
- priority number
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret
Key string - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server string
- The UID or Name of the host that is the TACACS Server.
- server
Type string - Server type, TACACS or TACACS+.
- service string
- Server service, only relevant when "server-type" is TACACS.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- encryption bool
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore_
errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore_
warnings bool - Apply changes ignoring warnings.
- management_
tacacs_ strserver_ id - name str
- Object name.
- priority float
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret_
key str - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server str
- The UID or Name of the host that is the TACACS Server.
- server_
type str - Server type, TACACS or TACACS+.
- service str
- Server service, only relevant when "server-type" is TACACS.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- encryption Boolean
- Is there a secret key defined on the server. Must be set true when "server-type" was selected to be "TACACS+".
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Tacacs StringServer Id - name String
- Object name.
- priority Number
- The priority of the TACACS Server in case it is a member of a TACACS Group.
- secret
Key String - The server's secret key.Required only when "server-type" was selected to be "TACACS+".
- server String
- The UID or Name of the host that is the TACACS Server.
- server
Type String - Server type, TACACS or TACACS+.
- service String
- Server service, only relevant when "server-type" is TACACS.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.