CreateMacsecProperties¶
-
class
oci.vn_monitoring.models.
CreateMacsecProperties
(**kwargs)¶ Bases:
object
Properties used to configure MACsec (if capable).
Attributes
ENCRYPTION_CIPHER_AES128_GCM
A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. ENCRYPTION_CIPHER_AES128_GCM_XPN
A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. ENCRYPTION_CIPHER_AES256_GCM
A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. ENCRYPTION_CIPHER_AES256_GCM_XPN
A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. STATE_DISABLED
A constant which can be used with the state property of a CreateMacsecProperties. STATE_ENABLED
A constant which can be used with the state property of a CreateMacsecProperties. encryption_cipher
Gets the encryption_cipher of this CreateMacsecProperties. primary_key
Gets the primary_key of this CreateMacsecProperties. state
[Required] Gets the state of this CreateMacsecProperties. Methods
__init__
(**kwargs)Initializes a new CreateMacsecProperties object with values from keyword arguments. -
ENCRYPTION_CIPHER_AES128_GCM
= 'AES128_GCM'¶ A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. This constant has a value of “AES128_GCM”
-
ENCRYPTION_CIPHER_AES128_GCM_XPN
= 'AES128_GCM_XPN'¶ A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. This constant has a value of “AES128_GCM_XPN”
-
ENCRYPTION_CIPHER_AES256_GCM
= 'AES256_GCM'¶ A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. This constant has a value of “AES256_GCM”
-
ENCRYPTION_CIPHER_AES256_GCM_XPN
= 'AES256_GCM_XPN'¶ A constant which can be used with the encryption_cipher property of a CreateMacsecProperties. This constant has a value of “AES256_GCM_XPN”
-
STATE_DISABLED
= 'DISABLED'¶ A constant which can be used with the state property of a CreateMacsecProperties. This constant has a value of “DISABLED”
-
STATE_ENABLED
= 'ENABLED'¶ A constant which can be used with the state property of a CreateMacsecProperties. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new CreateMacsecProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - state (str) – The value to assign to the state property of this CreateMacsecProperties. Allowed values for this property are: “ENABLED”, “DISABLED”
- primary_key (oci.vn_monitoring.models.CreateMacsecKey) – The value to assign to the primary_key property of this CreateMacsecProperties.
- encryption_cipher (str) – The value to assign to the encryption_cipher property of this CreateMacsecProperties. Allowed values for this property are: “AES128_GCM”, “AES128_GCM_XPN”, “AES256_GCM”, “AES256_GCM_XPN”
-
encryption_cipher
¶ Gets the encryption_cipher of this CreateMacsecProperties. Type of encryption cipher suite to use for the MACsec connection.
Allowed values for this property are: “AES128_GCM”, “AES128_GCM_XPN”, “AES256_GCM”, “AES256_GCM_XPN”
Returns: The encryption_cipher of this CreateMacsecProperties. Return type: str
-
primary_key
¶ Gets the primary_key of this CreateMacsecProperties.
Returns: The primary_key of this CreateMacsecProperties. Return type: oci.vn_monitoring.models.CreateMacsecKey
-
state
¶ [Required] Gets the state of this CreateMacsecProperties. Indicates whether or not MACsec is enabled.
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The state of this CreateMacsecProperties. Return type: str
-