DrgPromotionStatusResponse

class oci.vn_monitoring.models.DrgPromotionStatusResponse(**kwargs)

Bases: object

The promotion/unpromotion status of a DRG

Attributes:

DRG_PROMOTION_STATUS_PROMOTED

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse.

DRG_PROMOTION_STATUS_PROMOTING

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse.

DRG_PROMOTION_STATUS_UNPROMOTED

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse.

DRG_PROMOTION_STATUS_UNPROMOTING

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse.

drg_id

[Required] Gets the drg_id of this DrgPromotionStatusResponse.

drg_promotion_status

Gets the drg_promotion_status of this DrgPromotionStatusResponse.

ipsec_promotion_status

Gets the ipsec_promotion_status of this DrgPromotionStatusResponse.

rpc_promotion_status

Gets the rpc_promotion_status of this DrgPromotionStatusResponse.

vc_promotion_status

Gets the vc_promotion_status of this DrgPromotionStatusResponse.

Methods:

__init__(**kwargs)

Initializes a new DrgPromotionStatusResponse object with values from keyword arguments.

DRG_PROMOTION_STATUS_PROMOTED = 'PROMOTED'

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. This constant has a value of “PROMOTED”

DRG_PROMOTION_STATUS_PROMOTING = 'PROMOTING'

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. This constant has a value of “PROMOTING”

DRG_PROMOTION_STATUS_UNPROMOTED = 'UNPROMOTED'

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. This constant has a value of “UNPROMOTED”

DRG_PROMOTION_STATUS_UNPROMOTING = 'UNPROMOTING'

A constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. This constant has a value of “UNPROMOTING”

__init__(**kwargs)

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

Parameters
  • drg_id (str) – The value to assign to the drg_id property of this DrgPromotionStatusResponse.

  • drg_promotion_status (str) – The value to assign to the drg_promotion_status property of this DrgPromotionStatusResponse. Allowed values for this property are: “UNPROMOTED”, “PROMOTING”, “PROMOTED”, “UNPROMOTING”

  • rpc_promotion_status (dict(str, str)) – The value to assign to the rpc_promotion_status property of this DrgPromotionStatusResponse.

  • vc_promotion_status (dict(str, str)) – The value to assign to the vc_promotion_status property of this DrgPromotionStatusResponse.

  • ipsec_promotion_status (dict(str, str)) – The value to assign to the ipsec_promotion_status property of this DrgPromotionStatusResponse.

property drg_id

[Required] Gets the drg_id of this DrgPromotionStatusResponse. OCID of the DRG

Returns

The drg_id of this DrgPromotionStatusResponse.

Return type

str

property drg_promotion_status

Gets the drg_promotion_status of this DrgPromotionStatusResponse. The promotion status of the DRG

Allowed values for this property are: “UNPROMOTED”, “PROMOTING”, “PROMOTED”, “UNPROMOTING”

Returns

The drg_promotion_status of this DrgPromotionStatusResponse.

Return type

str

property ipsec_promotion_status

Gets the ipsec_promotion_status of this DrgPromotionStatusResponse. A map of the promotion status of each IPSec connection on this DRG {conn_id -> promo_status}

Returns

The ipsec_promotion_status of this DrgPromotionStatusResponse.

Return type

dict(str, str)

property rpc_promotion_status

Gets the rpc_promotion_status of this DrgPromotionStatusResponse. A map of the promotion status of each RPC connection on this DRG {conn_id -> promo_status}

Returns

The rpc_promotion_status of this DrgPromotionStatusResponse.

Return type

dict(str, str)

property vc_promotion_status

Gets the vc_promotion_status of this DrgPromotionStatusResponse. A map of the promotion status of each VC on this DRG {conn_id -> promo_status}

Returns

The vc_promotion_status of this DrgPromotionStatusResponse.

Return type

dict(str, str)