...

Package computecloudatcustomer

import "github.com/oracle/oci-go-sdk/computecloudatcustomer"
Overview
Index

Overview ▾

Index ▾

func GetCccInfrastructureConnectionStateEnumStringValues() []string
func GetCccInfrastructureLifecycleStateEnumStringValues() []string
func GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumStringValues() []string
func GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumStringValues() []string
func GetCccUpgradeScheduleLifecycleStateEnumStringValues() []string
func GetListCccInfrastructuresAccessLevelEnumStringValues() []string
func GetListCccInfrastructuresSortByEnumStringValues() []string
func GetListCccInfrastructuresSortOrderEnumStringValues() []string
func GetListCccUpgradeSchedulesAccessLevelEnumStringValues() []string
func GetListCccUpgradeSchedulesSortByEnumStringValues() []string
func GetListCccUpgradeSchedulesSortOrderEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
type CccInfrastructure
    func (m CccInfrastructure) String() string
    func (m CccInfrastructure) ValidateEnumValue() (bool, error)
type CccInfrastructureCollection
    func (m CccInfrastructureCollection) String() string
    func (m CccInfrastructureCollection) ValidateEnumValue() (bool, error)
type CccInfrastructureConnectionStateEnum
    func GetCccInfrastructureConnectionStateEnumValues() []CccInfrastructureConnectionStateEnum
    func GetMappingCccInfrastructureConnectionStateEnum(val string) (CccInfrastructureConnectionStateEnum, bool)
type CccInfrastructureInventory
    func (m CccInfrastructureInventory) String() string
    func (m CccInfrastructureInventory) ValidateEnumValue() (bool, error)
type CccInfrastructureLifecycleStateEnum
    func GetCccInfrastructureLifecycleStateEnumValues() []CccInfrastructureLifecycleStateEnum
    func GetMappingCccInfrastructureLifecycleStateEnum(val string) (CccInfrastructureLifecycleStateEnum, bool)
type CccInfrastructureManagementNode
    func (m CccInfrastructureManagementNode) String() string
    func (m CccInfrastructureManagementNode) ValidateEnumValue() (bool, error)
type CccInfrastructureNetworkConfiguration
    func (m CccInfrastructureNetworkConfiguration) String() string
    func (m CccInfrastructureNetworkConfiguration) ValidateEnumValue() (bool, error)
type CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum
    func GetCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnumValues() []CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum
    func GetMappingCccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum(val string) (CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum, bool)
type CccInfrastructureRoutingDynamicDetails
    func (m CccInfrastructureRoutingDynamicDetails) String() string
    func (m CccInfrastructureRoutingDynamicDetails) ValidateEnumValue() (bool, error)
type CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum
    func GetCccInfrastructureRoutingDynamicDetailsBgpTopologyEnumValues() []CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum
    func GetMappingCccInfrastructureRoutingDynamicDetailsBgpTopologyEnum(val string) (CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum, bool)
type CccInfrastructureRoutingStaticDetails
    func (m CccInfrastructureRoutingStaticDetails) String() string
    func (m CccInfrastructureRoutingStaticDetails) ValidateEnumValue() (bool, error)
type CccInfrastructureSummary
    func (m CccInfrastructureSummary) String() string
    func (m CccInfrastructureSummary) ValidateEnumValue() (bool, error)
type CccScheduleEvent
    func (m CccScheduleEvent) String() string
    func (m CccScheduleEvent) ValidateEnumValue() (bool, error)
type CccUpgradeInformation
    func (m CccUpgradeInformation) String() string
    func (m CccUpgradeInformation) ValidateEnumValue() (bool, error)
type CccUpgradeSchedule
    func (m CccUpgradeSchedule) String() string
    func (m CccUpgradeSchedule) ValidateEnumValue() (bool, error)
type CccUpgradeScheduleCollection
    func (m CccUpgradeScheduleCollection) String() string
    func (m CccUpgradeScheduleCollection) ValidateEnumValue() (bool, error)
type CccUpgradeScheduleLifecycleStateEnum
    func GetCccUpgradeScheduleLifecycleStateEnumValues() []CccUpgradeScheduleLifecycleStateEnum
    func GetMappingCccUpgradeScheduleLifecycleStateEnum(val string) (CccUpgradeScheduleLifecycleStateEnum, bool)
