checkpoint.ManagementRadiusServer
Explore with Pulumi AI
This resource allows you to add/update/delete Check Point Radius Server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const host = new checkpoint.ManagementHost("host", {ipv4Address: "1.2.3.4"});
const example = new checkpoint.ManagementRadiusServer("example", {
server: host.name,
sharedSecret: "123",
});
import pulumi
import pulumi_checkpoint as checkpoint
host = checkpoint.ManagementHost("host", ipv4_address="1.2.3.4")
example = checkpoint.ManagementRadiusServer("example",
server=host.name,
shared_secret="123")
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 {
host, err := checkpoint.NewManagementHost(ctx, "host", &checkpoint.ManagementHostArgs{
Ipv4Address: pulumi.String("1.2.3.4"),
})
if err != nil {
return err
}
_, err = checkpoint.NewManagementRadiusServer(ctx, "example", &checkpoint.ManagementRadiusServerArgs{
Server: host.Name,
SharedSecret: pulumi.String("123"),
})
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 host = new Checkpoint.ManagementHost("host", new()
{
Ipv4Address = "1.2.3.4",
});
var example = new Checkpoint.ManagementRadiusServer("example", new()
{
Server = host.Name,
SharedSecret = "123",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementHost;
import com.pulumi.checkpoint.ManagementHostArgs;
import com.pulumi.checkpoint.ManagementRadiusServer;
import com.pulumi.checkpoint.ManagementRadiusServerArgs;
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 host = new ManagementHost("host", ManagementHostArgs.builder()
.ipv4Address("1.2.3.4")
.build());
var example = new ManagementRadiusServer("example", ManagementRadiusServerArgs.builder()
.server(host.name())
.sharedSecret("123")
.build());
}
}
resources:
host:
type: checkpoint:ManagementHost
properties:
ipv4Address: 1.2.3.4
example:
type: checkpoint:ManagementRadiusServer
properties:
server: ${host.name}
sharedSecret: '123'
Create ManagementRadiusServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementRadiusServer(name: string, args: ManagementRadiusServerArgs, opts?: CustomResourceOptions);
@overload
def ManagementRadiusServer(resource_name: str,
args: ManagementRadiusServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementRadiusServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
server: Optional[str] = None,
shared_secret: Optional[str] = None,
ignore_errors: Optional[bool] = None,
accounting: Optional[Mapping[str, str]] = None,
ignore_warnings: Optional[bool] = None,
management_radius_server_id: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[float] = None,
protocol: Optional[str] = None,
comments: Optional[str] = None,
service: Optional[str] = None,
color: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
version: Optional[str] = None)
func NewManagementRadiusServer(ctx *Context, name string, args ManagementRadiusServerArgs, opts ...ResourceOption) (*ManagementRadiusServer, error)
public ManagementRadiusServer(string name, ManagementRadiusServerArgs args, CustomResourceOptions? opts = null)
public ManagementRadiusServer(String name, ManagementRadiusServerArgs args)
public ManagementRadiusServer(String name, ManagementRadiusServerArgs args, CustomResourceOptions options)
type: checkpoint:ManagementRadiusServer
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 ManagementRadiusServerArgs
- 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 ManagementRadiusServerArgs
- 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 ManagementRadiusServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementRadiusServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementRadiusServerArgs
- 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 managementRadiusServerResource = new Checkpoint.ManagementRadiusServer("managementRadiusServerResource", new()
{
Server = "string",
SharedSecret = "string",
IgnoreErrors = false,
Accounting =
{
{ "string", "string" },
},
IgnoreWarnings = false,
ManagementRadiusServerId = "string",
Name = "string",
Priority = 0,
Protocol = "string",
Comments = "string",
Service = "string",
Color = "string",
Tags = new[]
{
"string",
},
Version = "string",
});
example, err := checkpoint.NewManagementRadiusServer(ctx, "managementRadiusServerResource", &checkpoint.ManagementRadiusServerArgs{
Server: pulumi.String("string"),
SharedSecret: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
Accounting: pulumi.StringMap{
"string": pulumi.String("string"),
},
IgnoreWarnings: pulumi.Bool(false),
ManagementRadiusServerId: pulumi.String("string"),
Name: pulumi.String("string"),
Priority: pulumi.Float64(0),
Protocol: pulumi.String("string"),
Comments: pulumi.String("string"),
Service: pulumi.String("string"),
Color: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var managementRadiusServerResource = new ManagementRadiusServer("managementRadiusServerResource", ManagementRadiusServerArgs.builder()
.server("string")
.sharedSecret("string")
.ignoreErrors(false)
.accounting(Map.of("string", "string"))
.ignoreWarnings(false)
.managementRadiusServerId("string")
.name("string")
.priority(0)
.protocol("string")
.comments("string")
.service("string")
.color("string")
.tags("string")
.version("string")
.build());
management_radius_server_resource = checkpoint.ManagementRadiusServer("managementRadiusServerResource",
server="string",
shared_secret="string",
ignore_errors=False,
accounting={
"string": "string",
},
ignore_warnings=False,
management_radius_server_id="string",
name="string",
priority=0,
protocol="string",
comments="string",
service="string",
color="string",
tags=["string"],
version="string")
const managementRadiusServerResource = new checkpoint.ManagementRadiusServer("managementRadiusServerResource", {
server: "string",
sharedSecret: "string",
ignoreErrors: false,
accounting: {
string: "string",
},
ignoreWarnings: false,
managementRadiusServerId: "string",
name: "string",
priority: 0,
protocol: "string",
comments: "string",
service: "string",
color: "string",
tags: ["string"],
version: "string",
});
type: checkpoint:ManagementRadiusServer
properties:
accounting:
string: string
color: string
comments: string
ignoreErrors: false
ignoreWarnings: false
managementRadiusServerId: string
name: string
priority: 0
protocol: string
server: string
service: string
sharedSecret: string
tags:
- string
version: string
ManagementRadiusServer 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 ManagementRadiusServer resource accepts the following input properties:
- Server string
- The UID or Name of the host that is the RADIUS Server.
- string
- The secret between the RADIUS server and the Security Gateway.
- Accounting Dictionary<string, string>
- Accounting settings. accounting blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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
Radius stringServer Id - Name string
- Object name. Should be unique in the domain.
- Priority double
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- Protocol string
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- Service string
- The UID or Name of the Service to which the RADIUS server listens.
- List<string>
- Collection of tag identifiers.
- Version string
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- Server string
- The UID or Name of the host that is the RADIUS Server.
- string
- The secret between the RADIUS server and the Security Gateway.
- Accounting map[string]string
- Accounting settings. accounting blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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
Radius stringServer Id - Name string
- Object name. Should be unique in the domain.
- Priority float64
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- Protocol string
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- Service string
- The UID or Name of the Service to which the RADIUS server listens.
- []string
- Collection of tag identifiers.
- Version string
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- server String
- The UID or Name of the host that is the RADIUS Server.
- String
- The secret between the RADIUS server and the Security Gateway.
- accounting Map<String,String>
- Accounting settings. accounting blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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
Radius StringServer Id - name String
- Object name. Should be unique in the domain.
- priority Double
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol String
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- service String
- The UID or Name of the Service to which the RADIUS server listens.
- List<String>
- Collection of tag identifiers.
- version String
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- server string
- The UID or Name of the host that is the RADIUS Server.
- string
- The secret between the RADIUS server and the Security Gateway.
- accounting {[key: string]: string}
- Accounting settings. accounting blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- 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
Radius stringServer Id - name string
- Object name. Should be unique in the domain.
- priority number
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol string
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- service string
- The UID or Name of the Service to which the RADIUS server listens.
- string[]
- Collection of tag identifiers.
- version string
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- server str
- The UID or Name of the host that is the RADIUS Server.
- str
- The secret between the RADIUS server and the Security Gateway.
- accounting Mapping[str, str]
- Accounting settings. accounting blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- 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_
radius_ strserver_ id - name str
- Object name. Should be unique in the domain.
- priority float
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol str
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- service str
- The UID or Name of the Service to which the RADIUS server listens.
- Sequence[str]
- Collection of tag identifiers.
- version str
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- server String
- The UID or Name of the host that is the RADIUS Server.
- String
- The secret between the RADIUS server and the Security Gateway.
- accounting Map<String>
- Accounting settings. accounting blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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
Radius StringServer Id - name String
- Object name. Should be unique in the domain.
- priority Number
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol String
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- service String
- The UID or Name of the Service to which the RADIUS server listens.
- List<String>
- Collection of tag identifiers.
- version String
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementRadiusServer 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 ManagementRadiusServer Resource
Get an existing ManagementRadiusServer 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?: ManagementRadiusServerState, opts?: CustomResourceOptions): ManagementRadiusServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accounting: Optional[Mapping[str, str]] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_radius_server_id: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[float] = None,
protocol: Optional[str] = None,
server: Optional[str] = None,
service: Optional[str] = None,
shared_secret: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
version: Optional[str] = None) -> ManagementRadiusServer
func GetManagementRadiusServer(ctx *Context, name string, id IDInput, state *ManagementRadiusServerState, opts ...ResourceOption) (*ManagementRadiusServer, error)
public static ManagementRadiusServer Get(string name, Input<string> id, ManagementRadiusServerState? state, CustomResourceOptions? opts = null)
public static ManagementRadiusServer get(String name, Output<String> id, ManagementRadiusServerState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementRadiusServer 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.
- Accounting Dictionary<string, string>
- Accounting settings. accounting blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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
Radius stringServer Id - Name string
- Object name. Should be unique in the domain.
- Priority double
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- Protocol string
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- Server string
- The UID or Name of the host that is the RADIUS Server.
- Service string
- The UID or Name of the Service to which the RADIUS server listens.
- string
- The secret between the RADIUS server and the Security Gateway.
- List<string>
- Collection of tag identifiers.
- Version string
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- Accounting map[string]string
- Accounting settings. accounting blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- 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
Radius stringServer Id - Name string
- Object name. Should be unique in the domain.
- Priority float64
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- Protocol string
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- Server string
- The UID or Name of the host that is the RADIUS Server.
- Service string
- The UID or Name of the Service to which the RADIUS server listens.
- string
- The secret between the RADIUS server and the Security Gateway.
- []string
- Collection of tag identifiers.
- Version string
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- accounting Map<String,String>
- Accounting settings. accounting blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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
Radius StringServer Id - name String
- Object name. Should be unique in the domain.
- priority Double
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol String
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- server String
- The UID or Name of the host that is the RADIUS Server.
- service String
- The UID or Name of the Service to which the RADIUS server listens.
- String
- The secret between the RADIUS server and the Security Gateway.
- List<String>
- Collection of tag identifiers.
- version String
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- accounting {[key: string]: string}
- Accounting settings. accounting blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- 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
Radius stringServer Id - name string
- Object name. Should be unique in the domain.
- priority number
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol string
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- server string
- The UID or Name of the host that is the RADIUS Server.
- service string
- The UID or Name of the Service to which the RADIUS server listens.
- string
- The secret between the RADIUS server and the Security Gateway.
- string[]
- Collection of tag identifiers.
- version string
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- accounting Mapping[str, str]
- Accounting settings. accounting blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- 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_
radius_ strserver_ id - name str
- Object name. Should be unique in the domain.
- priority float
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol str
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- server str
- The UID or Name of the host that is the RADIUS Server.
- service str
- The UID or Name of the Service to which the RADIUS server listens.
- str
- The secret between the RADIUS server and the Security Gateway.
- Sequence[str]
- Collection of tag identifiers.
- version str
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
- accounting Map<String>
- Accounting settings. accounting blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- 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
Radius StringServer Id - name String
- Object name. Should be unique in the domain.
- priority Number
- The priority of the RADIUS Server in case it is a member of a RADIUS Group.
- protocol String
- The type of authentication protocol that will be used when authenticating the user to the RADIUS server.
- server String
- The UID or Name of the host that is the RADIUS Server.
- service String
- The UID or Name of the Service to which the RADIUS server listens.
- String
- The secret between the RADIUS server and the Security Gateway.
- List<String>
- Collection of tag identifiers.
- version String
- The version can be either RADIUS Version 1.0, which is RFC 2138 compliant, and RADIUS Version 2.0 which is RFC 2865 compliant.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.