fortios.casb.Saasapplication
Explore with Pulumi AI
Configure CASB SaaS application. Applies to FortiOS Version >= 7.4.1
.
Create Saasapplication Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Saasapplication(name: string, args?: SaasapplicationArgs, opts?: CustomResourceOptions);
@overload
def Saasapplication(resource_name: str,
args: Optional[SaasapplicationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Saasapplication(resource_name: str,
opts: Optional[ResourceOptions] = None,
casb_name: Optional[str] = None,
description: Optional[str] = None,
domains: Optional[Sequence[SaasapplicationDomainArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewSaasapplication(ctx *Context, name string, args *SaasapplicationArgs, opts ...ResourceOption) (*Saasapplication, error)
public Saasapplication(string name, SaasapplicationArgs? args = null, CustomResourceOptions? opts = null)
public Saasapplication(String name, SaasapplicationArgs args)
public Saasapplication(String name, SaasapplicationArgs args, CustomResourceOptions options)
type: fortios:casb:Saasapplication
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 SaasapplicationArgs
- 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 SaasapplicationArgs
- 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 SaasapplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SaasapplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SaasapplicationArgs
- 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 saasapplicationResource = new Fortios.Casb.Saasapplication("saasapplicationResource", new()
{
CasbName = "string",
Description = "string",
Domains = new[]
{
new Fortios.Casb.Inputs.SaasapplicationDomainArgs
{
Domain = "string",
},
},
DynamicSortSubtable = "string",
GetAllTables = "string",
Name = "string",
Status = "string",
Type = "string",
Uuid = "string",
Vdomparam = "string",
});
example, err := casb.NewSaasapplication(ctx, "saasapplicationResource", &casb.SaasapplicationArgs{
CasbName: pulumi.String("string"),
Description: pulumi.String("string"),
Domains: casb.SaasapplicationDomainArray{
&casb.SaasapplicationDomainArgs{
Domain: pulumi.String("string"),
},
},
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
Name: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
Uuid: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var saasapplicationResource = new Saasapplication("saasapplicationResource", SaasapplicationArgs.builder()
.casbName("string")
.description("string")
.domains(SaasapplicationDomainArgs.builder()
.domain("string")
.build())
.dynamicSortSubtable("string")
.getAllTables("string")
.name("string")
.status("string")
.type("string")
.uuid("string")
.vdomparam("string")
.build());
saasapplication_resource = fortios.casb.Saasapplication("saasapplicationResource",
casb_name="string",
description="string",
domains=[{
"domain": "string",
}],
dynamic_sort_subtable="string",
get_all_tables="string",
name="string",
status="string",
type="string",
uuid="string",
vdomparam="string")
const saasapplicationResource = new fortios.casb.Saasapplication("saasapplicationResource", {
casbName: "string",
description: "string",
domains: [{
domain: "string",
}],
dynamicSortSubtable: "string",
getAllTables: "string",
name: "string",
status: "string",
type: "string",
uuid: "string",
vdomparam: "string",
});
type: fortios:casb:Saasapplication
properties:
casbName: string
description: string
domains:
- domain: string
dynamicSortSubtable: string
getAllTables: string
name: string
status: string
type: string
uuid: string
vdomparam: string
Saasapplication 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 Saasapplication resource accepts the following input properties:
- Casb
Name string - SaaS application signature name.
- Description string
- SaaS application description.
- Domains
List<Pulumiverse.
Fortios. Casb. Inputs. Saasapplication Domain> - SaaS application domain list. The structure of
domains
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Name string
- SaaS application name.
- Status string
- Enable/disable setting. Valid values:
enable
,disable
. - Type string
- SaaS application type. Valid values:
built-in
,customized
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Casb
Name string - SaaS application signature name.
- Description string
- SaaS application description.
- Domains
[]Saasapplication
Domain Args - SaaS application domain list. The structure of
domains
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Name string
- SaaS application name.
- Status string
- Enable/disable setting. Valid values:
enable
,disable
. - Type string
- SaaS application type. Valid values:
built-in
,customized
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb
Name String - SaaS application signature name.
- description String
- SaaS application description.
- domains
List<Saasapplication
Domain> - SaaS application domain list. The structure of
domains
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name String
- SaaS application name.
- status String
- Enable/disable setting. Valid values:
enable
,disable
. - type String
- SaaS application type. Valid values:
built-in
,customized
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb
Name string - SaaS application signature name.
- description string
- SaaS application description.
- domains
Saasapplication
Domain[] - SaaS application domain list. The structure of
domains
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name string
- SaaS application name.
- status string
- Enable/disable setting. Valid values:
enable
,disable
. - type string
- SaaS application type. Valid values:
built-in
,customized
. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb_
name str - SaaS application signature name.
- description str
- SaaS application description.
- domains
Sequence[Saasapplication
Domain Args] - SaaS application domain list. The structure of
domains
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name str
- SaaS application name.
- status str
- Enable/disable setting. Valid values:
enable
,disable
. - type str
- SaaS application type. Valid values:
built-in
,customized
. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb
Name String - SaaS application signature name.
- description String
- SaaS application description.
- domains List<Property Map>
- SaaS application domain list. The structure of
domains
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name String
- SaaS application name.
- status String
- Enable/disable setting. Valid values:
enable
,disable
. - type String
- SaaS application type. Valid values:
built-in
,customized
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Saasapplication 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 Saasapplication Resource
Get an existing Saasapplication 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?: SaasapplicationState, opts?: CustomResourceOptions): Saasapplication
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
casb_name: Optional[str] = None,
description: Optional[str] = None,
domains: Optional[Sequence[SaasapplicationDomainArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None) -> Saasapplication
func GetSaasapplication(ctx *Context, name string, id IDInput, state *SaasapplicationState, opts ...ResourceOption) (*Saasapplication, error)
public static Saasapplication Get(string name, Input<string> id, SaasapplicationState? state, CustomResourceOptions? opts = null)
public static Saasapplication get(String name, Output<String> id, SaasapplicationState 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.
- Casb
Name string - SaaS application signature name.
- Description string
- SaaS application description.
- Domains
List<Pulumiverse.
Fortios. Casb. Inputs. Saasapplication Domain> - SaaS application domain list. The structure of
domains
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Name string
- SaaS application name.
- Status string
- Enable/disable setting. Valid values:
enable
,disable
. - Type string
- SaaS application type. Valid values:
built-in
,customized
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Casb
Name string - SaaS application signature name.
- Description string
- SaaS application description.
- Domains
[]Saasapplication
Domain Args - SaaS application domain list. The structure of
domains
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Name string
- SaaS application name.
- Status string
- Enable/disable setting. Valid values:
enable
,disable
. - Type string
- SaaS application type. Valid values:
built-in
,customized
. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb
Name String - SaaS application signature name.
- description String
- SaaS application description.
- domains
List<Saasapplication
Domain> - SaaS application domain list. The structure of
domains
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name String
- SaaS application name.
- status String
- Enable/disable setting. Valid values:
enable
,disable
. - type String
- SaaS application type. Valid values:
built-in
,customized
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb
Name string - SaaS application signature name.
- description string
- SaaS application description.
- domains
Saasapplication
Domain[] - SaaS application domain list. The structure of
domains
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name string
- SaaS application name.
- status string
- Enable/disable setting. Valid values:
enable
,disable
. - type string
- SaaS application type. Valid values:
built-in
,customized
. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb_
name str - SaaS application signature name.
- description str
- SaaS application description.
- domains
Sequence[Saasapplication
Domain Args] - SaaS application domain list. The structure of
domains
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name str
- SaaS application name.
- status str
- Enable/disable setting. Valid values:
enable
,disable
. - type str
- SaaS application type. Valid values:
built-in
,customized
. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- casb
Name String - SaaS application signature name.
- description String
- SaaS application description.
- domains List<Property Map>
- SaaS application domain list. The structure of
domains
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name String
- SaaS application name.
- status String
- Enable/disable setting. Valid values:
enable
,disable
. - type String
- SaaS application type. Valid values:
built-in
,customized
. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
SaasapplicationDomain, SaasapplicationDomainArgs
- Domain string
- Domain list separated by space.
- Domain string
- Domain list separated by space.
- domain String
- Domain list separated by space.
- domain string
- Domain list separated by space.
- domain str
- Domain list separated by space.
- domain String
- Domain list separated by space.
Import
Casb SaasApplication can be imported using any of these accepted formats:
$ pulumi import fortios:casb/saasapplication:Saasapplication labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:casb/saasapplication:Saasapplication labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.