1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. networkaccess
  5. DownloadableAcl
Cisco ISE v0.2.1 published on Saturday, Mar 15, 2025 by Pulumi

ise.networkaccess.DownloadableAcl

Explore with Pulumi AI

This resource can manage a Downloadable ACL.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ise from "@pulumi/ise";

const example = new ise.networkaccess.DownloadableAcl("example", {
    name: "MyACL",
    description: "My first downloadable ACL",
    dacl: "permit ip any any",
    daclType: "IPV4",
});
Copy
import pulumi
import pulumi_ise as ise

example = ise.networkaccess.DownloadableAcl("example",
    name="MyACL",
    description="My first downloadable ACL",
    dacl="permit ip any any",
    dacl_type="IPV4")
Copy
package main

import (
	"github.com/pulumi/pulumi-ise/sdk/go/ise/networkaccess"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkaccess.NewDownloadableAcl(ctx, "example", &networkaccess.DownloadableAclArgs{
			Name:        pulumi.String("MyACL"),
			Description: pulumi.String("My first downloadable ACL"),
			Dacl:        pulumi.String("permit ip any any"),
			DaclType:    pulumi.String("IPV4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ise = Pulumi.Ise;

return await Deployment.RunAsync(() => 
{
    var example = new Ise.NetworkAccess.DownloadableAcl("example", new()
    {
        Name = "MyACL",
        Description = "My first downloadable ACL",
        Dacl = "permit ip any any",
        DaclType = "IPV4",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ise.networkaccess.DownloadableAcl;
import com.pulumi.ise.networkaccess.DownloadableAclArgs;
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 DownloadableAcl("example", DownloadableAclArgs.builder()
            .name("MyACL")
            .description("My first downloadable ACL")
            .dacl("permit ip any any")
            .daclType("IPV4")
            .build());

    }
}
Copy
resources:
  example:
    type: ise:networkaccess:DownloadableAcl
    properties:
      name: MyACL
      description: My first downloadable ACL
      dacl: permit ip any any
      daclType: IPV4
Copy

Create DownloadableAcl Resource

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

Constructor syntax

new DownloadableAcl(name: string, args: DownloadableAclArgs, opts?: CustomResourceOptions);
@overload
def DownloadableAcl(resource_name: str,
                    args: DownloadableAclArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def DownloadableAcl(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    dacl: Optional[str] = None,
                    dacl_type: Optional[str] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None)
func NewDownloadableAcl(ctx *Context, name string, args DownloadableAclArgs, opts ...ResourceOption) (*DownloadableAcl, error)
public DownloadableAcl(string name, DownloadableAclArgs args, CustomResourceOptions? opts = null)
public DownloadableAcl(String name, DownloadableAclArgs args)
public DownloadableAcl(String name, DownloadableAclArgs args, CustomResourceOptions options)
type: ise:networkaccess:DownloadableAcl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DownloadableAclArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DownloadableAclArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DownloadableAclArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DownloadableAclArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DownloadableAclArgs
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 downloadableAclResource = new Ise.NetworkAccess.DownloadableAcl("downloadableAclResource", new()
{
    Dacl = "string",
    DaclType = "string",
    Description = "string",
    Name = "string",
});
Copy
example, err := networkaccess.NewDownloadableAcl(ctx, "downloadableAclResource", &networkaccess.DownloadableAclArgs{
	Dacl:        pulumi.String("string"),
	DaclType:    pulumi.String("string"),
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
})
Copy
var downloadableAclResource = new DownloadableAcl("downloadableAclResource", DownloadableAclArgs.builder()
    .dacl("string")
    .daclType("string")
    .description("string")
    .name("string")
    .build());
Copy
downloadable_acl_resource = ise.networkaccess.DownloadableAcl("downloadableAclResource",
    dacl="string",
    dacl_type="string",
    description="string",
    name="string")
Copy
const downloadableAclResource = new ise.networkaccess.DownloadableAcl("downloadableAclResource", {
    dacl: "string",
    daclType: "string",
    description: "string",
    name: "string",
});
Copy
type: ise:networkaccess:DownloadableAcl
properties:
    dacl: string
    daclType: string
    description: string
    name: string
Copy

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

Dacl This property is required. string
The DACL content
DaclType string
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
Description string
Description
Name string
The name of the downloadable ACL
Dacl This property is required. string
The DACL content
DaclType string
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
Description string
Description
Name string
The name of the downloadable ACL
dacl This property is required. String
The DACL content
daclType String
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description String
Description
name String
The name of the downloadable ACL
dacl This property is required. string
The DACL content
daclType string
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description string
Description
name string
The name of the downloadable ACL
dacl This property is required. str
The DACL content
dacl_type str
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description str
Description
name str
The name of the downloadable ACL
dacl This property is required. String
The DACL content
daclType String
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description String
Description
name String
The name of the downloadable ACL

Outputs

All input properties are implicitly available as output properties. Additionally, the DownloadableAcl 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 DownloadableAcl Resource

Get an existing DownloadableAcl 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?: DownloadableAclState, opts?: CustomResourceOptions): DownloadableAcl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dacl: Optional[str] = None,
        dacl_type: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None) -> DownloadableAcl
func GetDownloadableAcl(ctx *Context, name string, id IDInput, state *DownloadableAclState, opts ...ResourceOption) (*DownloadableAcl, error)
public static DownloadableAcl Get(string name, Input<string> id, DownloadableAclState? state, CustomResourceOptions? opts = null)
public static DownloadableAcl get(String name, Output<String> id, DownloadableAclState state, CustomResourceOptions options)
resources:  _:    type: ise:networkaccess:DownloadableAcl    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Dacl string
The DACL content
DaclType string
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
Description string
Description
Name string
The name of the downloadable ACL
Dacl string
The DACL content
DaclType string
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
Description string
Description
Name string
The name of the downloadable ACL
dacl String
The DACL content
daclType String
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description String
Description
name String
The name of the downloadable ACL
dacl string
The DACL content
daclType string
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description string
Description
name string
The name of the downloadable ACL
dacl str
The DACL content
dacl_type str
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description str
Description
name str
The name of the downloadable ACL
dacl String
The DACL content
daclType String
The type of ACL - Choices: IPV4, IPV6, IP_AGNOSTIC - Default value: IPV4
description String
Description
name String
The name of the downloadable ACL

Import

$ pulumi import ise:networkaccess/downloadableAcl:DownloadableAcl example "76d24097-41c4-4558-a4d0-a8c07ac08470"
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ise pulumi/pulumi-ise
License
Apache-2.0
Notes
This Pulumi package is based on the ise Terraform Provider.