type CccUpgradeScheduleSummary
    func (m CccUpgradeScheduleSummary) String() string
    func (m CccUpgradeScheduleSummary) ValidateEnumValue() (bool, error)
type ChangeCccInfrastructureCompartmentDetails
    func (m ChangeCccInfrastructureCompartmentDetails) String() string
    func (m ChangeCccInfrastructureCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeCccInfrastructureCompartmentRequest
    func (request ChangeCccInfrastructureCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeCccInfrastructureCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeCccInfrastructureCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeCccInfrastructureCompartmentRequest) String() string
    func (request ChangeCccInfrastructureCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeCccInfrastructureCompartmentResponse
    func (response ChangeCccInfrastructureCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeCccInfrastructureCompartmentResponse) String() string
type ChangeCccUpgradeScheduleCompartmentDetails
    func (m ChangeCccUpgradeScheduleCompartmentDetails) String() string
    func (m ChangeCccUpgradeScheduleCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeCccUpgradeScheduleCompartmentRequest
    func (request ChangeCccUpgradeScheduleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeCccUpgradeScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeCccUpgradeScheduleCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeCccUpgradeScheduleCompartmentRequest) String() string
    func (request ChangeCccUpgradeScheduleCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeCccUpgradeScheduleCompartmentResponse
    func (response ChangeCccUpgradeScheduleCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeCccUpgradeScheduleCompartmentResponse) String() string
type ComputeCloudAtCustomerClient
    func NewComputeCloudAtCustomerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputeCloudAtCustomerClient, err error)
    func NewComputeCloudAtCustomerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeCloudAtCustomerClient, err error)
    func (client ComputeCloudAtCustomerClient) ChangeCccInfrastructureCompartment(ctx context.Context, request ChangeCccInfrastructureCompartmentRequest) (response ChangeCccInfrastructureCompartmentResponse, err error)
    func (client ComputeCloudAtCustomerClient) ChangeCccUpgradeScheduleCompartment(ctx context.Context, request ChangeCccUpgradeScheduleCompartmentRequest) (response ChangeCccUpgradeScheduleCompartmentResponse, err error)
    func (client *ComputeCloudAtCustomerClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ComputeCloudAtCustomerClient) CreateCccInfrastructure(ctx context.Context, request CreateCccInfrastructureRequest) (response CreateCccInfrastructureResponse, err error)
    func (client ComputeCloudAtCustomerClient) CreateCccUpgradeSchedule(ctx context.Context, request CreateCccUpgradeScheduleRequest) (response CreateCccUpgradeScheduleResponse, err error)
    func (client ComputeCloudAtCustomerClient) DeleteCccInfrastructure(ctx context.Context, request DeleteCccInfrastructureRequest) (response DeleteCccInfrastructureResponse, err error)
    func (client ComputeCloudAtCustomerClient) DeleteCccUpgradeSchedule(ctx context.Context, request DeleteCccUpgradeScheduleRequest) (response DeleteCccUpgradeScheduleResponse, err error)
    func (client ComputeCloudAtCustomerClient) GetCccInfrastructure(ctx context.Context, request GetCccInfrastructureRequest) (response GetCccInfrastructureResponse, err error)
    func (client ComputeCloudAtCustomerClient) GetCccUpgradeSchedule(ctx context.Context, request GetCccUpgradeScheduleRequest) (response GetCccUpgradeScheduleResponse, err error)
    func (client ComputeCloudAtCustomerClient) ListCccInfrastructures(ctx context.Context, request ListCccInfrastructuresRequest) (response ListCccInfrastructuresResponse, err error)
    func (client ComputeCloudAtCustomerClient) ListCccUpgradeSchedules(ctx context.Context, request ListCccUpgradeSchedulesRequest) (response ListCccUpgradeSchedulesResponse, err error)
    func (client *ComputeCloudAtCustomerClient) SetRegion(region string)
    func (client ComputeCloudAtCustomerClient) UpdateCccInfrastructure(ctx context.Context, request UpdateCccInfrastructureRequest) (response UpdateCccInfrastructureResponse, err error)
    func (client ComputeCloudAtCustomerClient) UpdateCccUpgradeSchedule(ctx context.Context, request UpdateCccUpgradeScheduleRequest) (response UpdateCccUpgradeScheduleResponse, err error)
type CreateCccInfrastructureDetails
    func (m CreateCccInfrastructureDetails) String() string
    func (m CreateCccInfrastructureDetails) ValidateEnumValue() (bool, error)
type CreateCccInfrastructureRequest
    func (request CreateCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCccInfrastructureRequest) String() string
    func (request CreateCccInfrastructureRequest) ValidateEnumValue() (bool, error)
type CreateCccInfrastructureResponse
    func (response CreateCccInfrastructureResponse) HTTPResponse() *http.Response
    func (response CreateCccInfrastructureResponse) String() string
type CreateCccScheduleEvent
    func (m CreateCccScheduleEvent) String() string
    func (m CreateCccScheduleEvent) ValidateEnumValue() (bool, error)
type CreateCccUpgradeScheduleDetails
    func (m CreateCccUpgradeScheduleDetails) String() string
    func (m CreateCccUpgradeScheduleDetails) ValidateEnumValue() (bool, error)
type CreateCccUpgradeScheduleRequest
    func (request CreateCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCccUpgradeScheduleRequest) String() string
    func (request CreateCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)
type CreateCccUpgradeScheduleResponse
    func (response CreateCccUpgradeScheduleResponse) HTTPResponse() *http.Response
    func (response CreateCccUpgradeScheduleResponse) String() string
type DeleteCccInfrastructureRequest
    func (request DeleteCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteCccInfrastructureRequest) String() string
    func (request DeleteCccInfrastructureRequest) ValidateEnumValue() (bool, error)
type DeleteCccInfrastructureResponse
    func (response DeleteCccInfrastructureResponse) HTTPResponse() *http.Response
    func (response DeleteCccInfrastructureResponse) String() string
type DeleteCccUpgradeScheduleRequest
    func (request DeleteCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteCccUpgradeScheduleRequest) String() string
    func (request DeleteCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)
type DeleteCccUpgradeScheduleResponse
    func (response DeleteCccUpgradeScheduleResponse) HTTPResponse() *http.Response
    func (response DeleteCccUpgradeScheduleResponse) String() string
type GetCccInfrastructureRequest
    func (request GetCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCccInfrastructureRequest) String() string
    func (request GetCccInfrastructureRequest) ValidateEnumValue() (bool, error)
type GetCccInfrastructureResponse
    func (response GetCccInfrastructureResponse) HTTPResponse() *http.Response
    func (response GetCccInfrastructureResponse) String() string
type GetCccUpgradeScheduleRequest
    func (request GetCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCccUpgradeScheduleRequest) String() string
    func (request GetCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)
type GetCccUpgradeScheduleResponse
    func (response GetCccUpgradeScheduleResponse) HTTPResponse() *http.Response
    func (response GetCccUpgradeScheduleResponse) String() string
type ListCccInfrastructuresAccessLevelEnum
    func GetListCccInfrastructuresAccessLevelEnumValues() []ListCccInfrastructuresAccessLevelEnum
    func GetMappingListCccInfrastructuresAccessLevelEnum(val string) (ListCccInfrastructuresAccessLevelEnum, bool)
type ListCccInfrastructuresRequest
    func (request ListCccInfrastructuresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCccInfrastructuresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCccInfrastructuresRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCccInfrastructuresRequest) String() string
    func (request ListCccInfrastructuresRequest) ValidateEnumValue() (bool, error)
type ListCccInfrastructuresResponse
    func (response ListCccInfrastructuresResponse) HTTPResponse() *http.Response
    func (response ListCccInfrastructuresResponse) String() string
type ListCccInfrastructuresSortByEnum
    func GetListCccInfrastructuresSortByEnumValues() []ListCccInfrastructuresSortByEnum
    func GetMappingListCccInfrastructuresSortByEnum(val string) (ListCccInfrastructuresSortByEnum, bool)
type ListCccInfrastructuresSortOrderEnum
    func GetListCccInfrastructuresSortOrderEnumValues() []ListCccInfrastructuresSortOrderEnum
    func GetMappingListCccInfrastructuresSortOrderEnum(val string) (ListCccInfrastructuresSortOrderEnum, bool)
type ListCccUpgradeSchedulesAccessLevelEnum
    func GetListCccUpgradeSchedulesAccessLevelEnumValues() []ListCccUpgradeSchedulesAccessLevelEnum
    func GetMappingListCccUpgradeSchedulesAccessLevelEnum(val string) (ListCccUpgradeSchedulesAccessLevelEnum, bool)
type ListCccUpgradeSchedulesRequest
    func (request ListCccUpgradeSchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCccUpgradeSchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCccUpgradeSchedulesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCccUpgradeSchedulesRequest) String() string
    func (request ListCccUpgradeSchedulesRequest) ValidateEnumValue() (bool, error)
type ListCccUpgradeSchedulesResponse
    func (response ListCccUpgradeSchedulesResponse) HTTPResponse() *http.Response
    func (response ListCccUpgradeSchedulesResponse) String() string
type ListCccUpgradeSchedulesSortByEnum
    func GetListCccUpgradeSchedulesSortByEnumValues() []ListCccUpgradeSchedulesSortByEnum
    func GetMappingListCccUpgradeSchedulesSortByEnum(val string) (ListCccUpgradeSchedulesSortByEnum, bool)
type ListCccUpgradeSchedulesSortOrderEnum
    func GetListCccUpgradeSchedulesSortOrderEnumValues() []ListCccUpgradeSchedulesSortOrderEnum
    func GetMappingListCccUpgradeSchedulesSortOrderEnum(val string) (ListCccUpgradeSchedulesSortOrderEnum, bool)
type PeerInformation
    func (m PeerInformation) String() string
    func (m PeerInformation) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateCccInfrastructureDetails
    func (m UpdateCccInfrastructureDetails) String() string
    func (m UpdateCccInfrastructureDetails) ValidateEnumValue() (bool, error)
type UpdateCccInfrastructureRequest
    func (request UpdateCccInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCccInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCccInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCccInfrastructureRequest) String() string
    func (request UpdateCccInfrastructureRequest) ValidateEnumValue() (bool, error)
type UpdateCccInfrastructureResponse
    func (response UpdateCccInfrastructureResponse) HTTPResponse() *http.Response
    func (response UpdateCccInfrastructureResponse) String() string
type UpdateCccScheduleEvent
    func (m UpdateCccScheduleEvent) String() string
    func (m UpdateCccScheduleEvent) ValidateEnumValue() (bool, error)
type UpdateCccUpgradeScheduleDetails
    func (m UpdateCccUpgradeScheduleDetails) String() string
    func (m UpdateCccUpgradeScheduleDetails) ValidateEnumValue() (bool, error)
type UpdateCccUpgradeScheduleRequest
    func (request UpdateCccUpgradeScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCccUpgradeScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCccUpgradeScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCccUpgradeScheduleRequest) String() string
    func (request UpdateCccUpgradeScheduleRequest) ValidateEnumValue() (bool, error)
type UpdateCccUpgradeScheduleResponse
    func (response UpdateCccUpgradeScheduleResponse) HTTPResponse() *http.Response
    func (response UpdateCccUpgradeScheduleResponse) String() string

Package files

ccc_infrastructure.go ccc_infrastructure_collection.go ccc_infrastructure_inventory.go ccc_infrastructure_management_node.go ccc_infrastructure_network_configuration.go ccc_infrastructure_routing_dynamic_details.go ccc_infrastructure_routing_static_details.go ccc_infrastructure_summary.go ccc_schedule_event.go ccc_upgrade_information.go ccc_upgrade_schedule.go ccc_upgrade_schedule_collection.go ccc_upgrade_schedule_summary.go change_ccc_infrastructure_compartment_details.go change_ccc_infrastructure_compartment_request_response.go change_ccc_upgrade_schedule_compartment_details.go change_ccc_upgrade_schedule_compartment_request_response.go computecloudatcustomer_client.go create_ccc_infrastructure_details.go create_ccc_infrastructure_request_response.go create_ccc_schedule_event.go create_ccc_upgrade_schedule_details.go create_ccc_upgrade_schedule_request_response.go delete_ccc_infrastructure_request_response.go delete_ccc_upgrade_schedule_request_response.go get_ccc_infrastructure_request_response.go get_ccc_upgrade_schedule_request_response.go list_ccc_infrastructures_request_response.go list_ccc_upgrade_schedules_request_response.go peer_information.go sort_order.go update_ccc_infrastructure_details.go update_ccc_infrastructure_request_response.go update_ccc_schedule_event.go update_ccc_upgrade_schedule_details.go update_ccc_upgrade_schedule_request_response.go

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

type CccInfrastructure

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.

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"`
}

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

CccInfrastructureCollection Results of a Compute Cloud@Customer infrastructure search.

type CccInfrastructureCollection struct {

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

func (CccInfrastructureCollection) String

func (m CccInfrastructureCollection) String() 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

CccInfrastructureConnectionStateEnum Enum with underlying type: string

type CccInfrastructureConnectionStateEnum string

Set of constants representing the allowable values for CccInfrastructureConnectionStateEnum

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

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

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.

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"`
}

func (CccInfrastructureInventory) String

func (m CccInfrastructureInventory) String() 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

CccInfrastructureLifecycleStateEnum Enum with underlying type: string

type CccInfrastructureLifecycleStateEnum string

Set of constants representing the allowable values for CccInfrastructureLifecycleStateEnum

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

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

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

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"`
}

