DrgPromotionStatusResponse¶
-
class
oci.core.models.DrgPromotionStatusResponse(**kwargs)¶ Bases:
objectThe promotion/unpromotion status of a DRG
Attributes
DRG_PROMOTION_STATUS_PROMOTEDA constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. DRG_PROMOTION_STATUS_PROMOTINGA constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. DRG_PROMOTION_STATUS_UNPROMOTEDA constant which can be used with the drg_promotion_status property of a DrgPromotionStatusResponse. DRG_PROMOTION_STATUS_UNPROMOTINGA 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_statusGets the drg_promotion_status of this DrgPromotionStatusResponse. ipsec_promotion_statusGets the ipsec_promotion_status of this DrgPromotionStatusResponse. rpc_promotion_statusGets the rpc_promotion_status of this DrgPromotionStatusResponse. vc_promotion_statusGets 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.
-
drg_id¶ [Required] Gets the drg_id of this DrgPromotionStatusResponse. OCID of the DRG
Returns: The drg_id of this DrgPromotionStatusResponse. Return type: str
-
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
-
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)
-
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)
-
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)
-