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// CreateInternetGatewayDetails The representation of CreateInternetGatewayDetails 20type CreateInternetGatewayDetails struct { 21 22 // The OCID of the compartment to contain the internet gateway. 23 CompartmentId *string `mandatory:"true" json:"compartmentId"` 24 25 // Whether the gateway is enabled upon creation. 26 IsEnabled *bool `mandatory:"true" json:"isEnabled"` 27 28 // The OCID of the VCN the internet gateway is attached to. 29 VcnId *string `mandatory:"true" json:"vcnId"` 30 31 // Defined tags for this resource. Each key is predefined and scoped to a 32 // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). 33 // Example: `{"Operations": {"CostCenter": "42"}}` 34 DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` 35 36 // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. 37 DisplayName *string `mandatory:"false" json:"displayName"` 38 39 // Free-form tags for this resource. Each tag is a simple key-value pair with no 40 // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). 41 // Example: `{"Department": "Finance"}` 42 FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` 43} 44 45func (m CreateInternetGatewayDetails) String() string { 46 return common.PointerString(m) 47} 48