func (CccInfrastructureManagementNode) String

func (m CccInfrastructureManagementNode) String() 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

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.

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"`
}

func (CccInfrastructureNetworkConfiguration) String

func (m CccInfrastructureNetworkConfiguration) String() 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

CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum Enum with underlying type: string

type CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum string

Set of constants representing the allowable values for CccInfrastructureNetworkConfigurationUplinkPortForwardErrorCorrectionEnum

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"
)

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

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

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"`
}

func (CccInfrastructureRoutingDynamicDetails) String

func (m CccInfrastructureRoutingDynamicDetails) String() 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

CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum Enum with underlying type: string

type CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum string

Set of constants representing the allowable values for CccInfrastructureRoutingDynamicDetailsBgpTopologyEnum

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

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

CccInfrastructureRoutingStaticDetails Static routing information for a rack.

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"`
}

func (CccInfrastructureRoutingStaticDetails) String

func (m CccInfrastructureRoutingStaticDetails) String() 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

CccInfrastructureSummary Summary information about a Compute Cloud@Customer infrastructure.

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"`
}

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

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

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"`
}

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

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

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"`
}

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

CccUpgradeSchedule Defines a schedule for preferred upgrade times.

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"`
}

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

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

type CccUpgradeScheduleCollection struct {

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

func (CccUpgradeScheduleCollection) String

func (m CccUpgradeScheduleCollection) String() 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

CccUpgradeScheduleLifecycleStateEnum Enum with underlying type: string

type CccUpgradeScheduleLifecycleStateEnum string

Set of constants representing the allowable values for CccUpgradeScheduleLifecycleStateEnum

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

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

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

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"`
}

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

