ChangeAutonomousDatabaseSubscriptionDetails

class oci.database.models.ChangeAutonomousDatabaseSubscriptionDetails(**kwargs)

Bases: object

The configuration details for associating the Autonomous Database with a different subscription.

Methods

__init__(**kwargs) Initializes a new ChangeAutonomousDatabaseSubscriptionDetails object with values from keyword arguments.

Attributes

is_default Gets the is_default of this ChangeAutonomousDatabaseSubscriptionDetails.
subscription_id Gets the subscription_id of this ChangeAutonomousDatabaseSubscriptionDetails.
__init__(**kwargs)

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

Parameters:
  • subscription_id (str) – The value to assign to the subscription_id property of this ChangeAutonomousDatabaseSubscriptionDetails.
  • is_default (bool) – The value to assign to the is_default property of this ChangeAutonomousDatabaseSubscriptionDetails.
is_default

Gets the is_default of this ChangeAutonomousDatabaseSubscriptionDetails. Indicates if the subscription is UCM or not.

Returns:The is_default of this ChangeAutonomousDatabaseSubscriptionDetails.
Return type:bool
subscription_id

Gets the subscription_id of this ChangeAutonomousDatabaseSubscriptionDetails. The OCID of the subscription with which resource needs to be associated with.

Returns:The subscription_id of this ChangeAutonomousDatabaseSubscriptionDetails.
Return type:str