zia.URLCategories
Explore with Pulumi AI
The zia_url_categories resource creates and manages a new custom URL category. If keywords are included within the request, they will be added to the new category.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.URLCategories("example", {
superCategory: "USER_DEFINED",
configuredName: "MCAS Unsanctioned Apps",
description: "MCAS Unsanctioned Apps",
keywords: ["microsoft"],
customCategory: true,
type: "URL_CATEGORY",
scopes: [{
type: "LOCATION",
scopeEntities: {
ids: [data.zia_location_management.nyc_site.id],
},
scopeGroupMemberEntities: {
ids: [data.zia_group_management.engineering.id],
},
}],
urls: [
".coupons.com",
".resource.alaskaair.net",
".techrepublic.com",
".dailymotion.com",
".osiriscomm.com",
".uefa.com",
".Logz.io",
".alexa.com",
".baidu.com",
".cnn.com",
".level3.com",
],
});
import pulumi
import zscaler_pulumi_zia as zia
example = zia.URLCategories("example",
super_category="USER_DEFINED",
configured_name="MCAS Unsanctioned Apps",
description="MCAS Unsanctioned Apps",
keywords=["microsoft"],
custom_category=True,
type="URL_CATEGORY",
scopes=[zia.URLCategoriesScopeArgs(
type="LOCATION",
scope_entities=zia.URLCategoriesScopeScopeEntitiesArgs(
ids=[data["zia_location_management"]["nyc_site"]["id"]],
),
scope_group_member_entities=zia.URLCategoriesScopeScopeGroupMemberEntitiesArgs(
ids=[data["zia_group_management"]["engineering"]["id"]],
),
)],
urls=[
".coupons.com",
".resource.alaskaair.net",
".techrepublic.com",
".dailymotion.com",
".osiriscomm.com",
".uefa.com",
".Logz.io",
".alexa.com",
".baidu.com",
".cnn.com",
".level3.com",
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zia/sdk/go/zia"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zia.NewURLCategories(ctx, "example", &zia.URLCategoriesArgs{
SuperCategory: pulumi.String("USER_DEFINED"),
ConfiguredName: pulumi.String("MCAS Unsanctioned Apps"),
Description: pulumi.String("MCAS Unsanctioned Apps"),
Keywords: pulumi.StringArray{
pulumi.String("microsoft"),
},
CustomCategory: pulumi.Bool(true),
Type: pulumi.String("URL_CATEGORY"),
Scopes: zia.URLCategoriesScopeArray{
&zia.URLCategoriesScopeArgs{
Type: pulumi.String("LOCATION"),
ScopeEntities: &zia.URLCategoriesScopeScopeEntitiesArgs{
Ids: pulumi.IntArray{
data.Zia_location_management.Nyc_site.Id,
},
},
ScopeGroupMemberEntities: &zia.URLCategoriesScopeScopeGroupMemberEntitiesArgs{
Ids: pulumi.IntArray{
data.Zia_group_management.Engineering.Id,
},
},
},
},
Urls: pulumi.StringArray{
pulumi.String(".coupons.com"),
pulumi.String(".resource.alaskaair.net"),
pulumi.String(".techrepublic.com"),
pulumi.String(".dailymotion.com"),
pulumi.String(".osiriscomm.com"),
pulumi.String(".uefa.com"),
pulumi.String(".Logz.io"),
pulumi.String(".alexa.com"),
pulumi.String(".baidu.com"),
pulumi.String(".cnn.com"),
pulumi.String(".level3.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = zscaler.PulumiPackage.Zia;
return await Deployment.RunAsync(() =>
{
var example = new Zia.URLCategories("example", new()
{
SuperCategory = "USER_DEFINED",
ConfiguredName = "MCAS Unsanctioned Apps",
Description = "MCAS Unsanctioned Apps",
Keywords = new[]
{
"microsoft",
},
CustomCategory = true,
Type = "URL_CATEGORY",
Scopes = new[]
{
new Zia.Inputs.URLCategoriesScopeArgs
{
Type = "LOCATION",
ScopeEntities = new Zia.Inputs.URLCategoriesScopeScopeEntitiesArgs
{
Ids = new[]
{
data.Zia_location_management.Nyc_site.Id,
},
},
ScopeGroupMemberEntities = new Zia.Inputs.URLCategoriesScopeScopeGroupMemberEntitiesArgs
{
Ids = new[]
{
data.Zia_group_management.Engineering.Id,
},
},
},
},
Urls = new[]
{
".coupons.com",
".resource.alaskaair.net",
".techrepublic.com",
".dailymotion.com",
".osiriscomm.com",
".uefa.com",
".Logz.io",
".alexa.com",
".baidu.com",
".cnn.com",
".level3.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.URLCategories;
import com.pulumi.zia.URLCategoriesArgs;
import com.pulumi.zia.inputs.URLCategoriesScopeArgs;
import com.pulumi.zia.inputs.URLCategoriesScopeScopeEntitiesArgs;
import com.pulumi.zia.inputs.URLCategoriesScopeScopeGroupMemberEntitiesArgs;
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 URLCategories("example", URLCategoriesArgs.builder()
.superCategory("USER_DEFINED")
.configuredName("MCAS Unsanctioned Apps")
.description("MCAS Unsanctioned Apps")
.keywords("microsoft")
.customCategory(true)
.type("URL_CATEGORY")
.scopes(URLCategoriesScopeArgs.builder()
.type("LOCATION")
.scopeEntities(URLCategoriesScopeScopeEntitiesArgs.builder()
.ids(data.zia_location_management().nyc_site().id())
.build())
.scopeGroupMemberEntities(URLCategoriesScopeScopeGroupMemberEntitiesArgs.builder()
.ids(data.zia_group_management().engineering().id())
.build())
.build())
.urls(
".coupons.com",
".resource.alaskaair.net",
".techrepublic.com",
".dailymotion.com",
".osiriscomm.com",
".uefa.com",
".Logz.io",
".alexa.com",
".baidu.com",
".cnn.com",
".level3.com")
.build());
}
}
resources:
example:
type: zia:URLCategories
properties:
superCategory: USER_DEFINED
configuredName: MCAS Unsanctioned Apps
description: MCAS Unsanctioned Apps
keywords:
- microsoft
customCategory: true
type: URL_CATEGORY
scopes:
- type: LOCATION
scopeEntities:
ids:
- ${data.zia_location_management.nyc_site.id}
scopeGroupMemberEntities:
ids:
- ${data.zia_group_management.engineering.id}
urls:
- .coupons.com
- .resource.alaskaair.net
- .techrepublic.com
- .dailymotion.com
- .osiriscomm.com
- .uefa.com
- .Logz.io
- .alexa.com
- .baidu.com
- .cnn.com
- .level3.com
Create URLCategories Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new URLCategories(name: string, args?: URLCategoriesArgs, opts?: CustomResourceOptions);
@overload
def URLCategories(resource_name: str,
args: Optional[URLCategoriesArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def URLCategories(resource_name: str,
opts: Optional[ResourceOptions] = None,
configured_name: Optional[str] = None,
custom_category: Optional[bool] = None,
custom_ip_ranges_count: Optional[int] = None,
custom_urls_count: Optional[int] = None,
db_categorized_urls: Optional[Sequence[str]] = None,
description: Optional[str] = None,
editable: Optional[bool] = None,
ip_ranges: Optional[Sequence[str]] = None,
ip_ranges_retaining_parent_categories: Optional[Sequence[str]] = None,
ip_ranges_retaining_parent_category_count: Optional[int] = None,
keywords: Optional[Sequence[str]] = None,
keywords_retaining_parent_categories: Optional[Sequence[str]] = None,
scopes: Optional[Sequence[URLCategoriesScopeArgs]] = None,
super_category: Optional[str] = None,
type: Optional[str] = None,
url_keyword_counts: Optional[URLCategoriesUrlKeywordCountsArgs] = None,
urls: Optional[Sequence[str]] = None,
urls_retaining_parent_category_count: Optional[int] = None)
func NewURLCategories(ctx *Context, name string, args *URLCategoriesArgs, opts ...ResourceOption) (*URLCategories, error)
public URLCategories(string name, URLCategoriesArgs? args = null, CustomResourceOptions? opts = null)
public URLCategories(String name, URLCategoriesArgs args)
public URLCategories(String name, URLCategoriesArgs args, CustomResourceOptions options)
type: zia:URLCategories
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 URLCategoriesArgs
- 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 URLCategoriesArgs
- 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 URLCategoriesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args URLCategoriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args URLCategoriesArgs
- 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 urlcategoriesResource = new Zia.URLCategories("urlcategoriesResource", new()
{
ConfiguredName = "string",
CustomCategory = false,
CustomIpRangesCount = 0,
CustomUrlsCount = 0,
DbCategorizedUrls = new[]
{
"string",
},
Description = "string",
Editable = false,
IpRanges = new[]
{
"string",
},
IpRangesRetainingParentCategories = new[]
{
"string",
},
IpRangesRetainingParentCategoryCount = 0,
Keywords = new[]
{
"string",
},
KeywordsRetainingParentCategories = new[]
{
"string",
},
Scopes = new[]
{
new Zia.Inputs.URLCategoriesScopeArgs
{
ScopeEntities = new Zia.Inputs.URLCategoriesScopeScopeEntitiesArgs
{
Ids = new[]
{
0,
},
},
ScopeGroupMemberEntities = new Zia.Inputs.URLCategoriesScopeScopeGroupMemberEntitiesArgs
{
Ids = new[]
{
0,
},
},
Type = "string",
},
},
SuperCategory = "string",
Type = "string",
UrlKeywordCounts = new Zia.Inputs.URLCategoriesUrlKeywordCountsArgs
{
RetainParentKeywordCount = 0,
RetainParentUrlCount = 0,
TotalKeywordCount = 0,
TotalUrlCount = 0,
},
Urls = new[]
{
"string",
},
UrlsRetainingParentCategoryCount = 0,
});
example, err := zia.NewURLCategories(ctx, "urlcategoriesResource", &zia.URLCategoriesArgs{
ConfiguredName: pulumi.String("string"),
CustomCategory: pulumi.Bool(false),
CustomIpRangesCount: pulumi.Int(0),
CustomUrlsCount: pulumi.Int(0),
DbCategorizedUrls: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Editable: pulumi.Bool(false),
IpRanges: pulumi.StringArray{
pulumi.String("string"),
},
IpRangesRetainingParentCategories: pulumi.StringArray{
pulumi.String("string"),
},
IpRangesRetainingParentCategoryCount: pulumi.Int(0),
Keywords: pulumi.StringArray{
pulumi.String("string"),
},
KeywordsRetainingParentCategories: pulumi.StringArray{
pulumi.String("string"),
},
Scopes: zia.URLCategoriesScopeArray{
&zia.URLCategoriesScopeArgs{
ScopeEntities: &zia.URLCategoriesScopeScopeEntitiesArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
ScopeGroupMemberEntities: &zia.URLCategoriesScopeScopeGroupMemberEntitiesArgs{
Ids: pulumi.IntArray{
pulumi.Int(0),
},
},
Type: pulumi.String("string"),
},
},
SuperCategory: pulumi.String("string"),
Type: pulumi.String("string"),
UrlKeywordCounts: &zia.URLCategoriesUrlKeywordCountsArgs{
RetainParentKeywordCount: pulumi.Int(0),
RetainParentUrlCount: pulumi.Int(0),
TotalKeywordCount: pulumi.Int(0),
TotalUrlCount: pulumi.Int(0),
},
Urls: pulumi.StringArray{
pulumi.String("string"),
},
UrlsRetainingParentCategoryCount: pulumi.Int(0),
})
var urlcategoriesResource = new URLCategories("urlcategoriesResource", URLCategoriesArgs.builder()
.configuredName("string")
.customCategory(false)
.customIpRangesCount(0)
.customUrlsCount(0)
.dbCategorizedUrls("string")
.description("string")
.editable(false)
.ipRanges("string")
.ipRangesRetainingParentCategories("string")
.ipRangesRetainingParentCategoryCount(0)
.keywords("string")
.keywordsRetainingParentCategories("string")
.scopes(URLCategoriesScopeArgs.builder()
.scopeEntities(URLCategoriesScopeScopeEntitiesArgs.builder()
.ids(0)
.build())
.scopeGroupMemberEntities(URLCategoriesScopeScopeGroupMemberEntitiesArgs.builder()
.ids(0)
.build())
.type("string")
.build())
.superCategory("string")
.type("string")
.urlKeywordCounts(URLCategoriesUrlKeywordCountsArgs.builder()
.retainParentKeywordCount(0)
.retainParentUrlCount(0)
.totalKeywordCount(0)
.totalUrlCount(0)
.build())
.urls("string")
.urlsRetainingParentCategoryCount(0)
.build());
urlcategories_resource = zia.URLCategories("urlcategoriesResource",
configured_name="string",
custom_category=False,
custom_ip_ranges_count=0,
custom_urls_count=0,
db_categorized_urls=["string"],
description="string",
editable=False,
ip_ranges=["string"],
ip_ranges_retaining_parent_categories=["string"],
ip_ranges_retaining_parent_category_count=0,
keywords=["string"],
keywords_retaining_parent_categories=["string"],
scopes=[{
"scope_entities": {
"ids": [0],
},
"scope_group_member_entities": {
"ids": [0],
},
"type": "string",
}],
super_category="string",
type="string",
url_keyword_counts={
"retain_parent_keyword_count": 0,
"retain_parent_url_count": 0,
"total_keyword_count": 0,
"total_url_count": 0,
},
urls=["string"],
urls_retaining_parent_category_count=0)
const urlcategoriesResource = new zia.URLCategories("urlcategoriesResource", {
configuredName: "string",
customCategory: false,
customIpRangesCount: 0,
customUrlsCount: 0,
dbCategorizedUrls: ["string"],
description: "string",
editable: false,
ipRanges: ["string"],
ipRangesRetainingParentCategories: ["string"],
ipRangesRetainingParentCategoryCount: 0,
keywords: ["string"],
keywordsRetainingParentCategories: ["string"],
scopes: [{
scopeEntities: {
ids: [0],
},
scopeGroupMemberEntities: {
ids: [0],
},
type: "string",
}],
superCategory: "string",
type: "string",
urlKeywordCounts: {
retainParentKeywordCount: 0,
retainParentUrlCount: 0,
totalKeywordCount: 0,
totalUrlCount: 0,
},
urls: ["string"],
urlsRetainingParentCategoryCount: 0,
});
type: zia:URLCategories
properties:
configuredName: string
customCategory: false
customIpRangesCount: 0
customUrlsCount: 0
dbCategorizedUrls:
- string
description: string
editable: false
ipRanges:
- string
ipRangesRetainingParentCategories:
- string
ipRangesRetainingParentCategoryCount: 0
keywords:
- string
keywordsRetainingParentCategories:
- string
scopes:
- scopeEntities:
ids:
- 0
scopeGroupMemberEntities:
ids:
- 0
type: string
superCategory: string
type: string
urlKeywordCounts:
retainParentKeywordCount: 0
retainParentUrlCount: 0
totalKeywordCount: 0
totalUrlCount: 0
urls:
- string
urlsRetainingParentCategoryCount: 0
URLCategories 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 URLCategories resource accepts the following input properties:
- Configured
Name string - Name of the URL category. This is only required for custom URL categories.
- Custom
Category bool - Custom
Ip intRanges Count - Custom
Urls intCount - Db
Categorized List<string>Urls - Description string
- Editable bool
- Ip
Ranges List<string> - Ip
Ranges List<string>Retaining Parent Categories - Ip
Ranges intRetaining Parent Category Count - Keywords List<string>
- Keywords
Retaining List<string>Parent Categories - Scopes
List<zscaler.
Pulumi Package. Zia. Inputs. URLCategories Scope> - Super
Category string - Super Category of the URL category. This field is required when creating custom URL categories.
- Type string
- Url
Keyword zscaler.Counts Pulumi Package. Zia. Inputs. URLCategories Url Keyword Counts - Urls List<string>
- Urls
Retaining intParent Category Count
- Configured
Name string - Name of the URL category. This is only required for custom URL categories.
- Custom
Category bool - Custom
Ip intRanges Count - Custom
Urls intCount - Db
Categorized []stringUrls - Description string
- Editable bool
- Ip
Ranges []string - Ip
Ranges []stringRetaining Parent Categories - Ip
Ranges intRetaining Parent Category Count - Keywords []string
- Keywords
Retaining []stringParent Categories - Scopes
[]URLCategories
Scope Args - Super
Category string - Super Category of the URL category. This field is required when creating custom URL categories.
- Type string
- Url
Keyword URLCategoriesCounts Url Keyword Counts Args - Urls []string
- Urls
Retaining intParent Category Count
- configured
Name String - Name of the URL category. This is only required for custom URL categories.
- custom
Category Boolean - custom
Ip IntegerRanges Count - custom
Urls IntegerCount - db
Categorized List<String>Urls - description String
- editable Boolean
- ip
Ranges List<String> - ip
Ranges List<String>Retaining Parent Categories - ip
Ranges IntegerRetaining Parent Category Count - keywords List<String>
- keywords
Retaining List<String>Parent Categories - scopes
List<URLCategories
Scope> - super
Category String - Super Category of the URL category. This field is required when creating custom URL categories.
- type String
- url
Keyword URLCategoriesCounts Url Keyword Counts - urls List<String>
- urls
Retaining IntegerParent Category Count
- configured
Name string - Name of the URL category. This is only required for custom URL categories.
- custom
Category boolean - custom
Ip numberRanges Count - custom
Urls numberCount - db
Categorized string[]Urls - description string
- editable boolean
- ip
Ranges string[] - ip
Ranges string[]Retaining Parent Categories - ip
Ranges numberRetaining Parent Category Count - keywords string[]
- keywords
Retaining string[]Parent Categories - scopes
URLCategories
Scope[] - super
Category string - Super Category of the URL category. This field is required when creating custom URL categories.
- type string
- url
Keyword URLCategoriesCounts Url Keyword Counts - urls string[]
- urls
Retaining numberParent Category Count
- configured_
name str - Name of the URL category. This is only required for custom URL categories.
- custom_
category bool - custom_
ip_ intranges_ count - custom_
urls_ intcount - db_
categorized_ Sequence[str]urls - description str
- editable bool
- ip_
ranges Sequence[str] - ip_
ranges_ Sequence[str]retaining_ parent_ categories - ip_
ranges_ intretaining_ parent_ category_ count - keywords Sequence[str]
- keywords_
retaining_ Sequence[str]parent_ categories - scopes
Sequence[URLCategories
Scope Args] - super_
category str - Super Category of the URL category. This field is required when creating custom URL categories.
- type str
- url_
keyword_ URLCategoriescounts Url Keyword Counts Args - urls Sequence[str]
- urls_
retaining_ intparent_ category_ count
- configured
Name String - Name of the URL category. This is only required for custom URL categories.
- custom
Category Boolean - custom
Ip NumberRanges Count - custom
Urls NumberCount - db
Categorized List<String>Urls - description String
- editable Boolean
- ip
Ranges List<String> - ip
Ranges List<String>Retaining Parent Categories - ip
Ranges NumberRetaining Parent Category Count - keywords List<String>
- keywords
Retaining List<String>Parent Categories - scopes List<Property Map>
- super
Category String - Super Category of the URL category. This field is required when creating custom URL categories.
- type String
- url
Keyword Property MapCounts - urls List<String>
- urls
Retaining NumberParent Category Count
Outputs
All input properties are implicitly available as output properties. Additionally, the URLCategories resource produces the following output properties:
- Category
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Category
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- category
Id String - id String
- The provider-assigned unique ID for this managed resource.
- category
Id string - id string
- The provider-assigned unique ID for this managed resource.
- category_
id str - id str
- The provider-assigned unique ID for this managed resource.
- category
Id String - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing URLCategories Resource
Get an existing URLCategories 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?: URLCategoriesState, opts?: CustomResourceOptions): URLCategories
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
category_id: Optional[str] = None,
configured_name: Optional[str] = None,
custom_category: Optional[bool] = None,
custom_ip_ranges_count: Optional[int] = None,
custom_urls_count: Optional[int] = None,
db_categorized_urls: Optional[Sequence[str]] = None,
description: Optional[str] = None,
editable: Optional[bool] = None,
ip_ranges: Optional[Sequence[str]] = None,
ip_ranges_retaining_parent_categories: Optional[Sequence[str]] = None,
ip_ranges_retaining_parent_category_count: Optional[int] = None,
keywords: Optional[Sequence[str]] = None,
keywords_retaining_parent_categories: Optional[Sequence[str]] = None,
scopes: Optional[Sequence[URLCategoriesScopeArgs]] = None,
super_category: Optional[str] = None,
type: Optional[str] = None,
url_keyword_counts: Optional[URLCategoriesUrlKeywordCountsArgs] = None,
urls: Optional[Sequence[str]] = None,
urls_retaining_parent_category_count: Optional[int] = None) -> URLCategories
func GetURLCategories(ctx *Context, name string, id IDInput, state *URLCategoriesState, opts ...ResourceOption) (*URLCategories, error)
public static URLCategories Get(string name, Input<string> id, URLCategoriesState? state, CustomResourceOptions? opts = null)
public static URLCategories get(String name, Output<String> id, URLCategoriesState 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.
- Category
Id string - Configured
Name string - Name of the URL category. This is only required for custom URL categories.
- Custom
Category bool - Custom
Ip intRanges Count - Custom
Urls intCount - Db
Categorized List<string>Urls - Description string
- Editable bool
- Ip
Ranges List<string> - Ip
Ranges List<string>Retaining Parent Categories - Ip
Ranges intRetaining Parent Category Count - Keywords List<string>
- Keywords
Retaining List<string>Parent Categories - Scopes
List<zscaler.
Pulumi Package. Zia. Inputs. URLCategories Scope> - Super
Category string - Super Category of the URL category. This field is required when creating custom URL categories.
- Type string
- Url
Keyword zscaler.Counts Pulumi Package. Zia. Inputs. URLCategories Url Keyword Counts - Urls List<string>
- Urls
Retaining intParent Category Count
- Category
Id string - Configured
Name string - Name of the URL category. This is only required for custom URL categories.
- Custom
Category bool - Custom
Ip intRanges Count - Custom
Urls intCount - Db
Categorized []stringUrls - Description string
- Editable bool
- Ip
Ranges []string - Ip
Ranges []stringRetaining Parent Categories - Ip
Ranges intRetaining Parent Category Count - Keywords []string
- Keywords
Retaining []stringParent Categories - Scopes
[]URLCategories
Scope Args - Super
Category string - Super Category of the URL category. This field is required when creating custom URL categories.
- Type string
- Url
Keyword URLCategoriesCounts Url Keyword Counts Args - Urls []string
- Urls
Retaining intParent Category Count
- category
Id String - configured
Name String - Name of the URL category. This is only required for custom URL categories.
- custom
Category Boolean - custom
Ip IntegerRanges Count - custom
Urls IntegerCount - db
Categorized List<String>Urls - description String
- editable Boolean
- ip
Ranges List<String> - ip
Ranges List<String>Retaining Parent Categories - ip
Ranges IntegerRetaining Parent Category Count - keywords List<String>
- keywords
Retaining List<String>Parent Categories - scopes
List<URLCategories
Scope> - super
Category String - Super Category of the URL category. This field is required when creating custom URL categories.
- type String
- url
Keyword URLCategoriesCounts Url Keyword Counts - urls List<String>
- urls
Retaining IntegerParent Category Count
- category
Id string - configured
Name string - Name of the URL category. This is only required for custom URL categories.
- custom
Category boolean - custom
Ip numberRanges Count - custom
Urls numberCount - db
Categorized string[]Urls - description string
- editable boolean
- ip
Ranges string[] - ip
Ranges string[]Retaining Parent Categories - ip
Ranges numberRetaining Parent Category Count - keywords string[]
- keywords
Retaining string[]Parent Categories - scopes
URLCategories
Scope[] - super
Category string - Super Category of the URL category. This field is required when creating custom URL categories.
- type string
- url
Keyword URLCategoriesCounts Url Keyword Counts - urls string[]
- urls
Retaining numberParent Category Count
- category_
id str - configured_
name str - Name of the URL category. This is only required for custom URL categories.
- custom_
category bool - custom_
ip_ intranges_ count - custom_
urls_ intcount - db_
categorized_ Sequence[str]urls - description str
- editable bool
- ip_
ranges Sequence[str] - ip_
ranges_ Sequence[str]retaining_ parent_ categories - ip_
ranges_ intretaining_ parent_ category_ count - keywords Sequence[str]
- keywords_
retaining_ Sequence[str]parent_ categories - scopes
Sequence[URLCategories
Scope Args] - super_
category str - Super Category of the URL category. This field is required when creating custom URL categories.
- type str
- url_
keyword_ URLCategoriescounts Url Keyword Counts Args - urls Sequence[str]
- urls_
retaining_ intparent_ category_ count
- category
Id String - configured
Name String - Name of the URL category. This is only required for custom URL categories.
- custom
Category Boolean - custom
Ip NumberRanges Count - custom
Urls NumberCount - db
Categorized List<String>Urls - description String
- editable Boolean
- ip
Ranges List<String> - ip
Ranges List<String>Retaining Parent Categories - ip
Ranges NumberRetaining Parent Category Count - keywords List<String>
- keywords
Retaining List<String>Parent Categories - scopes List<Property Map>
- super
Category String - Super Category of the URL category. This field is required when creating custom URL categories.
- type String
- url
Keyword Property MapCounts - urls List<String>
- urls
Retaining NumberParent Category Count
Supporting Types
URLCategoriesScope, URLCategoriesScopeArgs
- Scope
Entities zscaler.Pulumi Package. Zia. Inputs. URLCategories Scope Scope Entities - list of scope IDs
- Scope
Group zscaler.Member Entities Pulumi Package. Zia. Inputs. URLCategories Scope Scope Group Member Entities - list of scope group member IDs
- Type string
- Scope
Entities URLCategoriesScope Scope Entities - list of scope IDs
- Scope
Group URLCategoriesMember Entities Scope Scope Group Member Entities - list of scope group member IDs
- Type string
- scope
Entities URLCategoriesScope Scope Entities - list of scope IDs
- scope
Group URLCategoriesMember Entities Scope Scope Group Member Entities - list of scope group member IDs
- type String
- scope
Entities URLCategoriesScope Scope Entities - list of scope IDs
- scope
Group URLCategoriesMember Entities Scope Scope Group Member Entities - list of scope group member IDs
- type string
- scope_
entities URLCategoriesScope Scope Entities - list of scope IDs
- scope_
group_ URLCategoriesmember_ entities Scope Scope Group Member Entities - list of scope group member IDs
- type str
- scope
Entities Property Map - list of scope IDs
- scope
Group Property MapMember Entities - list of scope group member IDs
- type String
URLCategoriesScopeScopeEntities, URLCategoriesScopeScopeEntitiesArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
URLCategoriesScopeScopeGroupMemberEntities, URLCategoriesScopeScopeGroupMemberEntitiesArgs
- Ids List<int>
- Ids []int
- ids List<Integer>
- ids number[]
- ids Sequence[int]
- ids List<Number>
URLCategoriesUrlKeywordCounts, URLCategoriesUrlKeywordCountsArgs
- Retain
Parent intKeyword Count - Count of total keywords with retain parent category.
- Retain
Parent intUrl Count - Count of URLs with retain parent category.
- Total
Keyword intCount - Total keyword count for the category.
- Total
Url intCount - Custom URL count for the category.
- Retain
Parent intKeyword Count - Count of total keywords with retain parent category.
- Retain
Parent intUrl Count - Count of URLs with retain parent category.
- Total
Keyword intCount - Total keyword count for the category.
- Total
Url intCount - Custom URL count for the category.
- retain
Parent IntegerKeyword Count - Count of total keywords with retain parent category.
- retain
Parent IntegerUrl Count - Count of URLs with retain parent category.
- total
Keyword IntegerCount - Total keyword count for the category.
- total
Url IntegerCount - Custom URL count for the category.
- retain
Parent numberKeyword Count - Count of total keywords with retain parent category.
- retain
Parent numberUrl Count - Count of URLs with retain parent category.
- total
Keyword numberCount - Total keyword count for the category.
- total
Url numberCount - Custom URL count for the category.
- retain_
parent_ intkeyword_ count - Count of total keywords with retain parent category.
- retain_
parent_ inturl_ count - Count of URLs with retain parent category.
- total_
keyword_ intcount - Total keyword count for the category.
- total_
url_ intcount - Custom URL count for the category.
- retain
Parent NumberKeyword Count - Count of total keywords with retain parent category.
- retain
Parent NumberUrl Count - Count of URLs with retain parent category.
- total
Keyword NumberCount - Total keyword count for the category.
- total
Url NumberCount - Custom URL count for the category.
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_url_categories can be imported by using <CATEGORY_ID>
or <CATEGORY_NAME>
as the import ID.
For example:
$ pulumi import zia:index/uRLCategories:URLCategories example <category_id>
or
$ pulumi import zia:index/uRLCategories:URLCategories example <category_name>
⚠️ NOTE :: This provider only supports the importing of custom URL categories. The importing of built-in categories is not supported.
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.