ChangeCccInfrastructureCompartmentDetails Information required for the compartment change operation.

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"`
}

func (ChangeCccInfrastructureCompartmentDetails) String

func (m ChangeCccInfrastructureCompartmentDetails) String() 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

ChangeCccInfrastructureCompartmentRequest wrapper for the ChangeCccInfrastructureCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/ChangeCccInfrastructureCompartment.go.html to see an example of how to use 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
}

func (ChangeCccInfrastructureCompartmentRequest) BinaryRequestBody

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

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

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

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

func (ChangeCccInfrastructureCompartmentRequest) String

func (request ChangeCccInfrastructureCompartmentRequest) String() 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

ChangeCccInfrastructureCompartmentResponse wrapper for the ChangeCccInfrastructureCompartment operation

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"`
}

func (ChangeCccInfrastructureCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeCccInfrastructureCompartmentResponse) String

func (response ChangeCccInfrastructureCompartmentResponse) String() string

type ChangeCccUpgradeScheduleCompartmentDetails

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

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"`
}

func (ChangeCccUpgradeScheduleCompartmentDetails) String

func (m ChangeCccUpgradeScheduleCompartmentDetails) String() 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

ChangeCccUpgradeScheduleCompartmentRequest wrapper for the ChangeCccUpgradeScheduleCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/ChangeCccUpgradeScheduleCompartment.go.html to see an example of how to use 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
}

