NginxCanaryStrategy

class oci.devops.models.NginxCanaryStrategy(**kwargs)

Bases: oci.devops.models.oke_canary_strategy.OkeCanaryStrategy

Specifies the NGINX canary release strategy.

Attributes

STRATEGY_TYPE_NGINX_CANARY_STRATEGY str(object=’’) -> str
ingress_name [Required] Gets the ingress_name of this NginxCanaryStrategy.
namespace [Required] Gets the namespace of this NginxCanaryStrategy.
strategy_type [Required] Gets the strategy_type of this OkeCanaryStrategy.

Methods

__init__(**kwargs) Initializes a new NginxCanaryStrategy 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.
STRATEGY_TYPE_NGINX_CANARY_STRATEGY = 'NGINX_CANARY_STRATEGY'
__init__(**kwargs)

Initializes a new NginxCanaryStrategy object with values from keyword arguments. The default value of the strategy_type attribute of this class is NGINX_CANARY_STRATEGY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • strategy_type (str) – The value to assign to the strategy_type property of this NginxCanaryStrategy. Allowed values for this property are: “NGINX_CANARY_STRATEGY”
  • namespace (str) – The value to assign to the namespace property of this NginxCanaryStrategy.
  • ingress_name (str) – The value to assign to the ingress_name property of this NginxCanaryStrategy.
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.

ingress_name

[Required] Gets the ingress_name of this NginxCanaryStrategy. Name of the Ingress resource.

Returns:The ingress_name of this NginxCanaryStrategy.
Return type:str
namespace

[Required] Gets the namespace of this NginxCanaryStrategy. Canary namespace to be used for Kubernetes canary deployment. Example: canary - Name of the Canary namespace.

Returns:The namespace of this NginxCanaryStrategy.
Return type:str
strategy_type

[Required] Gets the strategy_type of this OkeCanaryStrategy. Canary strategy type.

Allowed values for this property are: “NGINX_CANARY_STRATEGY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The strategy_type of this OkeCanaryStrategy.
Return type:str