AkamaiManualStreamCdnConfig¶
- class oci.media_services.models.AkamaiManualStreamCdnConfig(**kwargs)¶
Bases:
StreamCdnConfigSectionConfiguration fields for manual Akamai configuration.
Attributes:
A constant which can be used with the origin_auth_sign_encryption property of a AkamaiManualStreamCdnConfig.
A constant which can be used with the origin_auth_sign_type property of a AkamaiManualStreamCdnConfig.
A constant which can be used with the type property of a StreamCdnConfigSection.
A constant which can be used with the type property of a StreamCdnConfigSection.
Gets the edge_hostname of this AkamaiManualStreamCdnConfig.
Gets the edge_path_prefix of this AkamaiManualStreamCdnConfig.
Gets the edge_token_key of this AkamaiManualStreamCdnConfig.
Gets the edge_token_salt of this AkamaiManualStreamCdnConfig.
Gets the is_edge_token_auth of this AkamaiManualStreamCdnConfig.
Gets the origin_auth_secret_key_a of this AkamaiManualStreamCdnConfig.
Gets the origin_auth_secret_key_b of this AkamaiManualStreamCdnConfig.
Gets the origin_auth_secret_key_nonce_a of this AkamaiManualStreamCdnConfig.
Gets the origin_auth_secret_key_nonce_b of this AkamaiManualStreamCdnConfig.
Gets the origin_auth_sign_encryption of this AkamaiManualStreamCdnConfig.
Gets the origin_auth_sign_type of this AkamaiManualStreamCdnConfig.
[Required] Gets the type of this StreamCdnConfigSection.
Methods:
__init__(**kwargs)Initializes a new AkamaiManualStreamCdnConfig object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- ORIGIN_AUTH_SIGN_ENCRYPTION_SHA256_HMAC = 'SHA256-HMAC'¶
A constant which can be used with the origin_auth_sign_encryption property of a AkamaiManualStreamCdnConfig. This constant has a value of “SHA256-HMAC”
- ORIGIN_AUTH_SIGN_TYPE_FORWARD_URL = 'ForwardURL'¶
A constant which can be used with the origin_auth_sign_type property of a AkamaiManualStreamCdnConfig. This constant has a value of “ForwardURL”
- TYPE_AKAMAI_MANUAL = 'AKAMAI_MANUAL'¶
A constant which can be used with the type property of a StreamCdnConfigSection. This constant has a value of “AKAMAI_MANUAL”
- TYPE_EDGE = 'EDGE'¶
A constant which can be used with the type property of a StreamCdnConfigSection. This constant has a value of “EDGE”
- __init__(**kwargs)¶
Initializes a new AkamaiManualStreamCdnConfig object with values from keyword arguments. The default value of the
typeattribute of this class isAKAMAI_MANUALand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
type (str) – The value to assign to the type property of this AkamaiManualStreamCdnConfig. Allowed values for this property are: “EDGE”, “AKAMAI_MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
origin_auth_sign_type (str) – The value to assign to the origin_auth_sign_type property of this AkamaiManualStreamCdnConfig. Allowed values for this property are: “ForwardURL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
origin_auth_sign_encryption (str) – The value to assign to the origin_auth_sign_encryption property of this AkamaiManualStreamCdnConfig. Allowed values for this property are: “SHA256-HMAC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
origin_auth_secret_key_a (str) – The value to assign to the origin_auth_secret_key_a property of this AkamaiManualStreamCdnConfig.
origin_auth_secret_key_nonce_a (str) – The value to assign to the origin_auth_secret_key_nonce_a property of this AkamaiManualStreamCdnConfig.
origin_auth_secret_key_b (str) – The value to assign to the origin_auth_secret_key_b property of this AkamaiManualStreamCdnConfig.
origin_auth_secret_key_nonce_b (str) – The value to assign to the origin_auth_secret_key_nonce_b property of this AkamaiManualStreamCdnConfig.
edge_hostname (str) – The value to assign to the edge_hostname property of this AkamaiManualStreamCdnConfig.
edge_path_prefix (str) – The value to assign to the edge_path_prefix property of this AkamaiManualStreamCdnConfig.
is_edge_token_auth (bool) – The value to assign to the is_edge_token_auth property of this AkamaiManualStreamCdnConfig.
edge_token_key (str) – The value to assign to the edge_token_key property of this AkamaiManualStreamCdnConfig.
edge_token_salt (str) – The value to assign to the edge_token_salt property of this AkamaiManualStreamCdnConfig.
- property edge_hostname¶
Gets the edge_hostname of this AkamaiManualStreamCdnConfig. The hostname of the CDN edge server to use when building CDN URLs.
- Returns
The edge_hostname of this AkamaiManualStreamCdnConfig.
- Return type
str
- property edge_path_prefix¶
Gets the edge_path_prefix of this AkamaiManualStreamCdnConfig. The path to prepend when building CDN URLs.
- Returns
The edge_path_prefix of this AkamaiManualStreamCdnConfig.
- Return type
str
- property edge_token_key¶
Gets the edge_token_key of this AkamaiManualStreamCdnConfig. The encryption key to use for edge token authentication.
- Returns
The edge_token_key of this AkamaiManualStreamCdnConfig.
- Return type
str
- property edge_token_salt¶
Gets the edge_token_salt of this AkamaiManualStreamCdnConfig. Salt to use when encrypting authentication token.
- Returns
The edge_token_salt of this AkamaiManualStreamCdnConfig.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property is_edge_token_auth¶
Gets the is_edge_token_auth of this AkamaiManualStreamCdnConfig. Whether token authentication should be used at the CDN edge.
- Returns
The is_edge_token_auth of this AkamaiManualStreamCdnConfig.
- Return type
bool
- property origin_auth_secret_key_a¶
Gets the origin_auth_secret_key_a of this AkamaiManualStreamCdnConfig. The shared secret key A, two for errorless key rotation.
- Returns
The origin_auth_secret_key_a of this AkamaiManualStreamCdnConfig.
- Return type
str
- property origin_auth_secret_key_b¶
Gets the origin_auth_secret_key_b of this AkamaiManualStreamCdnConfig. The shared secret key B, two for errorless key rotation.
- Returns
The origin_auth_secret_key_b of this AkamaiManualStreamCdnConfig.
- Return type
str
- property origin_auth_secret_key_nonce_a¶
Gets the origin_auth_secret_key_nonce_a of this AkamaiManualStreamCdnConfig. Nonce identifier for originAuthSecretKeyA (used to determine key used to sign).
- Returns
The origin_auth_secret_key_nonce_a of this AkamaiManualStreamCdnConfig.
- Return type
str
- property origin_auth_secret_key_nonce_b¶
Gets the origin_auth_secret_key_nonce_b of this AkamaiManualStreamCdnConfig. Nonce identifier for originAuthSecretKeyB (used to determine key used to sign).
- Returns
The origin_auth_secret_key_nonce_b of this AkamaiManualStreamCdnConfig.
- Return type
str
- property origin_auth_sign_encryption¶
Gets the origin_auth_sign_encryption of this AkamaiManualStreamCdnConfig. The type of encryption used to compute the signature.
Allowed values for this property are: “SHA256-HMAC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The origin_auth_sign_encryption of this AkamaiManualStreamCdnConfig.
- Return type
str
- property origin_auth_sign_type¶
Gets the origin_auth_sign_type of this AkamaiManualStreamCdnConfig. The type of data used to compute the signature.
Allowed values for this property are: “ForwardURL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The origin_auth_sign_type of this AkamaiManualStreamCdnConfig.
- Return type
str
- property type¶
[Required] Gets the type of this StreamCdnConfigSection. The name of the CDN configuration type.
Allowed values for this property are: “EDGE”, “AKAMAI_MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this StreamCdnConfigSection.
- Return type
str