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// UpdatePrivateIpDetails The representation of UpdatePrivateIpDetails
20type UpdatePrivateIpDetails struct {
21
22	// Defined tags for this resource. Each key is predefined and scoped to a
23	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
24	// Example: `{"Operations": {"CostCenter": "42"}}`
25	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
26
27	// A user-friendly name. Does not have to be unique, and it's changeable. Avoid
28	// entering confidential information.
29	DisplayName *string `mandatory:"false" json:"displayName"`
30
31	// Free-form tags for this resource. Each tag is a simple key-value pair with no
32	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
33	// Example: `{"Department": "Finance"}`
34	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
35
36	// The hostname for the private IP. Used for DNS. The value
37	// is the hostname portion of the private IP's fully qualified domain name (FQDN)
38	// (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`).
39	// Must be unique across all VNICs in the subnet and comply with
40	// RFC 952 (https://tools.ietf.org/html/rfc952) and
41	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
42	// For more information, see
43	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm).
44	// Example: `bminstance-1`
45	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`
46
47	// The OCID of the VNIC to reassign the private IP to. The VNIC must
48	// be in the same subnet as the current VNIC.
49	VnicId *string `mandatory:"false" json:"vnicId"`
50}
51
52func (m UpdatePrivateIpDetails) String() string {
53	return common.PointerString(m)
54}
55