Cisco ISE v0.1.10 published on Tuesday, Nov 19, 2024 by Pulumi
Cisco ISE
The Cisco ISE provider for Pulumi can be used to provision the resources available in Cisco ISE. The Cisco ISE provider must be configured with credentials to deploy and update resources in ISE.
Example
import * as ise from "@pulumi/ise";
const example = new ise.system.Repository("example", {
name: "repo1",
protocol: "SFTP",
path: "/dir",
serverName: "server1",
userName: "user9",
password: "cisco123",
enablePki: false,
});
import pulumi_ise as ise
example = ise.system.Repository("example",
name="repo1",
protocol="SFTP",
path="/dir",
server_name="server1",
user_name="user9",
password="cisco123",
enable_pki=False)
package main
import (
"github.com/pulumi/pulumi-ise/sdk/go/ise/system"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewRepository(ctx, "example", &system.RepositoryArgs{
Name: pulumi.String("repo1"),
Protocol: pulumi.String("SFTP"),
Path: pulumi.String("/dir"),
ServerName: pulumi.String("server1"),
UserName: pulumi.String("user9"),
Password: pulumi.String("cisco123"),
EnablePki: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using Pulumi;
using Ise = Pulumi.Ise;
return await Deployment.RunAsync(() =>
{
var example = new Ise.System.Repository("example", new()
{
Name = "repo1",
Protocol = "SFTP",
Path = "/dir",
ServerName = "server1",
UserName = "user9",
Password = "cisco123",
EnablePki = false,
});
});
resources:
example:
type: ise:system:Repository
properties:
name: repo1
protocol: SFTP
path: /dir
serverName: server1
userName: user9
password: cisco123
enablePki: false