func (ChangeCccUpgradeScheduleCompartmentRequest) BinaryRequestBody

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

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

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

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

func (ChangeCccUpgradeScheduleCompartmentRequest) String

func (request ChangeCccUpgradeScheduleCompartmentRequest) String() 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

ChangeCccUpgradeScheduleCompartmentResponse wrapper for the ChangeCccUpgradeScheduleCompartment operation

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"`
}

func (ChangeCccUpgradeScheduleCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeCccUpgradeScheduleCompartmentResponse) String

func (response ChangeCccUpgradeScheduleCompartmentResponse) String() string

type ComputeCloudAtCustomerClient

ComputeCloudAtCustomerClient a client for ComputeCloudAtCustomer

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

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

func (client ComputeCloudAtCustomerClient) ChangeCccInfrastructureCompartment(ctx context.Context, request ChangeCccInfrastructureCompartmentRequest) (response ChangeCccInfrastructureCompartmentResponse, err error)

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/65.65.0/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

func (client ComputeCloudAtCustomerClient) ChangeCccUpgradeScheduleCompartment(ctx context.Context, request ChangeCccUpgradeScheduleCompartmentRequest) (response ChangeCccUpgradeScheduleCompartmentResponse, err error)

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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/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/65.65.0/computecloudatcustomer/UpdateCccUpgradeSchedule.go.html to see an example of how to use UpdateCccUpgradeSchedule API.

