1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. AdaptivePolicyAcls
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.organizations.AdaptivePolicyAcls

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.AdaptivePolicyAcls;
    import com.pulumi.meraki.organizations.AdaptivePolicyAclsArgs;
    import com.pulumi.meraki.organizations.inputs.AdaptivePolicyAclsRuleArgs;
    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 AdaptivePolicyAcls("example", AdaptivePolicyAclsArgs.builder()
                .description("Blocks sensitive web traffic")
                .ipVersion("ipv6")
                .name("Block sensitive web traffic")
                .organizationId("string")
                .rules(AdaptivePolicyAclsRuleArgs.builder()
                    .dst_port("22-30")
                    .policy("deny")
                    .protocol("tcp")
                    .src_port("1,33")
                    .build())
                .build());
    
            ctx.export("merakiOrganizationsAdaptivePolicyAclsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:AdaptivePolicyAcls
        properties:
          description: Blocks sensitive web traffic
          ipVersion: ipv6
          name: Block sensitive web traffic
          organizationId: string
          rules:
            - dst_port: 22-30
              policy: deny
              protocol: tcp
              src_port: 1,33
    outputs:
      merakiOrganizationsAdaptivePolicyAclsExample: ${example}
    

    Create AdaptivePolicyAcls Resource

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

    Constructor syntax

    new AdaptivePolicyAcls(name: string, args: AdaptivePolicyAclsArgs, opts?: CustomResourceOptions);
    @overload
    def AdaptivePolicyAcls(resource_name: str,
                           args: AdaptivePolicyAclsArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def AdaptivePolicyAcls(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           organization_id: Optional[str] = None,
                           acl_id: Optional[str] = None,
                           description: Optional[str] = None,
                           ip_version: Optional[str] = None,
                           name: Optional[str] = None,
                           rules: Optional[Sequence[AdaptivePolicyAclsRuleArgs]] = None)
    func NewAdaptivePolicyAcls(ctx *Context, name string, args AdaptivePolicyAclsArgs, opts ...ResourceOption) (*AdaptivePolicyAcls, error)
    public AdaptivePolicyAcls(string name, AdaptivePolicyAclsArgs args, CustomResourceOptions? opts = null)
    public AdaptivePolicyAcls(String name, AdaptivePolicyAclsArgs args)
    public AdaptivePolicyAcls(String name, AdaptivePolicyAclsArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:AdaptivePolicyAcls
    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 AdaptivePolicyAclsArgs
    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 AdaptivePolicyAclsArgs
    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 AdaptivePolicyAclsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AdaptivePolicyAclsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AdaptivePolicyAclsArgs
    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 adaptivePolicyAclsResource = new Meraki.Organizations.AdaptivePolicyAcls("adaptivePolicyAclsResource", new()
    {
        OrganizationId = "string",
        AclId = "string",
        Description = "string",
        IpVersion = "string",
        Name = "string",
        Rules = new[]
        {
            new Meraki.Organizations.Inputs.AdaptivePolicyAclsRuleArgs
            {
                DstPort = "string",
                Policy = "string",
                Protocol = "string",
                SrcPort = "string",
            },
        },
    });
    
    example, err := organizations.NewAdaptivePolicyAcls(ctx, "adaptivePolicyAclsResource", &organizations.AdaptivePolicyAclsArgs{
    	OrganizationId: pulumi.String("string"),
    	AclId:          pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	IpVersion:      pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Rules: organizations.AdaptivePolicyAclsRuleArray{
    		&organizations.AdaptivePolicyAclsRuleArgs{
    			DstPort:  pulumi.String("string"),
    			Policy:   pulumi.String("string"),
    			Protocol: pulumi.String("string"),
    			SrcPort:  pulumi.String("string"),
    		},
    	},
    })
    
    var adaptivePolicyAclsResource = new AdaptivePolicyAcls("adaptivePolicyAclsResource", AdaptivePolicyAclsArgs.builder()
        .organizationId("string")
        .aclId("string")
        .description("string")
        .ipVersion("string")
        .name("string")
        .rules(AdaptivePolicyAclsRuleArgs.builder()
            .dstPort("string")
            .policy("string")
            .protocol("string")
            .srcPort("string")
            .build())
        .build());
    
    adaptive_policy_acls_resource = meraki.organizations.AdaptivePolicyAcls("adaptivePolicyAclsResource",
        organization_id="string",
        acl_id="string",
        description="string",
        ip_version="string",
        name="string",
        rules=[meraki.organizations.AdaptivePolicyAclsRuleArgs(
            dst_port="string",
            policy="string",
            protocol="string",
            src_port="string",
        )])
    
    const adaptivePolicyAclsResource = new meraki.organizations.AdaptivePolicyAcls("adaptivePolicyAclsResource", {
        organizationId: "string",
        aclId: "string",
        description: "string",
        ipVersion: "string",
        name: "string",
        rules: [{
            dstPort: "string",
            policy: "string",
            protocol: "string",
            srcPort: "string",
        }],
    });
    
    type: meraki:organizations:AdaptivePolicyAcls
    properties:
        aclId: string
        description: string
        ipVersion: string
        name: string
        organizationId: string
        rules:
            - dstPort: string
              policy: string
              protocol: string
              srcPort: string
    

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

    OrganizationId string
    organizationId path parameter. Organization ID
    AclId string
    ID of the adaptive policy ACL
    Description string
    Description of the adaptive policy ACL
    IpVersion string
    IP version of adpative policy ACL
    Name string
    Name of the adaptive policy ACL
    Rules List<AdaptivePolicyAclsRule>
    An ordered array of the adaptive policy ACL rules
    OrganizationId string
    organizationId path parameter. Organization ID
    AclId string
    ID of the adaptive policy ACL
    Description string
    Description of the adaptive policy ACL
    IpVersion string
    IP version of adpative policy ACL
    Name string
    Name of the adaptive policy ACL
    Rules []AdaptivePolicyAclsRuleArgs
    An ordered array of the adaptive policy ACL rules
    organizationId String
    organizationId path parameter. Organization ID
    aclId String
    ID of the adaptive policy ACL
    description String
    Description of the adaptive policy ACL
    ipVersion String
    IP version of adpative policy ACL
    name String
    Name of the adaptive policy ACL
    rules List<AdaptivePolicyAclsRule>
    An ordered array of the adaptive policy ACL rules
    organizationId string
    organizationId path parameter. Organization ID
    aclId string
    ID of the adaptive policy ACL
    description string
    Description of the adaptive policy ACL
    ipVersion string
    IP version of adpative policy ACL
    name string
    Name of the adaptive policy ACL
    rules AdaptivePolicyAclsRule[]
    An ordered array of the adaptive policy ACL rules
    organization_id str
    organizationId path parameter. Organization ID
    acl_id str
    ID of the adaptive policy ACL
    description str
    Description of the adaptive policy ACL
    ip_version str
    IP version of adpative policy ACL
    name str
    Name of the adaptive policy ACL
    rules Sequence[AdaptivePolicyAclsRuleArgs]
    An ordered array of the adaptive policy ACL rules
    organizationId String
    organizationId path parameter. Organization ID
    aclId String
    ID of the adaptive policy ACL
    description String
    Description of the adaptive policy ACL
    ipVersion String
    IP version of adpative policy ACL
    name String
    Name of the adaptive policy ACL
    rules List<Property Map>
    An ordered array of the adaptive policy ACL rules

    Outputs

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

    CreatedAt string
    When the adaptive policy ACL was created
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    When the adaptive policy ACL was last updated
    CreatedAt string
    When the adaptive policy ACL was created
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    When the adaptive policy ACL was last updated
    createdAt String
    When the adaptive policy ACL was created
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    When the adaptive policy ACL was last updated
    createdAt string
    When the adaptive policy ACL was created
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    When the adaptive policy ACL was last updated
    created_at str
    When the adaptive policy ACL was created
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    When the adaptive policy ACL was last updated
    createdAt String
    When the adaptive policy ACL was created
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    When the adaptive policy ACL was last updated

    Look up Existing AdaptivePolicyAcls Resource

    Get an existing AdaptivePolicyAcls 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?: AdaptivePolicyAclsState, opts?: CustomResourceOptions): AdaptivePolicyAcls
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl_id: Optional[str] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            ip_version: Optional[str] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            rules: Optional[Sequence[AdaptivePolicyAclsRuleArgs]] = None,
            updated_at: Optional[str] = None) -> AdaptivePolicyAcls
    func GetAdaptivePolicyAcls(ctx *Context, name string, id IDInput, state *AdaptivePolicyAclsState, opts ...ResourceOption) (*AdaptivePolicyAcls, error)
    public static AdaptivePolicyAcls Get(string name, Input<string> id, AdaptivePolicyAclsState? state, CustomResourceOptions? opts = null)
    public static AdaptivePolicyAcls get(String name, Output<String> id, AdaptivePolicyAclsState 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:
    AclId string
    ID of the adaptive policy ACL
    CreatedAt string
    When the adaptive policy ACL was created
    Description string
    Description of the adaptive policy ACL
    IpVersion string
    IP version of adpative policy ACL
    Name string
    Name of the adaptive policy ACL
    OrganizationId string
    organizationId path parameter. Organization ID
    Rules List<AdaptivePolicyAclsRule>
    An ordered array of the adaptive policy ACL rules
    UpdatedAt string
    When the adaptive policy ACL was last updated
    AclId string
    ID of the adaptive policy ACL
    CreatedAt string
    When the adaptive policy ACL was created
    Description string
    Description of the adaptive policy ACL
    IpVersion string
    IP version of adpative policy ACL
    Name string
    Name of the adaptive policy ACL
    OrganizationId string
    organizationId path parameter. Organization ID
    Rules []AdaptivePolicyAclsRuleArgs
    An ordered array of the adaptive policy ACL rules
    UpdatedAt string
    When the adaptive policy ACL was last updated
    aclId String
    ID of the adaptive policy ACL
    createdAt String
    When the adaptive policy ACL was created
    description String
    Description of the adaptive policy ACL
    ipVersion String
    IP version of adpative policy ACL
    name String
    Name of the adaptive policy ACL
    organizationId String
    organizationId path parameter. Organization ID
    rules List<AdaptivePolicyAclsRule>
    An ordered array of the adaptive policy ACL rules
    updatedAt String
    When the adaptive policy ACL was last updated
    aclId string
    ID of the adaptive policy ACL
    createdAt string
    When the adaptive policy ACL was created
    description string
    Description of the adaptive policy ACL
    ipVersion string
    IP version of adpative policy ACL
    name string
    Name of the adaptive policy ACL
    organizationId string
    organizationId path parameter. Organization ID
    rules AdaptivePolicyAclsRule[]
    An ordered array of the adaptive policy ACL rules
    updatedAt string
    When the adaptive policy ACL was last updated
    acl_id str
    ID of the adaptive policy ACL
    created_at str
    When the adaptive policy ACL was created
    description str
    Description of the adaptive policy ACL
    ip_version str
    IP version of adpative policy ACL
    name str
    Name of the adaptive policy ACL
    organization_id str
    organizationId path parameter. Organization ID
    rules Sequence[AdaptivePolicyAclsRuleArgs]
    An ordered array of the adaptive policy ACL rules
    updated_at str
    When the adaptive policy ACL was last updated
    aclId String
    ID of the adaptive policy ACL
    createdAt String
    When the adaptive policy ACL was created
    description String
    Description of the adaptive policy ACL
    ipVersion String
    IP version of adpative policy ACL
    name String
    Name of the adaptive policy ACL
    organizationId String
    organizationId path parameter. Organization ID
    rules List<Property Map>
    An ordered array of the adaptive policy ACL rules
    updatedAt String
    When the adaptive policy ACL was last updated

    Supporting Types

    AdaptivePolicyAclsRule, AdaptivePolicyAclsRuleArgs

    DstPort string
    Destination port
    Policy string
    'allow' or 'deny' traffic specified by this rule
    Protocol string
    The type of protocol
    SrcPort string
    Source port
    DstPort string
    Destination port
    Policy string
    'allow' or 'deny' traffic specified by this rule
    Protocol string
    The type of protocol
    SrcPort string
    Source port
    dstPort String
    Destination port
    policy String
    'allow' or 'deny' traffic specified by this rule
    protocol String
    The type of protocol
    srcPort String
    Source port
    dstPort string
    Destination port
    policy string
    'allow' or 'deny' traffic specified by this rule
    protocol string
    The type of protocol
    srcPort string
    Source port
    dst_port str
    Destination port
    policy str
    'allow' or 'deny' traffic specified by this rule
    protocol str
    The type of protocol
    src_port str
    Source port
    dstPort String
    Destination port
    policy String
    'allow' or 'deny' traffic specified by this rule
    protocol String
    The type of protocol
    srcPort String
    Source port

    Import

    $ pulumi import meraki:organizations/adaptivePolicyAcls:AdaptivePolicyAcls example "acl_id,organization_id"
    

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

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi