1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. AppOverrideRule
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.AppOverrideRule

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 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.AppOverrideRule("example", {});
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.AppOverrideRule("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.NewAppOverrideRule(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.AppOverrideRule("example");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.AppOverrideRule;
    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 AppOverrideRule("example");
    
        }
    }
    
    resources:
      example:
        type: scm:AppOverrideRule
    

    Create AppOverrideRule Resource

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

    Constructor syntax

    new AppOverrideRule(name: string, args: AppOverrideRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AppOverrideRule(resource_name: str,
                        args: AppOverrideRuleArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppOverrideRule(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        application: Optional[str] = None,
                        tos: Optional[Sequence[str]] = None,
                        destinations: Optional[Sequence[str]] = None,
                        sources: Optional[Sequence[str]] = None,
                        protocol: Optional[str] = None,
                        port: Optional[int] = None,
                        froms: Optional[Sequence[str]] = None,
                        name: Optional[str] = None,
                        group_tag: Optional[str] = None,
                        negate_destination: Optional[bool] = None,
                        negate_source: Optional[bool] = None,
                        folder: Optional[str] = None,
                        position: Optional[str] = None,
                        disabled: Optional[bool] = None,
                        snippet: Optional[str] = None,
                        device: Optional[str] = None,
                        tags: Optional[Sequence[str]] = None,
                        description: Optional[str] = None)
    func NewAppOverrideRule(ctx *Context, name string, args AppOverrideRuleArgs, opts ...ResourceOption) (*AppOverrideRule, error)
    public AppOverrideRule(string name, AppOverrideRuleArgs args, CustomResourceOptions? opts = null)
    public AppOverrideRule(String name, AppOverrideRuleArgs args)
    public AppOverrideRule(String name, AppOverrideRuleArgs args, CustomResourceOptions options)
    
    type: scm:AppOverrideRule
    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 AppOverrideRuleArgs
    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 AppOverrideRuleArgs
    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 AppOverrideRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppOverrideRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppOverrideRuleArgs
    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 appOverrideRuleResource = new Scm.AppOverrideRule("appOverrideRuleResource", new()
    {
        Application = "string",
        Tos = new[]
        {
            "string",
        },
        Destinations = new[]
        {
            "string",
        },
        Sources = new[]
        {
            "string",
        },
        Protocol = "string",
        Port = 0,
        Froms = new[]
        {
            "string",
        },
        Name = "string",
        GroupTag = "string",
        NegateDestination = false,
        NegateSource = false,
        Folder = "string",
        Position = "string",
        Disabled = false,
        Snippet = "string",
        Device = "string",
        Tags = new[]
        {
            "string",
        },
        Description = "string",
    });
    
    example, err := scm.NewAppOverrideRule(ctx, "appOverrideRuleResource", &scm.AppOverrideRuleArgs{
    	Application: pulumi.String("string"),
    	Tos: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Destinations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Sources: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Protocol: pulumi.String("string"),
    	Port:     pulumi.Int(0),
    	Froms: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:              pulumi.String("string"),
    	GroupTag:          pulumi.String("string"),
    	NegateDestination: pulumi.Bool(false),
    	NegateSource:      pulumi.Bool(false),
    	Folder:            pulumi.String("string"),
    	Position:          pulumi.String("string"),
    	Disabled:          pulumi.Bool(false),
    	Snippet:           pulumi.String("string"),
    	Device:            pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    })
    
    var appOverrideRuleResource = new AppOverrideRule("appOverrideRuleResource", AppOverrideRuleArgs.builder()
        .application("string")
        .tos("string")
        .destinations("string")
        .sources("string")
        .protocol("string")
        .port(0)
        .froms("string")
        .name("string")
        .groupTag("string")
        .negateDestination(false)
        .negateSource(false)
        .folder("string")
        .position("string")
        .disabled(false)
        .snippet("string")
        .device("string")
        .tags("string")
        .description("string")
        .build());
    
    app_override_rule_resource = scm.AppOverrideRule("appOverrideRuleResource",
        application="string",
        tos=["string"],
        destinations=["string"],
        sources=["string"],
        protocol="string",
        port=0,
        froms=["string"],
        name="string",
        group_tag="string",
        negate_destination=False,
        negate_source=False,
        folder="string",
        position="string",
        disabled=False,
        snippet="string",
        device="string",
        tags=["string"],
        description="string")
    
    const appOverrideRuleResource = new scm.AppOverrideRule("appOverrideRuleResource", {
        application: "string",
        tos: ["string"],
        destinations: ["string"],
        sources: ["string"],
        protocol: "string",
        port: 0,
        froms: ["string"],
        name: "string",
        groupTag: "string",
        negateDestination: false,
        negateSource: false,
        folder: "string",
        position: "string",
        disabled: false,
        snippet: "string",
        device: "string",
        tags: ["string"],
        description: "string",
    });
    
    type: scm:AppOverrideRule
    properties:
        application: string
        description: string
        destinations:
            - string
        device: string
        disabled: false
        folder: string
        froms:
            - string
        groupTag: string
        name: string
        negateDestination: false
        negateSource: false
        port: 0
        position: string
        protocol: string
        snippet: string
        sources:
            - string
        tags:
            - string
        tos:
            - string
    

    AppOverrideRule 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 AppOverrideRule resource accepts the following input properties:

    Application string
    The Application param.
    Destinations List<string>
    The Destinations param.
    Froms List<string>
    The Froms param.
    Port int
    The Port param. Value must be between 0 and 65535.
    Protocol string
    The Protocol param. String must be one of these: "tcp", "udp".
    Sources List<string>
    The Sources param.
    Tos List<string>
    The Tos param.
    Description string
    The Description param. String length must not exceed 1024 characters.
    Device string
    The Device param.
    Disabled bool
    The Disabled param. Default: false.
    Folder string
    The Folder param.
    GroupTag string
    The GroupTag param.
    Name string
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    NegateDestination bool
    The NegateDestination param. Default: false.
    NegateSource bool
    The NegateSource param. Default: false.
    Position string
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    Snippet string
    The Snippet param.
    Tags List<string>
    The Tags param.
    Application string
    The Application param.
    Destinations []string
    The Destinations param.
    Froms []string
    The Froms param.
    Port int
    The Port param. Value must be between 0 and 65535.
    Protocol string
    The Protocol param. String must be one of these: "tcp", "udp".
    Sources []string
    The Sources param.
    Tos []string
    The Tos param.
    Description string
    The Description param. String length must not exceed 1024 characters.
    Device string
    The Device param.
    Disabled bool
    The Disabled param. Default: false.
    Folder string
    The Folder param.
    GroupTag string
    The GroupTag param.
    Name string
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    NegateDestination bool
    The NegateDestination param. Default: false.
    NegateSource bool
    The NegateSource param. Default: false.
    Position string
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    Snippet string
    The Snippet param.
    Tags []string
    The Tags param.
    application String
    The Application param.
    destinations List<String>
    The Destinations param.
    froms List<String>
    The Froms param.
    port Integer
    The Port param. Value must be between 0 and 65535.
    protocol String
    The Protocol param. String must be one of these: "tcp", "udp".
    sources List<String>
    The Sources param.
    tos List<String>
    The Tos param.
    description String
    The Description param. String length must not exceed 1024 characters.
    device String
    The Device param.
    disabled Boolean
    The Disabled param. Default: false.
    folder String
    The Folder param.
    groupTag String
    The GroupTag param.
    name String
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negateDestination Boolean
    The NegateDestination param. Default: false.
    negateSource Boolean
    The NegateSource param. Default: false.
    position String
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    snippet String
    The Snippet param.
    tags List<String>
    The Tags param.
    application string
    The Application param.
    destinations string[]
    The Destinations param.
    froms string[]
    The Froms param.
    port number
    The Port param. Value must be between 0 and 65535.
    protocol string
    The Protocol param. String must be one of these: "tcp", "udp".
    sources string[]
    The Sources param.
    tos string[]
    The Tos param.
    description string
    The Description param. String length must not exceed 1024 characters.
    device string
    The Device param.
    disabled boolean
    The Disabled param. Default: false.
    folder string
    The Folder param.
    groupTag string
    The GroupTag param.
    name string
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negateDestination boolean
    The NegateDestination param. Default: false.
    negateSource boolean
    The NegateSource param. Default: false.
    position string
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    snippet string
    The Snippet param.
    tags string[]
    The Tags param.
    application str
    The Application param.
    destinations Sequence[str]
    The Destinations param.
    froms Sequence[str]
    The Froms param.
    port int
    The Port param. Value must be between 0 and 65535.
    protocol str
    The Protocol param. String must be one of these: "tcp", "udp".
    sources Sequence[str]
    The Sources param.
    tos Sequence[str]
    The Tos param.
    description str
    The Description param. String length must not exceed 1024 characters.
    device str
    The Device param.
    disabled bool
    The Disabled param. Default: false.
    folder str
    The Folder param.
    group_tag str
    The GroupTag param.
    name str
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negate_destination bool
    The NegateDestination param. Default: false.
    negate_source bool
    The NegateSource param. Default: false.
    position str
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    snippet str
    The Snippet param.
    tags Sequence[str]
    The Tags param.
    application String
    The Application param.
    destinations List<String>
    The Destinations param.
    froms List<String>
    The Froms param.
    port Number
    The Port param. Value must be between 0 and 65535.
    protocol String
    The Protocol param. String must be one of these: "tcp", "udp".
    sources List<String>
    The Sources param.
    tos List<String>
    The Tos param.
    description String
    The Description param. String length must not exceed 1024 characters.
    device String
    The Device param.
    disabled Boolean
    The Disabled param. Default: false.
    folder String
    The Folder param.
    groupTag String
    The GroupTag param.
    name String
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negateDestination Boolean
    The NegateDestination param. Default: false.
    negateSource Boolean
    The NegateSource param. Default: false.
    position String
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    snippet String
    The Snippet param.
    tags List<String>
    The Tags param.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing AppOverrideRule Resource

    Get an existing AppOverrideRule 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?: AppOverrideRuleState, opts?: CustomResourceOptions): AppOverrideRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application: Optional[str] = None,
            description: Optional[str] = None,
            destinations: Optional[Sequence[str]] = None,
            device: Optional[str] = None,
            disabled: Optional[bool] = None,
            folder: Optional[str] = None,
            froms: Optional[Sequence[str]] = None,
            group_tag: Optional[str] = None,
            name: Optional[str] = None,
            negate_destination: Optional[bool] = None,
            negate_source: Optional[bool] = None,
            port: Optional[int] = None,
            position: Optional[str] = None,
            protocol: Optional[str] = None,
            snippet: Optional[str] = None,
            sources: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[str]] = None,
            tfid: Optional[str] = None,
            tos: Optional[Sequence[str]] = None) -> AppOverrideRule
    func GetAppOverrideRule(ctx *Context, name string, id IDInput, state *AppOverrideRuleState, opts ...ResourceOption) (*AppOverrideRule, error)
    public static AppOverrideRule Get(string name, Input<string> id, AppOverrideRuleState? state, CustomResourceOptions? opts = null)
    public static AppOverrideRule get(String name, Output<String> id, AppOverrideRuleState 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:
    Application string
    The Application param.
    Description string
    The Description param. String length must not exceed 1024 characters.
    Destinations List<string>
    The Destinations param.
    Device string
    The Device param.
    Disabled bool
    The Disabled param. Default: false.
    Folder string
    The Folder param.
    Froms List<string>
    The Froms param.
    GroupTag string
    The GroupTag param.
    Name string
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    NegateDestination bool
    The NegateDestination param. Default: false.
    NegateSource bool
    The NegateSource param. Default: false.
    Port int
    The Port param. Value must be between 0 and 65535.
    Position string
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    Protocol string
    The Protocol param. String must be one of these: "tcp", "udp".
    Snippet string
    The Snippet param.
    Sources List<string>
    The Sources param.
    Tags List<string>
    The Tags param.
    Tfid string
    Tos List<string>
    The Tos param.
    Application string
    The Application param.
    Description string
    The Description param. String length must not exceed 1024 characters.
    Destinations []string
    The Destinations param.
    Device string
    The Device param.
    Disabled bool
    The Disabled param. Default: false.
    Folder string
    The Folder param.
    Froms []string
    The Froms param.
    GroupTag string
    The GroupTag param.
    Name string
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    NegateDestination bool
    The NegateDestination param. Default: false.
    NegateSource bool
    The NegateSource param. Default: false.
    Port int
    The Port param. Value must be between 0 and 65535.
    Position string
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    Protocol string
    The Protocol param. String must be one of these: "tcp", "udp".
    Snippet string
    The Snippet param.
    Sources []string
    The Sources param.
    Tags []string
    The Tags param.
    Tfid string
    Tos []string
    The Tos param.
    application String
    The Application param.
    description String
    The Description param. String length must not exceed 1024 characters.
    destinations List<String>
    The Destinations param.
    device String
    The Device param.
    disabled Boolean
    The Disabled param. Default: false.
    folder String
    The Folder param.
    froms List<String>
    The Froms param.
    groupTag String
    The GroupTag param.
    name String
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negateDestination Boolean
    The NegateDestination param. Default: false.
    negateSource Boolean
    The NegateSource param. Default: false.
    port Integer
    The Port param. Value must be between 0 and 65535.
    position String
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    protocol String
    The Protocol param. String must be one of these: "tcp", "udp".
    snippet String
    The Snippet param.
    sources List<String>
    The Sources param.
    tags List<String>
    The Tags param.
    tfid String
    tos List<String>
    The Tos param.
    application string
    The Application param.
    description string
    The Description param. String length must not exceed 1024 characters.
    destinations string[]
    The Destinations param.
    device string
    The Device param.
    disabled boolean
    The Disabled param. Default: false.
    folder string
    The Folder param.
    froms string[]
    The Froms param.
    groupTag string
    The GroupTag param.
    name string
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negateDestination boolean
    The NegateDestination param. Default: false.
    negateSource boolean
    The NegateSource param. Default: false.
    port number
    The Port param. Value must be between 0 and 65535.
    position string
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    protocol string
    The Protocol param. String must be one of these: "tcp", "udp".
    snippet string
    The Snippet param.
    sources string[]
    The Sources param.
    tags string[]
    The Tags param.
    tfid string
    tos string[]
    The Tos param.
    application str
    The Application param.
    description str
    The Description param. String length must not exceed 1024 characters.
    destinations Sequence[str]
    The Destinations param.
    device str
    The Device param.
    disabled bool
    The Disabled param. Default: false.
    folder str
    The Folder param.
    froms Sequence[str]
    The Froms param.
    group_tag str
    The GroupTag param.
    name str
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negate_destination bool
    The NegateDestination param. Default: false.
    negate_source bool
    The NegateSource param. Default: false.
    port int
    The Port param. Value must be between 0 and 65535.
    position str
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    protocol str
    The Protocol param. String must be one of these: "tcp", "udp".
    snippet str
    The Snippet param.
    sources Sequence[str]
    The Sources param.
    tags Sequence[str]
    The Tags param.
    tfid str
    tos Sequence[str]
    The Tos param.
    application String
    The Application param.
    description String
    The Description param. String length must not exceed 1024 characters.
    destinations List<String>
    The Destinations param.
    device String
    The Device param.
    disabled Boolean
    The Disabled param. Default: false.
    folder String
    The Folder param.
    froms List<String>
    The Froms param.
    groupTag String
    The GroupTag param.
    name String
    The Name param. String length must not exceed 63 characters. String validation regex: ^[a-zA-Z0-9._-]+$.
    negateDestination Boolean
    The NegateDestination param. Default: false.
    negateSource Boolean
    The NegateSource param. Default: false.
    port Number
    The Port param. Value must be between 0 and 65535.
    position String
    The Position param. String must be one of these: "pre", "post". Default: "pre".
    protocol String
    The Protocol param. String must be one of these: "tcp", "udp".
    snippet String
    The Snippet param.
    sources List<String>
    The Sources param.
    tags List<String>
    The Tags param.
    tfid String
    tos List<String>
    The Tos param.

    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.1 published on Friday, May 31, 2024 by Pulumi