You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `Configuration for creating a new instance using point-in-time-restore from backupdr backup.`,
1274
+
MaxItems: 1,
1275
+
Elem: &schema.Resource{
1276
+
Schema: map[string]*schema.Schema{
1277
+
"datasource": {
1278
+
Type: schema.TypeString,
1279
+
Required: true,
1280
+
Description: `The Google Cloud Backup and Disaster Recovery Datasource URI. For example: "projects/my-project/locations/us-central1/datasources/my-datasource".`,
Description: `The date and time to which you want to restore the instance.`,
1287
+
},
1288
+
"preferred_zone": {
1289
+
Type: schema.TypeString,
1290
+
Optional: true,
1291
+
Description: `Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.`,
1292
+
},
1293
+
"allocated_ip_range": {
1294
+
Type: schema.TypeString,
1295
+
Optional: true,
1296
+
Description: `The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.`,
1297
+
},
1298
+
"target_instance": {
1299
+
Type: schema.TypeString,
1300
+
Optional: true,
1301
+
Description: `The name of the target instance to restore to.`,
1302
+
},
1303
+
},
1304
+
},
1305
+
},
1268
1306
},
1269
1307
UseJSONNumber: true,
1270
1308
}
@@ -1357,6 +1395,7 @@ func resourceSqlDatabaseInstanceCreate(d *schema.ResourceData, meta interface{})
0 commit comments