CreateMigratedDynectZoneDetails¶
- class oci.dns.models.CreateMigratedDynectZoneDetails(**kwargs)¶
Bases:
CreateZoneBaseDetailsThe body for migrating a zone from DynECT.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes:
A constant which can be used with the migration_source property of a CreateZoneBaseDetails.
A constant which can be used with the migration_source property of a CreateZoneBaseDetails.
[Required] Gets the compartment_id of this CreateZoneBaseDetails.
Gets the defined_tags of this CreateZoneBaseDetails.
Gets the dynect_migration_details of this CreateMigratedDynectZoneDetails.
Gets the freeform_tags of this CreateZoneBaseDetails.
Gets the migration_source of this CreateZoneBaseDetails.
[Required] Gets the name of this CreateZoneBaseDetails.
Methods:
__init__(**kwargs)Initializes a new CreateMigratedDynectZoneDetails 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.
- MIGRATION_SOURCE_DYNECT = 'DYNECT'¶
A constant which can be used with the migration_source property of a CreateZoneBaseDetails. This constant has a value of “DYNECT”
- MIGRATION_SOURCE_NONE = 'NONE'¶
A constant which can be used with the migration_source property of a CreateZoneBaseDetails. This constant has a value of “NONE”
- __init__(**kwargs)¶
Initializes a new CreateMigratedDynectZoneDetails object with values from keyword arguments. The default value of the
migration_sourceattribute of this class isDYNECTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
migration_source (str) – The value to assign to the migration_source property of this CreateMigratedDynectZoneDetails. Allowed values for this property are: “NONE”, “DYNECT”
name (str) – The value to assign to the name property of this CreateMigratedDynectZoneDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateMigratedDynectZoneDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMigratedDynectZoneDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMigratedDynectZoneDetails.
dynect_migration_details (oci.dns.models.DynectMigrationDetails) – The value to assign to the dynect_migration_details property of this CreateMigratedDynectZoneDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateZoneBaseDetails. The OCID of the compartment containing the zone.
- Returns
The compartment_id of this CreateZoneBaseDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateZoneBaseDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateZoneBaseDetails.
- Return type
dict(str, dict(str, object))
- property dynect_migration_details¶
Gets the dynect_migration_details of this CreateMigratedDynectZoneDetails.
- Returns
The dynect_migration_details of this CreateMigratedDynectZoneDetails.
- Return type
- property freeform_tags¶
Gets the freeform_tags of this CreateZoneBaseDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateZoneBaseDetails.
- Return type
dict(str, 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 migration_source¶
Gets the migration_source of this CreateZoneBaseDetails. Discriminator that is used to determine whether to create a new zone (NONE) or to migrate an existing DynECT zone (DYNECT).
Allowed values for this property are: “NONE”, “DYNECT”
- Returns
The migration_source of this CreateZoneBaseDetails.
- Return type
str
- property name¶
[Required] Gets the name of this CreateZoneBaseDetails. The name of the zone.
Global zone names must be unique across all other zones within the realm. Private zone names must be unique within their view.
Unicode characters will be converted into punycode, see RFC 3492.
- Returns
The name of this CreateZoneBaseDetails.
- Return type
str