prismacloud.AnomalyTrustedList
Explore with Pulumi AI
Manage an anomaly trusted list.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: prismacloud:AnomalyTrustedList
properties:
atlId: ${id}
Create AnomalyTrustedList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AnomalyTrustedList(name: string, args: AnomalyTrustedListArgs, opts?: CustomResourceOptions);
@overload
def AnomalyTrustedList(resource_name: str,
args: AnomalyTrustedListArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AnomalyTrustedList(resource_name: str,
opts: Optional[ResourceOptions] = None,
applicable_policies: Optional[Sequence[str]] = None,
trusted_list_entries: Optional[Sequence[AnomalyTrustedListTrustedListEntryArgs]] = None,
trusted_list_type: Optional[str] = None,
account_id: Optional[str] = None,
anomaly_trusted_list_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
vpc: Optional[str] = None)
func NewAnomalyTrustedList(ctx *Context, name string, args AnomalyTrustedListArgs, opts ...ResourceOption) (*AnomalyTrustedList, error)
public AnomalyTrustedList(string name, AnomalyTrustedListArgs args, CustomResourceOptions? opts = null)
public AnomalyTrustedList(String name, AnomalyTrustedListArgs args)
public AnomalyTrustedList(String name, AnomalyTrustedListArgs args, CustomResourceOptions options)
type: prismacloud:AnomalyTrustedList
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 AnomalyTrustedListArgs
- 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 AnomalyTrustedListArgs
- 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 AnomalyTrustedListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AnomalyTrustedListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AnomalyTrustedListArgs
- 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 anomalyTrustedListResource = new Prismacloud.AnomalyTrustedList("anomalyTrustedListResource", new()
{
ApplicablePolicies = new[]
{
"string",
},
TrustedListEntries = new[]
{
new Prismacloud.Inputs.AnomalyTrustedListTrustedListEntryArgs
{
Domain = "string",
ImageId = "string",
IpCidr = "string",
Port = "string",
Protocol = "string",
ResourceId = "string",
Service = "string",
Subject = "string",
TagKey = "string",
TagValue = "string",
},
},
TrustedListType = "string",
AccountId = "string",
AnomalyTrustedListId = "string",
Description = "string",
Name = "string",
Vpc = "string",
});
example, err := prismacloud.NewAnomalyTrustedList(ctx, "anomalyTrustedListResource", &prismacloud.AnomalyTrustedListArgs{
ApplicablePolicies: pulumi.StringArray{
pulumi.String("string"),
},
TrustedListEntries: prismacloud.AnomalyTrustedListTrustedListEntryArray{
&prismacloud.AnomalyTrustedListTrustedListEntryArgs{
Domain: pulumi.String("string"),
ImageId: pulumi.String("string"),
IpCidr: pulumi.String("string"),
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
ResourceId: pulumi.String("string"),
Service: pulumi.String("string"),
Subject: pulumi.String("string"),
TagKey: pulumi.String("string"),
TagValue: pulumi.String("string"),
},
},
TrustedListType: pulumi.String("string"),
AccountId: pulumi.String("string"),
AnomalyTrustedListId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Vpc: pulumi.String("string"),
})
var anomalyTrustedListResource = new AnomalyTrustedList("anomalyTrustedListResource", AnomalyTrustedListArgs.builder()
.applicablePolicies("string")
.trustedListEntries(AnomalyTrustedListTrustedListEntryArgs.builder()
.domain("string")
.imageId("string")
.ipCidr("string")
.port("string")
.protocol("string")
.resourceId("string")
.service("string")
.subject("string")
.tagKey("string")
.tagValue("string")
.build())
.trustedListType("string")
.accountId("string")
.anomalyTrustedListId("string")
.description("string")
.name("string")
.vpc("string")
.build());
anomaly_trusted_list_resource = prismacloud.AnomalyTrustedList("anomalyTrustedListResource",
applicable_policies=["string"],
trusted_list_entries=[{
"domain": "string",
"image_id": "string",
"ip_cidr": "string",
"port": "string",
"protocol": "string",
"resource_id": "string",
"service": "string",
"subject": "string",
"tag_key": "string",
"tag_value": "string",
}],
trusted_list_type="string",
account_id="string",
anomaly_trusted_list_id="string",
description="string",
name="string",
vpc="string")
const anomalyTrustedListResource = new prismacloud.AnomalyTrustedList("anomalyTrustedListResource", {
applicablePolicies: ["string"],
trustedListEntries: [{
domain: "string",
imageId: "string",
ipCidr: "string",
port: "string",
protocol: "string",
resourceId: "string",
service: "string",
subject: "string",
tagKey: "string",
tagValue: "string",
}],
trustedListType: "string",
accountId: "string",
anomalyTrustedListId: "string",
description: "string",
name: "string",
vpc: "string",
});
type: prismacloud:AnomalyTrustedList
properties:
accountId: string
anomalyTrustedListId: string
applicablePolicies:
- string
description: string
name: string
trustedListEntries:
- domain: string
imageId: string
ipCidr: string
port: string
protocol: string
resourceId: string
service: string
subject: string
tagKey: string
tagValue: string
trustedListType: string
vpc: string
AnomalyTrustedList 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 AnomalyTrustedList resource accepts the following input properties:
- Applicable
Policies List<string> - Applicable Policies
- Trusted
List List<AnomalyEntries Trusted List Trusted List Entry> - List of network anomalies in the trusted list below.
- Trusted
List stringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - Account
Id string - Anomaly Trusted List account id. Default value is
any
. - Anomaly
Trusted stringList Id - Description string
- Reason for trusted listing
- Name string
- Anomaly Trusted List name
- Vpc string
- VPC. Default value is
any
.
- Applicable
Policies []string - Applicable Policies
- Trusted
List []AnomalyEntries Trusted List Trusted List Entry Args - List of network anomalies in the trusted list below.
- Trusted
List stringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - Account
Id string - Anomaly Trusted List account id. Default value is
any
. - Anomaly
Trusted stringList Id - Description string
- Reason for trusted listing
- Name string
- Anomaly Trusted List name
- Vpc string
- VPC. Default value is
any
.
- applicable
Policies List<String> - Applicable Policies
- trusted
List List<AnomalyEntries Trusted List Trusted List Entry> - List of network anomalies in the trusted list below.
- trusted
List StringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - account
Id String - Anomaly Trusted List account id. Default value is
any
. - anomaly
Trusted StringList Id - description String
- Reason for trusted listing
- name String
- Anomaly Trusted List name
- vpc String
- VPC. Default value is
any
.
- applicable
Policies string[] - Applicable Policies
- trusted
List AnomalyEntries Trusted List Trusted List Entry[] - List of network anomalies in the trusted list below.
- trusted
List stringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - account
Id string - Anomaly Trusted List account id. Default value is
any
. - anomaly
Trusted stringList Id - description string
- Reason for trusted listing
- name string
- Anomaly Trusted List name
- vpc string
- VPC. Default value is
any
.
- applicable_
policies Sequence[str] - Applicable Policies
- trusted_
list_ Sequence[Anomalyentries Trusted List Trusted List Entry Args] - List of network anomalies in the trusted list below.
- trusted_
list_ strtype - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - account_
id str - Anomaly Trusted List account id. Default value is
any
. - anomaly_
trusted_ strlist_ id - description str
- Reason for trusted listing
- name str
- Anomaly Trusted List name
- vpc str
- VPC. Default value is
any
.
- applicable
Policies List<String> - Applicable Policies
- trusted
List List<Property Map>Entries - List of network anomalies in the trusted list below.
- trusted
List StringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - account
Id String - Anomaly Trusted List account id. Default value is
any
. - anomaly
Trusted StringList Id - description String
- Reason for trusted listing
- name String
- Anomaly Trusted List name
- vpc String
- VPC. Default value is
any
.
Outputs
All input properties are implicitly available as output properties. Additionally, the AnomalyTrustedList resource produces the following output properties:
- atl_
id float - Anomaly Trusted List ID
- created_
by str - Created by
- created_
on float - Created on
- id str
- The provider-assigned unique ID for this managed resource.
Look up Existing AnomalyTrustedList Resource
Get an existing AnomalyTrustedList 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?: AnomalyTrustedListState, opts?: CustomResourceOptions): AnomalyTrustedList
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
anomaly_trusted_list_id: Optional[str] = None,
applicable_policies: Optional[Sequence[str]] = None,
atl_id: Optional[float] = None,
created_by: Optional[str] = None,
created_on: Optional[float] = None,
description: Optional[str] = None,
name: Optional[str] = None,
trusted_list_entries: Optional[Sequence[AnomalyTrustedListTrustedListEntryArgs]] = None,
trusted_list_type: Optional[str] = None,
vpc: Optional[str] = None) -> AnomalyTrustedList
func GetAnomalyTrustedList(ctx *Context, name string, id IDInput, state *AnomalyTrustedListState, opts ...ResourceOption) (*AnomalyTrustedList, error)
public static AnomalyTrustedList Get(string name, Input<string> id, AnomalyTrustedListState? state, CustomResourceOptions? opts = null)
public static AnomalyTrustedList get(String name, Output<String> id, AnomalyTrustedListState state, CustomResourceOptions options)
resources: _: type: prismacloud:AnomalyTrustedList get: id: ${id}
- 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.
- Account
Id string - Anomaly Trusted List account id. Default value is
any
. - Anomaly
Trusted stringList Id - Applicable
Policies List<string> - Applicable Policies
- Atl
Id double - Anomaly Trusted List ID
- Created
By string - Created by
- Created
On double - Created on
- Description string
- Reason for trusted listing
- Name string
- Anomaly Trusted List name
- Trusted
List List<AnomalyEntries Trusted List Trusted List Entry> - List of network anomalies in the trusted list below.
- Trusted
List stringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - Vpc string
- VPC. Default value is
any
.
- Account
Id string - Anomaly Trusted List account id. Default value is
any
. - Anomaly
Trusted stringList Id - Applicable
Policies []string - Applicable Policies
- Atl
Id float64 - Anomaly Trusted List ID
- Created
By string - Created by
- Created
On float64 - Created on
- Description string
- Reason for trusted listing
- Name string
- Anomaly Trusted List name
- Trusted
List []AnomalyEntries Trusted List Trusted List Entry Args - List of network anomalies in the trusted list below.
- Trusted
List stringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - Vpc string
- VPC. Default value is
any
.
- account
Id String - Anomaly Trusted List account id. Default value is
any
. - anomaly
Trusted StringList Id - applicable
Policies List<String> - Applicable Policies
- atl
Id Double - Anomaly Trusted List ID
- created
By String - Created by
- created
On Double - Created on
- description String
- Reason for trusted listing
- name String
- Anomaly Trusted List name
- trusted
List List<AnomalyEntries Trusted List Trusted List Entry> - List of network anomalies in the trusted list below.
- trusted
List StringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - vpc String
- VPC. Default value is
any
.
- account
Id string - Anomaly Trusted List account id. Default value is
any
. - anomaly
Trusted stringList Id - applicable
Policies string[] - Applicable Policies
- atl
Id number - Anomaly Trusted List ID
- created
By string - Created by
- created
On number - Created on
- description string
- Reason for trusted listing
- name string
- Anomaly Trusted List name
- trusted
List AnomalyEntries Trusted List Trusted List Entry[] - List of network anomalies in the trusted list below.
- trusted
List stringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - vpc string
- VPC. Default value is
any
.
- account_
id str - Anomaly Trusted List account id. Default value is
any
. - anomaly_
trusted_ strlist_ id - applicable_
policies Sequence[str] - Applicable Policies
- atl_
id float - Anomaly Trusted List ID
- created_
by str - Created by
- created_
on float - Created on
- description str
- Reason for trusted listing
- name str
- Anomaly Trusted List name
- trusted_
list_ Sequence[Anomalyentries Trusted List Trusted List Entry Args] - List of network anomalies in the trusted list below.
- trusted_
list_ strtype - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - vpc str
- VPC. Default value is
any
.
- account
Id String - Anomaly Trusted List account id. Default value is
any
. - anomaly
Trusted StringList Id - applicable
Policies List<String> - Applicable Policies
- atl
Id Number - Anomaly Trusted List ID
- created
By String - Created by
- created
On Number - Created on
- description String
- Reason for trusted listing
- name String
- Anomaly Trusted List name
- trusted
List List<Property Map>Entries - List of network anomalies in the trusted list below.
- trusted
List StringType - Anomaly Trusted List type. Valid values :
ip
,resource
,image
,tag
,service
,port
,subject
,domain
orprotocol
, - vpc String
- VPC. Default value is
any
.
Supporting Types
AnomalyTrustedListTrustedListEntry, AnomalyTrustedListTrustedListEntryArgs
- Domain string
- Domain
- Image
Id string - Image ID
- Ip
Cidr string - IP CIDR
- Port string
- Port
- Protocol string
- Protocol
$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
- Resource
Id string - Resource ID
- Service string
- Service
- Subject string
- Subject
- Tag
Key string - Tag key
- Tag
Value string - Tag value
- Domain string
- Domain
- Image
Id string - Image ID
- Ip
Cidr string - IP CIDR
- Port string
- Port
- Protocol string
- Protocol
$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
- Resource
Id string - Resource ID
- Service string
- Service
- Subject string
- Subject
- Tag
Key string - Tag key
- Tag
Value string - Tag value
- domain String
- Domain
- image
Id String - Image ID
- ip
Cidr String - IP CIDR
- port String
- Port
- protocol String
- Protocol
$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
- resource
Id String - Resource ID
- service String
- Service
- subject String
- Subject
- tag
Key String - Tag key
- tag
Value String - Tag value
- domain string
- Domain
- image
Id string - Image ID
- ip
Cidr string - IP CIDR
- port string
- Port
- protocol string
- Protocol
$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
- resource
Id string - Resource ID
- service string
- Service
- subject string
- Subject
- tag
Key string - Tag key
- tag
Value string - Tag value
- domain String
- Domain
- image
Id String - Image ID
- ip
Cidr String - IP CIDR
- port String
- Port
- protocol String
- Protocol
$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
- resource
Id String - Resource ID
- service String
- Service
- subject String
- Subject
- tag
Key String - Tag key
- tag
Value String - Tag value
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloud
Terraform Provider.