1// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2// Code generated. DO NOT EDIT.
3
4// Core Services API
5//
6// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10// block storage volumes.
11//
12
13package core
14
15import (
16	"github.com/oracle/oci-go-sdk/common"
17)
18
19// CreateDrgAttachmentDetails The representation of CreateDrgAttachmentDetails
20type CreateDrgAttachmentDetails struct {
21
22	// The OCID of the DRG.
23	DrgId *string `mandatory:"true" json:"drgId"`
24
25	// The OCID of the VCN.
26	VcnId *string `mandatory:"true" json:"vcnId"`
27
28	// A user-friendly name. Does not have to be unique. Avoid entering confidential information.
29	DisplayName *string `mandatory:"false" json:"displayName"`
30
31	// The OCID of the route table the DRG attachment will use.
32	// If you don't specify a route table here, the DRG attachment is created without an associated route
33	// table. The Networking service does NOT automatically associate the attached VCN's default route table
34	// with the DRG attachment.
35	// For information about why you would associate a route table with a DRG attachment, see:
36	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/Content/Network/Tasks/transitrouting.htm)
37	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.htm)
38	RouteTableId *string `mandatory:"false" json:"routeTableId"`
39}
40
41func (m CreateDrgAttachmentDetails) String() string {
42	return common.PointerString(m)
43}
44