Use the zia_tenant_restriction_profile resource creates and manages tenant retriction profiles in the Zscaler Internet Access cloud.
Example Usage
Create O365 Tenant Restriction Profile
resource "zia_tenant_restriction_profile" "this" {
name = "ACME_MSFT_CA"
description = "ACME_MSFT_CA"
restrict_personal_o365_domains = true
app_type = "MSLOGINSERVICES"
item_data_primary = ["11111111-1111-1111-1111-111111111111"]
item_data_secondary = ["acme.com"]
item_type_primary = "TENANT_RESTRICTION_TENANT_DIRECTORY"
item_type_secondary = "TENANT_RESTRICTION_TENANT_NAME"
}
Create O365 V2 Tenant Restriction Profile
resource "zia_tenant_restriction_profile" "this2" {
name = "ACME_MSFT_CA_v2"
description = "ACME_MSFT_CA_v2"
ms_login_services_tr_v2 = true
app_type = "MSLOGINSERVICES"
item_data_primary = ["11111111-1111-1111-1111-111111111111:quadsj"]
item_type_primary = "TENANT_RESTRICTION_TENANT_POLICY_ID"
}
Create YouTube Tenant Restriction Profile
resource "zia_tenant_restriction_profile" "this3" {
name = "YouTube01_Profile"
description = "YouTube01_Profile"
app_type = "YOUTUBE"
item_value = ["TENANT_RESTRICTION_ACTION_OR_ADVENTURE"]
item_type_primary = "TENANT_RESTRICTION_CATEGORY_ID"
}
Create Dropbox Tenant Restriction Profile
resource "zia_tenant_restriction_profile" "this4" {
name = "Dropbox_Profile"
description = "Dropbox_Profile"
app_type = "DROPBOX"
item_data_primary = [139732608]
item_type_primary = "TENANT_RESTRICTION_TEAM_ID"
}
Create Google Tenant Restriction Profile
resource "zia_tenant_restriction_profile" "this5" {
name = "Google_Profile01"
description = "Google_Profile01"
allow_google_consumers = false
allow_google_visitors = false
app_type = "GOOGLE"
item_data_primary = ["acme.com"]
item_type_primary = "TENANT_RESTRICTION_DOMAIN"
}
Create TenantRestrictionProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TenantRestrictionProfile(name: string, args?: TenantRestrictionProfileArgs, opts?: CustomResourceOptions);@overload
def TenantRestrictionProfile(resource_name: str,
args: Optional[TenantRestrictionProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def TenantRestrictionProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_gcp_cloud_storage_read: Optional[bool] = None,
allow_google_consumers: Optional[bool] = None,
allow_google_visitors: Optional[bool] = None,
app_type: Optional[str] = None,
description: Optional[str] = None,
item_data_primaries: Optional[Sequence[str]] = None,
item_data_secondaries: Optional[Sequence[str]] = None,
item_type_primary: Optional[str] = None,
item_type_secondary: Optional[str] = None,
item_values: Optional[Sequence[str]] = None,
ms_login_services_tr_v2: Optional[bool] = None,
name: Optional[str] = None,
restrict_personal_o365_domains: Optional[bool] = None)func NewTenantRestrictionProfile(ctx *Context, name string, args *TenantRestrictionProfileArgs, opts ...ResourceOption) (*TenantRestrictionProfile, error)public TenantRestrictionProfile(string name, TenantRestrictionProfileArgs? args = null, CustomResourceOptions? opts = null)
public TenantRestrictionProfile(String name, TenantRestrictionProfileArgs args)
public TenantRestrictionProfile(String name, TenantRestrictionProfileArgs args, CustomResourceOptions options)
type: zia:TenantRestrictionProfile
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 TenantRestrictionProfileArgs
- 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 TenantRestrictionProfileArgs
- 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 TenantRestrictionProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantRestrictionProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantRestrictionProfileArgs
- 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 tenantRestrictionProfileResource = new Zia.TenantRestrictionProfile("tenantRestrictionProfileResource", new()
{
AllowGcpCloudStorageRead = false,
AllowGoogleConsumers = false,
AllowGoogleVisitors = false,
AppType = "string",
Description = "string",
ItemDataPrimaries = new[]
{
"string",
},
ItemDataSecondaries = new[]
{
"string",
},
ItemTypePrimary = "string",
ItemTypeSecondary = "string",
ItemValues = new[]
{
"string",
},
MsLoginServicesTrV2 = false,
Name = "string",
RestrictPersonalO365Domains = false,
});
example, err := zia.NewTenantRestrictionProfile(ctx, "tenantRestrictionProfileResource", &zia.TenantRestrictionProfileArgs{
AllowGcpCloudStorageRead: pulumi.Bool(false),
AllowGoogleConsumers: pulumi.Bool(false),
AllowGoogleVisitors: pulumi.Bool(false),
AppType: pulumi.String("string"),
Description: pulumi.String("string"),
ItemDataPrimaries: pulumi.StringArray{
pulumi.String("string"),
},
ItemDataSecondaries: pulumi.StringArray{
pulumi.String("string"),
},
ItemTypePrimary: pulumi.String("string"),
ItemTypeSecondary: pulumi.String("string"),
ItemValues: pulumi.StringArray{
pulumi.String("string"),
},
MsLoginServicesTrV2: pulumi.Bool(false),
Name: pulumi.String("string"),
RestrictPersonalO365Domains: pulumi.Bool(false),
})
var tenantRestrictionProfileResource = new TenantRestrictionProfile("tenantRestrictionProfileResource", TenantRestrictionProfileArgs.builder()
.allowGcpCloudStorageRead(false)
.allowGoogleConsumers(false)
.allowGoogleVisitors(false)
.appType("string")
.description("string")
.itemDataPrimaries("string")
.itemDataSecondaries("string")
.itemTypePrimary("string")
.itemTypeSecondary("string")
.itemValues("string")
.msLoginServicesTrV2(false)
.name("string")
.restrictPersonalO365Domains(false)
.build());
tenant_restriction_profile_resource = zia.TenantRestrictionProfile("tenantRestrictionProfileResource",
allow_gcp_cloud_storage_read=False,
allow_google_consumers=False,
allow_google_visitors=False,
app_type="string",
description="string",
item_data_primaries=["string"],
item_data_secondaries=["string"],
item_type_primary="string",
item_type_secondary="string",
item_values=["string"],
ms_login_services_tr_v2=False,
name="string",
restrict_personal_o365_domains=False)
const tenantRestrictionProfileResource = new zia.TenantRestrictionProfile("tenantRestrictionProfileResource", {
allowGcpCloudStorageRead: false,
allowGoogleConsumers: false,
allowGoogleVisitors: false,
appType: "string",
description: "string",
itemDataPrimaries: ["string"],
itemDataSecondaries: ["string"],
itemTypePrimary: "string",
itemTypeSecondary: "string",
itemValues: ["string"],
msLoginServicesTrV2: false,
name: "string",
restrictPersonalO365Domains: false,
});
type: zia:TenantRestrictionProfile
properties:
allowGcpCloudStorageRead: false
allowGoogleConsumers: false
allowGoogleVisitors: false
appType: string
description: string
itemDataPrimaries:
- string
itemDataSecondaries:
- string
itemTypePrimary: string
itemTypeSecondary: string
itemValues:
- string
msLoginServicesTrV2: false
name: string
restrictPersonalO365Domains: false
TenantRestrictionProfile 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 TenantRestrictionProfile resource accepts the following input properties:
- Allow
Gcp boolCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- Allow
Google boolConsumers - Flag to allow Google consumers
- Allow
Google boolVisitors - Flag to allow Google visitors
- App
Type string - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Description string
- Additional information about the profile
- Item
Data List<string>Primaries - Tenant profile primary item data
- Item
Data List<string>Secondaries - List of certifications to be included or excluded for the profile.
- Item
Type stringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Type stringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Values List<string> - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Ms
Login boolServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- Name string
- The tenant restriction profile name
- Restrict
Personal boolO365Domains - Flag to restrict personal domains for Office 365
- Allow
Gcp boolCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- Allow
Google boolConsumers - Flag to allow Google consumers
- Allow
Google boolVisitors - Flag to allow Google visitors
- App
Type string - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Description string
- Additional information about the profile
- Item
Data []stringPrimaries - Tenant profile primary item data
- Item
Data []stringSecondaries - List of certifications to be included or excluded for the profile.
- Item
Type stringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Type stringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Values []string - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Ms
Login boolServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- Name string
- The tenant restriction profile name
- Restrict
Personal boolO365Domains - Flag to restrict personal domains for Office 365
- allow
Gcp BooleanCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- allow
Google BooleanConsumers - Flag to allow Google consumers
- allow
Google BooleanVisitors - Flag to allow Google visitors
- app
Type String - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description String
- Additional information about the profile
- item
Data List<String>Primaries - Tenant profile primary item data
- item
Data List<String>Secondaries - List of certifications to be included or excluded for the profile.
- item
Type StringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Type StringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Values List<String> - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms
Login BooleanServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name String
- The tenant restriction profile name
- restrict
Personal BooleanO365Domains - Flag to restrict personal domains for Office 365
- allow
Gcp booleanCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- allow
Google booleanConsumers - Flag to allow Google consumers
- allow
Google booleanVisitors - Flag to allow Google visitors
- app
Type string - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description string
- Additional information about the profile
- item
Data string[]Primaries - Tenant profile primary item data
- item
Data string[]Secondaries - List of certifications to be included or excluded for the profile.
- item
Type stringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Type stringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Values string[] - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms
Login booleanServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name string
- The tenant restriction profile name
- restrict
Personal booleanO365Domains - Flag to restrict personal domains for Office 365
- allow_
gcp_ boolcloud_ storage_ read - Flag to allow or disallow cloud storage resources for GCP
- allow_
google_ boolconsumers - Flag to allow Google consumers
- allow_
google_ boolvisitors - Flag to allow Google visitors
- app_
type str - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description str
- Additional information about the profile
- item_
data_ Sequence[str]primaries - Tenant profile primary item data
- item_
data_ Sequence[str]secondaries - List of certifications to be included or excluded for the profile.
- item_
type_ strprimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item_
type_ strsecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item_
values Sequence[str] - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms_
login_ boolservices_ tr_ v2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name str
- The tenant restriction profile name
- restrict_
personal_ boolo365_ domains - Flag to restrict personal domains for Office 365
- allow
Gcp BooleanCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- allow
Google BooleanConsumers - Flag to allow Google consumers
- allow
Google BooleanVisitors - Flag to allow Google visitors
- app
Type String - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description String
- Additional information about the profile
- item
Data List<String>Primaries - Tenant profile primary item data
- item
Data List<String>Secondaries - List of certifications to be included or excluded for the profile.
- item
Type StringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Type StringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Values List<String> - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms
Login BooleanServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name String
- The tenant restriction profile name
- restrict
Personal BooleanO365Domains - Flag to restrict personal domains for Office 365
Outputs
All input properties are implicitly available as output properties. Additionally, the TenantRestrictionProfile resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- profile_
id int - System-generated tenant profile ID
Look up Existing TenantRestrictionProfile Resource
Get an existing TenantRestrictionProfile 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?: TenantRestrictionProfileState, opts?: CustomResourceOptions): TenantRestrictionProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_gcp_cloud_storage_read: Optional[bool] = None,
allow_google_consumers: Optional[bool] = None,
allow_google_visitors: Optional[bool] = None,
app_type: Optional[str] = None,
description: Optional[str] = None,
item_data_primaries: Optional[Sequence[str]] = None,
item_data_secondaries: Optional[Sequence[str]] = None,
item_type_primary: Optional[str] = None,
item_type_secondary: Optional[str] = None,
item_values: Optional[Sequence[str]] = None,
ms_login_services_tr_v2: Optional[bool] = None,
name: Optional[str] = None,
profile_id: Optional[int] = None,
restrict_personal_o365_domains: Optional[bool] = None) -> TenantRestrictionProfilefunc GetTenantRestrictionProfile(ctx *Context, name string, id IDInput, state *TenantRestrictionProfileState, opts ...ResourceOption) (*TenantRestrictionProfile, error)public static TenantRestrictionProfile Get(string name, Input<string> id, TenantRestrictionProfileState? state, CustomResourceOptions? opts = null)public static TenantRestrictionProfile get(String name, Output<String> id, TenantRestrictionProfileState state, CustomResourceOptions options)resources: _: type: zia:TenantRestrictionProfile 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.
- Allow
Gcp boolCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- Allow
Google boolConsumers - Flag to allow Google consumers
- Allow
Google boolVisitors - Flag to allow Google visitors
- App
Type string - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Description string
- Additional information about the profile
- Item
Data List<string>Primaries - Tenant profile primary item data
- Item
Data List<string>Secondaries - List of certifications to be included or excluded for the profile.
- Item
Type stringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Type stringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Values List<string> - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Ms
Login boolServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- Name string
- The tenant restriction profile name
- Profile
Id int - System-generated tenant profile ID
- Restrict
Personal boolO365Domains - Flag to restrict personal domains for Office 365
- Allow
Gcp boolCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- Allow
Google boolConsumers - Flag to allow Google consumers
- Allow
Google boolVisitors - Flag to allow Google visitors
- App
Type string - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Description string
- Additional information about the profile
- Item
Data []stringPrimaries - Tenant profile primary item data
- Item
Data []stringSecondaries - List of certifications to be included or excluded for the profile.
- Item
Type stringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Type stringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Item
Values []string - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- Ms
Login boolServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- Name string
- The tenant restriction profile name
- Profile
Id int - System-generated tenant profile ID
- Restrict
Personal boolO365Domains - Flag to restrict personal domains for Office 365
- allow
Gcp BooleanCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- allow
Google BooleanConsumers - Flag to allow Google consumers
- allow
Google BooleanVisitors - Flag to allow Google visitors
- app
Type String - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description String
- Additional information about the profile
- item
Data List<String>Primaries - Tenant profile primary item data
- item
Data List<String>Secondaries - List of certifications to be included or excluded for the profile.
- item
Type StringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Type StringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Values List<String> - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms
Login BooleanServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name String
- The tenant restriction profile name
- profile
Id Integer - System-generated tenant profile ID
- restrict
Personal BooleanO365Domains - Flag to restrict personal domains for Office 365
- allow
Gcp booleanCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- allow
Google booleanConsumers - Flag to allow Google consumers
- allow
Google booleanVisitors - Flag to allow Google visitors
- app
Type string - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description string
- Additional information about the profile
- item
Data string[]Primaries - Tenant profile primary item data
- item
Data string[]Secondaries - List of certifications to be included or excluded for the profile.
- item
Type stringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Type stringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Values string[] - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms
Login booleanServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name string
- The tenant restriction profile name
- profile
Id number - System-generated tenant profile ID
- restrict
Personal booleanO365Domains - Flag to restrict personal domains for Office 365
- allow_
gcp_ boolcloud_ storage_ read - Flag to allow or disallow cloud storage resources for GCP
- allow_
google_ boolconsumers - Flag to allow Google consumers
- allow_
google_ boolvisitors - Flag to allow Google visitors
- app_
type str - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description str
- Additional information about the profile
- item_
data_ Sequence[str]primaries - Tenant profile primary item data
- item_
data_ Sequence[str]secondaries - List of certifications to be included or excluded for the profile.
- item_
type_ strprimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item_
type_ strsecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item_
values Sequence[str] - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms_
login_ boolservices_ tr_ v2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name str
- The tenant restriction profile name
- profile_
id int - System-generated tenant profile ID
- restrict_
personal_ boolo365_ domains - Flag to restrict personal domains for Office 365
- allow
Gcp BooleanCloud Storage Read - Flag to allow or disallow cloud storage resources for GCP
- allow
Google BooleanConsumers - Flag to allow Google consumers
- allow
Google BooleanVisitors - Flag to allow Google visitors
- app
Type String - Restricted tenant profile application type. See the Tenancy Restriction Profile API for the list of available application types: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- description String
- Additional information about the profile
- item
Data List<String>Primaries - Tenant profile primary item data
- item
Data List<String>Secondaries - List of certifications to be included or excluded for the profile.
- item
Type StringPrimary - Tenant profile primary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Type StringSecondary - Tenant profile secondary item type. See the Tenancy Restriction Profile API for the list of available items: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- item
Values List<String> - Tenant profile item value for YouTube category. See the Tenancy Restriction Profile API for the list of available item values: https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get
- ms
Login BooleanServices Tr V2 - Flag to decide between v1 and v2 for tenant restriction on MSLOGINSERVICES
- name String
- The tenant restriction profile name
- profile
Id Number - System-generated tenant profile ID
- restrict
Personal BooleanO365Domains - Flag to restrict personal domains for Office 365
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_tenant_restriction_profile can be imported by using <PROFILE ID> or <PROFILE NAME> as the import ID.
For example:
$ pulumi import zia:index/tenantRestrictionProfile:TenantRestrictionProfile example <profile_id>
or
$ pulumi import zia:index/tenantRestrictionProfile:TenantRestrictionProfile example <profile_name>
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
ziaTerraform Provider.
