Class CloneContext
Database instance clone context.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.dll
Syntax
public class CloneContext : IDirectResponseSchema
Properties
AllocatedIpRange
The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.
Declaration
[JsonProperty("allocatedIpRange")]
public virtual string AllocatedIpRange { get; set; }
Property Value
Type | Description |
---|---|
string |
BinLogCoordinates
Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates.
Declaration
[JsonProperty("binLogCoordinates")]
public virtual BinLogCoordinates BinLogCoordinates { get; set; }
Property Value
Type | Description |
---|---|
BinLogCoordinates |
DatabaseNames
(SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty.
Declaration
[JsonProperty("databaseNames")]
public virtual IList<string> DatabaseNames { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
DestinationInstanceName
Name of the Cloud SQL instance to be created as a clone.
Declaration
[JsonProperty("destinationInstanceName")]
public virtual string DestinationInstanceName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
This is always sql#cloneContext
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
PitrTimestampMs
Reserved for future use.
Declaration
[JsonProperty("pitrTimestampMs")]
public virtual long? PitrTimestampMs { get; set; }
Property Value
Type | Description |
---|---|
long? |
PointInTime
object representation of PointInTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PointInTimeDateTimeOffset instead.")]
public virtual object PointInTime { get; set; }
Property Value
Type | Description |
---|---|
object |
PointInTimeDateTimeOffset
DateTimeOffset representation of PointInTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? PointInTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
PointInTimeRaw
Timestamp, if specified, identifies the time to which the source instance is cloned.
Declaration
[JsonProperty("pointInTime")]
public virtual string PointInTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
PreferredSecondaryZone
Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field. This field applies to all DB types.
Declaration
[JsonProperty("preferredSecondaryZone")]
public virtual string PreferredSecondaryZone { get; set; }
Property Value
Type | Description |
---|---|
string |
PreferredZone
Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.
Declaration
[JsonProperty("preferredZone")]
public virtual string PreferredZone { get; set; }
Property Value
Type | Description |
---|---|
string |