type CreateCccInfrastructureDetails

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

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"`
}

func (CreateCccInfrastructureDetails) String

func (m CreateCccInfrastructureDetails) String() 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

CreateCccInfrastructureRequest wrapper for the CreateCccInfrastructure operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/CreateCccInfrastructure.go.html to see an example of how to use 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
}

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

CreateCccInfrastructureResponse wrapper for the CreateCccInfrastructure operation

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"`
}

func (CreateCccInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCccInfrastructureResponse) String

func (response CreateCccInfrastructureResponse) String() string

type CreateCccScheduleEvent

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

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"`
}

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

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.

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"`
}

func (CreateCccUpgradeScheduleDetails) String

func (m CreateCccUpgradeScheduleDetails) String() 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

CreateCccUpgradeScheduleRequest wrapper for the CreateCccUpgradeSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/CreateCccUpgradeSchedule.go.html to see an example of how to use 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
}

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

CreateCccUpgradeScheduleResponse wrapper for the CreateCccUpgradeSchedule operation

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"`
}

func (CreateCccUpgradeScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCccUpgradeScheduleResponse) String

func (response CreateCccUpgradeScheduleResponse) String() string

type DeleteCccInfrastructureRequest

DeleteCccInfrastructureRequest wrapper for the DeleteCccInfrastructure operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/DeleteCccInfrastructure.go.html to see an example of how to use 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
}

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

DeleteCccInfrastructureResponse wrapper for the DeleteCccInfrastructure operation

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"`
}

func (DeleteCccInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteCccInfrastructureResponse) String

func (response DeleteCccInfrastructureResponse) String() string

type DeleteCccUpgradeScheduleRequest

DeleteCccUpgradeScheduleRequest wrapper for the DeleteCccUpgradeSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/DeleteCccUpgradeSchedule.go.html to see an example of how to use 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
}

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

DeleteCccUpgradeScheduleResponse wrapper for the DeleteCccUpgradeSchedule operation

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"`
}

func (DeleteCccUpgradeScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteCccUpgradeScheduleResponse) String

func (response DeleteCccUpgradeScheduleResponse) String() string

type GetCccInfrastructureRequest

GetCccInfrastructureRequest wrapper for the GetCccInfrastructure operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/GetCccInfrastructure.go.html to see an example of how to use 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
}

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

GetCccInfrastructureResponse wrapper for the GetCccInfrastructure operation

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"`
}

func (GetCccInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCccInfrastructureResponse) String

func (response GetCccInfrastructureResponse) String() string

