meraki.organizations.AdaptivePolicyAcls
Explore with Pulumi AI
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=[{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AdaptivePolicyAcls resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Acl
Id string - ID of the adaptive policy ACL
- Description string
- Description of the adaptive policy ACL
- Ip
Version string - IP version of adpative policy ACL
- Name string
- Name of the adaptive policy ACL
- Rules
List<Adaptive
Policy Acls Rule> - An ordered array of the adaptive policy ACL rules
- Organization
Id string - organizationId path parameter. Organization ID
- Acl
Id string - ID of the adaptive policy ACL
- Description string
- Description of the adaptive policy ACL
- Ip
Version string - IP version of adpative policy ACL
- Name string
- Name of the adaptive policy ACL
- Rules
[]Adaptive
Policy Acls Rule Args - An ordered array of the adaptive policy ACL rules
- organization
Id String - organizationId path parameter. Organization ID
- acl
Id String - ID of the adaptive policy ACL
- description String
- Description of the adaptive policy ACL
- ip
Version String - IP version of adpative policy ACL
- name String
- Name of the adaptive policy ACL
- rules
List<Adaptive
Policy Acls Rule> - An ordered array of the adaptive policy ACL rules
- organization
Id string - organizationId path parameter. Organization ID
- acl
Id string - ID of the adaptive policy ACL
- description string
- Description of the adaptive policy ACL
- ip
Version string - IP version of adpative policy ACL
- name string
- Name of the adaptive policy ACL
- rules
Adaptive
Policy Acls Rule[] - 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[Adaptive
Policy Acls Rule Args] - An ordered array of the adaptive policy ACL rules
- organization
Id String - organizationId path parameter. Organization ID
- acl
Id String - ID of the adaptive policy ACL
- description String
- Description of the adaptive policy ACL
- ip
Version 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:
- 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
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.
- Acl
Id string - ID of the adaptive policy ACL
- Created
At string - When the adaptive policy ACL was created
- Description string
- Description of the adaptive policy ACL
- Ip
Version string - IP version of adpative policy ACL
- Name string
- Name of the adaptive policy ACL
- Organization
Id string - organizationId path parameter. Organization ID
- Rules
List<Adaptive
Policy Acls Rule> - An ordered array of the adaptive policy ACL rules
- Updated
At string - When the adaptive policy ACL was last updated
- Acl
Id string - ID of the adaptive policy ACL
- Created
At string - When the adaptive policy ACL was created
- Description string
- Description of the adaptive policy ACL
- Ip
Version string - IP version of adpative policy ACL
- Name string
- Name of the adaptive policy ACL
- Organization
Id string - organizationId path parameter. Organization ID
- Rules
[]Adaptive
Policy Acls Rule Args - An ordered array of the adaptive policy ACL rules
- Updated
At string - When the adaptive policy ACL was last updated
- acl
Id String - ID of the adaptive policy ACL
- created
At String - When the adaptive policy ACL was created
- description String
- Description of the adaptive policy ACL
- ip
Version String - IP version of adpative policy ACL
- name String
- Name of the adaptive policy ACL
- organization
Id String - organizationId path parameter. Organization ID
- rules
List<Adaptive
Policy Acls Rule> - An ordered array of the adaptive policy ACL rules
- updated
At String - When the adaptive policy ACL was last updated
- acl
Id string - ID of the adaptive policy ACL
- created
At string - When the adaptive policy ACL was created
- description string
- Description of the adaptive policy ACL
- ip
Version string - IP version of adpative policy ACL
- name string
- Name of the adaptive policy ACL
- organization
Id string - organizationId path parameter. Organization ID
- rules
Adaptive
Policy Acls Rule[] - An ordered array of the adaptive policy ACL rules
- updated
At 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[Adaptive
Policy Acls Rule Args] - An ordered array of the adaptive policy ACL rules
- updated_
at str - When the adaptive policy ACL was last updated
- acl
Id String - ID of the adaptive policy ACL
- created
At String - When the adaptive policy ACL was created
- description String
- Description of the adaptive policy ACL
- ip
Version String - IP version of adpative policy ACL
- name String
- Name of the adaptive policy ACL
- organization
Id String - organizationId path parameter. Organization ID
- rules List<Property Map>
- An ordered array of the adaptive policy ACL rules
- updated
At String - When the adaptive policy ACL was last updated
Supporting Types
AdaptivePolicyAclsRule, AdaptivePolicyAclsRuleArgs
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.