computecloudatcustomer

package
v65.72.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCccInfrastructureConnectionStateEnumStringValues

func GetCccInfrastructureConnectionStateEnumStringValues() []string

GetCccInfrastructureConnectionStateEnumStringValues Enumerates the set of values in String for CccInfrastructureConnectionStateEnum

func GetCccInfrastructureLifecycleStateEnumStringValues

func GetCccInfrastructureLifecycleStateEnumStringValues() []string

GetCccInfrastructureLifecycleStateEnumStringValues Enumerates the set of values in String for CccInfrastructureLifecycleStateEnum

func GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumStringValues

func GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumStringValues() []string

GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumStringValues Enumerates the set of values in String for CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

func GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumStringValues

func GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumStringValues() []string

GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumStringValues Enumerates the set of values in String for CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

func GetCccUpgradeScheduleLifecycleStateEnumStringValues

func GetCccUpgradeScheduleLifecycleStateEnumStringValues() []string

GetCccUpgradeScheduleLifecycleStateEnumStringValues Enumerates the set of values in String for CccUpgradeScheduleLifecycleStateEnum

func GetListCccInfrastructuresAccessLevelEnumStringValues

func GetListCccInfrastructuresAccessLevelEnumStringValues() []string

GetListCccInfrastructuresAccessLevelEnumStringValues Enumerates the set of values in String for ListCccInfrastructuresAccessLevelEnum

func GetListCccInfrastructuresSortByEnumStringValues

func GetListCccInfrastructuresSortByEnumStringValues() []string

GetListCccInfrastructuresSortByEnumStringValues Enumerates the set of values in String for ListCccInfrastructuresSortByEnum

func GetListCccInfrastructuresSortOrderEnumStringValues

func GetListCccInfrastructuresSortOrderEnumStringValues() []string

GetListCccInfrastructuresSortOrderEnumStringValues Enumerates the set of values in String for ListCccInfrastructuresSortOrderEnum

func GetListCccUpgradeSchedulesAccessLevelEnumStringValues

func GetListCccUpgradeSchedulesAccessLevelEnumStringValues() []string

GetListCccUpgradeSchedulesAccessLevelEnumStringValues Enumerates the set of values in String for ListCccUpgradeSchedulesAccessLevelEnum

func GetListCccUpgradeSchedulesSortByEnumStringValues

func GetListCccUpgradeSchedulesSortByEnumStringValues() []string

GetListCccUpgradeSchedulesSortByEnumStringValues Enumerates the set of values in String for ListCccUpgradeSchedulesSortByEnum

func GetListCccUpgradeSchedulesSortOrderEnumStringValues

func GetListCccUpgradeSchedulesSortOrderEnumStringValues() []string

GetListCccUpgradeSchedulesSortOrderEnumStringValues Enumerates the set of values in String for ListCccUpgradeSchedulesSortOrderEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

Types

type CccInfrastructure