type GetCccUpgradeScheduleRequest

GetCccUpgradeScheduleRequest wrapper for the GetCccUpgradeSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/GetCccUpgradeSchedule.go.html to see an example of how to use 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
}

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

GetCccUpgradeScheduleResponse wrapper for the GetCccUpgradeSchedule operation

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"`
}

func (GetCccUpgradeScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCccUpgradeScheduleResponse) String

func (response GetCccUpgradeScheduleResponse) String() string

type ListCccInfrastructuresAccessLevelEnum

ListCccInfrastructuresAccessLevelEnum Enum with underlying type: string

type ListCccInfrastructuresAccessLevelEnum string

Set of constants representing the allowable values for ListCccInfrastructuresAccessLevelEnum

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

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

ListCccInfrastructuresRequest wrapper for the ListCccInfrastructures operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/ListCccInfrastructures.go.html to see an example of how to use 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
}

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

ListCccInfrastructuresResponse wrapper for the ListCccInfrastructures operation

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"`
}

func (ListCccInfrastructuresResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCccInfrastructuresResponse) String

func (response ListCccInfrastructuresResponse) String() string

type ListCccInfrastructuresSortByEnum

ListCccInfrastructuresSortByEnum Enum with underlying type: string

type ListCccInfrastructuresSortByEnum string

Set of constants representing the allowable values for ListCccInfrastructuresSortByEnum

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

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

ListCccInfrastructuresSortOrderEnum Enum with underlying type: string

type ListCccInfrastructuresSortOrderEnum string

Set of constants representing the allowable values for ListCccInfrastructuresSortOrderEnum

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

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

ListCccUpgradeSchedulesAccessLevelEnum Enum with underlying type: string

type ListCccUpgradeSchedulesAccessLevelEnum string

Set of constants representing the allowable values for ListCccUpgradeSchedulesAccessLevelEnum

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

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

ListCccUpgradeSchedulesRequest wrapper for the ListCccUpgradeSchedules operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/ListCccUpgradeSchedules.go.html to see an example of how to use 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
}

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

ListCccUpgradeSchedulesResponse wrapper for the ListCccUpgradeSchedules operation

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"`
}

func (ListCccUpgradeSchedulesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCccUpgradeSchedulesResponse) String

func (response ListCccUpgradeSchedulesResponse) String() string

type ListCccUpgradeSchedulesSortByEnum

ListCccUpgradeSchedulesSortByEnum Enum with underlying type: string

type ListCccUpgradeSchedulesSortByEnum string

Set of constants representing the allowable values for ListCccUpgradeSchedulesSortByEnum

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

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

ListCccUpgradeSchedulesSortOrderEnum Enum with underlying type: string

type ListCccUpgradeSchedulesSortOrderEnum string

Set of constants representing the allowable values for ListCccUpgradeSchedulesSortOrderEnum

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

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

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

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"`
}

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

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

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

UpdateCccInfrastructureDetails Updates Compute Cloud@Customer infrastructure configuration details.

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"`
}

func (UpdateCccInfrastructureDetails) String

func (m UpdateCccInfrastructureDetails) String() 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

UpdateCccInfrastructureRequest wrapper for the UpdateCccInfrastructure operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/UpdateCccInfrastructure.go.html to see an example of how to use 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
}

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

UpdateCccInfrastructureResponse wrapper for the UpdateCccInfrastructure operation

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"`
}

func (UpdateCccInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCccInfrastructureResponse) String

func (response UpdateCccInfrastructureResponse) String() string

type UpdateCccScheduleEvent

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

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"`
}

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

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

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"`
}

func (UpdateCccUpgradeScheduleDetails) String

func (m UpdateCccUpgradeScheduleDetails) String() 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

UpdateCccUpgradeScheduleRequest wrapper for the UpdateCccUpgradeSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/computecloudatcustomer/UpdateCccUpgradeSchedule.go.html to see an example of how to use 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
}

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

UpdateCccUpgradeScheduleResponse wrapper for the UpdateCccUpgradeSchedule operation

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"`
}

func (UpdateCccUpgradeScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCccUpgradeScheduleResponse) String

func (response UpdateCccUpgradeScheduleResponse) String() string