1. Packages
  2. Strata Cloud Manager (Palo Alto SCM)
  3. API Docs
  4. TacacsServerProfile
Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi

scm.TacacsServerProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = new scm.TacacsServerProfile("example", {});
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.TacacsServerProfile("example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.NewTacacsServerProfile(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Scm.TacacsServerProfile("example");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.TacacsServerProfile;
    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 TacacsServerProfile("example");
    
        }
    }
    
    resources:
      example:
        type: scm:TacacsServerProfile
    

    Create TacacsServerProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TacacsServerProfile(name: string, args: TacacsServerProfileArgs, opts?: CustomResourceOptions);
    @overload
    def TacacsServerProfile(resource_name: str,
                            args: TacacsServerProfileArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def TacacsServerProfile(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            protocol: Optional[str] = None,
                            servers: Optional[Sequence[TacacsServerProfileServerArgs]] = None,
                            device: Optional[str] = None,
                            folder: Optional[str] = None,
                            snippet: Optional[str] = None,
                            timeout: Optional[int] = None,
                            use_single_connection: Optional[bool] = None)
    func NewTacacsServerProfile(ctx *Context, name string, args TacacsServerProfileArgs, opts ...ResourceOption) (*TacacsServerProfile, error)
    public TacacsServerProfile(string name, TacacsServerProfileArgs args, CustomResourceOptions? opts = null)
    public TacacsServerProfile(String name, TacacsServerProfileArgs args)
    public TacacsServerProfile(String name, TacacsServerProfileArgs args, CustomResourceOptions options)
    
    type: scm:TacacsServerProfile
    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 TacacsServerProfileArgs
    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 TacacsServerProfileArgs
    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 TacacsServerProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TacacsServerProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TacacsServerProfileArgs
    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 tacacsServerProfileResource = new Scm.TacacsServerProfile("tacacsServerProfileResource", new()
    {
        Protocol = "string",
        Servers = new[]
        {
            new Scm.Inputs.TacacsServerProfileServerArgs
            {
                Address = "string",
                Name = "string",
                Port = 0,
                Secret = "string",
            },
        },
        Device = "string",
        Folder = "string",
        Snippet = "string",
        Timeout = 0,
        UseSingleConnection = false,
    });
    
    example, err := scm.NewTacacsServerProfile(ctx, "tacacsServerProfileResource", &scm.TacacsServerProfileArgs{
    	Protocol: pulumi.String("string"),
    	Servers: scm.TacacsServerProfileServerArray{
    		&scm.TacacsServerProfileServerArgs{
    			Address: pulumi.String("string"),
    			Name:    pulumi.String("string"),
    			Port:    pulumi.Int(0),
    			Secret:  pulumi.String("string"),
    		},
    	},
    	Device:              pulumi.String("string"),
    	Folder:              pulumi.String("string"),
    	Snippet:             pulumi.String("string"),
    	Timeout:             pulumi.Int(0),
    	UseSingleConnection: pulumi.Bool(false),
    })
    
    var tacacsServerProfileResource = new TacacsServerProfile("tacacsServerProfileResource", TacacsServerProfileArgs.builder()
        .protocol("string")
        .servers(TacacsServerProfileServerArgs.builder()
            .address("string")
            .name("string")
            .port(0)
            .secret("string")
            .build())
        .device("string")
        .folder("string")
        .snippet("string")
        .timeout(0)
        .useSingleConnection(false)
        .build());
    
    tacacs_server_profile_resource = scm.TacacsServerProfile("tacacsServerProfileResource",
        protocol="string",
        servers=[scm.TacacsServerProfileServerArgs(
            address="string",
            name="string",
            port=0,
            secret="string",
        )],
        device="string",
        folder="string",
        snippet="string",
        timeout=0,
        use_single_connection=False)
    
    const tacacsServerProfileResource = new scm.TacacsServerProfile("tacacsServerProfileResource", {
        protocol: "string",
        servers: [{
            address: "string",
            name: "string",
            port: 0,
            secret: "string",
        }],
        device: "string",
        folder: "string",
        snippet: "string",
        timeout: 0,
        useSingleConnection: false,
    });
    
    type: scm:TacacsServerProfile
    properties:
        device: string
        folder: string
        protocol: string
        servers:
            - address: string
              name: string
              port: 0
              secret: string
        snippet: string
        timeout: 0
        useSingleConnection: false
    

    TacacsServerProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TacacsServerProfile resource accepts the following input properties:

    Protocol string
    The Protocol param. String must be one of these: "CHAP", "PAP".
    Servers List<TacacsServerProfileServer>
    The Servers param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    Snippet string
    The Snippet param.
    Timeout int
    The Timeout param. Value must be between 1 and 30.
    UseSingleConnection bool
    The UseSingleConnection param.
    Protocol string
    The Protocol param. String must be one of these: "CHAP", "PAP".
    Servers []TacacsServerProfileServerArgs
    The Servers param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    Snippet string
    The Snippet param.
    Timeout int
    The Timeout param. Value must be between 1 and 30.
    UseSingleConnection bool
    The UseSingleConnection param.
    protocol String
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers List<TacacsServerProfileServer>
    The Servers param.
    device String
    The Device param.
    folder String
    The Folder param.
    snippet String
    The Snippet param.
    timeout Integer
    The Timeout param. Value must be between 1 and 30.
    useSingleConnection Boolean
    The UseSingleConnection param.
    protocol string
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers TacacsServerProfileServer[]
    The Servers param.
    device string
    The Device param.
    folder string
    The Folder param.
    snippet string
    The Snippet param.
    timeout number
    The Timeout param. Value must be between 1 and 30.
    useSingleConnection boolean
    The UseSingleConnection param.
    protocol str
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers Sequence[TacacsServerProfileServerArgs]
    The Servers param.
    device str
    The Device param.
    folder str
    The Folder param.
    snippet str
    The Snippet param.
    timeout int
    The Timeout param. Value must be between 1 and 30.
    use_single_connection bool
    The UseSingleConnection param.
    protocol String
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers List<Property Map>
    The Servers param.
    device String
    The Device param.
    folder String
    The Folder param.
    snippet String
    The Snippet param.
    timeout Number
    The Timeout param. Value must be between 1 and 30.
    useSingleConnection Boolean
    The UseSingleConnection param.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TacacsServerProfile resource produces the following output properties:

    EncryptedValues Dictionary<string, string>
    (Internal use) Encrypted values returned from the API.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    EncryptedValues map[string]string
    (Internal use) Encrypted values returned from the API.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    encryptedValues Map<String,String>
    (Internal use) Encrypted values returned from the API.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    encryptedValues {[key: string]: string}
    (Internal use) Encrypted values returned from the API.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    encrypted_values Mapping[str, str]
    (Internal use) Encrypted values returned from the API.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    encryptedValues Map<String>
    (Internal use) Encrypted values returned from the API.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing TacacsServerProfile Resource

    Get an existing TacacsServerProfile 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?: TacacsServerProfileState, opts?: CustomResourceOptions): TacacsServerProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            device: Optional[str] = None,
            encrypted_values: Optional[Mapping[str, str]] = None,
            folder: Optional[str] = None,
            protocol: Optional[str] = None,
            servers: Optional[Sequence[TacacsServerProfileServerArgs]] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None,
            timeout: Optional[int] = None,
            use_single_connection: Optional[bool] = None) -> TacacsServerProfile
    func GetTacacsServerProfile(ctx *Context, name string, id IDInput, state *TacacsServerProfileState, opts ...ResourceOption) (*TacacsServerProfile, error)
    public static TacacsServerProfile Get(string name, Input<string> id, TacacsServerProfileState? state, CustomResourceOptions? opts = null)
    public static TacacsServerProfile get(String name, Output<String> id, TacacsServerProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Device string
    The Device param.
    EncryptedValues Dictionary<string, string>
    (Internal use) Encrypted values returned from the API.
    Folder string
    The Folder param.
    Protocol string
    The Protocol param. String must be one of these: "CHAP", "PAP".
    Servers List<TacacsServerProfileServer>
    The Servers param.
    Snippet string
    The Snippet param.
    Tfid string
    Timeout int
    The Timeout param. Value must be between 1 and 30.
    UseSingleConnection bool
    The UseSingleConnection param.
    Device string
    The Device param.
    EncryptedValues map[string]string
    (Internal use) Encrypted values returned from the API.
    Folder string
    The Folder param.
    Protocol string
    The Protocol param. String must be one of these: "CHAP", "PAP".
    Servers []TacacsServerProfileServerArgs
    The Servers param.
    Snippet string
    The Snippet param.
    Tfid string
    Timeout int
    The Timeout param. Value must be between 1 and 30.
    UseSingleConnection bool
    The UseSingleConnection param.
    device String
    The Device param.
    encryptedValues Map<String,String>
    (Internal use) Encrypted values returned from the API.
    folder String
    The Folder param.
    protocol String
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers List<TacacsServerProfileServer>
    The Servers param.
    snippet String
    The Snippet param.
    tfid String
    timeout Integer
    The Timeout param. Value must be between 1 and 30.
    useSingleConnection Boolean
    The UseSingleConnection param.
    device string
    The Device param.
    encryptedValues {[key: string]: string}
    (Internal use) Encrypted values returned from the API.
    folder string
    The Folder param.
    protocol string
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers TacacsServerProfileServer[]
    The Servers param.
    snippet string
    The Snippet param.
    tfid string
    timeout number
    The Timeout param. Value must be between 1 and 30.
    useSingleConnection boolean
    The UseSingleConnection param.
    device str
    The Device param.
    encrypted_values Mapping[str, str]
    (Internal use) Encrypted values returned from the API.
    folder str
    The Folder param.
    protocol str
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers Sequence[TacacsServerProfileServerArgs]
    The Servers param.
    snippet str
    The Snippet param.
    tfid str
    timeout int
    The Timeout param. Value must be between 1 and 30.
    use_single_connection bool
    The UseSingleConnection param.
    device String
    The Device param.
    encryptedValues Map<String>
    (Internal use) Encrypted values returned from the API.
    folder String
    The Folder param.
    protocol String
    The Protocol param. String must be one of these: "CHAP", "PAP".
    servers List<Property Map>
    The Servers param.
    snippet String
    The Snippet param.
    tfid String
    timeout Number
    The Timeout param. Value must be between 1 and 30.
    useSingleConnection Boolean
    The UseSingleConnection param.

    Supporting Types

    TacacsServerProfileServer, TacacsServerProfileServerArgs

    Address string
    The Address param.
    Name string
    The Name param.
    Port int
    The Port param. Value must be between 1 and 65535.
    Secret string
    The Secret param. String length must not exceed 64 characters.
    Address string
    The Address param.
    Name string
    The Name param.
    Port int
    The Port param. Value must be between 1 and 65535.
    Secret string
    The Secret param. String length must not exceed 64 characters.
    address String
    The Address param.
    name String
    The Name param.
    port Integer
    The Port param. Value must be between 1 and 65535.
    secret String
    The Secret param. String length must not exceed 64 characters.
    address string
    The Address param.
    name string
    The Name param.
    port number
    The Port param. Value must be between 1 and 65535.
    secret string
    The Secret param. String length must not exceed 64 characters.
    address str
    The Address param.
    name str
    The Name param.
    port int
    The Port param. Value must be between 1 and 65535.
    secret str
    The Secret param. String length must not exceed 64 characters.
    address String
    The Address param.
    name String
    The Name param.
    port Number
    The Port param. Value must be between 1 and 65535.
    secret String
    The Secret param. String length must not exceed 64 characters.

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 by Pulumi