type CccInfrastructure struct {

	// The Compute Cloud@Customer infrastructure OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	// This cannot be changed once created.
	Id *string `mandatory:"true" json:"id"`

	// The name that will be used to display the Compute Cloud@Customer infrastructure
	// in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The infrastructure compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is
	// used to communicate with Compute Cloud@Customer infrastructure.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted
	// datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Compute Cloud@Customer infrastructure.
	LifecycleState CccInfrastructureLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The Compute Cloud@Customer infrastructure short name.
	// This cannot be changed once created. The
	// short name is used to refer to the infrastructure in several contexts and is unique.
	ShortName *string `mandatory:"false" json:"shortName"`

	// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The current connection state of the infrastructure. A user can only update
	// it from REQUEST to READY or from any state back to REJECT. The system automatically
	// handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions.
	ConnectionState CccInfrastructureConnectionStateEnum `mandatory:"false" json:"connectionState,omitempty"`

	// A message describing the current connection state in more detail.
	ConnectionDetails *string `mandatory:"false" json:"connectionDetails"`

	// Schedule used for upgrades. If no schedule is associated with the infrastructure,
	// it can be updated at any time.
	CccUpgradeScheduleId *string `mandatory:"false" json:"cccUpgradeScheduleId"`

	// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated
	// during the initial connection to this resource. The fingerprint should be verified
	// by the administrator when changing the connectionState from REQUEST to READY.
	ProvisioningFingerprint *string `mandatory:"false" json:"provisioningFingerprint"`

	// Code that is required for service personnel to connect a
	// Compute Cloud@Customer infrastructure in a data center to this resource.
	// This code will only be available when the connectionState is REJECT (usually
	// at create time of the Compute Cloud@Customer infrastructure).
	ProvisioningPin *string `mandatory:"false" json:"provisioningPin"`

	// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted
	// datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current lifecycle state in more detail.
	// For example, this can be used to provide actionable information for a resource that is in
	// a Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	InfrastructureInventory *CccInfrastructureInventory `mandatory:"false" json:"infrastructureInventory"`

	InfrastructureNetworkConfiguration *CccInfrastructureNetworkConfiguration `mandatory:"false" json:"infrastructureNetworkConfiguration"`

	UpgradeInformation *CccUpgradeInformation `mandatory:"false" json:"upgradeInformation"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

CccInfrastructure The Oracle Cloud Infrastructure resource representing the connection to the hardware and software located in a customer's data center running the Compute Cloud@Customer IaaS services.

func (CccInfrastructure) String

func (m CccInfrastructure) String() string

func (CccInfrastructure) ValidateEnumValue

func (m CccInfrastructure) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureCollection

type CccInfrastructureCollection struct {

	// List of Compute Cloud@Customer infrastructures.
	Items []CccInfrastructureSummary `mandatory:"true" json:"items"`
}

CccInfrastructureCollection Results of a Compute Cloud@Customer infrastructure search.

func (CccInfrastructureCollection) String

func (CccInfrastructureCollection) ValidateEnumValue

func (m CccInfrastructureCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureConnectionStateEnum

type CccInfrastructureConnectionStateEnum string

CccInfrastructureConnectionStateEnum Enum with underlying type: string

const (
	CccInfrastructureConnectionStateReject       CccInfrastructureConnectionStateEnum = "REJECT"
	CccInfrastructureConnectionStateRequest      CccInfrastructureConnectionStateEnum = "REQUEST"
	CccInfrastructureConnectionStateReady        CccInfrastructureConnectionStateEnum = "READY"
	CccInfrastructureConnectionStateConnected    CccInfrastructureConnectionStateEnum = "CONNECTED"
	CccInfrastructureConnectionStateDisconnected CccInfrastructureConnectionStateEnum = "DISCONNECTED"
)

Set of constants representing the allowable values for CccInfrastructureConnectionStateEnum

func GetCccInfrastructureConnectionStateEnumValues

func GetCccInfrastructureConnectionStateEnumValues() []CccInfrastructureConnectionStateEnum

GetCccInfrastructureConnectionStateEnumValues Enumerates the set of values for CccInfrastructureConnectionStateEnum

func GetMappingCccInfrastructureConnectionStateEnum

func GetMappingCccInfrastructureConnectionStateEnum(val string) (CccInfrastructureConnectionStateEnum, bool)

GetMappingCccInfrastructureConnectionStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CccInfrastructureInventory

type CccInfrastructureInventory struct {

	// The serial number of the Compute Cloud@Customer infrastructure rack.
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	// The number of management nodes that are available and in active use
	// on the Compute Cloud@Customer infrastructure rack.
	ManagementNodeCount *int `mandatory:"false" json:"managementNodeCount"`

	// The number of compute nodes that are available and usable
	// on the Compute Cloud@Customer infrastructure rack. There is no distinction
	// of compute node type in this information.
	ComputeNodeCount *int `mandatory:"false" json:"computeNodeCount"`

	// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage.
	CapacityStorageTrayCount *int `mandatory:"false" json:"capacityStorageTrayCount"`

	// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage.
	PerformanceStorageTrayCount *int `mandatory:"false" json:"performanceStorageTrayCount"`
}

CccInfrastructureInventory Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED.

func (CccInfrastructureInventory) String

func (CccInfrastructureInventory) ValidateEnumValue

func (m CccInfrastructureInventory) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureLifecycleStateEnum

type CccInfrastructureLifecycleStateEnum string

CccInfrastructureLifecycleStateEnum Enum with underlying type: string

const (
	CccInfrastructureLifecycleStateActive         CccInfrastructureLifecycleStateEnum = "ACTIVE"
	CccInfrastructureLifecycleStateNeedsAttention CccInfrastructureLifecycleStateEnum = "NEEDS_ATTENTION"
	CccInfrastructureLifecycleStateDeleted        CccInfrastructureLifecycleStateEnum = "DELETED"
	CccInfrastructureLifecycleStateFailed         CccInfrastructureLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for CccInfrastructureLifecycleStateEnum

func GetCccInfrastructureLifecycleStateEnumValues

func GetCccInfrastructureLifecycleStateEnumValues() []CccInfrastructureLifecycleStateEnum

GetCccInfrastructureLifecycleStateEnumValues Enumerates the set of values for CccInfrastructureLifecycleStateEnum

func GetMappingCccInfrastructureLifecycleStateEnum

func GetMappingCccInfrastructureLifecycleStateEnum(val string) (CccInfrastructureLifecycleStateEnum, bool)

GetMappingCccInfrastructureLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CccInfrastructureManagementNode

type CccInfrastructureManagementNode struct {

	// Address of the management node.
	Ip *string `mandatory:"false" json:"ip"`

	// Hostname for interface to the management node.
	Hostname *string `mandatory:"false" json:"hostname"`
}

CccInfrastructureManagementNode Information about an individual management node in a Compute Cloud@Customer infrastructure.

func (CccInfrastructureManagementNode) String

func (CccInfrastructureManagementNode) ValidateEnumValue

func (m CccInfrastructureManagementNode) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureNetworkConfiguration

type CccInfrastructureNetworkConfiguration struct {

	// Information about the management nodes that are provisioned in the Compute Cloud@Customer
	// infrastructure.
	ManagementNodes []CccInfrastructureManagementNode `mandatory:"false" json:"managementNodes"`

	// Uplink port speed defined in gigabytes per second.
	// All uplink ports must have identical speed.
	UplinkPortSpeedInGbps *int `mandatory:"false" json:"uplinkPortSpeedInGbps"`

	// Number of uplink ports per spine switch. Connectivity is identical on both spine switches.
	// For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured.
	UplinkPortCount *int `mandatory:"false" json:"uplinkPortCount"`

	// The virtual local area network (VLAN) maximum transmission unit (MTU) size
	// for the uplink ports.
	UplinkVlanMtu *int `mandatory:"false" json:"uplinkVlanMtu"`

	// Netmask of the subnet that the Compute Cloud@Customer infrastructure is
	// connected to.
	UplinkNetmask *string `mandatory:"false" json:"uplinkNetmask"`

	// The port forward error correction (FEC) setting for the uplink port on the
	// Compute Cloud@Customer infrastructure.
	UplinkPortForwardErrorCorrection CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum `mandatory:"false" json:"uplinkPortForwardErrorCorrection,omitempty"`

	// Domain name to be used as the base domain for the internal network and by
	// public facing services.
	UplinkDomain *string `mandatory:"false" json:"uplinkDomain"`

	// Uplink gateway in the datacenter network that the Compute Cloud@Customer
	// connects to.
	UplinkGatewayIp *string `mandatory:"false" json:"uplinkGatewayIp"`

	// Addresses of the network spine switches.
	SpineIps []string `mandatory:"false" json:"spineIps"`

	// The spine switch public virtual IP (VIP). Traffic routed to the
	// Compute Cloud@Customer infrastructure and
	// and virtual cloud networks (VCNs) should have this address as next hop.
	SpineVip *string `mandatory:"false" json:"spineVip"`

	// The hostname corresponding to the virtual IP (VIP) address of the management nodes.
	MgmtVipHostname *string `mandatory:"false" json:"mgmtVipHostname"`

	// The IP address used as the virtual IP (VIP) address of the management nodes.
	MgmtVipIp *string `mandatory:"false" json:"mgmtVipIp"`

	// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure
	// uses for the data center network.
	DnsIps []string `mandatory:"false" json:"dnsIps"`

	InfrastructureRoutingStatic *CccInfrastructureRoutingStaticDetails `mandatory:"false" json:"infrastructureRoutingStatic"`

	InfrastructureRoutingDynamic *CccInfrastructureRoutingDynamicDetails `mandatory:"false" json:"infrastructureRoutingDynamic"`
}

CccInfrastructureNetworkConfiguration Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED.

func (CccInfrastructureNetworkConfiguration) String

func (CccInfrastructureNetworkConfiguration) ValidateEnumValue

func (m CccInfrastructureNetworkConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

type CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum string

CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum Enum with underlying type: string

const (
	CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionAuto                    CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum = "AUTO"
	CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionFireCodeFec             CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum = "FIRE_CODE_FEC"
	CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionReedSolomonConsortium16 CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum = "REED_SOLOMON_CONSORTIUM_16"
	CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionReedSolomonFec          CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum = "REED_SOLOMON_FEC"
	CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionReedSolomonIeee         CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum = "REED_SOLOMON_IEEE"
)

Set of constants representing the allowable values for CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

func GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumValues

func GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumValues() []CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumValues Enumerates the set of values for CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

func GetMappingCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

func GetMappingCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum(val string) (CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum, bool)

GetMappingCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum performs case Insensitive comparison on enum value and return the desired enum

type CccInfrastructureRoutingDynamicDetails

type CccInfrastructureRoutingDynamicDetails struct {

	// The list of peer devices in the dynamic routing configuration.
	PeerInformation []PeerInformation `mandatory:"false" json:"peerInformation"`

	// The Oracle Autonomous System Number (ASN) to control routing and exchange information
	// within the dynamic routing configuration.
	OracleAsn *int `mandatory:"false" json:"oracleAsn"`

	// The topology in use for the Border Gateway Protocol (BGP) configuration.
	BgpTopology CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum `mandatory:"false" json:"bgpTopology,omitempty"`
}

CccInfrastructureRoutingDynamicDetails Dynamic routing information for the Compute Cloud@Customer infrastructure.

func (CccInfrastructureRoutingDynamicDetails) String

func (CccInfrastructureRoutingDynamicDetails) ValidateEnumValue

func (m CccInfrastructureRoutingDynamicDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

type CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum string

CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum Enum with underlying type: string

const (
	CccInfrastructureRoutingDynamicDetailsBgpTopologyTriangle CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum = "TRIANGLE"
	CccInfrastructureRoutingDynamicDetailsBgpTopologySquare   CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum = "SQUARE"
	CccInfrastructureRoutingDynamicDetailsBgpTopologyMesh     CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum = "MESH"
)

Set of constants representing the allowable values for CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

func GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumValues

func GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumValues() []CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumValues Enumerates the set of values for CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

func GetMappingCccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

func GetMappingCccInfrastructureRoutingDynamicDetailsBgpTopologyEnum(val string) (CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum, bool)

GetMappingCccInfrastructureRoutingDynamicDetailsBgpTopologyEnum performs case Insensitive comparison on enum value and return the desired enum

type CccInfrastructureRoutingStaticDetails

type CccInfrastructureRoutingStaticDetails struct {

	// The virtual local area network (VLAN) identifier used to connect to the uplink
	// (only access mode is supported).
	UplinkVlan *int `mandatory:"false" json:"uplinkVlan"`

	// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the
	// Compute Cloud@Customer infrastructure.
	UplinkHsrpGroup *int `mandatory:"false" json:"uplinkHsrpGroup"`
}

CccInfrastructureRoutingStaticDetails Static routing information for a rack.

func (CccInfrastructureRoutingStaticDetails) String

func (CccInfrastructureRoutingStaticDetails) ValidateEnumValue

func (m CccInfrastructureRoutingStaticDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccInfrastructureSummary

type CccInfrastructureSummary struct {

	// The Compute Cloud@Customer infrastructure
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	// This cannot be changed once created.
	Id *string `mandatory:"true" json:"id"`

	// The name that will be used to display the Compute Cloud@Customer infrastructure
	// in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with
	// the infrastructure.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is
	// used to communicate with Compute Cloud@Customer infrastructure.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// Compute Cloud@Customer infrastructure creation date and time. An RFC3339 formatted
	// datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Compute Cloud@Customer infrastructure.
	LifecycleState CccInfrastructureLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The Compute Cloud@Customer infrastructure short name. This is generated at
	// the time the resource is created and cannot be changed. The short name can be
	// used when communicating with Oracle Service and may be used during the configuration
	// of the data center network.
	ShortName *string `mandatory:"false" json:"shortName"`

	// The current connection state of the infrastructure.
	ConnectionState CccInfrastructureConnectionStateEnum `mandatory:"false" json:"connectionState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

CccInfrastructureSummary Summary information about a Compute Cloud@Customer infrastructure.

func (CccInfrastructureSummary) String

func (m CccInfrastructureSummary) String() string

func (CccInfrastructureSummary) ValidateEnumValue

func (m CccInfrastructureSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccScheduleEvent

type CccScheduleEvent struct {

	// Generated name associated with the event.
	Name *string `mandatory:"true" json:"name"`

	// A description of the Compute Cloud@Customer upgrade schedule time block.
	Description *string `mandatory:"true" json:"description"`

	// The date and time when the Compute Cloud@Customer upgrade schedule event starts,
	// inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences,
	// this is the date that a recurrence can start being applied.
	TimeStart *common.SDKTime `mandatory:"true" json:"timeStart"`

	// The duration of this block of time. The duration must be specified and be of the
	// ISO-8601 format for durations.
	ScheduleEventDuration *string `mandatory:"true" json:"scheduleEventDuration"`

	// Frequency of recurrence of schedule block. When this field is not included, the event
	// is assumed to be a one time occurrence. The frequency field is strictly parsed and must
	// conform to RFC-5545 formatting for recurrences.
	ScheduleEventRecurrences *string `mandatory:"false" json:"scheduleEventRecurrences"`
}

CccScheduleEvent A period where upgrades may be applied to Compute Cloud@Customer infrastructures associated with the schedule. All upgrade windows may not be used.

func (CccScheduleEvent) String

func (m CccScheduleEvent) String() string

func (CccScheduleEvent) ValidateEnumValue

func (m CccScheduleEvent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccUpgradeInformation

type CccUpgradeInformation struct {

	// The current version of software installed on the Compute Cloud@Customer infrastructure.
	CurrentVersion *string `mandatory:"false" json:"currentVersion"`

	// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance
	// impacts during this time.
	TimeOfScheduledUpgrade *common.SDKTime `mandatory:"false" json:"timeOfScheduledUpgrade"`

	// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual
	// upgrade time might be longer or shorter than this duration depending on rack activity, this
	// is only an estimate.
	ScheduledUpgradeDuration *string `mandatory:"false" json:"scheduledUpgradeDuration"`

	// Indication that the Compute Cloud@Customer infrastructure is in the process of
	// an upgrade or an upgrade activity (such as preloading upgrade images).
	IsActive *bool `mandatory:"false" json:"isActive"`
}

CccUpgradeInformation Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated.

func (CccUpgradeInformation) String

func (m CccUpgradeInformation) String() string

func (CccUpgradeInformation) ValidateEnumValue

func (m CccUpgradeInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccUpgradeSchedule

type CccUpgradeSchedule struct {

	// Upgrade schedule OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	// This cannot be changed once created.
	Id *string `mandatory:"true" json:"id"`

	// Compute Cloud@Customer upgrade schedule display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the
	// Compute Cloud@Customer upgrade schedule.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The time the upgrade schedule was created, using an RFC3339 formatted datetime string.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Lifecycle state of the resource.
	LifecycleState CccUpgradeScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// An optional description of the Compute Cloud@Customer upgrade schedule.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// A message describing the current state in more detail.
	// For example, the message can be used to provide actionable information for a resource in
	// a Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// List of preferred times for Compute Cloud@Customer infrastructures associated with this
	// schedule to be upgraded.
	Events []CccScheduleEvent `mandatory:"false" json:"events"`

	// List of Compute Cloud@Customer infrastructure
	// OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade
	// schedule.
	InfrastructureIds []string `mandatory:"false" json:"infrastructureIds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

CccUpgradeSchedule Defines a schedule for preferred upgrade times.

func (CccUpgradeSchedule) String

func (m CccUpgradeSchedule) String() string

func (CccUpgradeSchedule) ValidateEnumValue

func (m CccUpgradeSchedule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccUpgradeScheduleCollection

type CccUpgradeScheduleCollection struct {

	// List of Compute Cloud@Customer upgrade schedules.
	Items []CccUpgradeScheduleSummary `mandatory:"true" json:"items"`
}

CccUpgradeScheduleCollection Results of a Compute Cloud@Customer upgrade schedule search. Contains the summary items and other information, such as metadata.

func (CccUpgradeScheduleCollection) String

func (CccUpgradeScheduleCollection) ValidateEnumValue

func (m CccUpgradeScheduleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CccUpgradeScheduleLifecycleStateEnum

type CccUpgradeScheduleLifecycleStateEnum string

CccUpgradeScheduleLifecycleStateEnum Enum with underlying type: string

const (
	CccUpgradeScheduleLifecycleStateActive         CccUpgradeScheduleLifecycleStateEnum = "ACTIVE"
	CccUpgradeScheduleLifecycleStateNeedsAttention CccUpgradeScheduleLifecycleStateEnum = "NEEDS_ATTENTION"
	CccUpgradeScheduleLifecycleStateDeleted        CccUpgradeScheduleLifecycleStateEnum = "DELETED"
	CccUpgradeScheduleLifecycleStateFailed         CccUpgradeScheduleLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for CccUpgradeScheduleLifecycleStateEnum

func GetCccUpgradeScheduleLifecycleStateEnumValues

func GetCccUpgradeScheduleLifecycleStateEnumValues() []CccUpgradeScheduleLifecycleStateEnum

GetCccUpgradeScheduleLifecycleStateEnumValues Enumerates the set of values for CccUpgradeScheduleLifecycleStateEnum

func GetMappingCccUpgradeScheduleLifecycleStateEnum

func GetMappingCccUpgradeScheduleLifecycleStateEnum(val string) (CccUpgradeScheduleLifecycleStateEnum, bool)

GetMappingCccUpgradeScheduleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CccUpgradeScheduleSummary

type CccUpgradeScheduleSummary struct {

	// The upgrade schedule OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	// This cannot be changed once created.
	Id *string `mandatory:"true" json:"id"`

	// Compute Cloud@Customer upgrade schedule display name.
	// Avoid entering any confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the
	// Compute Cloud@Customer Upgrade Schedule.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The time the upgrade schedule was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Compute Cloud@Customer
	// upgrade schedule.
	LifecycleState CccUpgradeScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

CccUpgradeScheduleSummary Basic information about a Compute Cloud@Customer schedule. This summary only includes high level resource information, not the schedule events.

func (CccUpgradeScheduleSummary) String

func (m CccUpgradeScheduleSummary) String() string

func (CccUpgradeScheduleSummary) ValidateEnumValue

func (m CccUpgradeScheduleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCccInfrastructureCompartmentDetails

type ChangeCccInfrastructureCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCccInfrastructureCompartmentDetails Information required for the compartment change operation.

func (ChangeCccInfrastructureCompartmentDetails) String

func (ChangeCccInfrastructureCompartmentDetails) ValidateEnumValue

func (m ChangeCccInfrastructureCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCccInfrastructureCompartmentRequest

type ChangeCccInfrastructureCompartmentRequest struct {

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a
	// Compute Cloud@Customer Infrastructure.
	CccInfrastructureId *string `mandatory:"true" contributesTo:"path" name:"cccInfrastructureId"`

	// Details about the compartment change operation including the destination compartment
	// specified by the resource OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ChangeCccInfrastructureCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeCccInfrastructureCompartmentRequest wrapper for the ChangeCccInfrastructureCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ChangeCccInfrastructureCompartment.go.html to see an example of how to use ChangeCccInfrastructureCompartmentRequest.

func (ChangeCccInfrastructureCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeCccInfrastructureCompartmentRequest) HTTPRequest

func (request ChangeCccInfrastructureCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCccInfrastructureCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCccInfrastructureCompartmentRequest) String

func (ChangeCccInfrastructureCompartmentRequest) ValidateEnumValue

func (request ChangeCccInfrastructureCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCccInfrastructureCompartmentResponse

type ChangeCccInfrastructureCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCccInfrastructureCompartmentResponse wrapper for the ChangeCccInfrastructureCompartment operation

func (ChangeCccInfrastructureCompartmentResponse) HTTPResponse

func (response ChangeCccInfrastructureCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCccInfrastructureCompartmentResponse) String

type ChangeCccUpgradeScheduleCompartmentDetails

type ChangeCccUpgradeScheduleCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCccUpgradeScheduleCompartmentDetails Change the compartment of a Compute Cloud@Customer upgrade schedule.

func (ChangeCccUpgradeScheduleCompartmentDetails) String

func (ChangeCccUpgradeScheduleCompartmentDetails) ValidateEnumValue

func (m ChangeCccUpgradeScheduleCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCccUpgradeScheduleCompartmentRequest

type ChangeCccUpgradeScheduleCompartmentRequest struct {

	// Compute Cloud@Customer upgrade schedule
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CccUpgradeScheduleId *string `mandatory:"true" contributesTo:"path" name:"cccUpgradeScheduleId"`

	// Details about the compartment change operation including the destination compartment
	// specified by the resource OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ChangeCccUpgradeScheduleCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ChangeCccUpgradeScheduleCompartmentRequest wrapper for the ChangeCccUpgradeScheduleCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ChangeCccUpgradeScheduleCompartment.go.html to see an example of how to use ChangeCccUpgradeScheduleCompartmentRequest.

func (ChangeCccUpgradeScheduleCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeCccUpgradeScheduleCompartmentRequest) HTTPRequest

func (request ChangeCccUpgradeScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCccUpgradeScheduleCompartmentRequest) RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCccUpgradeScheduleCompartmentRequest) String

func (ChangeCccUpgradeScheduleCompartmentRequest) ValidateEnumValue

func (request ChangeCccUpgradeScheduleCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeCccUpgradeScheduleCompartmentResponse

type ChangeCccUpgradeScheduleCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCccUpgradeScheduleCompartmentResponse wrapper for the ChangeCccUpgradeScheduleCompartment operation

func (ChangeCccUpgradeScheduleCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeCccUpgradeScheduleCompartmentResponse) String

type ComputeCloudAtCustomerClient

type ComputeCloudAtCustomerClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ComputeCloudAtCustomerClient a client for ComputeCloudAtCustomer

func NewComputeCloudAtCustomerClientWithConfigurationProvider

func NewComputeCloudAtCustomerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputeCloudAtCustomerClient, err error)

NewComputeCloudAtCustomerClientWithConfigurationProvider Creates a new default ComputeCloudAtCustomer client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewComputeCloudAtCustomerClientWithOboToken

func NewComputeCloudAtCustomerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeCloudAtCustomerClient, err error)

NewComputeCloudAtCustomerClientWithOboToken Creates a new default ComputeCloudAtCustomer client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (ComputeCloudAtCustomerClient) ChangeCccInfrastructureCompartment

ChangeCccInfrastructureCompartment Moves a Compute Cloud@Customer infrastructure resource from one compartment to another.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ChangeCccInfrastructureCompartment.go.html to see an example of how to use ChangeCccInfrastructureCompartment API. A default retry strategy applies to this operation ChangeCccInfrastructureCompartment()

func (ComputeCloudAtCustomerClient) ChangeCccUpgradeScheduleCompartment

ChangeCccUpgradeScheduleCompartment Moves a Compute Cloud@Customer upgrade schedule from one compartment to another using the specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ChangeCccUpgradeScheduleCompartment.go.html to see an example of how to use ChangeCccUpgradeScheduleCompartment API. A default retry strategy applies to this operation ChangeCccUpgradeScheduleCompartment()

func (*ComputeCloudAtCustomerClient) ConfigurationProvider

func (client *ComputeCloudAtCustomerClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ComputeCloudAtCustomerClient) CreateCccInfrastructure

func (client ComputeCloudAtCustomerClient) CreateCccInfrastructure(ctx context.Context, request CreateCccInfrastructureRequest) (response CreateCccInfrastructureResponse, err error)

CreateCccInfrastructure Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services must connect the rack in the data center to this Oracle Cloud Infrastructure resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/CreateCccInfrastructure.go.html to see an example of how to use CreateCccInfrastructure API. A default retry strategy applies to this operation CreateCccInfrastructure()

func (ComputeCloudAtCustomerClient) CreateCccUpgradeSchedule

func (client ComputeCloudAtCustomerClient) CreateCccUpgradeSchedule(ctx context.Context, request CreateCccUpgradeScheduleRequest) (response CreateCccUpgradeScheduleResponse, err error)

CreateCccUpgradeSchedule Creates a new Compute Cloud@Customer upgrade schedule.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/CreateCccUpgradeSchedule.go.html to see an example of how to use CreateCccUpgradeSchedule API. A default retry strategy applies to this operation CreateCccUpgradeSchedule()

func (ComputeCloudAtCustomerClient) DeleteCccInfrastructure

func (client ComputeCloudAtCustomerClient) DeleteCccInfrastructure(ctx context.Context, request DeleteCccInfrastructureRequest) (response DeleteCccInfrastructureResponse, err error)

DeleteCccInfrastructure Deletes a Compute Cloud@Customer infrastructure resource specified by the resource OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/DeleteCccInfrastructure.go.html to see an example of how to use DeleteCccInfrastructure API.

func (ComputeCloudAtCustomerClient) DeleteCccUpgradeSchedule

func (client ComputeCloudAtCustomerClient) DeleteCccUpgradeSchedule(ctx context.Context, request DeleteCccUpgradeScheduleRequest) (response DeleteCccUpgradeScheduleResponse, err error)

DeleteCccUpgradeSchedule Deletes a Compute Cloud@Customer upgrade schedule by the specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/DeleteCccUpgradeSchedule.go.html to see an example of how to use DeleteCccUpgradeSchedule API.

func (ComputeCloudAtCustomerClient) GetCccInfrastructure

func (client ComputeCloudAtCustomerClient) GetCccInfrastructure(ctx context.Context, request GetCccInfrastructureRequest) (response GetCccInfrastructureResponse, err error)

GetCccInfrastructure Gets a Compute Cloud@Customer infrastructure using the infrastructure OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/GetCccInfrastructure.go.html to see an example of how to use GetCccInfrastructure API. A default retry strategy applies to this operation GetCccInfrastructure()

func (ComputeCloudAtCustomerClient) GetCccUpgradeSchedule

func (client ComputeCloudAtCustomerClient) GetCccUpgradeSchedule(ctx context.Context, request GetCccUpgradeScheduleRequest) (response GetCccUpgradeScheduleResponse, err error)

GetCccUpgradeSchedule Gets a Compute Cloud@Customer upgrade schedule by the specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/GetCccUpgradeSchedule.go.html to see an example of how to use GetCccUpgradeSchedule API. A default retry strategy applies to this operation GetCccUpgradeSchedule()

func (ComputeCloudAtCustomerClient) ListCccInfrastructures

func (client ComputeCloudAtCustomerClient) ListCccInfrastructures(ctx context.Context, request ListCccInfrastructuresRequest) (response ListCccInfrastructuresResponse, err error)

ListCccInfrastructures Returns a list of Compute Cloud@Customer infrastructures.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ListCccInfrastructures.go.html to see an example of how to use ListCccInfrastructures API. A default retry strategy applies to this operation ListCccInfrastructures()

func (ComputeCloudAtCustomerClient) ListCccUpgradeSchedules

func (client ComputeCloudAtCustomerClient) ListCccUpgradeSchedules(ctx context.Context, request ListCccUpgradeSchedulesRequest) (response ListCccUpgradeSchedulesResponse, err error)

ListCccUpgradeSchedules Returns a list of Compute Cloud@Customer upgrade schedules.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ListCccUpgradeSchedules.go.html to see an example of how to use ListCccUpgradeSchedules API. A default retry strategy applies to this operation ListCccUpgradeSchedules()

func (*ComputeCloudAtCustomerClient) SetRegion

func (client *ComputeCloudAtCustomerClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ComputeCloudAtCustomerClient) UpdateCccInfrastructure

func (client ComputeCloudAtCustomerClient) UpdateCccInfrastructure(ctx context.Context, request UpdateCccInfrastructureRequest) (response UpdateCccInfrastructureResponse, err error)

UpdateCccInfrastructure Updates Compute Cloud@Customer infrastructure resource.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/UpdateCccInfrastructure.go.html to see an example of how to use UpdateCccInfrastructure API.

func (ComputeCloudAtCustomerClient) UpdateCccUpgradeSchedule

func (client ComputeCloudAtCustomerClient) UpdateCccUpgradeSchedule(ctx context.Context, request UpdateCccUpgradeScheduleRequest) (response UpdateCccUpgradeScheduleResponse, err error)

UpdateCccUpgradeSchedule Updates the Compute Cloud@Customer upgrade schedule.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/UpdateCccUpgradeSchedule.go.html to see an example of how to use UpdateCccUpgradeSchedule API.

type CreateCccInfrastructureDetails

type CreateCccInfrastructureDetails struct {

	// The name that will be used to display the Compute Cloud@Customer infrastructure
	// in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with
	// the infrastructure.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The current connection state of the Compute Cloud@Customer infrastructure. This value
	// will default to REJECT if the value is not provided. The only valid value at creation
	// time is REJECT.
	ConnectionState CccInfrastructureConnectionStateEnum `mandatory:"false" json:"connectionState,omitempty"`

	// A message describing the current connection state in more detail.
	ConnectionDetails *string `mandatory:"false" json:"connectionDetails"`

	// Schedule used for upgrades. If no schedule is associated with the infrastructure,
	// it can be upgraded at any time.
	CccUpgradeScheduleId *string `mandatory:"false" json:"cccUpgradeScheduleId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCccInfrastructureDetails The configuration details for creating Compute Cloud@Customer infrastructure.

func (CreateCccInfrastructureDetails) String

func (CreateCccInfrastructureDetails) ValidateEnumValue

func (m CreateCccInfrastructureDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCccInfrastructureRequest

type CreateCccInfrastructureRequest struct {

	// Details for the new CccInfrastructure.
	CreateCccInfrastructureDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateCccInfrastructureRequest wrapper for the CreateCccInfrastructure operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/CreateCccInfrastructure.go.html to see an example of how to use CreateCccInfrastructureRequest.

func (CreateCccInfrastructureRequest) BinaryRequestBody

func (request CreateCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateCccInfrastructureRequest) HTTPRequest

func (request CreateCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCccInfrastructureRequest) RetryPolicy

func (request CreateCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCccInfrastructureRequest) String

func (request CreateCccInfrastructureRequest) String() string

func (CreateCccInfrastructureRequest) ValidateEnumValue

func (request CreateCccInfrastructureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCccInfrastructureResponse

type CreateCccInfrastructureResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CccInfrastructure instance
	CccInfrastructure `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateCccInfrastructureResponse wrapper for the CreateCccInfrastructure operation

func (CreateCccInfrastructureResponse) HTTPResponse

func (response CreateCccInfrastructureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCccInfrastructureResponse) String

func (response CreateCccInfrastructureResponse) String() string

type CreateCccScheduleEvent

type CreateCccScheduleEvent struct {

	// A description of the Compute Cloud@Customer upgrade schedule time block.
	Description *string `mandatory:"true" json:"description"`

	// The date and time when the Compute Cloud@Customer upgrade schedule event starts,
	// inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences,
	// this is the date that a recurrence can start being applied.
	TimeStart *common.SDKTime `mandatory:"true" json:"timeStart"`

	// The duration of this block of time. The duration must be specified and be of the
	// ISO-8601 format for durations.
	ScheduleEventDuration *string `mandatory:"true" json:"scheduleEventDuration"`

	// Frequency of recurrence of schedule block. When this field is not included, the event
	// is assumed to be a one time occurrence. The frequency field is strictly parsed and must
	// conform to RFC-5545 formatting for recurrences.
	ScheduleEventRecurrences *string `mandatory:"false" json:"scheduleEventRecurrences"`
}

CreateCccScheduleEvent A period where upgrades may be applied to Compute Cloud@Customer infrastructures associated with the schedule. All upgrade windows may not be used.

func (CreateCccScheduleEvent) String

func (m CreateCccScheduleEvent) String() string

func (CreateCccScheduleEvent) ValidateEnumValue

func (m CreateCccScheduleEvent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCccUpgradeScheduleDetails

type CreateCccUpgradeScheduleDetails struct {

	// Compute Cloud@Customer upgrade schedule display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the
	// Compute Cloud@Customer Upgrade Schedule.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.
	Events []CreateCccScheduleEvent `mandatory:"true" json:"events"`

	// An optional description of the Compute Cloud@Customer upgrade schedule.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCccUpgradeScheduleDetails Defines a schedule for times when automated Compute Cloud@Customer upgrades are preferred. A created upgrade schedule must supply events with a minimum frequency and duration or the schedule will be rejected. Upgrades may impact performance of Compute Cloud@Customer infrastructures when they are being applied.

func (CreateCccUpgradeScheduleDetails) String

func (CreateCccUpgradeScheduleDetails) ValidateEnumValue

func (m CreateCccUpgradeScheduleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCccUpgradeScheduleRequest

type CreateCccUpgradeScheduleRequest struct {

	// Details for the new CCC Upgrade Schedule.
	CreateCccUpgradeScheduleDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

CreateCccUpgradeScheduleRequest wrapper for the CreateCccUpgradeSchedule operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/CreateCccUpgradeSchedule.go.html to see an example of how to use CreateCccUpgradeScheduleRequest.

func (CreateCccUpgradeScheduleRequest) BinaryRequestBody

func (request CreateCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateCccUpgradeScheduleRequest) HTTPRequest

func (request CreateCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCccUpgradeScheduleRequest) RetryPolicy

func (request CreateCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCccUpgradeScheduleRequest) String

func (request CreateCccUpgradeScheduleRequest) String() string

func (CreateCccUpgradeScheduleRequest) ValidateEnumValue

func (request CreateCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateCccUpgradeScheduleResponse

type CreateCccUpgradeScheduleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CccUpgradeSchedule instance
	CccUpgradeSchedule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateCccUpgradeScheduleResponse wrapper for the CreateCccUpgradeSchedule operation

func (CreateCccUpgradeScheduleResponse) HTTPResponse

func (response CreateCccUpgradeScheduleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCccUpgradeScheduleResponse) String

func (response CreateCccUpgradeScheduleResponse) String() string

type DeleteCccInfrastructureRequest

type DeleteCccInfrastructureRequest struct {

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a
	// Compute Cloud@Customer Infrastructure.
	CccInfrastructureId *string `mandatory:"true" contributesTo:"path" name:"cccInfrastructureId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteCccInfrastructureRequest wrapper for the DeleteCccInfrastructure operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/DeleteCccInfrastructure.go.html to see an example of how to use DeleteCccInfrastructureRequest.

func (DeleteCccInfrastructureRequest) BinaryRequestBody

func (request DeleteCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCccInfrastructureRequest) HTTPRequest

func (request DeleteCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCccInfrastructureRequest) RetryPolicy

func (request DeleteCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCccInfrastructureRequest) String

func (request DeleteCccInfrastructureRequest) String() string

func (DeleteCccInfrastructureRequest) ValidateEnumValue

func (request DeleteCccInfrastructureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteCccInfrastructureResponse

type DeleteCccInfrastructureResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteCccInfrastructureResponse wrapper for the DeleteCccInfrastructure operation

func (DeleteCccInfrastructureResponse) HTTPResponse

func (response DeleteCccInfrastructureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCccInfrastructureResponse) String

func (response DeleteCccInfrastructureResponse) String() string

type DeleteCccUpgradeScheduleRequest

type DeleteCccUpgradeScheduleRequest struct {

	// Compute Cloud@Customer upgrade schedule
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CccUpgradeScheduleId *string `mandatory:"true" contributesTo:"path" name:"cccUpgradeScheduleId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

DeleteCccUpgradeScheduleRequest wrapper for the DeleteCccUpgradeSchedule operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/DeleteCccUpgradeSchedule.go.html to see an example of how to use DeleteCccUpgradeScheduleRequest.

func (DeleteCccUpgradeScheduleRequest) BinaryRequestBody

func (request DeleteCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCccUpgradeScheduleRequest) HTTPRequest

func (request DeleteCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCccUpgradeScheduleRequest) RetryPolicy

func (request DeleteCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCccUpgradeScheduleRequest) String

func (request DeleteCccUpgradeScheduleRequest) String() string

func (DeleteCccUpgradeScheduleRequest) ValidateEnumValue

func (request DeleteCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteCccUpgradeScheduleResponse

type DeleteCccUpgradeScheduleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteCccUpgradeScheduleResponse wrapper for the DeleteCccUpgradeSchedule operation

func (DeleteCccUpgradeScheduleResponse) HTTPResponse

func (response DeleteCccUpgradeScheduleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCccUpgradeScheduleResponse) String

func (response DeleteCccUpgradeScheduleResponse) String() string

type GetCccInfrastructureRequest

type GetCccInfrastructureRequest struct {

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a
	// Compute Cloud@Customer Infrastructure.
	CccInfrastructureId *string `mandatory:"true" contributesTo:"path" name:"cccInfrastructureId"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCccInfrastructureRequest wrapper for the GetCccInfrastructure operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/GetCccInfrastructure.go.html to see an example of how to use GetCccInfrastructureRequest.

func (GetCccInfrastructureRequest) BinaryRequestBody

func (request GetCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCccInfrastructureRequest) HTTPRequest

func (request GetCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCccInfrastructureRequest) RetryPolicy

func (request GetCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCccInfrastructureRequest) String

func (request GetCccInfrastructureRequest) String() string

func (GetCccInfrastructureRequest) ValidateEnumValue

func (request GetCccInfrastructureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCccInfrastructureResponse

type GetCccInfrastructureResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CccInfrastructure instance
	CccInfrastructure `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCccInfrastructureResponse wrapper for the GetCccInfrastructure operation

func (GetCccInfrastructureResponse) HTTPResponse

func (response GetCccInfrastructureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCccInfrastructureResponse) String

func (response GetCccInfrastructureResponse) String() string

type GetCccUpgradeScheduleRequest

type GetCccUpgradeScheduleRequest struct {

	// Compute Cloud@Customer upgrade schedule
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CccUpgradeScheduleId *string `mandatory:"true" contributesTo:"path" name:"cccUpgradeScheduleId"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

GetCccUpgradeScheduleRequest wrapper for the GetCccUpgradeSchedule operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/GetCccUpgradeSchedule.go.html to see an example of how to use GetCccUpgradeScheduleRequest.

func (GetCccUpgradeScheduleRequest) BinaryRequestBody

func (request GetCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCccUpgradeScheduleRequest) HTTPRequest

func (request GetCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCccUpgradeScheduleRequest) RetryPolicy

func (request GetCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCccUpgradeScheduleRequest) String

func (request GetCccUpgradeScheduleRequest) String() string

func (GetCccUpgradeScheduleRequest) ValidateEnumValue

func (request GetCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetCccUpgradeScheduleResponse

type GetCccUpgradeScheduleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CccUpgradeSchedule instance
	CccUpgradeSchedule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCccUpgradeScheduleResponse wrapper for the GetCccUpgradeSchedule operation

func (GetCccUpgradeScheduleResponse) HTTPResponse

func (response GetCccUpgradeScheduleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCccUpgradeScheduleResponse) String

func (response GetCccUpgradeScheduleResponse) String() string

type ListCccInfrastructuresAccessLevelEnum

type ListCccInfrastructuresAccessLevelEnum string

ListCccInfrastructuresAccessLevelEnum Enum with underlying type: string

const (
	ListCccInfrastructuresAccessLevelRestricted ListCccInfrastructuresAccessLevelEnum = "RESTRICTED"
	ListCccInfrastructuresAccessLevelAccessible ListCccInfrastructuresAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListCccInfrastructuresAccessLevelEnum

func GetListCccInfrastructuresAccessLevelEnumValues

func GetListCccInfrastructuresAccessLevelEnumValues() []ListCccInfrastructuresAccessLevelEnum

GetListCccInfrastructuresAccessLevelEnumValues Enumerates the set of values for ListCccInfrastructuresAccessLevelEnum

func GetMappingListCccInfrastructuresAccessLevelEnum

func GetMappingListCccInfrastructuresAccessLevelEnum(val string) (ListCccInfrastructuresAccessLevelEnum, bool)

GetMappingListCccInfrastructuresAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCccInfrastructuresRequest

type ListCccInfrastructuresRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to
	// list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and
	// sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no
	// partial results are displayed.
	AccessLevel ListCccInfrastructuresAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter used to return only resources that match the given lifecycleState.
	LifecycleState CccInfrastructureLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources whose display name contains the substring.
	DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"`

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a
	// Compute Cloud@Customer Infrastructure.
	CccInfrastructureId *string `mandatory:"false" contributesTo:"query" name:"cccInfrastructureId"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListCccInfrastructuresSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
	SortBy ListCccInfrastructuresSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCccInfrastructuresRequest wrapper for the ListCccInfrastructures operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ListCccInfrastructures.go.html to see an example of how to use ListCccInfrastructuresRequest.

func (ListCccInfrastructuresRequest) BinaryRequestBody

func (request ListCccInfrastructuresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCccInfrastructuresRequest) HTTPRequest

func (request ListCccInfrastructuresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCccInfrastructuresRequest) RetryPolicy

func (request ListCccInfrastructuresRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCccInfrastructuresRequest) String

func (request ListCccInfrastructuresRequest) String() string

func (ListCccInfrastructuresRequest) ValidateEnumValue

func (request ListCccInfrastructuresRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCccInfrastructuresResponse

type ListCccInfrastructuresResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CccInfrastructureCollection instances
	CccInfrastructureCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListCccInfrastructuresResponse wrapper for the ListCccInfrastructures operation

func (ListCccInfrastructuresResponse) HTTPResponse

func (response ListCccInfrastructuresResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCccInfrastructuresResponse) String

func (response ListCccInfrastructuresResponse) String() string

type ListCccInfrastructuresSortByEnum

type ListCccInfrastructuresSortByEnum string

ListCccInfrastructuresSortByEnum Enum with underlying type: string

const (
	ListCccInfrastructuresSortByTimecreated ListCccInfrastructuresSortByEnum = "timeCreated"
	ListCccInfrastructuresSortByDisplayname ListCccInfrastructuresSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListCccInfrastructuresSortByEnum

func GetListCccInfrastructuresSortByEnumValues

func GetListCccInfrastructuresSortByEnumValues() []ListCccInfrastructuresSortByEnum

GetListCccInfrastructuresSortByEnumValues Enumerates the set of values for ListCccInfrastructuresSortByEnum

func GetMappingListCccInfrastructuresSortByEnum

func GetMappingListCccInfrastructuresSortByEnum(val string) (ListCccInfrastructuresSortByEnum, bool)

GetMappingListCccInfrastructuresSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCccInfrastructuresSortOrderEnum

type ListCccInfrastructuresSortOrderEnum string

ListCccInfrastructuresSortOrderEnum Enum with underlying type: string

const (
	ListCccInfrastructuresSortOrderAsc  ListCccInfrastructuresSortOrderEnum = "ASC"
	ListCccInfrastructuresSortOrderDesc ListCccInfrastructuresSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCccInfrastructuresSortOrderEnum

func GetListCccInfrastructuresSortOrderEnumValues

func GetListCccInfrastructuresSortOrderEnumValues() []ListCccInfrastructuresSortOrderEnum

GetListCccInfrastructuresSortOrderEnumValues Enumerates the set of values for ListCccInfrastructuresSortOrderEnum

func GetMappingListCccInfrastructuresSortOrderEnum

func GetMappingListCccInfrastructuresSortOrderEnum(val string) (ListCccInfrastructuresSortOrderEnum, bool)

GetMappingListCccInfrastructuresSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCccUpgradeSchedulesAccessLevelEnum

type ListCccUpgradeSchedulesAccessLevelEnum string

ListCccUpgradeSchedulesAccessLevelEnum Enum with underlying type: string

const (
	ListCccUpgradeSchedulesAccessLevelRestricted ListCccUpgradeSchedulesAccessLevelEnum = "RESTRICTED"
	ListCccUpgradeSchedulesAccessLevelAccessible ListCccUpgradeSchedulesAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for ListCccUpgradeSchedulesAccessLevelEnum

func GetListCccUpgradeSchedulesAccessLevelEnumValues

func GetListCccUpgradeSchedulesAccessLevelEnumValues() []ListCccUpgradeSchedulesAccessLevelEnum

GetListCccUpgradeSchedulesAccessLevelEnumValues Enumerates the set of values for ListCccUpgradeSchedulesAccessLevelEnum

func GetMappingListCccUpgradeSchedulesAccessLevelEnum

func GetMappingListCccUpgradeSchedulesAccessLevelEnum(val string) (ListCccUpgradeSchedulesAccessLevelEnum, bool)

GetMappingListCccUpgradeSchedulesAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCccUpgradeSchedulesRequest

type ListCccUpgradeSchedulesRequest struct {

	// Compute Cloud@Customer upgrade schedule
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CccUpgradeScheduleId *string `mandatory:"false" contributesTo:"query" name:"cccUpgradeScheduleId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to
	// list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Default is false.
	// When set to true, the hierarchy of compartments is traversed and all compartments and
	// sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED.
	// Setting this to ACCESSIBLE returns only those compartments for which the
	// user has INSPECT permissions directly or indirectly (permissions can be on a
	// resource in a subcompartment). When set to RESTRICTED permissions are checked and no
	// partial results are displayed.
	AccessLevel ListCccUpgradeSchedulesAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// A filter to return resources only when their lifecycleState matches the given lifecycleState.
	LifecycleState CccUpgradeScheduleLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources whose display name contains the substring.
	DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"`

	// The maximum number of items to return.
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListCccUpgradeSchedulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
	SortBy ListCccUpgradeSchedulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

ListCccUpgradeSchedulesRequest wrapper for the ListCccUpgradeSchedules operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/ListCccUpgradeSchedules.go.html to see an example of how to use ListCccUpgradeSchedulesRequest.

func (ListCccUpgradeSchedulesRequest) BinaryRequestBody

func (request ListCccUpgradeSchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCccUpgradeSchedulesRequest) HTTPRequest

func (request ListCccUpgradeSchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCccUpgradeSchedulesRequest) RetryPolicy

func (request ListCccUpgradeSchedulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCccUpgradeSchedulesRequest) String

func (request ListCccUpgradeSchedulesRequest) String() string

func (ListCccUpgradeSchedulesRequest) ValidateEnumValue

func (request ListCccUpgradeSchedulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListCccUpgradeSchedulesResponse

type ListCccUpgradeSchedulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of CccUpgradeScheduleCollection instances
	CccUpgradeScheduleCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the next batch of items.
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For pagination of a list of items. When paging through a list, if this header appears in the response,
	// then a partial list might have been returned. Include this value as the `page` parameter for the
	// subsequent GET request to get the previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListCccUpgradeSchedulesResponse wrapper for the ListCccUpgradeSchedules operation

func (ListCccUpgradeSchedulesResponse) HTTPResponse

func (response ListCccUpgradeSchedulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCccUpgradeSchedulesResponse) String

func (response ListCccUpgradeSchedulesResponse) String() string

type ListCccUpgradeSchedulesSortByEnum

type ListCccUpgradeSchedulesSortByEnum string

ListCccUpgradeSchedulesSortByEnum Enum with underlying type: string

const (
	ListCccUpgradeSchedulesSortByTimecreated ListCccUpgradeSchedulesSortByEnum = "timeCreated"
	ListCccUpgradeSchedulesSortByDisplayname ListCccUpgradeSchedulesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListCccUpgradeSchedulesSortByEnum

func GetListCccUpgradeSchedulesSortByEnumValues

func GetListCccUpgradeSchedulesSortByEnumValues() []ListCccUpgradeSchedulesSortByEnum

GetListCccUpgradeSchedulesSortByEnumValues Enumerates the set of values for ListCccUpgradeSchedulesSortByEnum

func GetMappingListCccUpgradeSchedulesSortByEnum

func GetMappingListCccUpgradeSchedulesSortByEnum(val string) (ListCccUpgradeSchedulesSortByEnum, bool)

GetMappingListCccUpgradeSchedulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCccUpgradeSchedulesSortOrderEnum

type ListCccUpgradeSchedulesSortOrderEnum string

ListCccUpgradeSchedulesSortOrderEnum Enum with underlying type: string

const (
	ListCccUpgradeSchedulesSortOrderAsc  ListCccUpgradeSchedulesSortOrderEnum = "ASC"
	ListCccUpgradeSchedulesSortOrderDesc ListCccUpgradeSchedulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCccUpgradeSchedulesSortOrderEnum

func GetListCccUpgradeSchedulesSortOrderEnumValues

func GetListCccUpgradeSchedulesSortOrderEnumValues() []ListCccUpgradeSchedulesSortOrderEnum

GetListCccUpgradeSchedulesSortOrderEnumValues Enumerates the set of values for ListCccUpgradeSchedulesSortOrderEnum

func GetMappingListCccUpgradeSchedulesSortOrderEnum

func GetMappingListCccUpgradeSchedulesSortOrderEnum(val string) (ListCccUpgradeSchedulesSortOrderEnum, bool)

GetMappingListCccUpgradeSchedulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type PeerInformation

type PeerInformation struct {

	// The Autonomous System Number (ASN) of the peer network.
	Asn *int `mandatory:"false" json:"asn"`

	// Neighbor Border Gateway Protocal (BGP) IP address.
	// The IP address usually refers to the customer data center router.
	Ip *string `mandatory:"false" json:"ip"`
}

PeerInformation Routing information for peer nodes using the Border Gateway Protocol (BGP).

func (PeerInformation) String

func (m PeerInformation) String() string

func (PeerInformation) ValidateEnumValue

func (m PeerInformation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

const (
	SortOrderAsc  SortOrderEnum = "ASC"
	SortOrderDesc SortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateCccInfrastructureDetails

type UpdateCccInfrastructureDetails struct {

	// The name that will be used to display the Compute Cloud@Customer infrastructure
	// in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is
	// used to communicate with Compute Cloud@Customer infrastructure.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// An updated connection state of the Compute Cloud@Customer infrastructure.
	ConnectionState CccInfrastructureConnectionStateEnum `mandatory:"false" json:"connectionState,omitempty"`

	// A message describing the current connection state in more detail.
	ConnectionDetails *string `mandatory:"false" json:"connectionDetails"`

	// Schedule used for upgrades. If no schedule is associated with the infrastructure,
	// it can be updated at any time.
	CccUpgradeScheduleId *string `mandatory:"false" json:"cccUpgradeScheduleId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateCccInfrastructureDetails Updates Compute Cloud@Customer infrastructure configuration details.

func (UpdateCccInfrastructureDetails) String

func (UpdateCccInfrastructureDetails) ValidateEnumValue

func (m UpdateCccInfrastructureDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCccInfrastructureRequest

type UpdateCccInfrastructureRequest struct {

	// An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a
	// Compute Cloud@Customer Infrastructure.
	CccInfrastructureId *string `mandatory:"true" contributesTo:"path" name:"cccInfrastructureId"`

	// The information to be updated.
	UpdateCccInfrastructureDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateCccInfrastructureRequest wrapper for the UpdateCccInfrastructure operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/UpdateCccInfrastructure.go.html to see an example of how to use UpdateCccInfrastructureRequest.

func (UpdateCccInfrastructureRequest) BinaryRequestBody

func (request UpdateCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCccInfrastructureRequest) HTTPRequest

func (request UpdateCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCccInfrastructureRequest) RetryPolicy

func (request UpdateCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCccInfrastructureRequest) String

func (request UpdateCccInfrastructureRequest) String() string

func (UpdateCccInfrastructureRequest) ValidateEnumValue

func (request UpdateCccInfrastructureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCccInfrastructureResponse

type UpdateCccInfrastructureResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CccInfrastructure instance
	CccInfrastructure `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateCccInfrastructureResponse wrapper for the UpdateCccInfrastructure operation

func (UpdateCccInfrastructureResponse) HTTPResponse

func (response UpdateCccInfrastructureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCccInfrastructureResponse) String

func (response UpdateCccInfrastructureResponse) String() string

type UpdateCccScheduleEvent

type UpdateCccScheduleEvent struct {

	// A description of the Compute Cloud@Customer upgrade schedule time block.
	Description *string `mandatory:"true" json:"description"`

	// The date and time when the Compute Cloud@Customer upgrade schedule event starts,
	// inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences,
	// this is the date that a recurrence can start being applied.
	TimeStart *common.SDKTime `mandatory:"true" json:"timeStart"`

	// The duration of this block of time. The duration must be specified and be of the
	// ISO-8601 format for durations.
	ScheduleEventDuration *string `mandatory:"true" json:"scheduleEventDuration"`

	// Frequency of recurrence of schedule block. When this field is not included, the event
	// is assumed to be a one time occurrence. The frequency field is strictly parsed and must
	// conform to RFC-5545 formatting for recurrences.
	ScheduleEventRecurrences *string `mandatory:"false" json:"scheduleEventRecurrences"`
}

UpdateCccScheduleEvent A period where upgrades may be applied to Compute Cloud@Customer infrastructures associated with the schedule. All upgrade windows may not be used.

func (UpdateCccScheduleEvent) String

func (m UpdateCccScheduleEvent) String() string

func (UpdateCccScheduleEvent) ValidateEnumValue

func (m UpdateCccScheduleEvent) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCccUpgradeScheduleDetails

type UpdateCccUpgradeScheduleDetails struct {

	// Compute Cloud@Customer upgrade schedule display name.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// An optional description of the Compute Cloud@Customer upgrade schedule.
	// Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// List of preferred times for a Compute Cloud@Customer infrastructure to be upgraded.
	Events []UpdateCccScheduleEvent `mandatory:"false" json:"events"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateCccUpgradeScheduleDetails Updates the schedule details, all schedule information must be entered, similar to an initial schedule create. Include all events in the update.

func (UpdateCccUpgradeScheduleDetails) String

func (UpdateCccUpgradeScheduleDetails) ValidateEnumValue

func (m UpdateCccUpgradeScheduleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCccUpgradeScheduleRequest

type UpdateCccUpgradeScheduleRequest struct {

	// Compute Cloud@Customer upgrade schedule
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CccUpgradeScheduleId *string `mandatory:"true" contributesTo:"path" name:"cccUpgradeScheduleId"`

	// The information to be updated in the Compute Cloud@Customer upgrade schedule.
	UpdateCccUpgradeScheduleDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

	// The client request OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Metadata about the request. This information will not be transmitted to the service, but
	// represents information that the SDK will consume to drive retry behavior.
	RequestMetadata common.RequestMetadata
}

UpdateCccUpgradeScheduleRequest wrapper for the UpdateCccUpgradeSchedule operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/computecloudatcustomer/UpdateCccUpgradeSchedule.go.html to see an example of how to use UpdateCccUpgradeScheduleRequest.

func (UpdateCccUpgradeScheduleRequest) BinaryRequestBody

func (request UpdateCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCccUpgradeScheduleRequest) HTTPRequest

func (request UpdateCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCccUpgradeScheduleRequest) RetryPolicy

func (request UpdateCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCccUpgradeScheduleRequest) String

func (request UpdateCccUpgradeScheduleRequest) String() string

func (UpdateCccUpgradeScheduleRequest) ValidateEnumValue

func (request UpdateCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateCccUpgradeScheduleResponse

type UpdateCccUpgradeScheduleResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CccUpgradeSchedule instance
	CccUpgradeSchedule `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateCccUpgradeScheduleResponse wrapper for the UpdateCccUpgradeSchedule operation

func (UpdateCccUpgradeScheduleResponse) HTTPResponse

func (response UpdateCccUpgradeScheduleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCccUpgradeScheduleResponse) String

func (response UpdateCccUpgradeScheduleResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL