CreateServiceListDetails

class oci.network_firewall.models.CreateServiceListDetails(**kwargs)

Bases: object

Request for creating a service list in a policy.

Methods

__init__(**kwargs) Initializes a new CreateServiceListDetails object with values from keyword arguments.

Attributes

description Gets the description of this CreateServiceListDetails.
name [Required] Gets the name of this CreateServiceListDetails.
services [Required] Gets the services of this CreateServiceListDetails.
__init__(**kwargs)

Initializes a new CreateServiceListDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateServiceListDetails.
  • services (list[str]) – The value to assign to the services property of this CreateServiceListDetails.
  • description (str) – The value to assign to the description property of this CreateServiceListDetails.
description

Gets the description of this CreateServiceListDetails. The description of the service list. This field can be used to add additional info.

Returns:The description of this CreateServiceListDetails.
Return type:str
name

[Required] Gets the name of this CreateServiceListDetails. Name of the service Group.

Returns:The name of this CreateServiceListDetails.
Return type:str
services

[Required] Gets the services of this CreateServiceListDetails. Collection of service names.

Returns:The services of this CreateServiceListDetails.
Return type:list[str]