zia.ATPSecurityExceptions
Explore with Pulumi AI
The zia_atp_security_exceptions resource alows you to updates security exceptions for the ATP policy. To learn more see Advanced Threat Protection
Example Usage
resource "zia_atp_security_exceptions" "this" {
bypass_urls = [
"site1.example.com",
"site2.example.com",
"site3.example.com",
]
}
Create ATPSecurityExceptions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ATPSecurityExceptions(name: string, args?: ATPSecurityExceptionsArgs, opts?: CustomResourceOptions);
@overload
def ATPSecurityExceptions(resource_name: str,
args: Optional[ATPSecurityExceptionsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ATPSecurityExceptions(resource_name: str,
opts: Optional[ResourceOptions] = None,
bypass_urls: Optional[Sequence[str]] = None)
func NewATPSecurityExceptions(ctx *Context, name string, args *ATPSecurityExceptionsArgs, opts ...ResourceOption) (*ATPSecurityExceptions, error)
public ATPSecurityExceptions(string name, ATPSecurityExceptionsArgs? args = null, CustomResourceOptions? opts = null)
public ATPSecurityExceptions(String name, ATPSecurityExceptionsArgs args)
public ATPSecurityExceptions(String name, ATPSecurityExceptionsArgs args, CustomResourceOptions options)
type: zia:ATPSecurityExceptions
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 ATPSecurityExceptionsArgs
- 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 ATPSecurityExceptionsArgs
- 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 ATPSecurityExceptionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ATPSecurityExceptionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ATPSecurityExceptionsArgs
- 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 atpsecurityExceptionsResource = new Zia.ATPSecurityExceptions("atpsecurityExceptionsResource", new()
{
BypassUrls = new[]
{
"string",
},
});
example, err := zia.NewATPSecurityExceptions(ctx, "atpsecurityExceptionsResource", &zia.ATPSecurityExceptionsArgs{
BypassUrls: pulumi.StringArray{
pulumi.String("string"),
},
})
var atpsecurityExceptionsResource = new ATPSecurityExceptions("atpsecurityExceptionsResource", ATPSecurityExceptionsArgs.builder()
.bypassUrls("string")
.build());
atpsecurity_exceptions_resource = zia.ATPSecurityExceptions("atpsecurityExceptionsResource", bypass_urls=["string"])
const atpsecurityExceptionsResource = new zia.ATPSecurityExceptions("atpsecurityExceptionsResource", {bypassUrls: ["string"]});
type: zia:ATPSecurityExceptions
properties:
bypassUrls:
- string
ATPSecurityExceptions 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 ATPSecurityExceptions resource accepts the following input properties:
- Bypass
Urls List<string>
- Bypass
Urls []string
- bypass
Urls List<String>
- bypass
Urls string[]
- bypass_
urls Sequence[str]
- bypass
Urls List<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the ATPSecurityExceptions 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 ATPSecurityExceptions Resource
Get an existing ATPSecurityExceptions 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?: ATPSecurityExceptionsState, opts?: CustomResourceOptions): ATPSecurityExceptions
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bypass_urls: Optional[Sequence[str]] = None) -> ATPSecurityExceptions
func GetATPSecurityExceptions(ctx *Context, name string, id IDInput, state *ATPSecurityExceptionsState, opts ...ResourceOption) (*ATPSecurityExceptions, error)
public static ATPSecurityExceptions Get(string name, Input<string> id, ATPSecurityExceptionsState? state, CustomResourceOptions? opts = null)
public static ATPSecurityExceptions get(String name, Output<String> id, ATPSecurityExceptionsState state, CustomResourceOptions options)
resources: _: type: zia:ATPSecurityExceptions 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.
- Bypass
Urls List<string>
- Bypass
Urls []string
- bypass
Urls List<String>
- bypass
Urls string[]
- bypass_
urls Sequence[str]
- bypass
Urls List<String>
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
zia_atp_security_exceptions can be imported by using all_urls
as the import ID.
For example:
$ pulumi import zia:index/aTPSecurityExceptions:ATPSecurityExceptions this all_urls
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.