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// InstanceConfigurationAttachVnicDetails The representation of InstanceConfigurationAttachVnicDetails 20type InstanceConfigurationAttachVnicDetails struct { 21 22 // Details for creating a new VNIC. 23 CreateVnicDetails *InstanceConfigurationCreateVnicDetails `mandatory:"false" json:"createVnicDetails"` 24 25 // A user-friendly name for the attachment. Does not have to be unique, and it cannot be changed. 26 DisplayName *string `mandatory:"false" json:"displayName"` 27 28 // Which physical network interface card (NIC) the VNIC will use. Defaults to 0. 29 // Certain bare metal instance shapes have two active physical NICs (0 and 1). If 30 // you add a secondary VNIC to one of these instances, you can specify which NIC 31 // the VNIC will use. For more information, see 32 // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/Content/Network/Tasks/managingVNICs.htm). 33 NicIndex *int `mandatory:"false" json:"nicIndex"` 34} 35 36func (m InstanceConfigurationAttachVnicDetails) String() string { 37 return common.PointerString(m) 38} 39