checkpoint.ManagementRadiusGroup
Explore with Pulumi AI
This resource allows you to add/update/delete Check Point Radius Group.
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 radiusServer = new checkpoint.ManagementRadiusServer("radiusServer", {
server: host.name,
sharedSecret: "123",
});
const radiusGroup = new checkpoint.ManagementRadiusGroup("radiusGroup", {members: [radiusServer.name]});
import pulumi
import pulumi_checkpoint as checkpoint
host = checkpoint.ManagementHost("host", ipv4_address="1.2.3.4")
radius_server = checkpoint.ManagementRadiusServer("radiusServer",
server=host.name,
shared_secret="123")
radius_group = checkpoint.ManagementRadiusGroup("radiusGroup", members=[radius_server.name])
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
}
radiusServer, err := checkpoint.NewManagementRadiusServer(ctx, "radiusServer", &checkpoint.ManagementRadiusServerArgs{
Server: host.Name,
SharedSecret: pulumi.String("123"),
})
if err != nil {
return err
}
_, err = checkpoint.NewManagementRadiusGroup(ctx, "radiusGroup", &checkpoint.ManagementRadiusGroupArgs{
Members: pulumi.StringArray{
radiusServer.Name,
},
})
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 radiusServer = new Checkpoint.ManagementRadiusServer("radiusServer", new()
{
Server = host.Name,
SharedSecret = "123",
});
var radiusGroup = new Checkpoint.ManagementRadiusGroup("radiusGroup", new()
{
Members = new[]
{
radiusServer.Name,
},
});
});
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 com.pulumi.checkpoint.ManagementRadiusGroup;
import com.pulumi.checkpoint.ManagementRadiusGroupArgs;
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 radiusServer = new ManagementRadiusServer("radiusServer", ManagementRadiusServerArgs.builder()
.server(host.name())
.sharedSecret("123")
.build());
var radiusGroup = new ManagementRadiusGroup("radiusGroup", ManagementRadiusGroupArgs.builder()
.members(radiusServer.name())
.build());
}
}
resources:
host:
type: checkpoint:ManagementHost
properties:
ipv4Address: 1.2.3.4
radiusServer:
type: checkpoint:ManagementRadiusServer
properties:
server: ${host.name}
sharedSecret: '123'
radiusGroup:
type: checkpoint:ManagementRadiusGroup
properties:
members:
- ${radiusServer.name}
Create ManagementRadiusGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementRadiusGroup(name: string, args?: ManagementRadiusGroupArgs, opts?: CustomResourceOptions);
@overload
def ManagementRadiusGroup(resource_name: str,
args: Optional[ManagementRadiusGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementRadiusGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_radius_group_id: Optional[str] = None,
members: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewManagementRadiusGroup(ctx *Context, name string, args *ManagementRadiusGroupArgs, opts ...ResourceOption) (*ManagementRadiusGroup, error)
public ManagementRadiusGroup(string name, ManagementRadiusGroupArgs? args = null, CustomResourceOptions? opts = null)
public ManagementRadiusGroup(String name, ManagementRadiusGroupArgs args)
public ManagementRadiusGroup(String name, ManagementRadiusGroupArgs args, CustomResourceOptions options)
type: checkpoint:ManagementRadiusGroup
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 ManagementRadiusGroupArgs
- 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 ManagementRadiusGroupArgs
- 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 ManagementRadiusGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementRadiusGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementRadiusGroupArgs
- 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 managementRadiusGroupResource = new Checkpoint.ManagementRadiusGroup("managementRadiusGroupResource", new()
{
Color = "string",
Comments = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementRadiusGroupId = "string",
Members = new[]
{
"string",
},
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementRadiusGroup(ctx, "managementRadiusGroupResource", &checkpoint.ManagementRadiusGroupArgs{
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementRadiusGroupId: pulumi.String("string"),
Members: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementRadiusGroupResource = new ManagementRadiusGroup("managementRadiusGroupResource", ManagementRadiusGroupArgs.builder()
.color("string")
.comments("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.managementRadiusGroupId("string")
.members("string")
.name("string")
.tags("string")
.build());
management_radius_group_resource = checkpoint.ManagementRadiusGroup("managementRadiusGroupResource",
color="string",
comments="string",
ignore_errors=False,
ignore_warnings=False,
management_radius_group_id="string",
members=["string"],
name="string",
tags=["string"])
const managementRadiusGroupResource = new checkpoint.ManagementRadiusGroup("managementRadiusGroupResource", {
color: "string",
comments: "string",
ignoreErrors: false,
ignoreWarnings: false,
managementRadiusGroupId: "string",
members: ["string"],
name: "string",
tags: ["string"],
});
type: checkpoint:ManagementRadiusGroup
properties:
color: string
comments: string
ignoreErrors: false
ignoreWarnings: false
managementRadiusGroupId: string
members:
- string
name: string
tags:
- string
ManagementRadiusGroup 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 ManagementRadiusGroup resource accepts the following input properties:
- 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 stringGroup Id - Members List<string>
- Collection of radius servers identified by the name or UID.
- Name string
- Object name. Must be unique in the domain.
- List<string>
- Collection of tag identifiers.
- 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 stringGroup Id - Members []string
- Collection of radius servers identified by the name or UID.
- Name string
- Object name. Must be unique in the domain.
- []string
- Collection of tag identifiers.
- 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 StringGroup Id - members List<String>
- Collection of radius servers identified by the name or UID.
- name String
- Object name. Must be unique in the domain.
- List<String>
- Collection of tag identifiers.
- 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 stringGroup Id - members string[]
- Collection of radius servers identified by the name or UID.
- name string
- Object name. Must be unique in the domain.
- string[]
- Collection of tag identifiers.
- 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_ strgroup_ id - members Sequence[str]
- Collection of radius servers identified by the name or UID.
- name str
- Object name. Must be unique in the domain.
- Sequence[str]
- Collection of tag identifiers.
- 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 StringGroup Id - members List<String>
- Collection of radius servers identified by the name or UID.
- name String
- Object name. Must be unique in the domain.
- List<String>
- Collection of tag identifiers.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementRadiusGroup 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 ManagementRadiusGroup Resource
Get an existing ManagementRadiusGroup 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?: ManagementRadiusGroupState, opts?: CustomResourceOptions): ManagementRadiusGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_radius_group_id: Optional[str] = None,
members: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementRadiusGroup
func GetManagementRadiusGroup(ctx *Context, name string, id IDInput, state *ManagementRadiusGroupState, opts ...ResourceOption) (*ManagementRadiusGroup, error)
public static ManagementRadiusGroup Get(string name, Input<string> id, ManagementRadiusGroupState? state, CustomResourceOptions? opts = null)
public static ManagementRadiusGroup get(String name, Output<String> id, ManagementRadiusGroupState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementRadiusGroup 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.
- 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 stringGroup Id - Members List<string>
- Collection of radius servers identified by the name or UID.
- Name string
- Object name. Must be unique in the domain.
- List<string>
- Collection of tag identifiers.
- 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 stringGroup Id - Members []string
- Collection of radius servers identified by the name or UID.
- Name string
- Object name. Must be unique in the domain.
- []string
- Collection of tag identifiers.
- 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 StringGroup Id - members List<String>
- Collection of radius servers identified by the name or UID.
- name String
- Object name. Must be unique in the domain.
- List<String>
- Collection of tag identifiers.
- 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 stringGroup Id - members string[]
- Collection of radius servers identified by the name or UID.
- name string
- Object name. Must be unique in the domain.
- string[]
- Collection of tag identifiers.
- 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_ strgroup_ id - members Sequence[str]
- Collection of radius servers identified by the name or UID.
- name str
- Object name. Must be unique in the domain.
- Sequence[str]
- Collection of tag identifiers.
- 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 StringGroup Id - members List<String>
- Collection of radius servers identified by the name or UID.
- name String
- Object name. Must be unique in the domain.
- List<String>
- Collection of tag identifiers.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.