core

package
v65.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 43

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues ¶

func GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues() []string

GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues Enumerates the set of values in String for AddDrgRouteDistributionStatementDetailsActionEnum

func GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues ¶

func GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string

GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for AddDrgRouteRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDestinationTypeEnumStringValues ¶

func GetAddSecurityRuleDetailsDestinationTypeEnumStringValues() []string

GetAddSecurityRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDirectionEnumStringValues ¶

func GetAddSecurityRuleDetailsDirectionEnumStringValues() []string

GetAddSecurityRuleDetailsDirectionEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsDirectionEnum

func GetAddSecurityRuleDetailsSourceTypeEnumStringValues ¶

func GetAddSecurityRuleDetailsSourceTypeEnumStringValues() []string

GetAddSecurityRuleDetailsSourceTypeEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsSourceTypeEnum

func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.32.1

func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.32.1

func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶

func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumStringValues ¶

func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdMilanBmPlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum

func GetAppCatalogListingResourceVersionAllowedActionsEnumStringValues ¶

func GetAppCatalogListingResourceVersionAllowedActionsEnumStringValues() []string

GetAppCatalogListingResourceVersionAllowedActionsEnumStringValues Enumerates the set of values in String for AppCatalogListingResourceVersionAllowedActionsEnum

func GetAutotunePolicyAutotuneTypeEnumStringValues ¶ added in v65.18.1

func GetAutotunePolicyAutotuneTypeEnumStringValues() []string

GetAutotunePolicyAutotuneTypeEnumStringValues Enumerates the set of values in String for AutotunePolicyAutotuneTypeEnum

func GetBgpSessionInfoBgpIpv6StateEnumStringValues ¶

func GetBgpSessionInfoBgpIpv6StateEnumStringValues() []string

GetBgpSessionInfoBgpIpv6StateEnumStringValues Enumerates the set of values in String for BgpSessionInfoBgpIpv6StateEnum

func GetBgpSessionInfoBgpStateEnumStringValues ¶

func GetBgpSessionInfoBgpStateEnumStringValues() []string

GetBgpSessionInfoBgpStateEnumStringValues Enumerates the set of values in String for BgpSessionInfoBgpStateEnum

func GetBlockVolumeReplicaLifecycleStateEnumStringValues ¶

func GetBlockVolumeReplicaLifecycleStateEnumStringValues() []string

GetBlockVolumeReplicaLifecycleStateEnumStringValues Enumerates the set of values in String for BlockVolumeReplicaLifecycleStateEnum

func GetBootVolumeAttachmentLifecycleStateEnumStringValues ¶

func GetBootVolumeAttachmentLifecycleStateEnumStringValues() []string

GetBootVolumeAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for BootVolumeAttachmentLifecycleStateEnum

func GetBootVolumeBackupLifecycleStateEnumStringValues ¶

func GetBootVolumeBackupLifecycleStateEnumStringValues() []string

GetBootVolumeBackupLifecycleStateEnumStringValues Enumerates the set of values in String for BootVolumeBackupLifecycleStateEnum

func GetBootVolumeBackupSourceTypeEnumStringValues ¶

func GetBootVolumeBackupSourceTypeEnumStringValues() []string

GetBootVolumeBackupSourceTypeEnumStringValues Enumerates the set of values in String for BootVolumeBackupSourceTypeEnum

func GetBootVolumeBackupTypeEnumStringValues ¶

func GetBootVolumeBackupTypeEnumStringValues() []string

GetBootVolumeBackupTypeEnumStringValues Enumerates the set of values in String for BootVolumeBackupTypeEnum

func GetBootVolumeLifecycleStateEnumStringValues ¶

func GetBootVolumeLifecycleStateEnumStringValues() []string

GetBootVolumeLifecycleStateEnumStringValues Enumerates the set of values in String for BootVolumeLifecycleStateEnum

func GetBootVolumeReplicaLifecycleStateEnumStringValues ¶

func GetBootVolumeReplicaLifecycleStateEnumStringValues() []string

GetBootVolumeReplicaLifecycleStateEnumStringValues Enumerates the set of values in String for BootVolumeReplicaLifecycleStateEnum

func GetByoipRangeLifecycleDetailsEnumStringValues ¶

func GetByoipRangeLifecycleDetailsEnumStringValues() []string

GetByoipRangeLifecycleDetailsEnumStringValues Enumerates the set of values in String for ByoipRangeLifecycleDetailsEnum

func GetByoipRangeLifecycleStateEnumStringValues ¶

func GetByoipRangeLifecycleStateEnumStringValues() []string

GetByoipRangeLifecycleStateEnumStringValues Enumerates the set of values in String for ByoipRangeLifecycleStateEnum

func GetCapacityReportShapeAvailabilityAvailabilityStatusEnumStringValues ¶ added in v65.29.0

func GetCapacityReportShapeAvailabilityAvailabilityStatusEnumStringValues() []string

GetCapacityReportShapeAvailabilityAvailabilityStatusEnumStringValues Enumerates the set of values in String for CapacityReportShapeAvailabilityAvailabilityStatusEnum

func GetCapacitySourceCapacityTypeEnumStringValues ¶ added in v65.53.0

func GetCapacitySourceCapacityTypeEnumStringValues() []string

GetCapacitySourceCapacityTypeEnumStringValues Enumerates the set of values in String for CapacitySourceCapacityTypeEnum

func GetCaptureFilterFilterTypeEnumStringValues ¶ added in v65.3.0

func GetCaptureFilterFilterTypeEnumStringValues() []string

GetCaptureFilterFilterTypeEnumStringValues Enumerates the set of values in String for CaptureFilterFilterTypeEnum

func GetCaptureFilterLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetCaptureFilterLifecycleStateEnumStringValues() []string

GetCaptureFilterLifecycleStateEnumStringValues Enumerates the set of values in String for CaptureFilterLifecycleStateEnum

func GetClusterNetworkLifecycleStateEnumStringValues ¶

func GetClusterNetworkLifecycleStateEnumStringValues() []string

GetClusterNetworkLifecycleStateEnumStringValues Enumerates the set of values in String for ClusterNetworkLifecycleStateEnum

func GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumStringValues ¶ added in v65.47.1

func GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumStringValues() []string

GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumStringValues Enumerates the set of values in String for ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum

func GetClusterNetworkSummaryLifecycleStateEnumStringValues ¶

func GetClusterNetworkSummaryLifecycleStateEnumStringValues() []string

GetClusterNetworkSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ClusterNetworkSummaryLifecycleStateEnum

func GetComputeBareMetalHostLifecycleDetailsEnumStringValues ¶ added in v65.53.0

func GetComputeBareMetalHostLifecycleDetailsEnumStringValues() []string

GetComputeBareMetalHostLifecycleDetailsEnumStringValues Enumerates the set of values in String for ComputeBareMetalHostLifecycleDetailsEnum

func GetComputeBareMetalHostLifecycleStateEnumStringValues ¶ added in v65.53.0

func GetComputeBareMetalHostLifecycleStateEnumStringValues() []string

GetComputeBareMetalHostLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeBareMetalHostLifecycleStateEnum

func GetComputeCapacityReservationLifecycleStateEnumStringValues ¶

func GetComputeCapacityReservationLifecycleStateEnumStringValues() []string

GetComputeCapacityReservationLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeCapacityReservationLifecycleStateEnum

func GetComputeCapacityTopologyLifecycleStateEnumStringValues ¶ added in v65.53.0

func GetComputeCapacityTopologyLifecycleStateEnumStringValues() []string

GetComputeCapacityTopologyLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeCapacityTopologyLifecycleStateEnum

func GetComputeClusterLifecycleStateEnumStringValues ¶ added in v65.33.1

func GetComputeClusterLifecycleStateEnumStringValues() []string

GetComputeClusterLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeClusterLifecycleStateEnum

func GetComputeHpcIslandLifecycleStateEnumStringValues ¶ added in v65.53.0

func GetComputeHpcIslandLifecycleStateEnumStringValues() []string

GetComputeHpcIslandLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeHpcIslandLifecycleStateEnum

func GetComputeNetworkBlockLifecycleStateEnumStringValues ¶ added in v65.53.0

func GetComputeNetworkBlockLifecycleStateEnumStringValues() []string

GetComputeNetworkBlockLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeNetworkBlockLifecycleStateEnum

func GetConsoleHistoryLifecycleStateEnumStringValues ¶

func GetConsoleHistoryLifecycleStateEnumStringValues() []string

GetConsoleHistoryLifecycleStateEnumStringValues Enumerates the set of values in String for ConsoleHistoryLifecycleStateEnum

func GetCreateBootVolumeBackupDetailsTypeEnumStringValues ¶

func GetCreateBootVolumeBackupDetailsTypeEnumStringValues() []string

GetCreateBootVolumeBackupDetailsTypeEnumStringValues Enumerates the set of values in String for CreateBootVolumeBackupDetailsTypeEnum

func GetCreateCaptureFilterDetailsFilterTypeEnumStringValues ¶ added in v65.3.0

func GetCreateCaptureFilterDetailsFilterTypeEnumStringValues() []string

GetCreateCaptureFilterDetailsFilterTypeEnumStringValues Enumerates the set of values in String for CreateCaptureFilterDetailsFilterTypeEnum

func GetCreateDhcpDetailsDomainNameTypeEnumStringValues ¶

func GetCreateDhcpDetailsDomainNameTypeEnumStringValues() []string

GetCreateDhcpDetailsDomainNameTypeEnumStringValues Enumerates the set of values in String for CreateDhcpDetailsDomainNameTypeEnum

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues ¶

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues() []string

GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues Enumerates the set of values in String for CreateDrgRouteDistributionDetailsDistributionTypeEnum

func GetCreateImageDetailsLaunchModeEnumStringValues ¶

func GetCreateImageDetailsLaunchModeEnumStringValues() []string

GetCreateImageDetailsLaunchModeEnumStringValues Enumerates the set of values in String for CreateImageDetailsLaunchModeEnum

func GetCreateInstanceConfigurationBaseSourceEnumStringValues ¶

func GetCreateInstanceConfigurationBaseSourceEnumStringValues() []string

GetCreateInstanceConfigurationBaseSourceEnumStringValues Enumerates the set of values in String for CreateInstanceConfigurationBaseSourceEnum

func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues ¶

func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues() []string

GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues ¶

func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues() []string

GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsIkeVersionEnum

func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues ¶

func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues() []string

GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues ¶

func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues() []string

GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum

func GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues ¶

func GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues() []string

GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsRoutingEnum

func GetCreatePublicIpDetailsLifetimeEnumStringValues ¶

func GetCreatePublicIpDetailsLifetimeEnumStringValues() []string

GetCreatePublicIpDetailsLifetimeEnumStringValues Enumerates the set of values in String for CreatePublicIpDetailsLifetimeEnum

func GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues ¶

func GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues() []string

GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsBgpAdminStateEnum

func GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues ¶

func GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues() []string

GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsRoutingPolicyEnum

func GetCreateVirtualCircuitDetailsTypeEnumStringValues ¶

func GetCreateVirtualCircuitDetailsTypeEnumStringValues() []string

GetCreateVirtualCircuitDetailsTypeEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsTypeEnum

func GetCreateVolumeBackupDetailsTypeEnumStringValues ¶

func GetCreateVolumeBackupDetailsTypeEnumStringValues() []string

GetCreateVolumeBackupDetailsTypeEnumStringValues Enumerates the set of values in String for CreateVolumeBackupDetailsTypeEnum

func GetCreateVolumeGroupBackupDetailsTypeEnumStringValues ¶

func GetCreateVolumeGroupBackupDetailsTypeEnumStringValues() []string

GetCreateVolumeGroupBackupDetailsTypeEnumStringValues Enumerates the set of values in String for CreateVolumeGroupBackupDetailsTypeEnum

func GetCreateVtapDetailsEncapsulationProtocolEnumStringValues ¶ added in v65.3.0

func GetCreateVtapDetailsEncapsulationProtocolEnumStringValues() []string

GetCreateVtapDetailsEncapsulationProtocolEnumStringValues Enumerates the set of values in String for CreateVtapDetailsEncapsulationProtocolEnum

func GetCreateVtapDetailsSourceTypeEnumStringValues ¶ added in v65.3.0

func GetCreateVtapDetailsSourceTypeEnumStringValues() []string

GetCreateVtapDetailsSourceTypeEnumStringValues Enumerates the set of values in String for CreateVtapDetailsSourceTypeEnum

func GetCreateVtapDetailsTargetTypeEnumStringValues ¶ added in v65.3.0

func GetCreateVtapDetailsTargetTypeEnumStringValues() []string

GetCreateVtapDetailsTargetTypeEnumStringValues Enumerates the set of values in String for CreateVtapDetailsTargetTypeEnum

func GetCreateVtapDetailsTrafficModeEnumStringValues ¶ added in v65.3.0

func GetCreateVtapDetailsTrafficModeEnumStringValues() []string

GetCreateVtapDetailsTrafficModeEnumStringValues Enumerates the set of values in String for CreateVtapDetailsTrafficModeEnum

func GetCrossConnectGroupLifecycleStateEnumStringValues ¶

func GetCrossConnectGroupLifecycleStateEnumStringValues() []string

GetCrossConnectGroupLifecycleStateEnumStringValues Enumerates the set of values in String for CrossConnectGroupLifecycleStateEnum

func GetCrossConnectLifecycleStateEnumStringValues ¶

func GetCrossConnectLifecycleStateEnumStringValues() []string

GetCrossConnectLifecycleStateEnumStringValues Enumerates the set of values in String for CrossConnectLifecycleStateEnum

func GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues ¶

func GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues() []string

GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues Enumerates the set of values in String for CrossConnectMappingDetailsIpv4BgpStatusEnum

func GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues ¶

func GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues() []string

GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues Enumerates the set of values in String for CrossConnectMappingDetailsIpv6BgpStatusEnum

func GetCrossConnectStatusEncryptionStatusEnumStringValues ¶

func GetCrossConnectStatusEncryptionStatusEnumStringValues() []string

GetCrossConnectStatusEncryptionStatusEnumStringValues Enumerates the set of values in String for CrossConnectStatusEncryptionStatusEnum

func GetCrossConnectStatusInterfaceStateEnumStringValues ¶

func GetCrossConnectStatusInterfaceStateEnumStringValues() []string

GetCrossConnectStatusInterfaceStateEnumStringValues Enumerates the set of values in String for CrossConnectStatusInterfaceStateEnum

func GetCrossConnectStatusLightLevelIndicatorEnumStringValues ¶

func GetCrossConnectStatusLightLevelIndicatorEnumStringValues() []string

GetCrossConnectStatusLightLevelIndicatorEnumStringValues Enumerates the set of values in String for CrossConnectStatusLightLevelIndicatorEnum

func GetDedicatedVmHostLifecycleStateEnumStringValues ¶

func GetDedicatedVmHostLifecycleStateEnumStringValues() []string

GetDedicatedVmHostLifecycleStateEnumStringValues Enumerates the set of values in String for DedicatedVmHostLifecycleStateEnum

func GetDedicatedVmHostSummaryLifecycleStateEnumStringValues ¶

func GetDedicatedVmHostSummaryLifecycleStateEnumStringValues() []string

GetDedicatedVmHostSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for DedicatedVmHostSummaryLifecycleStateEnum

func GetDhcpDnsOptionServerTypeEnumStringValues ¶

func GetDhcpDnsOptionServerTypeEnumStringValues() []string

GetDhcpDnsOptionServerTypeEnumStringValues Enumerates the set of values in String for DhcpDnsOptionServerTypeEnum

func GetDhcpOptionsDomainNameTypeEnumStringValues ¶

func GetDhcpOptionsDomainNameTypeEnumStringValues() []string

GetDhcpOptionsDomainNameTypeEnumStringValues Enumerates the set of values in String for DhcpOptionsDomainNameTypeEnum

func GetDhcpOptionsLifecycleStateEnumStringValues ¶

func GetDhcpOptionsLifecycleStateEnumStringValues() []string

GetDhcpOptionsLifecycleStateEnumStringValues Enumerates the set of values in String for DhcpOptionsLifecycleStateEnum

func GetDpdConfigDpdModeEnumStringValues ¶

func GetDpdConfigDpdModeEnumStringValues() []string

GetDpdConfigDpdModeEnumStringValues Enumerates the set of values in String for DpdConfigDpdModeEnum

func GetDrgAttachmentLifecycleStateEnumStringValues ¶

func GetDrgAttachmentLifecycleStateEnumStringValues() []string

GetDrgAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for DrgAttachmentLifecycleStateEnum

func GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues ¶

func GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues() []string

GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkCreateDetailsTypeEnum

func GetDrgAttachmentNetworkDetailsTypeEnumStringValues ¶

func GetDrgAttachmentNetworkDetailsTypeEnumStringValues() []string

GetDrgAttachmentNetworkDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkDetailsTypeEnum

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues ¶

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues() []string

GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkUpdateDetailsTypeEnum

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues ¶

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues() []string

GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

func GetDrgLifecycleStateEnumStringValues ¶

func GetDrgLifecycleStateEnumStringValues() []string

GetDrgLifecycleStateEnumStringValues Enumerates the set of values in String for DrgLifecycleStateEnum

func GetDrgRedundancyStatusStatusEnumStringValues ¶

func GetDrgRedundancyStatusStatusEnumStringValues() []string

GetDrgRedundancyStatusStatusEnumStringValues Enumerates the set of values in String for DrgRedundancyStatusStatusEnum

func GetDrgRouteDistributionDistributionTypeEnumStringValues ¶

func GetDrgRouteDistributionDistributionTypeEnumStringValues() []string

GetDrgRouteDistributionDistributionTypeEnumStringValues Enumerates the set of values in String for DrgRouteDistributionDistributionTypeEnum

func GetDrgRouteDistributionLifecycleStateEnumStringValues ¶

func GetDrgRouteDistributionLifecycleStateEnumStringValues() []string

GetDrgRouteDistributionLifecycleStateEnumStringValues Enumerates the set of values in String for DrgRouteDistributionLifecycleStateEnum

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues ¶

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues() []string

GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues Enumerates the set of values in String for DrgRouteDistributionMatchCriteriaMatchTypeEnum

func GetDrgRouteDistributionStatementActionEnumStringValues ¶

func GetDrgRouteDistributionStatementActionEnumStringValues() []string

GetDrgRouteDistributionStatementActionEnumStringValues Enumerates the set of values in String for DrgRouteDistributionStatementActionEnum

func GetDrgRouteRuleDestinationTypeEnumStringValues ¶

func GetDrgRouteRuleDestinationTypeEnumStringValues() []string

GetDrgRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for DrgRouteRuleDestinationTypeEnum

func GetDrgRouteRuleRouteProvenanceEnumStringValues ¶

func GetDrgRouteRuleRouteProvenanceEnumStringValues() []string

GetDrgRouteRuleRouteProvenanceEnumStringValues Enumerates the set of values in String for DrgRouteRuleRouteProvenanceEnum

func GetDrgRouteRuleRouteTypeEnumStringValues ¶

func GetDrgRouteRuleRouteTypeEnumStringValues() []string

GetDrgRouteRuleRouteTypeEnumStringValues Enumerates the set of values in String for DrgRouteRuleRouteTypeEnum

func GetDrgRouteTableLifecycleStateEnumStringValues ¶

func GetDrgRouteTableLifecycleStateEnumStringValues() []string

GetDrgRouteTableLifecycleStateEnumStringValues Enumerates the set of values in String for DrgRouteTableLifecycleStateEnum

func GetEgressSecurityRuleDestinationTypeEnumStringValues ¶

func GetEgressSecurityRuleDestinationTypeEnumStringValues() []string

GetEgressSecurityRuleDestinationTypeEnumStringValues Enumerates the set of values in String for EgressSecurityRuleDestinationTypeEnum

func GetEncryptionInTransitTypeEnumStringValues ¶

func GetEncryptionInTransitTypeEnumStringValues() []string

GetEncryptionInTransitTypeEnumStringValues Enumerates the set of values in String for EncryptionInTransitTypeEnum

func GetExportImageDetailsExportFormatEnumStringValues ¶

func GetExportImageDetailsExportFormatEnumStringValues() []string

GetExportImageDetailsExportFormatEnumStringValues Enumerates the set of values in String for ExportImageDetailsExportFormatEnum

func GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues ¶

func GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues() []string

GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceBandwithShapeManagementEnum

func GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues ¶

func GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues() []string

GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceCustomerAsnManagementEnum

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues ¶

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues() []string

GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServicePrivatePeeringBgpManagementEnum

func GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues ¶

func GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues() []string

GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceProviderServiceKeyManagementEnum

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues ¶

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues() []string

GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServicePublicPeeringBgpManagementEnum

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues ¶

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues() []string

GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

func GetFastConnectProviderServiceTypeEnumStringValues ¶

func GetFastConnectProviderServiceTypeEnumStringValues() []string

GetFastConnectProviderServiceTypeEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceTypeEnum

func GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumStringValues ¶ added in v65.49.4

func GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumStringValues() []string

GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumStringValues Enumerates the set of values in String for FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum

func GetFlowLogCaptureFilterRuleDetailsRuleActionEnumStringValues ¶ added in v65.49.4

func GetFlowLogCaptureFilterRuleDetailsRuleActionEnumStringValues() []string

GetFlowLogCaptureFilterRuleDetailsRuleActionEnumStringValues Enumerates the set of values in String for FlowLogCaptureFilterRuleDetailsRuleActionEnum

func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.48.0

func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.48.0

func GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for GenericBmPlatformConfigNumaNodesPerSocketEnum

func GetGetAllDrgAttachmentsAttachmentTypeEnumStringValues ¶

func GetGetAllDrgAttachmentsAttachmentTypeEnumStringValues() []string

GetGetAllDrgAttachmentsAttachmentTypeEnumStringValues Enumerates the set of values in String for GetAllDrgAttachmentsAttachmentTypeEnum

func GetGetNetworkingTopologyAccessLevelEnumStringValues ¶

func GetGetNetworkingTopologyAccessLevelEnumStringValues() []string

GetGetNetworkingTopologyAccessLevelEnumStringValues Enumerates the set of values in String for GetNetworkingTopologyAccessLevelEnum

func GetGetSubnetTopologyAccessLevelEnumStringValues ¶

func GetGetSubnetTopologyAccessLevelEnumStringValues() []string

GetGetSubnetTopologyAccessLevelEnumStringValues Enumerates the set of values in String for GetSubnetTopologyAccessLevelEnum

func GetGetVcnTopologyAccessLevelEnumStringValues ¶

func GetGetVcnTopologyAccessLevelEnumStringValues() []string

GetGetVcnTopologyAccessLevelEnumStringValues Enumerates the set of values in String for GetVcnTopologyAccessLevelEnum

func GetImageCapabilitySchemaDescriptorSourceEnumStringValues ¶

func GetImageCapabilitySchemaDescriptorSourceEnumStringValues() []string

GetImageCapabilitySchemaDescriptorSourceEnumStringValues Enumerates the set of values in String for ImageCapabilitySchemaDescriptorSourceEnum

func GetImageLaunchModeEnumStringValues ¶

func GetImageLaunchModeEnumStringValues() []string

GetImageLaunchModeEnumStringValues Enumerates the set of values in String for ImageLaunchModeEnum

func GetImageLifecycleStateEnumStringValues ¶

func GetImageLifecycleStateEnumStringValues() []string

GetImageLifecycleStateEnumStringValues Enumerates the set of values in String for ImageLifecycleStateEnum

func GetImageListingTypeEnumStringValues ¶

func GetImageListingTypeEnumStringValues() []string

GetImageListingTypeEnumStringValues Enumerates the set of values in String for ImageListingTypeEnum

func GetImageSourceDetailsSourceImageTypeEnumStringValues ¶

func GetImageSourceDetailsSourceImageTypeEnumStringValues() []string

GetImageSourceDetailsSourceImageTypeEnumStringValues Enumerates the set of values in String for ImageSourceDetailsSourceImageTypeEnum

func GetIngressSecurityRuleSourceTypeEnumStringValues ¶

func GetIngressSecurityRuleSourceTypeEnumStringValues() []string

GetIngressSecurityRuleSourceTypeEnumStringValues Enumerates the set of values in String for IngressSecurityRuleSourceTypeEnum

func GetInstanceActionActionEnumStringValues ¶

func GetInstanceActionActionEnumStringValues() []string

GetInstanceActionActionEnumStringValues Enumerates the set of values in String for InstanceActionActionEnum

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues ¶

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues() []string

GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues Enumerates the set of values in String for InstanceAgentPluginConfigDetailsDesiredStateEnum

func GetInstanceAvailabilityConfigRecoveryActionEnumStringValues ¶

func GetInstanceAvailabilityConfigRecoveryActionEnumStringValues() []string

GetInstanceAvailabilityConfigRecoveryActionEnumStringValues Enumerates the set of values in String for InstanceAvailabilityConfigRecoveryActionEnum

func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.32.1

func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶

func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumStringValues ¶ added in v65.18.1

func GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumStringValues() []string

GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumStringValues Enumerates the set of values in String for InstanceConfigurationAutotunePolicyAutotuneTypeEnum

func GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumStringValues ¶

func GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumStringValues() []string

GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumStringValues Enumerates the set of values in String for InstanceConfigurationAvailabilityConfigRecoveryActionEnum

func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.48.0

func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.48.0

func GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumStringValues ¶

func GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumStringValues() []string

GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum

func GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues ¶

func GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues() []string

GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum

func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumStringValues ¶

func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumStringValues() []string

GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum

func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues ¶

func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues() []string

GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumStringValues ¶

func GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumStringValues() []string

GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchOptionsBootVolumeTypeEnum

func GetInstanceConfigurationLaunchOptionsFirmwareEnumStringValues ¶

func GetInstanceConfigurationLaunchOptionsFirmwareEnumStringValues() []string

GetInstanceConfigurationLaunchOptionsFirmwareEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchOptionsFirmwareEnum

func GetInstanceConfigurationLaunchOptionsNetworkTypeEnumStringValues ¶

func GetInstanceConfigurationLaunchOptionsNetworkTypeEnumStringValues() []string

GetInstanceConfigurationLaunchOptionsNetworkTypeEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchOptionsNetworkTypeEnum

func GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumStringValues ¶

func GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumStringValues() []string

GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum

func GetInstanceConsoleConnectionLifecycleStateEnumStringValues ¶

func GetInstanceConsoleConnectionLifecycleStateEnumStringValues() []string

GetInstanceConsoleConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for InstanceConsoleConnectionLifecycleStateEnum

func GetInstanceLaunchModeEnumStringValues ¶

func GetInstanceLaunchModeEnumStringValues() []string

GetInstanceLaunchModeEnumStringValues Enumerates the set of values in String for InstanceLaunchModeEnum

func GetInstanceLifecycleStateEnumStringValues ¶

func GetInstanceLifecycleStateEnumStringValues() []string

GetInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for InstanceLifecycleStateEnum

func GetInstancePoolInstanceLifecycleStateEnumStringValues ¶

func GetInstancePoolInstanceLifecycleStateEnumStringValues() []string

GetInstancePoolInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for InstancePoolInstanceLifecycleStateEnum

func GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumStringValues ¶

func GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumStringValues() []string

GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumStringValues Enumerates the set of values in String for InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum

func GetInstancePoolLifecycleStateEnumStringValues ¶

func GetInstancePoolLifecycleStateEnumStringValues() []string

GetInstancePoolLifecycleStateEnumStringValues Enumerates the set of values in String for InstancePoolLifecycleStateEnum

func GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumStringValues ¶

func GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumStringValues() []string

GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for InstancePoolLoadBalancerAttachmentLifecycleStateEnum

func GetInstancePoolSummaryLifecycleStateEnumStringValues ¶

func GetInstancePoolSummaryLifecycleStateEnumStringValues() []string

GetInstancePoolSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for InstancePoolSummaryLifecycleStateEnum

func GetInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues ¶

func GetInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues() []string

GetInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues Enumerates the set of values in String for InstanceShapeConfigBaselineOcpuUtilizationEnum

func GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.4.0

func GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum

func GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.48.0

func GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumStringValues ¶ added in v65.48.0

func GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string

GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum

func GetInternetGatewayLifecycleStateEnumStringValues ¶

func GetInternetGatewayLifecycleStateEnumStringValues() []string

GetInternetGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for InternetGatewayLifecycleStateEnum

func GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues ¶

func GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues() []string

GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues Enumerates the set of values in String for IpSecConnectionCpeLocalIdentifierTypeEnum

func GetIpSecConnectionLifecycleStateEnumStringValues ¶

func GetIpSecConnectionLifecycleStateEnumStringValues() []string

GetIpSecConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for IpSecConnectionLifecycleStateEnum

func GetIpSecConnectionTransportTypeEnumStringValues ¶ added in v65.48.0

func GetIpSecConnectionTransportTypeEnumStringValues() []string

GetIpSecConnectionTransportTypeEnumStringValues Enumerates the set of values in String for IpSecConnectionTransportTypeEnum

func GetIpSecConnectionTunnelDpdModeEnumStringValues ¶

func GetIpSecConnectionTunnelDpdModeEnumStringValues() []string

GetIpSecConnectionTunnelDpdModeEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelDpdModeEnum

func GetIpSecConnectionTunnelIkeVersionEnumStringValues ¶

func GetIpSecConnectionTunnelIkeVersionEnumStringValues() []string

GetIpSecConnectionTunnelIkeVersionEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelIkeVersionEnum

func GetIpSecConnectionTunnelLifecycleStateEnumStringValues ¶

func GetIpSecConnectionTunnelLifecycleStateEnumStringValues() []string

GetIpSecConnectionTunnelLifecycleStateEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelLifecycleStateEnum

func GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues ¶

func GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues() []string

GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelNatTranslationEnabledEnum

func GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues ¶

func GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues() []string

GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelOracleCanInitiateEnum

func GetIpSecConnectionTunnelRoutingEnumStringValues ¶

func GetIpSecConnectionTunnelRoutingEnumStringValues() []string

GetIpSecConnectionTunnelRoutingEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelRoutingEnum

func GetIpSecConnectionTunnelStatusEnumStringValues ¶

func GetIpSecConnectionTunnelStatusEnumStringValues() []string

GetIpSecConnectionTunnelStatusEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelStatusEnum

func GetIpv6LifecycleStateEnumStringValues ¶

func GetIpv6LifecycleStateEnumStringValues() []string

GetIpv6LifecycleStateEnumStringValues Enumerates the set of values in String for Ipv6LifecycleStateEnum

func GetLaunchCreateVolumeDetailsVolumeCreationTypeEnumStringValues ¶ added in v65.60.0

func GetLaunchCreateVolumeDetailsVolumeCreationTypeEnumStringValues() []string

GetLaunchCreateVolumeDetailsVolumeCreationTypeEnumStringValues Enumerates the set of values in String for LaunchCreateVolumeDetailsVolumeCreationTypeEnum

func GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues ¶

func GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues() []string

GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues Enumerates the set of values in String for LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum

func GetLaunchInstancePlatformConfigTypeEnumStringValues ¶

func GetLaunchInstancePlatformConfigTypeEnumStringValues() []string

GetLaunchInstancePlatformConfigTypeEnumStringValues Enumerates the set of values in String for LaunchInstancePlatformConfigTypeEnum

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues ¶

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues() []string

GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues Enumerates the set of values in String for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetLaunchOptionsBootVolumeTypeEnumStringValues ¶

func GetLaunchOptionsBootVolumeTypeEnumStringValues() []string

GetLaunchOptionsBootVolumeTypeEnumStringValues Enumerates the set of values in String for LaunchOptionsBootVolumeTypeEnum

func GetLaunchOptionsFirmwareEnumStringValues ¶

func GetLaunchOptionsFirmwareEnumStringValues() []string

GetLaunchOptionsFirmwareEnumStringValues Enumerates the set of values in String for LaunchOptionsFirmwareEnum

func GetLaunchOptionsNetworkTypeEnumStringValues ¶

func GetLaunchOptionsNetworkTypeEnumStringValues() []string

GetLaunchOptionsNetworkTypeEnumStringValues Enumerates the set of values in String for LaunchOptionsNetworkTypeEnum

func GetLaunchOptionsRemoteDataVolumeTypeEnumStringValues ¶

func GetLaunchOptionsRemoteDataVolumeTypeEnumStringValues() []string

GetLaunchOptionsRemoteDataVolumeTypeEnumStringValues Enumerates the set of values in String for LaunchOptionsRemoteDataVolumeTypeEnum

func GetLetterOfAuthorityCircuitTypeEnumStringValues ¶

func GetLetterOfAuthorityCircuitTypeEnumStringValues() []string

GetLetterOfAuthorityCircuitTypeEnumStringValues Enumerates the set of values in String for LetterOfAuthorityCircuitTypeEnum

func GetListAppCatalogListingResourceVersionsSortOrderEnumStringValues ¶

func GetListAppCatalogListingResourceVersionsSortOrderEnumStringValues() []string

GetListAppCatalogListingResourceVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListAppCatalogListingResourceVersionsSortOrderEnum

func GetListAppCatalogListingsSortOrderEnumStringValues ¶

func GetListAppCatalogListingsSortOrderEnumStringValues() []string

GetListAppCatalogListingsSortOrderEnumStringValues Enumerates the set of values in String for ListAppCatalogListingsSortOrderEnum

func GetListAppCatalogSubscriptionsSortByEnumStringValues ¶

func GetListAppCatalogSubscriptionsSortByEnumStringValues() []string

GetListAppCatalogSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListAppCatalogSubscriptionsSortByEnum

func GetListAppCatalogSubscriptionsSortOrderEnumStringValues ¶

func GetListAppCatalogSubscriptionsSortOrderEnumStringValues() []string

GetListAppCatalogSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListAppCatalogSubscriptionsSortOrderEnum

func GetListBlockVolumeReplicasSortByEnumStringValues ¶

func GetListBlockVolumeReplicasSortByEnumStringValues() []string

GetListBlockVolumeReplicasSortByEnumStringValues Enumerates the set of values in String for ListBlockVolumeReplicasSortByEnum

func GetListBlockVolumeReplicasSortOrderEnumStringValues ¶

func GetListBlockVolumeReplicasSortOrderEnumStringValues() []string

GetListBlockVolumeReplicasSortOrderEnumStringValues Enumerates the set of values in String for ListBlockVolumeReplicasSortOrderEnum

func GetListBootVolumeBackupsSortByEnumStringValues ¶

func GetListBootVolumeBackupsSortByEnumStringValues() []string

GetListBootVolumeBackupsSortByEnumStringValues Enumerates the set of values in String for ListBootVolumeBackupsSortByEnum

func GetListBootVolumeBackupsSortOrderEnumStringValues ¶

func GetListBootVolumeBackupsSortOrderEnumStringValues() []string

GetListBootVolumeBackupsSortOrderEnumStringValues Enumerates the set of values in String for ListBootVolumeBackupsSortOrderEnum

func GetListBootVolumeReplicasSortByEnumStringValues ¶

func GetListBootVolumeReplicasSortByEnumStringValues() []string

GetListBootVolumeReplicasSortByEnumStringValues Enumerates the set of values in String for ListBootVolumeReplicasSortByEnum

func GetListBootVolumeReplicasSortOrderEnumStringValues ¶

func GetListBootVolumeReplicasSortOrderEnumStringValues() []string

GetListBootVolumeReplicasSortOrderEnumStringValues Enumerates the set of values in String for ListBootVolumeReplicasSortOrderEnum

func GetListByoipRangesSortByEnumStringValues ¶

func GetListByoipRangesSortByEnumStringValues() []string

GetListByoipRangesSortByEnumStringValues Enumerates the set of values in String for ListByoipRangesSortByEnum

func GetListByoipRangesSortOrderEnumStringValues ¶

func GetListByoipRangesSortOrderEnumStringValues() []string

GetListByoipRangesSortOrderEnumStringValues Enumerates the set of values in String for ListByoipRangesSortOrderEnum

func GetListCaptureFiltersSortByEnumStringValues ¶ added in v65.3.0

func GetListCaptureFiltersSortByEnumStringValues() []string

GetListCaptureFiltersSortByEnumStringValues Enumerates the set of values in String for ListCaptureFiltersSortByEnum

func GetListCaptureFiltersSortOrderEnumStringValues ¶ added in v65.3.0

func GetListCaptureFiltersSortOrderEnumStringValues() []string

GetListCaptureFiltersSortOrderEnumStringValues Enumerates the set of values in String for ListCaptureFiltersSortOrderEnum

func GetListClusterNetworkInstancesSortByEnumStringValues ¶

func GetListClusterNetworkInstancesSortByEnumStringValues() []string

GetListClusterNetworkInstancesSortByEnumStringValues Enumerates the set of values in String for ListClusterNetworkInstancesSortByEnum

func GetListClusterNetworkInstancesSortOrderEnumStringValues ¶

func GetListClusterNetworkInstancesSortOrderEnumStringValues() []string

GetListClusterNetworkInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListClusterNetworkInstancesSortOrderEnum

func GetListClusterNetworksSortByEnumStringValues ¶

func GetListClusterNetworksSortByEnumStringValues() []string

GetListClusterNetworksSortByEnumStringValues Enumerates the set of values in String for ListClusterNetworksSortByEnum

func GetListClusterNetworksSortOrderEnumStringValues ¶

func GetListClusterNetworksSortOrderEnumStringValues() []string

GetListClusterNetworksSortOrderEnumStringValues Enumerates the set of values in String for ListClusterNetworksSortOrderEnum

func GetListComputeCapacityReservationInstanceShapesSortByEnumStringValues ¶

func GetListComputeCapacityReservationInstanceShapesSortByEnumStringValues() []string

GetListComputeCapacityReservationInstanceShapesSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityReservationInstanceShapesSortByEnum

func GetListComputeCapacityReservationInstanceShapesSortOrderEnumStringValues ¶

func GetListComputeCapacityReservationInstanceShapesSortOrderEnumStringValues() []string

GetListComputeCapacityReservationInstanceShapesSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityReservationInstanceShapesSortOrderEnum

func GetListComputeCapacityReservationInstancesSortByEnumStringValues ¶

func GetListComputeCapacityReservationInstancesSortByEnumStringValues() []string

GetListComputeCapacityReservationInstancesSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityReservationInstancesSortByEnum

func GetListComputeCapacityReservationInstancesSortOrderEnumStringValues ¶

func GetListComputeCapacityReservationInstancesSortOrderEnumStringValues() []string

GetListComputeCapacityReservationInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityReservationInstancesSortOrderEnum

func GetListComputeCapacityReservationsSortByEnumStringValues ¶

func GetListComputeCapacityReservationsSortByEnumStringValues() []string

GetListComputeCapacityReservationsSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityReservationsSortByEnum

func GetListComputeCapacityReservationsSortOrderEnumStringValues ¶

func GetListComputeCapacityReservationsSortOrderEnumStringValues() []string

GetListComputeCapacityReservationsSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityReservationsSortOrderEnum

func GetListComputeCapacityTopologiesSortByEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologiesSortByEnumStringValues() []string

GetListComputeCapacityTopologiesSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologiesSortByEnum

func GetListComputeCapacityTopologiesSortOrderEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologiesSortOrderEnumStringValues() []string

GetListComputeCapacityTopologiesSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologiesSortOrderEnum

func GetListComputeCapacityTopologyComputeBareMetalHostsSortByEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeBareMetalHostsSortByEnumStringValues() []string

GetListComputeCapacityTopologyComputeBareMetalHostsSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum

func GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumStringValues() []string

GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum

func GetListComputeCapacityTopologyComputeHpcIslandsSortByEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeHpcIslandsSortByEnumStringValues() []string

GetListComputeCapacityTopologyComputeHpcIslandsSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologyComputeHpcIslandsSortByEnum

func GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumStringValues() []string

GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum

func GetListComputeCapacityTopologyComputeNetworkBlocksSortByEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeNetworkBlocksSortByEnumStringValues() []string

GetListComputeCapacityTopologyComputeNetworkBlocksSortByEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum

func GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumStringValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumStringValues() []string

GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumStringValues Enumerates the set of values in String for ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum

func GetListComputeClustersSortByEnumStringValues ¶ added in v65.33.1

func GetListComputeClustersSortByEnumStringValues() []string

GetListComputeClustersSortByEnumStringValues Enumerates the set of values in String for ListComputeClustersSortByEnum

func GetListComputeClustersSortOrderEnumStringValues ¶ added in v65.33.1

func GetListComputeClustersSortOrderEnumStringValues() []string

GetListComputeClustersSortOrderEnumStringValues Enumerates the set of values in String for ListComputeClustersSortOrderEnum

func GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumStringValues ¶

func GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumStringValues() []string

GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumStringValues Enumerates the set of values in String for ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum

func GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumStringValues ¶

func GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumStringValues() []string

GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumStringValues Enumerates the set of values in String for ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum

func GetListComputeGlobalImageCapabilitySchemasSortByEnumStringValues ¶

func GetListComputeGlobalImageCapabilitySchemasSortByEnumStringValues() []string

GetListComputeGlobalImageCapabilitySchemasSortByEnumStringValues Enumerates the set of values in String for ListComputeGlobalImageCapabilitySchemasSortByEnum

func GetListComputeGlobalImageCapabilitySchemasSortOrderEnumStringValues ¶

func GetListComputeGlobalImageCapabilitySchemasSortOrderEnumStringValues() []string

GetListComputeGlobalImageCapabilitySchemasSortOrderEnumStringValues Enumerates the set of values in String for ListComputeGlobalImageCapabilitySchemasSortOrderEnum

func GetListComputeImageCapabilitySchemasSortByEnumStringValues ¶

func GetListComputeImageCapabilitySchemasSortByEnumStringValues() []string

GetListComputeImageCapabilitySchemasSortByEnumStringValues Enumerates the set of values in String for ListComputeImageCapabilitySchemasSortByEnum

func GetListComputeImageCapabilitySchemasSortOrderEnumStringValues ¶

func GetListComputeImageCapabilitySchemasSortOrderEnumStringValues() []string

GetListComputeImageCapabilitySchemasSortOrderEnumStringValues Enumerates the set of values in String for ListComputeImageCapabilitySchemasSortOrderEnum

func GetListConsoleHistoriesSortByEnumStringValues ¶

func GetListConsoleHistoriesSortByEnumStringValues() []string

GetListConsoleHistoriesSortByEnumStringValues Enumerates the set of values in String for ListConsoleHistoriesSortByEnum

func GetListConsoleHistoriesSortOrderEnumStringValues ¶

func GetListConsoleHistoriesSortOrderEnumStringValues() []string

GetListConsoleHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListConsoleHistoriesSortOrderEnum

func GetListCrossConnectGroupsSortByEnumStringValues ¶

func GetListCrossConnectGroupsSortByEnumStringValues() []string

GetListCrossConnectGroupsSortByEnumStringValues Enumerates the set of values in String for ListCrossConnectGroupsSortByEnum

func GetListCrossConnectGroupsSortOrderEnumStringValues ¶

func GetListCrossConnectGroupsSortOrderEnumStringValues() []string

GetListCrossConnectGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListCrossConnectGroupsSortOrderEnum

func GetListCrossConnectsSortByEnumStringValues ¶

func GetListCrossConnectsSortByEnumStringValues() []string

GetListCrossConnectsSortByEnumStringValues Enumerates the set of values in String for ListCrossConnectsSortByEnum

func GetListCrossConnectsSortOrderEnumStringValues ¶

func GetListCrossConnectsSortOrderEnumStringValues() []string

GetListCrossConnectsSortOrderEnumStringValues Enumerates the set of values in String for ListCrossConnectsSortOrderEnum

func GetListDedicatedVmHostInstancesSortByEnumStringValues ¶

func GetListDedicatedVmHostInstancesSortByEnumStringValues() []string

GetListDedicatedVmHostInstancesSortByEnumStringValues Enumerates the set of values in String for ListDedicatedVmHostInstancesSortByEnum

func GetListDedicatedVmHostInstancesSortOrderEnumStringValues ¶

func GetListDedicatedVmHostInstancesSortOrderEnumStringValues() []string

GetListDedicatedVmHostInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListDedicatedVmHostInstancesSortOrderEnum

func GetListDedicatedVmHostsLifecycleStateEnumStringValues ¶

func GetListDedicatedVmHostsLifecycleStateEnumStringValues() []string

GetListDedicatedVmHostsLifecycleStateEnumStringValues Enumerates the set of values in String for ListDedicatedVmHostsLifecycleStateEnum

func GetListDedicatedVmHostsSortByEnumStringValues ¶

func GetListDedicatedVmHostsSortByEnumStringValues() []string

GetListDedicatedVmHostsSortByEnumStringValues Enumerates the set of values in String for ListDedicatedVmHostsSortByEnum

func GetListDedicatedVmHostsSortOrderEnumStringValues ¶

func GetListDedicatedVmHostsSortOrderEnumStringValues() []string

GetListDedicatedVmHostsSortOrderEnumStringValues Enumerates the set of values in String for ListDedicatedVmHostsSortOrderEnum

func GetListDhcpOptionsSortByEnumStringValues ¶

func GetListDhcpOptionsSortByEnumStringValues() []string

GetListDhcpOptionsSortByEnumStringValues Enumerates the set of values in String for ListDhcpOptionsSortByEnum

func GetListDhcpOptionsSortOrderEnumStringValues ¶

func GetListDhcpOptionsSortOrderEnumStringValues() []string

GetListDhcpOptionsSortOrderEnumStringValues Enumerates the set of values in String for ListDhcpOptionsSortOrderEnum

func GetListDrgAttachmentsAttachmentTypeEnumStringValues ¶

func GetListDrgAttachmentsAttachmentTypeEnumStringValues() []string

GetListDrgAttachmentsAttachmentTypeEnumStringValues Enumerates the set of values in String for ListDrgAttachmentsAttachmentTypeEnum

func GetListDrgAttachmentsSortByEnumStringValues ¶

func GetListDrgAttachmentsSortByEnumStringValues() []string

GetListDrgAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListDrgAttachmentsSortByEnum

func GetListDrgAttachmentsSortOrderEnumStringValues ¶

func GetListDrgAttachmentsSortOrderEnumStringValues() []string

GetListDrgAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListDrgAttachmentsSortOrderEnum

func GetListDrgRouteDistributionStatementsSortByEnumStringValues ¶

func GetListDrgRouteDistributionStatementsSortByEnumStringValues() []string

GetListDrgRouteDistributionStatementsSortByEnumStringValues Enumerates the set of values in String for ListDrgRouteDistributionStatementsSortByEnum

func GetListDrgRouteDistributionStatementsSortOrderEnumStringValues ¶

func GetListDrgRouteDistributionStatementsSortOrderEnumStringValues() []string

GetListDrgRouteDistributionStatementsSortOrderEnumStringValues Enumerates the set of values in String for ListDrgRouteDistributionStatementsSortOrderEnum

func GetListDrgRouteDistributionsSortByEnumStringValues ¶

func GetListDrgRouteDistributionsSortByEnumStringValues() []string

GetListDrgRouteDistributionsSortByEnumStringValues Enumerates the set of values in String for ListDrgRouteDistributionsSortByEnum

func GetListDrgRouteDistributionsSortOrderEnumStringValues ¶

func GetListDrgRouteDistributionsSortOrderEnumStringValues() []string

GetListDrgRouteDistributionsSortOrderEnumStringValues Enumerates the set of values in String for ListDrgRouteDistributionsSortOrderEnum

func GetListDrgRouteRulesRouteTypeEnumStringValues ¶

func GetListDrgRouteRulesRouteTypeEnumStringValues() []string

GetListDrgRouteRulesRouteTypeEnumStringValues Enumerates the set of values in String for ListDrgRouteRulesRouteTypeEnum

func GetListDrgRouteTablesSortByEnumStringValues ¶

func GetListDrgRouteTablesSortByEnumStringValues() []string

GetListDrgRouteTablesSortByEnumStringValues Enumerates the set of values in String for ListDrgRouteTablesSortByEnum

func GetListDrgRouteTablesSortOrderEnumStringValues ¶

func GetListDrgRouteTablesSortOrderEnumStringValues() []string

GetListDrgRouteTablesSortOrderEnumStringValues Enumerates the set of values in String for ListDrgRouteTablesSortOrderEnum

func GetListImagesSortByEnumStringValues ¶

func GetListImagesSortByEnumStringValues() []string

GetListImagesSortByEnumStringValues Enumerates the set of values in String for ListImagesSortByEnum

func GetListImagesSortOrderEnumStringValues ¶

func GetListImagesSortOrderEnumStringValues() []string

GetListImagesSortOrderEnumStringValues Enumerates the set of values in String for ListImagesSortOrderEnum

func GetListInstanceConfigurationsSortByEnumStringValues ¶

func GetListInstanceConfigurationsSortByEnumStringValues() []string

GetListInstanceConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListInstanceConfigurationsSortByEnum

func GetListInstanceConfigurationsSortOrderEnumStringValues ¶

func GetListInstanceConfigurationsSortOrderEnumStringValues() []string

GetListInstanceConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListInstanceConfigurationsSortOrderEnum

func GetListInstanceDevicesSortByEnumStringValues ¶

func GetListInstanceDevicesSortByEnumStringValues() []string

GetListInstanceDevicesSortByEnumStringValues Enumerates the set of values in String for ListInstanceDevicesSortByEnum

func GetListInstanceDevicesSortOrderEnumStringValues ¶

func GetListInstanceDevicesSortOrderEnumStringValues() []string

GetListInstanceDevicesSortOrderEnumStringValues Enumerates the set of values in String for ListInstanceDevicesSortOrderEnum

func GetListInstancePoolInstancesSortByEnumStringValues ¶

func GetListInstancePoolInstancesSortByEnumStringValues() []string

GetListInstancePoolInstancesSortByEnumStringValues Enumerates the set of values in String for ListInstancePoolInstancesSortByEnum

func GetListInstancePoolInstancesSortOrderEnumStringValues ¶

func GetListInstancePoolInstancesSortOrderEnumStringValues() []string

GetListInstancePoolInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListInstancePoolInstancesSortOrderEnum

func GetListInstancePoolsSortByEnumStringValues ¶

func GetListInstancePoolsSortByEnumStringValues() []string

GetListInstancePoolsSortByEnumStringValues Enumerates the set of values in String for ListInstancePoolsSortByEnum

func GetListInstancePoolsSortOrderEnumStringValues ¶

func GetListInstancePoolsSortOrderEnumStringValues() []string

GetListInstancePoolsSortOrderEnumStringValues Enumerates the set of values in String for ListInstancePoolsSortOrderEnum

func GetListInstancesSortByEnumStringValues ¶

func GetListInstancesSortByEnumStringValues() []string

GetListInstancesSortByEnumStringValues Enumerates the set of values in String for ListInstancesSortByEnum

func GetListInstancesSortOrderEnumStringValues ¶

func GetListInstancesSortOrderEnumStringValues() []string

GetListInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListInstancesSortOrderEnum

func GetListInternetGatewaysSortByEnumStringValues ¶

func GetListInternetGatewaysSortByEnumStringValues() []string

GetListInternetGatewaysSortByEnumStringValues Enumerates the set of values in String for ListInternetGatewaysSortByEnum

func GetListInternetGatewaysSortOrderEnumStringValues ¶

func GetListInternetGatewaysSortOrderEnumStringValues() []string

GetListInternetGatewaysSortOrderEnumStringValues Enumerates the set of values in String for ListInternetGatewaysSortOrderEnum

func GetListNatGatewaysSortByEnumStringValues ¶

func GetListNatGatewaysSortByEnumStringValues() []string

GetListNatGatewaysSortByEnumStringValues Enumerates the set of values in String for ListNatGatewaysSortByEnum

func GetListNatGatewaysSortOrderEnumStringValues ¶

func GetListNatGatewaysSortOrderEnumStringValues() []string

GetListNatGatewaysSortOrderEnumStringValues Enumerates the set of values in String for ListNatGatewaysSortOrderEnum

func GetListNetworkSecurityGroupSecurityRulesDirectionEnumStringValues ¶

func GetListNetworkSecurityGroupSecurityRulesDirectionEnumStringValues() []string

GetListNetworkSecurityGroupSecurityRulesDirectionEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupSecurityRulesDirectionEnum

func GetListNetworkSecurityGroupSecurityRulesSortByEnumStringValues ¶

func GetListNetworkSecurityGroupSecurityRulesSortByEnumStringValues() []string

GetListNetworkSecurityGroupSecurityRulesSortByEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupSecurityRulesSortByEnum

func GetListNetworkSecurityGroupSecurityRulesSortOrderEnumStringValues ¶

func GetListNetworkSecurityGroupSecurityRulesSortOrderEnumStringValues() []string

GetListNetworkSecurityGroupSecurityRulesSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupSecurityRulesSortOrderEnum

func GetListNetworkSecurityGroupVnicsSortByEnumStringValues ¶

func GetListNetworkSecurityGroupVnicsSortByEnumStringValues() []string

GetListNetworkSecurityGroupVnicsSortByEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupVnicsSortByEnum

func GetListNetworkSecurityGroupVnicsSortOrderEnumStringValues ¶

func GetListNetworkSecurityGroupVnicsSortOrderEnumStringValues() []string

GetListNetworkSecurityGroupVnicsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupVnicsSortOrderEnum

func GetListNetworkSecurityGroupsSortByEnumStringValues ¶

func GetListNetworkSecurityGroupsSortByEnumStringValues() []string

GetListNetworkSecurityGroupsSortByEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupsSortByEnum

func GetListNetworkSecurityGroupsSortOrderEnumStringValues ¶

func GetListNetworkSecurityGroupsSortOrderEnumStringValues() []string

GetListNetworkSecurityGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkSecurityGroupsSortOrderEnum

func GetListPublicIpPoolsSortByEnumStringValues ¶

func GetListPublicIpPoolsSortByEnumStringValues() []string

GetListPublicIpPoolsSortByEnumStringValues Enumerates the set of values in String for ListPublicIpPoolsSortByEnum

func GetListPublicIpPoolsSortOrderEnumStringValues ¶

func GetListPublicIpPoolsSortOrderEnumStringValues() []string

GetListPublicIpPoolsSortOrderEnumStringValues Enumerates the set of values in String for ListPublicIpPoolsSortOrderEnum

func GetListPublicIpsLifetimeEnumStringValues ¶

func GetListPublicIpsLifetimeEnumStringValues() []string

GetListPublicIpsLifetimeEnumStringValues Enumerates the set of values in String for ListPublicIpsLifetimeEnum

func GetListPublicIpsScopeEnumStringValues ¶

func GetListPublicIpsScopeEnumStringValues() []string

GetListPublicIpsScopeEnumStringValues Enumerates the set of values in String for ListPublicIpsScopeEnum

func GetListRouteTablesSortByEnumStringValues ¶

func GetListRouteTablesSortByEnumStringValues() []string

GetListRouteTablesSortByEnumStringValues Enumerates the set of values in String for ListRouteTablesSortByEnum

func GetListRouteTablesSortOrderEnumStringValues ¶

func GetListRouteTablesSortOrderEnumStringValues() []string

GetListRouteTablesSortOrderEnumStringValues Enumerates the set of values in String for ListRouteTablesSortOrderEnum

func GetListSecurityListsSortByEnumStringValues ¶

func GetListSecurityListsSortByEnumStringValues() []string

GetListSecurityListsSortByEnumStringValues Enumerates the set of values in String for ListSecurityListsSortByEnum

func GetListSecurityListsSortOrderEnumStringValues ¶

func GetListSecurityListsSortOrderEnumStringValues() []string

GetListSecurityListsSortOrderEnumStringValues Enumerates the set of values in String for ListSecurityListsSortOrderEnum

func GetListServiceGatewaysSortByEnumStringValues ¶

func GetListServiceGatewaysSortByEnumStringValues() []string

GetListServiceGatewaysSortByEnumStringValues Enumerates the set of values in String for ListServiceGatewaysSortByEnum

func GetListServiceGatewaysSortOrderEnumStringValues ¶

func GetListServiceGatewaysSortOrderEnumStringValues() []string

GetListServiceGatewaysSortOrderEnumStringValues Enumerates the set of values in String for ListServiceGatewaysSortOrderEnum

func GetListSubnetsSortByEnumStringValues ¶

func GetListSubnetsSortByEnumStringValues() []string

GetListSubnetsSortByEnumStringValues Enumerates the set of values in String for ListSubnetsSortByEnum

func GetListSubnetsSortOrderEnumStringValues ¶

func GetListSubnetsSortOrderEnumStringValues() []string

GetListSubnetsSortOrderEnumStringValues Enumerates the set of values in String for ListSubnetsSortOrderEnum

func GetListVcnsSortByEnumStringValues ¶

func GetListVcnsSortByEnumStringValues() []string

GetListVcnsSortByEnumStringValues Enumerates the set of values in String for ListVcnsSortByEnum

func GetListVcnsSortOrderEnumStringValues ¶

func GetListVcnsSortOrderEnumStringValues() []string

GetListVcnsSortOrderEnumStringValues Enumerates the set of values in String for ListVcnsSortOrderEnum

func GetListVirtualCircuitsSortByEnumStringValues ¶

func GetListVirtualCircuitsSortByEnumStringValues() []string

GetListVirtualCircuitsSortByEnumStringValues Enumerates the set of values in String for ListVirtualCircuitsSortByEnum

func GetListVirtualCircuitsSortOrderEnumStringValues ¶

func GetListVirtualCircuitsSortOrderEnumStringValues() []string

GetListVirtualCircuitsSortOrderEnumStringValues Enumerates the set of values in String for ListVirtualCircuitsSortOrderEnum

func GetListVlansSortByEnumStringValues ¶

func GetListVlansSortByEnumStringValues() []string

GetListVlansSortByEnumStringValues Enumerates the set of values in String for ListVlansSortByEnum

func GetListVlansSortOrderEnumStringValues ¶

func GetListVlansSortOrderEnumStringValues() []string

GetListVlansSortOrderEnumStringValues Enumerates the set of values in String for ListVlansSortOrderEnum

func GetListVolumeBackupsSortByEnumStringValues ¶

func GetListVolumeBackupsSortByEnumStringValues() []string

GetListVolumeBackupsSortByEnumStringValues Enumerates the set of values in String for ListVolumeBackupsSortByEnum

func GetListVolumeBackupsSortOrderEnumStringValues ¶

func GetListVolumeBackupsSortOrderEnumStringValues() []string

GetListVolumeBackupsSortOrderEnumStringValues Enumerates the set of values in String for ListVolumeBackupsSortOrderEnum

func GetListVolumeGroupBackupsSortByEnumStringValues ¶

func GetListVolumeGroupBackupsSortByEnumStringValues() []string

GetListVolumeGroupBackupsSortByEnumStringValues Enumerates the set of values in String for ListVolumeGroupBackupsSortByEnum

func GetListVolumeGroupBackupsSortOrderEnumStringValues ¶

func GetListVolumeGroupBackupsSortOrderEnumStringValues() []string

GetListVolumeGroupBackupsSortOrderEnumStringValues Enumerates the set of values in String for ListVolumeGroupBackupsSortOrderEnum

func GetListVolumeGroupReplicasSortByEnumStringValues ¶

func GetListVolumeGroupReplicasSortByEnumStringValues() []string

GetListVolumeGroupReplicasSortByEnumStringValues Enumerates the set of values in String for ListVolumeGroupReplicasSortByEnum

func GetListVolumeGroupReplicasSortOrderEnumStringValues ¶

func GetListVolumeGroupReplicasSortOrderEnumStringValues() []string

GetListVolumeGroupReplicasSortOrderEnumStringValues Enumerates the set of values in String for ListVolumeGroupReplicasSortOrderEnum

func GetListVolumeGroupsSortByEnumStringValues ¶

func GetListVolumeGroupsSortByEnumStringValues() []string

GetListVolumeGroupsSortByEnumStringValues Enumerates the set of values in String for ListVolumeGroupsSortByEnum

func GetListVolumeGroupsSortOrderEnumStringValues ¶

func GetListVolumeGroupsSortOrderEnumStringValues() []string

GetListVolumeGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListVolumeGroupsSortOrderEnum

func GetListVolumesSortByEnumStringValues ¶

func GetListVolumesSortByEnumStringValues() []string

GetListVolumesSortByEnumStringValues Enumerates the set of values in String for ListVolumesSortByEnum

func GetListVolumesSortOrderEnumStringValues ¶

func GetListVolumesSortOrderEnumStringValues() []string

GetListVolumesSortOrderEnumStringValues Enumerates the set of values in String for ListVolumesSortOrderEnum

func GetListVtapsSortByEnumStringValues ¶ added in v65.3.0

func GetListVtapsSortByEnumStringValues() []string

GetListVtapsSortByEnumStringValues Enumerates the set of values in String for ListVtapsSortByEnum

func GetListVtapsSortOrderEnumStringValues ¶ added in v65.3.0

func GetListVtapsSortOrderEnumStringValues() []string

GetListVtapsSortOrderEnumStringValues Enumerates the set of values in String for ListVtapsSortOrderEnum

func GetLocalPeeringGatewayLifecycleStateEnumStringValues ¶

func GetLocalPeeringGatewayLifecycleStateEnumStringValues() []string

GetLocalPeeringGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for LocalPeeringGatewayLifecycleStateEnum

func GetLocalPeeringGatewayPeeringStatusEnumStringValues ¶

func GetLocalPeeringGatewayPeeringStatusEnumStringValues() []string

GetLocalPeeringGatewayPeeringStatusEnumStringValues Enumerates the set of values in String for LocalPeeringGatewayPeeringStatusEnum

func GetMacsecEncryptionCipherEnumStringValues ¶

func GetMacsecEncryptionCipherEnumStringValues() []string

GetMacsecEncryptionCipherEnumStringValues Enumerates the set of values in String for MacsecEncryptionCipherEnum

func GetMacsecStateEnumStringValues ¶

func GetMacsecStateEnumStringValues() []string

GetMacsecStateEnumStringValues Enumerates the set of values in String for MacsecStateEnum

func GetMemberReplicaMembershipStateEnumStringValues ¶ added in v65.14.0

func GetMemberReplicaMembershipStateEnumStringValues() []string

GetMemberReplicaMembershipStateEnumStringValues Enumerates the set of values in String for MemberReplicaMembershipStateEnum

func GetNatGatewayLifecycleStateEnumStringValues ¶

func GetNatGatewayLifecycleStateEnumStringValues() []string

GetNatGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for NatGatewayLifecycleStateEnum

func GetNetworkSecurityGroupLifecycleStateEnumStringValues ¶

func GetNetworkSecurityGroupLifecycleStateEnumStringValues() []string

GetNetworkSecurityGroupLifecycleStateEnumStringValues Enumerates the set of values in String for NetworkSecurityGroupLifecycleStateEnum

func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues ¶

func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues() []string

GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues Enumerates the set of values in String for PhaseOneConfigDetailsAuthenticationAlgorithmEnum

func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues ¶

func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues() []string

GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues Enumerates the set of values in String for PhaseOneConfigDetailsDiffieHelmanGroupEnum

func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues ¶

func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues() []string

GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues Enumerates the set of values in String for PhaseOneConfigDetailsEncryptionAlgorithmEnum

func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues ¶

func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues() []string

GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues Enumerates the set of values in String for PhaseTwoConfigDetailsAuthenticationAlgorithmEnum

func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues ¶

func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues() []string

GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues Enumerates the set of values in String for PhaseTwoConfigDetailsEncryptionAlgorithmEnum

func GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues ¶

func GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues() []string

GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues Enumerates the set of values in String for PhaseTwoConfigDetailsPfsDhGroupEnum

func GetPlatformConfigTypeEnumStringValues ¶

func GetPlatformConfigTypeEnumStringValues() []string

GetPlatformConfigTypeEnumStringValues Enumerates the set of values in String for PlatformConfigTypeEnum

func GetPreemptionActionTypeEnumStringValues ¶

func GetPreemptionActionTypeEnumStringValues() []string

GetPreemptionActionTypeEnumStringValues Enumerates the set of values in String for PreemptionActionTypeEnum

func GetPublicIpAssignedEntityTypeEnumStringValues ¶

func GetPublicIpAssignedEntityTypeEnumStringValues() []string

GetPublicIpAssignedEntityTypeEnumStringValues Enumerates the set of values in String for PublicIpAssignedEntityTypeEnum

func GetPublicIpLifecycleStateEnumStringValues ¶

func GetPublicIpLifecycleStateEnumStringValues() []string

GetPublicIpLifecycleStateEnumStringValues Enumerates the set of values in String for PublicIpLifecycleStateEnum

func GetPublicIpLifetimeEnumStringValues ¶

func GetPublicIpLifetimeEnumStringValues() []string

GetPublicIpLifetimeEnumStringValues Enumerates the set of values in String for PublicIpLifetimeEnum

func GetPublicIpPoolLifecycleStateEnumStringValues ¶

func GetPublicIpPoolLifecycleStateEnumStringValues() []string

GetPublicIpPoolLifecycleStateEnumStringValues Enumerates the set of values in String for PublicIpPoolLifecycleStateEnum

func GetPublicIpScopeEnumStringValues ¶

func GetPublicIpScopeEnumStringValues() []string

GetPublicIpScopeEnumStringValues Enumerates the set of values in String for PublicIpScopeEnum

func GetRemotePeeringConnectionLifecycleStateEnumStringValues ¶

func GetRemotePeeringConnectionLifecycleStateEnumStringValues() []string

GetRemotePeeringConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for RemotePeeringConnectionLifecycleStateEnum

func GetRemotePeeringConnectionPeeringStatusEnumStringValues ¶

func GetRemotePeeringConnectionPeeringStatusEnumStringValues() []string

GetRemotePeeringConnectionPeeringStatusEnumStringValues Enumerates the set of values in String for RemotePeeringConnectionPeeringStatusEnum

func GetRouteRuleDestinationTypeEnumStringValues ¶

func GetRouteRuleDestinationTypeEnumStringValues() []string

GetRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for RouteRuleDestinationTypeEnum

func GetRouteRuleRouteTypeEnumStringValues ¶ added in v65.13.1

func GetRouteRuleRouteTypeEnumStringValues() []string

GetRouteRuleRouteTypeEnumStringValues Enumerates the set of values in String for RouteRuleRouteTypeEnum

func GetRouteTableLifecycleStateEnumStringValues ¶

func GetRouteTableLifecycleStateEnumStringValues() []string

GetRouteTableLifecycleStateEnumStringValues Enumerates the set of values in String for RouteTableLifecycleStateEnum

func GetSecurityListLifecycleStateEnumStringValues ¶

func GetSecurityListLifecycleStateEnumStringValues() []string

GetSecurityListLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityListLifecycleStateEnum

func GetSecurityRuleDestinationTypeEnumStringValues ¶

func GetSecurityRuleDestinationTypeEnumStringValues() []string

GetSecurityRuleDestinationTypeEnumStringValues Enumerates the set of values in String for SecurityRuleDestinationTypeEnum

func GetSecurityRuleDirectionEnumStringValues ¶

func GetSecurityRuleDirectionEnumStringValues() []string

GetSecurityRuleDirectionEnumStringValues Enumerates the set of values in String for SecurityRuleDirectionEnum

func GetSecurityRuleSourceTypeEnumStringValues ¶

func GetSecurityRuleSourceTypeEnumStringValues() []string

GetSecurityRuleSourceTypeEnumStringValues Enumerates the set of values in String for SecurityRuleSourceTypeEnum

func GetServiceGatewayLifecycleStateEnumStringValues ¶

func GetServiceGatewayLifecycleStateEnumStringValues() []string

GetServiceGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for ServiceGatewayLifecycleStateEnum

func GetShapeBaselineOcpuUtilizationsEnumStringValues ¶

func GetShapeBaselineOcpuUtilizationsEnumStringValues() []string

GetShapeBaselineOcpuUtilizationsEnumStringValues Enumerates the set of values in String for ShapeBaselineOcpuUtilizationsEnum

func GetShapeBillingTypeEnumStringValues ¶

func GetShapeBillingTypeEnumStringValues() []string

GetShapeBillingTypeEnumStringValues Enumerates the set of values in String for ShapeBillingTypeEnum

func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumStringValues ¶

func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumStringValues() []string

GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumStringValues Enumerates the set of values in String for ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum

func GetShapePlatformConfigOptionsTypeEnumStringValues ¶

func GetShapePlatformConfigOptionsTypeEnumStringValues() []string

GetShapePlatformConfigOptionsTypeEnumStringValues Enumerates the set of values in String for ShapePlatformConfigOptionsTypeEnum

func GetSubnetLifecycleStateEnumStringValues ¶

func GetSubnetLifecycleStateEnumStringValues() []string

GetSubnetLifecycleStateEnumStringValues Enumerates the set of values in String for SubnetLifecycleStateEnum

func GetTopologyEntityRelationshipTypeEnumStringValues ¶

func GetTopologyEntityRelationshipTypeEnumStringValues() []string

GetTopologyEntityRelationshipTypeEnumStringValues Enumerates the set of values in String for TopologyEntityRelationshipTypeEnum

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues ¶

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues() []string

GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues Enumerates the set of values in String for TopologyRoutesToRelationshipDetailsRouteTypeEnum

func GetTopologyTypeEnumStringValues ¶

func GetTopologyTypeEnumStringValues() []string

GetTopologyTypeEnumStringValues Enumerates the set of values in String for TopologyTypeEnum

func GetTunnelRouteSummaryAdvertiserEnumStringValues ¶

func GetTunnelRouteSummaryAdvertiserEnumStringValues() []string

GetTunnelRouteSummaryAdvertiserEnumStringValues Enumerates the set of values in String for TunnelRouteSummaryAdvertiserEnum

func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues ¶

func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues() []string

GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues Enumerates the set of values in String for TunnelSecurityAssociationSummaryTunnelSaStatusEnum

func GetTunnelStatusLifecycleStateEnumStringValues ¶

func GetTunnelStatusLifecycleStateEnumStringValues() []string

GetTunnelStatusLifecycleStateEnumStringValues Enumerates the set of values in String for TunnelStatusLifecycleStateEnum

func GetUpdateDhcpDetailsDomainNameTypeEnumStringValues ¶

func GetUpdateDhcpDetailsDomainNameTypeEnumStringValues() []string

GetUpdateDhcpDetailsDomainNameTypeEnumStringValues Enumerates the set of values in String for UpdateDhcpDetailsDomainNameTypeEnum

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues ¶

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string

GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for UpdateDrgRouteRuleDetailsDestinationTypeEnum

func GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues ¶

func GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues() []string

GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues Enumerates the set of values in String for UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum

func GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues ¶ added in v65.32.0

func GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues() []string

GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues Enumerates the set of values in String for UpdateInstanceDetailsUpdateOperationConstraintEnum

func GetUpdateInstancePlatformConfigTypeEnumStringValues ¶ added in v65.59.0

func GetUpdateInstancePlatformConfigTypeEnumStringValues() []string

GetUpdateInstancePlatformConfigTypeEnumStringValues Enumerates the set of values in String for UpdateInstancePlatformConfigTypeEnum

func GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues ¶

func GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues() []string

GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues Enumerates the set of values in String for UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues ¶

func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues() []string

GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues ¶

func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues() []string

GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsIkeVersionEnum

func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues ¶

func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues() []string

GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues ¶

func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues() []string

GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum

func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues ¶

func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues() []string

GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsRoutingEnum

func GetUpdateLaunchOptionsBootVolumeTypeEnumStringValues ¶

func GetUpdateLaunchOptionsBootVolumeTypeEnumStringValues() []string

GetUpdateLaunchOptionsBootVolumeTypeEnumStringValues Enumerates the set of values in String for UpdateLaunchOptionsBootVolumeTypeEnum

func GetUpdateLaunchOptionsNetworkTypeEnumStringValues ¶

func GetUpdateLaunchOptionsNetworkTypeEnumStringValues() []string

GetUpdateLaunchOptionsNetworkTypeEnumStringValues Enumerates the set of values in String for UpdateLaunchOptionsNetworkTypeEnum

func GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues ¶

func GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues() []string

GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsDestinationTypeEnum

func GetUpdateSecurityRuleDetailsDirectionEnumStringValues ¶

func GetUpdateSecurityRuleDetailsDirectionEnumStringValues() []string

GetUpdateSecurityRuleDetailsDirectionEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsDirectionEnum

func GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues ¶

func GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues() []string

GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsSourceTypeEnum

func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues ¶

func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues() []string

GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsBgpAdminStateEnum

func GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues ¶

func GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues() []string

GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsProviderStateEnum

func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues ¶

func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues() []string

GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsRoutingPolicyEnum

func GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumStringValues ¶

func GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumStringValues() []string

GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumStringValues Enumerates the set of values in String for UpdateVolumeAttachmentDetailsIscsiLoginStateEnum

func GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues ¶ added in v65.3.0

func GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues() []string

GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsEncapsulationProtocolEnum

func GetUpdateVtapDetailsSourceTypeEnumStringValues ¶ added in v65.3.0

func GetUpdateVtapDetailsSourceTypeEnumStringValues() []string

GetUpdateVtapDetailsSourceTypeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsSourceTypeEnum

func GetUpdateVtapDetailsTargetTypeEnumStringValues ¶ added in v65.3.0

func GetUpdateVtapDetailsTargetTypeEnumStringValues() []string

GetUpdateVtapDetailsTargetTypeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTargetTypeEnum

func GetUpdateVtapDetailsTrafficModeEnumStringValues ¶ added in v65.3.0

func GetUpdateVtapDetailsTrafficModeEnumStringValues() []string

GetUpdateVtapDetailsTrafficModeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTrafficModeEnum

func GetUpgradeStatusStatusEnumStringValues ¶

func GetUpgradeStatusStatusEnumStringValues() []string

GetUpgradeStatusStatusEnumStringValues Enumerates the set of values in String for UpgradeStatusStatusEnum

func GetVcnDnsResolverAssociationLifecycleStateEnumStringValues ¶

func GetVcnDnsResolverAssociationLifecycleStateEnumStringValues() []string

GetVcnDnsResolverAssociationLifecycleStateEnumStringValues Enumerates the set of values in String for VcnDnsResolverAssociationLifecycleStateEnum

func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues ¶

func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues() []string

GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues Enumerates the set of values in String for VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum

func GetVcnLifecycleStateEnumStringValues ¶

func GetVcnLifecycleStateEnumStringValues() []string

GetVcnLifecycleStateEnumStringValues Enumerates the set of values in String for VcnLifecycleStateEnum

func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues ¶ added in v65.48.0

func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues() []string

GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum

func GetVirtualCircuitBgpAdminStateEnumStringValues ¶

func GetVirtualCircuitBgpAdminStateEnumStringValues() []string

GetVirtualCircuitBgpAdminStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpAdminStateEnum

func GetVirtualCircuitBgpIpv6SessionStateEnumStringValues ¶

func GetVirtualCircuitBgpIpv6SessionStateEnumStringValues() []string

GetVirtualCircuitBgpIpv6SessionStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpIpv6SessionStateEnum

func GetVirtualCircuitBgpManagementEnumStringValues ¶

func GetVirtualCircuitBgpManagementEnumStringValues() []string

GetVirtualCircuitBgpManagementEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpManagementEnum

func GetVirtualCircuitBgpSessionStateEnumStringValues ¶

func GetVirtualCircuitBgpSessionStateEnumStringValues() []string

GetVirtualCircuitBgpSessionStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpSessionStateEnum

func GetVirtualCircuitIpMtuEnumStringValues ¶

func GetVirtualCircuitIpMtuEnumStringValues() []string

GetVirtualCircuitIpMtuEnumStringValues Enumerates the set of values in String for VirtualCircuitIpMtuEnum

func GetVirtualCircuitLifecycleStateEnumStringValues ¶

func GetVirtualCircuitLifecycleStateEnumStringValues() []string

GetVirtualCircuitLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualCircuitLifecycleStateEnum

func GetVirtualCircuitProviderStateEnumStringValues ¶

func GetVirtualCircuitProviderStateEnumStringValues() []string

GetVirtualCircuitProviderStateEnumStringValues Enumerates the set of values in String for VirtualCircuitProviderStateEnum

func GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues ¶

func GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues() []string

GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues Enumerates the set of values in String for VirtualCircuitPublicPrefixVerificationStateEnum

func GetVirtualCircuitRoutingPolicyEnumStringValues ¶

func GetVirtualCircuitRoutingPolicyEnumStringValues() []string

GetVirtualCircuitRoutingPolicyEnumStringValues Enumerates the set of values in String for VirtualCircuitRoutingPolicyEnum

func GetVirtualCircuitServiceTypeEnumStringValues ¶

func GetVirtualCircuitServiceTypeEnumStringValues() []string

GetVirtualCircuitServiceTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitServiceTypeEnum

func GetVirtualCircuitTypeEnumStringValues ¶

func GetVirtualCircuitTypeEnumStringValues() []string

GetVirtualCircuitTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitTypeEnum

func GetVlanLifecycleStateEnumStringValues ¶

func GetVlanLifecycleStateEnumStringValues() []string

GetVlanLifecycleStateEnumStringValues Enumerates the set of values in String for VlanLifecycleStateEnum

func GetVnicAttachmentLifecycleStateEnumStringValues ¶

func GetVnicAttachmentLifecycleStateEnumStringValues() []string

GetVnicAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for VnicAttachmentLifecycleStateEnum

func GetVnicLifecycleStateEnumStringValues ¶

func GetVnicLifecycleStateEnumStringValues() []string

GetVnicLifecycleStateEnumStringValues Enumerates the set of values in String for VnicLifecycleStateEnum

func GetVolumeAttachmentIscsiLoginStateEnumStringValues ¶

func GetVolumeAttachmentIscsiLoginStateEnumStringValues() []string

GetVolumeAttachmentIscsiLoginStateEnumStringValues Enumerates the set of values in String for VolumeAttachmentIscsiLoginStateEnum

func GetVolumeAttachmentLifecycleStateEnumStringValues ¶

func GetVolumeAttachmentLifecycleStateEnumStringValues() []string

GetVolumeAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for VolumeAttachmentLifecycleStateEnum

func GetVolumeBackupLifecycleStateEnumStringValues ¶

func GetVolumeBackupLifecycleStateEnumStringValues() []string

GetVolumeBackupLifecycleStateEnumStringValues Enumerates the set of values in String for VolumeBackupLifecycleStateEnum

func GetVolumeBackupScheduleBackupTypeEnumStringValues ¶

func GetVolumeBackupScheduleBackupTypeEnumStringValues() []string

GetVolumeBackupScheduleBackupTypeEnumStringValues Enumerates the set of values in String for VolumeBackupScheduleBackupTypeEnum

func GetVolumeBackupScheduleDayOfWeekEnumStringValues ¶

func GetVolumeBackupScheduleDayOfWeekEnumStringValues() []string

GetVolumeBackupScheduleDayOfWeekEnumStringValues Enumerates the set of values in String for VolumeBackupScheduleDayOfWeekEnum

func GetVolumeBackupScheduleMonthEnumStringValues ¶

func GetVolumeBackupScheduleMonthEnumStringValues() []string

GetVolumeBackupScheduleMonthEnumStringValues Enumerates the set of values in String for VolumeBackupScheduleMonthEnum

func GetVolumeBackupScheduleOffsetTypeEnumStringValues ¶

func GetVolumeBackupScheduleOffsetTypeEnumStringValues() []string

GetVolumeBackupScheduleOffsetTypeEnumStringValues Enumerates the set of values in String for VolumeBackupScheduleOffsetTypeEnum

func GetVolumeBackupSchedulePeriodEnumStringValues ¶

func GetVolumeBackupSchedulePeriodEnumStringValues() []string

GetVolumeBackupSchedulePeriodEnumStringValues Enumerates the set of values in String for VolumeBackupSchedulePeriodEnum

func GetVolumeBackupScheduleTimeZoneEnumStringValues ¶

func GetVolumeBackupScheduleTimeZoneEnumStringValues() []string

GetVolumeBackupScheduleTimeZoneEnumStringValues Enumerates the set of values in String for VolumeBackupScheduleTimeZoneEnum

func GetVolumeBackupSourceTypeEnumStringValues ¶

func GetVolumeBackupSourceTypeEnumStringValues() []string

GetVolumeBackupSourceTypeEnumStringValues Enumerates the set of values in String for VolumeBackupSourceTypeEnum

func GetVolumeBackupTypeEnumStringValues ¶

func GetVolumeBackupTypeEnumStringValues() []string

GetVolumeBackupTypeEnumStringValues Enumerates the set of values in String for VolumeBackupTypeEnum

func GetVolumeGroupBackupLifecycleStateEnumStringValues ¶

func GetVolumeGroupBackupLifecycleStateEnumStringValues() []string

GetVolumeGroupBackupLifecycleStateEnumStringValues Enumerates the set of values in String for VolumeGroupBackupLifecycleStateEnum

func GetVolumeGroupBackupSourceTypeEnumStringValues ¶

func GetVolumeGroupBackupSourceTypeEnumStringValues() []string

GetVolumeGroupBackupSourceTypeEnumStringValues Enumerates the set of values in String for VolumeGroupBackupSourceTypeEnum

func GetVolumeGroupBackupTypeEnumStringValues ¶

func GetVolumeGroupBackupTypeEnumStringValues() []string

GetVolumeGroupBackupTypeEnumStringValues Enumerates the set of values in String for VolumeGroupBackupTypeEnum

func GetVolumeGroupLifecycleStateEnumStringValues ¶

func GetVolumeGroupLifecycleStateEnumStringValues() []string

GetVolumeGroupLifecycleStateEnumStringValues Enumerates the set of values in String for VolumeGroupLifecycleStateEnum

func GetVolumeGroupReplicaLifecycleStateEnumStringValues ¶

func GetVolumeGroupReplicaLifecycleStateEnumStringValues() []string

GetVolumeGroupReplicaLifecycleStateEnumStringValues Enumerates the set of values in String for VolumeGroupReplicaLifecycleStateEnum

func GetVolumeLifecycleStateEnumStringValues ¶

func GetVolumeLifecycleStateEnumStringValues() []string

GetVolumeLifecycleStateEnumStringValues Enumerates the set of values in String for VolumeLifecycleStateEnum

func GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues ¶ added in v65.3.0

func GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues() []string

GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues Enumerates the set of values in String for VtapCaptureFilterRuleDetailsRuleActionEnum

func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues ¶ added in v65.3.0

func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues() []string

GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues Enumerates the set of values in String for VtapCaptureFilterRuleDetailsTrafficDirectionEnum

func GetVtapEncapsulationProtocolEnumStringValues ¶ added in v65.3.0

func GetVtapEncapsulationProtocolEnumStringValues() []string

GetVtapEncapsulationProtocolEnumStringValues Enumerates the set of values in String for VtapEncapsulationProtocolEnum

func GetVtapLifecycleStateDetailsEnumStringValues ¶ added in v65.3.0

func GetVtapLifecycleStateDetailsEnumStringValues() []string

GetVtapLifecycleStateDetailsEnumStringValues Enumerates the set of values in String for VtapLifecycleStateDetailsEnum

func GetVtapLifecycleStateEnumStringValues ¶ added in v65.3.0

func GetVtapLifecycleStateEnumStringValues() []string

GetVtapLifecycleStateEnumStringValues Enumerates the set of values in String for VtapLifecycleStateEnum

func GetVtapSourceTypeEnumStringValues ¶ added in v65.3.0

func GetVtapSourceTypeEnumStringValues() []string

GetVtapSourceTypeEnumStringValues Enumerates the set of values in String for VtapSourceTypeEnum

func GetVtapTargetTypeEnumStringValues ¶ added in v65.3.0

func GetVtapTargetTypeEnumStringValues() []string

GetVtapTargetTypeEnumStringValues Enumerates the set of values in String for VtapTargetTypeEnum

func GetVtapTrafficModeEnumStringValues ¶ added in v65.3.0

func GetVtapTrafficModeEnumStringValues() []string

GetVtapTrafficModeEnumStringValues Enumerates the set of values in String for VtapTrafficModeEnum

Types ¶

type AcceptShieldedIntegrityPolicyRequest ¶

type AcceptShieldedIntegrityPolicyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

AcceptShieldedIntegrityPolicyRequest wrapper for the AcceptShieldedIntegrityPolicy operation

See also ¶

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

func (AcceptShieldedIntegrityPolicyRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AcceptShieldedIntegrityPolicyRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AcceptShieldedIntegrityPolicyRequest) RetryPolicy ¶

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

func (AcceptShieldedIntegrityPolicyRequest) String ¶

func (AcceptShieldedIntegrityPolicyRequest) ValidateEnumValue ¶

func (request AcceptShieldedIntegrityPolicyRequest) 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 AcceptShieldedIntegrityPolicyResponse ¶

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

AcceptShieldedIntegrityPolicyResponse wrapper for the AcceptShieldedIntegrityPolicy operation

func (AcceptShieldedIntegrityPolicyResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AcceptShieldedIntegrityPolicyResponse) String ¶

type AddDrgRouteDistributionStatementDetails ¶

type AddDrgRouteDistributionStatementDetails struct {

	// The action is applied only if all of the match criteria is met.
	MatchCriteria []DrgRouteDistributionMatchCriteria `mandatory:"true" json:"matchCriteria"`

	// Accept: import/export the route "as is"
	Action AddDrgRouteDistributionStatementDetailsActionEnum `mandatory:"true" json:"action"`

	// This field is used to specify the priority of each statement in a route distribution.
	// The priority will be represented as a number between 0 and 65535 where a lower number
	// indicates a higher priority. When a route is processed, statements are applied in the order
	// defined by their priority. The first matching rule dictates the action that will be taken
	// on the route.
	Priority *int `mandatory:"true" json:"priority"`
}

AddDrgRouteDistributionStatementDetails Details used to add a route distribution statement.

func (AddDrgRouteDistributionStatementDetails) String ¶

func (*AddDrgRouteDistributionStatementDetails) UnmarshalJSON ¶

func (m *AddDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (AddDrgRouteDistributionStatementDetails) ValidateEnumValue ¶

func (m AddDrgRouteDistributionStatementDetails) 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 AddDrgRouteDistributionStatementDetailsActionEnum ¶

type AddDrgRouteDistributionStatementDetailsActionEnum string

AddDrgRouteDistributionStatementDetailsActionEnum Enum with underlying type: string

const (
	AddDrgRouteDistributionStatementDetailsActionAccept AddDrgRouteDistributionStatementDetailsActionEnum = "ACCEPT"
)

Set of constants representing the allowable values for AddDrgRouteDistributionStatementDetailsActionEnum

func GetAddDrgRouteDistributionStatementDetailsActionEnumValues ¶

func GetAddDrgRouteDistributionStatementDetailsActionEnumValues() []AddDrgRouteDistributionStatementDetailsActionEnum

GetAddDrgRouteDistributionStatementDetailsActionEnumValues Enumerates the set of values for AddDrgRouteDistributionStatementDetailsActionEnum

func GetMappingAddDrgRouteDistributionStatementDetailsActionEnum ¶

func GetMappingAddDrgRouteDistributionStatementDetailsActionEnum(val string) (AddDrgRouteDistributionStatementDetailsActionEnum, bool)

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

type AddDrgRouteDistributionStatementsDetails ¶

type AddDrgRouteDistributionStatementsDetails struct {

	// The collection of route distribution statements to insert into the route distribution.
	Statements []AddDrgRouteDistributionStatementDetails `mandatory:"true" json:"statements"`
}

AddDrgRouteDistributionStatementsDetails Details request to add statements to a route distribution.

func (AddDrgRouteDistributionStatementsDetails) String ¶

func (AddDrgRouteDistributionStatementsDetails) ValidateEnumValue ¶

func (m AddDrgRouteDistributionStatementsDetails) 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 AddDrgRouteDistributionStatementsRequest ¶

type AddDrgRouteDistributionStatementsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// Request with one or more route distribution statements to be inserted into the route distribution.
	AddDrgRouteDistributionStatementsDetails `contributesTo:"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 `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
}

AddDrgRouteDistributionStatementsRequest wrapper for the AddDrgRouteDistributionStatements operation

See also ¶

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

func (AddDrgRouteDistributionStatementsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (AddDrgRouteDistributionStatementsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddDrgRouteDistributionStatementsRequest) RetryPolicy ¶

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

func (AddDrgRouteDistributionStatementsRequest) String ¶

func (AddDrgRouteDistributionStatementsRequest) ValidateEnumValue ¶

func (request AddDrgRouteDistributionStatementsRequest) 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 AddDrgRouteDistributionStatementsResponse ¶

type AddDrgRouteDistributionStatementsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []DrgRouteDistributionStatement instance
	Items []DrgRouteDistributionStatement `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"`
}

AddDrgRouteDistributionStatementsResponse wrapper for the AddDrgRouteDistributionStatements operation

func (AddDrgRouteDistributionStatementsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddDrgRouteDistributionStatementsResponse) String ¶

type AddDrgRouteRuleDetails ¶

type AddDrgRouteRuleDetails struct {

	// Type of destination for the rule.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	DestinationType AddDrgRouteRuleDetailsDestinationTypeEnum `mandatory:"true" json:"destinationType"`

	// This is the range of IP addresses used for matching when routing
	// traffic. Only CIDR_BLOCK values are allowed.
	// Potential values:
	//   * IP address range in CIDR notation. This can be an IPv4 CIDR block or IPv6 prefix. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`.
	Destination *string `mandatory:"true" json:"destination"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment. The next hop DRG attachment is responsible
	// for reaching the network destination.
	NextHopDrgAttachmentId *string `mandatory:"true" json:"nextHopDrgAttachmentId"`
}

AddDrgRouteRuleDetails Details needed when adding a DRG route rule.

func (AddDrgRouteRuleDetails) String ¶

func (m AddDrgRouteRuleDetails) String() string

func (AddDrgRouteRuleDetails) ValidateEnumValue ¶

func (m AddDrgRouteRuleDetails) 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 AddDrgRouteRuleDetailsDestinationTypeEnum ¶

type AddDrgRouteRuleDetailsDestinationTypeEnum string

AddDrgRouteRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	AddDrgRouteRuleDetailsDestinationTypeCidrBlock AddDrgRouteRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
)

Set of constants representing the allowable values for AddDrgRouteRuleDetailsDestinationTypeEnum

func GetAddDrgRouteRuleDetailsDestinationTypeEnumValues ¶

func GetAddDrgRouteRuleDetailsDestinationTypeEnumValues() []AddDrgRouteRuleDetailsDestinationTypeEnum

GetAddDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddDrgRouteRuleDetailsDestinationTypeEnum

func GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum ¶

func GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum(val string) (AddDrgRouteRuleDetailsDestinationTypeEnum, bool)

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

type AddDrgRouteRulesDetails ¶

type AddDrgRouteRulesDetails struct {

	// The collection of static rules used to insert routes into the DRG route table.
	RouteRules []AddDrgRouteRuleDetails `mandatory:"false" json:"routeRules"`
}

AddDrgRouteRulesDetails Details used in a request to add static routes to a DRG route table.

func (AddDrgRouteRulesDetails) String ¶

func (m AddDrgRouteRulesDetails) String() string

func (AddDrgRouteRulesDetails) ValidateEnumValue ¶

func (m AddDrgRouteRulesDetails) 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 AddDrgRouteRulesRequest ¶

type AddDrgRouteRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// Request for one or more route rules to be inserted into the DRG route table.
	AddDrgRouteRulesDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AddDrgRouteRulesRequest wrapper for the AddDrgRouteRules operation

See also ¶

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

func (AddDrgRouteRulesRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AddDrgRouteRulesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddDrgRouteRulesRequest) RetryPolicy ¶

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

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

func (AddDrgRouteRulesRequest) String ¶

func (request AddDrgRouteRulesRequest) String() string

func (AddDrgRouteRulesRequest) ValidateEnumValue ¶

func (request AddDrgRouteRulesRequest) 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 AddDrgRouteRulesResponse ¶

type AddDrgRouteRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []DrgRouteRule instance
	Items []DrgRouteRule `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"`
}

AddDrgRouteRulesResponse wrapper for the AddDrgRouteRules operation

func (AddDrgRouteRulesResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddDrgRouteRulesResponse) String ¶

func (response AddDrgRouteRulesResponse) String() string

type AddImageShapeCompatibilityEntryDetails ¶

type AddImageShapeCompatibilityEntryDetails struct {
	MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"`

	OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"`
}

AddImageShapeCompatibilityEntryDetails Image shape compatibility details.

func (AddImageShapeCompatibilityEntryDetails) String ¶

func (AddImageShapeCompatibilityEntryDetails) ValidateEnumValue ¶

func (m AddImageShapeCompatibilityEntryDetails) 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 AddImageShapeCompatibilityEntryRequest ¶

type AddImageShapeCompatibilityEntryRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Shape name.
	ShapeName *string `mandatory:"true" contributesTo:"path" name:"shapeName"`

	// Image shape compatibility details
	AddImageShapeCompatibilityEntryDetails `contributesTo:"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 `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
}

AddImageShapeCompatibilityEntryRequest wrapper for the AddImageShapeCompatibilityEntry operation

See also ¶

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

func (AddImageShapeCompatibilityEntryRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AddImageShapeCompatibilityEntryRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddImageShapeCompatibilityEntryRequest) RetryPolicy ¶

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

func (AddImageShapeCompatibilityEntryRequest) String ¶

func (AddImageShapeCompatibilityEntryRequest) ValidateEnumValue ¶

func (request AddImageShapeCompatibilityEntryRequest) 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 AddImageShapeCompatibilityEntryResponse ¶

type AddImageShapeCompatibilityEntryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ImageShapeCompatibilityEntry instance
	ImageShapeCompatibilityEntry `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"`
}

AddImageShapeCompatibilityEntryResponse wrapper for the AddImageShapeCompatibilityEntry operation

func (AddImageShapeCompatibilityEntryResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddImageShapeCompatibilityEntryResponse) String ¶

type AddIpv6SubnetCidrRequest ¶ added in v65.1.0

type AddIpv6SubnetCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"`

	// Details object for adding an IPv6 prefix to a subnet.
	AddSubnetIpv6CidrDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AddIpv6SubnetCidrRequest wrapper for the AddIpv6SubnetCidr operation

See also ¶

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

func (AddIpv6SubnetCidrRequest) BinaryRequestBody ¶ added in v65.1.0

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

BinaryRequestBody implements the OCIRequest interface

func (AddIpv6SubnetCidrRequest) HTTPRequest ¶ added in v65.1.0

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

HTTPRequest implements the OCIRequest interface

func (AddIpv6SubnetCidrRequest) RetryPolicy ¶ added in v65.1.0

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

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

func (AddIpv6SubnetCidrRequest) String ¶ added in v65.1.0

func (request AddIpv6SubnetCidrRequest) String() string

func (AddIpv6SubnetCidrRequest) ValidateEnumValue ¶ added in v65.1.0

func (request AddIpv6SubnetCidrRequest) 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 AddIpv6SubnetCidrResponse ¶ added in v65.1.0

type AddIpv6SubnetCidrResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

AddIpv6SubnetCidrResponse wrapper for the AddIpv6SubnetCidr operation

func (AddIpv6SubnetCidrResponse) HTTPResponse ¶ added in v65.1.0

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

HTTPResponse implements the OCIResponse interface

func (AddIpv6SubnetCidrResponse) String ¶ added in v65.1.0

func (response AddIpv6SubnetCidrResponse) String() string

type AddIpv6VcnCidrRequest ¶

type AddIpv6VcnCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

	// Details object for adding an IPv6 VCN CIDR.
	AddVcnIpv6CidrDetails `contributesTo:"body"`

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

AddIpv6VcnCidrRequest wrapper for the AddIpv6VcnCidr operation

See also ¶

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

func (AddIpv6VcnCidrRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AddIpv6VcnCidrRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddIpv6VcnCidrRequest) RetryPolicy ¶

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

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

func (AddIpv6VcnCidrRequest) String ¶

func (request AddIpv6VcnCidrRequest) String() string

func (AddIpv6VcnCidrRequest) ValidateEnumValue ¶

func (request AddIpv6VcnCidrRequest) 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 AddIpv6VcnCidrResponse ¶

type AddIpv6VcnCidrResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

AddIpv6VcnCidrResponse wrapper for the AddIpv6VcnCidr operation

func (AddIpv6VcnCidrResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddIpv6VcnCidrResponse) String ¶

func (response AddIpv6VcnCidrResponse) String() string

type AddNetworkSecurityGroupSecurityRulesDetails ¶

type AddNetworkSecurityGroupSecurityRulesDetails struct {

	// The NSG security rules to add.
	SecurityRules []AddSecurityRuleDetails `mandatory:"false" json:"securityRules"`
}

AddNetworkSecurityGroupSecurityRulesDetails The representation of AddNetworkSecurityGroupSecurityRulesDetails

func (AddNetworkSecurityGroupSecurityRulesDetails) String ¶

func (AddNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue ¶

func (m AddNetworkSecurityGroupSecurityRulesDetails) 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 AddNetworkSecurityGroupSecurityRulesRequest ¶

type AddNetworkSecurityGroupSecurityRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Request with one or more security rules to be associated with the network security group.
	AddNetworkSecurityGroupSecurityRulesDetails `contributesTo:"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 `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
}

AddNetworkSecurityGroupSecurityRulesRequest wrapper for the AddNetworkSecurityGroupSecurityRules operation

See also ¶

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

func (AddNetworkSecurityGroupSecurityRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (AddNetworkSecurityGroupSecurityRulesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddNetworkSecurityGroupSecurityRulesRequest) RetryPolicy ¶

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

func (AddNetworkSecurityGroupSecurityRulesRequest) String ¶

func (AddNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue ¶

func (request AddNetworkSecurityGroupSecurityRulesRequest) 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 AddNetworkSecurityGroupSecurityRulesResponse ¶

type AddNetworkSecurityGroupSecurityRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AddedNetworkSecurityGroupSecurityRules instance
	AddedNetworkSecurityGroupSecurityRules `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"`
}

AddNetworkSecurityGroupSecurityRulesResponse wrapper for the AddNetworkSecurityGroupSecurityRules operation

func (AddNetworkSecurityGroupSecurityRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (AddNetworkSecurityGroupSecurityRulesResponse) String ¶

type AddPublicIpPoolCapacityDetails ¶

type AddPublicIpPoolCapacityDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs.
	ByoipRangeId *string `mandatory:"true" json:"byoipRangeId"`

	// The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in `byoipRangeId`, or a subrange.
	// Example: `10.0.1.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

AddPublicIpPoolCapacityDetails The information used to add capacity to an IP pool.

func (AddPublicIpPoolCapacityDetails) String ¶

func (AddPublicIpPoolCapacityDetails) ValidateEnumValue ¶

func (m AddPublicIpPoolCapacityDetails) 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 AddPublicIpPoolCapacityRequest ¶

type AddPublicIpPoolCapacityRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"`

	// Byoip Range prefix and a cidr from it
	AddPublicIpPoolCapacityDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

AddPublicIpPoolCapacityRequest wrapper for the AddPublicIpPoolCapacity operation

See also ¶

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

func (AddPublicIpPoolCapacityRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AddPublicIpPoolCapacityRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddPublicIpPoolCapacityRequest) RetryPolicy ¶

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

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

func (AddPublicIpPoolCapacityRequest) String ¶

func (request AddPublicIpPoolCapacityRequest) String() string

func (AddPublicIpPoolCapacityRequest) ValidateEnumValue ¶

func (request AddPublicIpPoolCapacityRequest) 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 AddPublicIpPoolCapacityResponse ¶

type AddPublicIpPoolCapacityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIpPool instance
	PublicIpPool `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"`
}

AddPublicIpPoolCapacityResponse wrapper for the AddPublicIpPoolCapacity operation

func (AddPublicIpPoolCapacityResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddPublicIpPoolCapacityResponse) String ¶

func (response AddPublicIpPoolCapacityResponse) String() string

type AddSecurityRuleDetails ¶

type AddSecurityRuleDetails struct {

	// Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
	// or `INGRESS` for rules to allow inbound IP packets.
	Direction AddSecurityRuleDetailsDirectionEnum `mandatory:"true" json:"direction"`

	// The transport protocol. Specify either `all` or an IPv4 protocol number as
	// defined in
	// Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
	// Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
	Protocol *string `mandatory:"true" json:"protocol"`

	// An optional description of your choice for the rule. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Conceptually, this is the range of IP addresses that a packet originating from the instance
	// can go to.
	// Allowed values:
	//   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     IPv6 addressing is supported for all commercial and government regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	//   * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same
	//     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
	//     traffic between VNICs in the same NSG.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule. Required if `direction` = `EGRESS`.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	//   * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a
	//     NetworkSecurityGroup.
	DestinationType AddSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	// A stateless rule allows traffic in one direction. Remember to add a corresponding
	// stateless rule in the other direction if you need to support bidirectional traffic. For
	// example, if egress traffic allows TCP destination port 80, there should be an ingress
	// rule to allow TCP source port 80. Defaults to false, which means the rule is stateful
	// and a corresponding rule is not necessary for bidirectional traffic.
	IsStateless *bool `mandatory:"false" json:"isStateless"`

	// Conceptually, this is the range of IP addresses that a packet coming into the instance
	// can come from.
	// Allowed values:
	//   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     IPv6 addressing is supported for all commercial and government regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security rule for traffic coming from a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	//   * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same
	//     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
	//     traffic between VNICs in the same NSG.
	Source *string `mandatory:"false" json:"source"`

	// Type of source for the rule. Required if `direction` = `INGRESS`.
	//   * `CIDR_BLOCK`: If the rule's `source` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
	//     Service (the rule is for traffic coming from a
	//     particular `Service` through a service gateway).
	//   * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a
	//     NetworkSecurityGroup.
	SourceType AddSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`
}

AddSecurityRuleDetails A rule for allowing inbound (INGRESS) or outbound (EGRESS) IP packets.

func (AddSecurityRuleDetails) String ¶

func (m AddSecurityRuleDetails) String() string

func (AddSecurityRuleDetails) ValidateEnumValue ¶

func (m AddSecurityRuleDetails) 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 AddSecurityRuleDetailsDestinationTypeEnum ¶

type AddSecurityRuleDetailsDestinationTypeEnum string

AddSecurityRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	AddSecurityRuleDetailsDestinationTypeCidrBlock            AddSecurityRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
	AddSecurityRuleDetailsDestinationTypeServiceCidrBlock     AddSecurityRuleDetailsDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
	AddSecurityRuleDetailsDestinationTypeNetworkSecurityGroup AddSecurityRuleDetailsDestinationTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for AddSecurityRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDestinationTypeEnumValues ¶

func GetAddSecurityRuleDetailsDestinationTypeEnumValues() []AddSecurityRuleDetailsDestinationTypeEnum

GetAddSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsDestinationTypeEnum

func GetMappingAddSecurityRuleDetailsDestinationTypeEnum ¶

func GetMappingAddSecurityRuleDetailsDestinationTypeEnum(val string) (AddSecurityRuleDetailsDestinationTypeEnum, bool)

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

type AddSecurityRuleDetailsDirectionEnum ¶

type AddSecurityRuleDetailsDirectionEnum string

AddSecurityRuleDetailsDirectionEnum Enum with underlying type: string

const (
	AddSecurityRuleDetailsDirectionEgress  AddSecurityRuleDetailsDirectionEnum = "EGRESS"
	AddSecurityRuleDetailsDirectionIngress AddSecurityRuleDetailsDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for AddSecurityRuleDetailsDirectionEnum

func GetAddSecurityRuleDetailsDirectionEnumValues ¶

func GetAddSecurityRuleDetailsDirectionEnumValues() []AddSecurityRuleDetailsDirectionEnum

GetAddSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for AddSecurityRuleDetailsDirectionEnum

func GetMappingAddSecurityRuleDetailsDirectionEnum ¶

func GetMappingAddSecurityRuleDetailsDirectionEnum(val string) (AddSecurityRuleDetailsDirectionEnum, bool)

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

type AddSecurityRuleDetailsSourceTypeEnum ¶

type AddSecurityRuleDetailsSourceTypeEnum string

AddSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string

const (
	AddSecurityRuleDetailsSourceTypeCidrBlock            AddSecurityRuleDetailsSourceTypeEnum = "CIDR_BLOCK"
	AddSecurityRuleDetailsSourceTypeServiceCidrBlock     AddSecurityRuleDetailsSourceTypeEnum = "SERVICE_CIDR_BLOCK"
	AddSecurityRuleDetailsSourceTypeNetworkSecurityGroup AddSecurityRuleDetailsSourceTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for AddSecurityRuleDetailsSourceTypeEnum

func GetAddSecurityRuleDetailsSourceTypeEnumValues ¶

func GetAddSecurityRuleDetailsSourceTypeEnumValues() []AddSecurityRuleDetailsSourceTypeEnum

GetAddSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsSourceTypeEnum

func GetMappingAddSecurityRuleDetailsSourceTypeEnum ¶

func GetMappingAddSecurityRuleDetailsSourceTypeEnum(val string) (AddSecurityRuleDetailsSourceTypeEnum, bool)

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

type AddSubnetIpv6CidrDetails ¶ added in v65.1.0

type AddSubnetIpv6CidrDetails struct {

	// This field is not required and should only be specified when adding an IPv6 prefix
	// to a subnet's IPv6 address space.
	// SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123::/64`
	Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"`
}

AddSubnetIpv6CidrDetails Details used when adding an IPv6 prefix to a subnet.

func (AddSubnetIpv6CidrDetails) String ¶ added in v65.1.0

func (m AddSubnetIpv6CidrDetails) String() string

func (AddSubnetIpv6CidrDetails) ValidateEnumValue ¶ added in v65.1.0

func (m AddSubnetIpv6CidrDetails) 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 AddVcnCidrDetails ¶

type AddVcnCidrDetails struct {

	// The CIDR block to add.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

AddVcnCidrDetails Details used to add a CIDR block to a VCN.

func (AddVcnCidrDetails) String ¶

func (m AddVcnCidrDetails) String() string

func (AddVcnCidrDetails) ValidateEnumValue ¶

func (m AddVcnCidrDetails) 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 AddVcnCidrRequest ¶

type AddVcnCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Details object for deleting a VCN CIDR.
	AddVcnCidrDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

AddVcnCidrRequest wrapper for the AddVcnCidr operation

See also ¶

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

func (AddVcnCidrRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AddVcnCidrRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AddVcnCidrRequest) RetryPolicy ¶

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

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

func (AddVcnCidrRequest) String ¶

func (request AddVcnCidrRequest) String() string

func (AddVcnCidrRequest) ValidateEnumValue ¶

func (request AddVcnCidrRequest) 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 AddVcnCidrResponse ¶

type AddVcnCidrResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

AddVcnCidrResponse wrapper for the AddVcnCidr operation

func (AddVcnCidrResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AddVcnCidrResponse) String ¶

func (response AddVcnCidrResponse) String() string

type AddVcnIpv6CidrDetails ¶ added in v65.1.0

type AddVcnIpv6CidrDetails struct {

	// This field is not required and should only be specified if a ULA or private IPv6 prefix is desired for VCN's private IP address space.
	// SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123::/48` or `fd00:1000:0:1::/64`
	Ipv6PrivateCidrBlock *string `mandatory:"false" json:"ipv6PrivateCidrBlock"`

	// Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be allocated by Oracle as a GUA.
	IsOracleGuaAllocationEnabled *bool `mandatory:"false" json:"isOracleGuaAllocationEnabled"`

	Byoipv6CidrDetail *Byoipv6CidrDetails `mandatory:"false" json:"byoipv6CidrDetail"`
}

AddVcnIpv6CidrDetails Details used when adding a ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or a BYOIPv6 prefix. You can add only one of these per request.

func (AddVcnIpv6CidrDetails) String ¶ added in v65.1.0

func (m AddVcnIpv6CidrDetails) String() string

func (AddVcnIpv6CidrDetails) ValidateEnumValue ¶ added in v65.1.0

func (m AddVcnIpv6CidrDetails) 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 AddedNetworkSecurityGroupSecurityRules ¶

type AddedNetworkSecurityGroupSecurityRules struct {

	// The NSG security rules that were added.
	SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"`
}

AddedNetworkSecurityGroupSecurityRules The representation of AddedNetworkSecurityGroupSecurityRules

func (AddedNetworkSecurityGroupSecurityRules) String ¶

func (AddedNetworkSecurityGroupSecurityRules) ValidateEnumValue ¶

func (m AddedNetworkSecurityGroupSecurityRules) 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 AdvertiseByoipRangeRequest ¶

type AdvertiseByoipRangeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AdvertiseByoipRangeRequest wrapper for the AdvertiseByoipRange operation

See also ¶

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

func (AdvertiseByoipRangeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AdvertiseByoipRangeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AdvertiseByoipRangeRequest) RetryPolicy ¶

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

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

func (AdvertiseByoipRangeRequest) String ¶

func (request AdvertiseByoipRangeRequest) String() string

func (AdvertiseByoipRangeRequest) ValidateEnumValue ¶

func (request AdvertiseByoipRangeRequest) 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 AdvertiseByoipRangeResponse ¶

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

AdvertiseByoipRangeResponse wrapper for the AdvertiseByoipRange operation

func (AdvertiseByoipRangeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AdvertiseByoipRangeResponse) String ¶

func (response AdvertiseByoipRangeResponse) String() string

type AllowedIkeIpSecParameters ¶

type AllowedIkeIpSecParameters struct {
	AllowedPhaseOneParameters *AllowedPhaseOneParameters `mandatory:"true" json:"allowedPhaseOneParameters"`

	AllowedPhaseTwoParameters *AllowedPhaseTwoParameters `mandatory:"true" json:"allowedPhaseTwoParameters"`

	DefaultPhaseOneParameters *DefaultPhaseOneParameters `mandatory:"true" json:"defaultPhaseOneParameters"`

	DefaultPhaseTwoParameters *DefaultPhaseTwoParameters `mandatory:"true" json:"defaultPhaseTwoParameters"`
}

AllowedIkeIpSecParameters Lists the current allowed and default IPSec tunnel parameters.

func (AllowedIkeIpSecParameters) String ¶

func (m AllowedIkeIpSecParameters) String() string

func (AllowedIkeIpSecParameters) ValidateEnumValue ¶

func (m AllowedIkeIpSecParameters) 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 AllowedPhaseOneParameters ¶

type AllowedPhaseOneParameters struct {

	// Allowed phase one encryption algorithms.
	EncryptionAlgorithms []string `mandatory:"false" json:"encryptionAlgorithms"`

	// Allowed phase one authentication algorithms.
	AuthenticationAlgorithms []string `mandatory:"false" json:"authenticationAlgorithms"`

	// Allowed phase one Diffie-Hellman groups.
	DhGroups []string `mandatory:"false" json:"dhGroups"`
}

AllowedPhaseOneParameters Allowed phase one parameters.

func (AllowedPhaseOneParameters) String ¶

func (m AllowedPhaseOneParameters) String() string

func (AllowedPhaseOneParameters) ValidateEnumValue ¶

func (m AllowedPhaseOneParameters) 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 AllowedPhaseTwoParameters ¶

type AllowedPhaseTwoParameters struct {

	// Allowed phase two encryption algorithms.
	EncryptionAlgorithms []string `mandatory:"false" json:"encryptionAlgorithms"`

	// Allowed phase two authentication algorithms.
	AuthenticationAlgorithms []string `mandatory:"false" json:"authenticationAlgorithms"`

	// Allowed perfect forward secrecy Diffie-Hellman groups.
	PfsDhGroups []string `mandatory:"false" json:"pfsDhGroups"`
}

AllowedPhaseTwoParameters Allowed phase two parameters.

func (AllowedPhaseTwoParameters) String ¶

func (m AllowedPhaseTwoParameters) String() string

func (AllowedPhaseTwoParameters) ValidateEnumValue ¶

func (m AllowedPhaseTwoParameters) 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 AmdMilanBmGpuLaunchInstancePlatformConfig ¶ added in v65.32.1

type AmdMilanBmGpuLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdMilanBmGpuLaunchInstancePlatformConfig The platform configuration used when launching a bare metal GPU instance with the following shape: BM.GPU.GM4.8 (also named BM.GPU.A100-v2.8) (the AMD Milan platform).

func (AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdMilanBmGpuLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.32.1

func (m AmdMilanBmGpuLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdMilanBmGpuLaunchInstancePlatformConfig) String ¶ added in v65.32.1

func (AmdMilanBmGpuLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.32.1

func (m AmdMilanBmGpuLaunchInstancePlatformConfig) 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 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.32.1

type AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.32.1

func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.32.1

func GetMappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdMilanBmGpuPlatformConfig ¶ added in v65.32.1

type AmdMilanBmGpuPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdMilanBmGpuPlatformConfig The platform configuration used when launching a bare metal GPU instance with the following shape: BM.GPU.GM4.8 (also named BM.GPU.A100-v2.8) (the AMD Milan platform).

func (AmdMilanBmGpuPlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdMilanBmGpuPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdMilanBmGpuPlatformConfig) GetIsSecureBootEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdMilanBmGpuPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.32.1

func (m AmdMilanBmGpuPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdMilanBmGpuPlatformConfig) MarshalJSON ¶ added in v65.32.1

func (m AmdMilanBmGpuPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdMilanBmGpuPlatformConfig) String ¶ added in v65.32.1

func (AmdMilanBmGpuPlatformConfig) ValidateEnumValue ¶ added in v65.32.1

func (m AmdMilanBmGpuPlatformConfig) 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 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.32.1

type AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum string

AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps0 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.32.1

func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum

GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.32.1

func GetMappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdMilanBmLaunchInstancePlatformConfig ¶

type AmdMilanBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard.E4.128 or BM.DenseIO.E4.128 (the AMD Milan platform).

func (AmdMilanBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m AmdMilanBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdMilanBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdMilanBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdMilanBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

func (m AmdMilanBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdMilanBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m AmdMilanBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdMilanBmLaunchInstancePlatformConfig) MarshalJSON ¶

func (m AmdMilanBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdMilanBmLaunchInstancePlatformConfig) String ¶

func (AmdMilanBmLaunchInstancePlatformConfig) ValidateEnumValue ¶

func (m AmdMilanBmLaunchInstancePlatformConfig) 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 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶

type AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶

func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶

func GetMappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdMilanBmPlatformConfig ¶

type AmdMilanBmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdMilanBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdMilanBmPlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard.E4.128 or BM.DenseIO.E4.128 (the AMD Milan platform).

func (AmdMilanBmPlatformConfig) GetIsMeasuredBootEnabled ¶

func (m AmdMilanBmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdMilanBmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdMilanBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdMilanBmPlatformConfig) GetIsSecureBootEnabled ¶

func (m AmdMilanBmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdMilanBmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m AmdMilanBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdMilanBmPlatformConfig) MarshalJSON ¶

func (m AmdMilanBmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdMilanBmPlatformConfig) String ¶

func (m AmdMilanBmPlatformConfig) String() string

func (AmdMilanBmPlatformConfig) ValidateEnumValue ¶

func (m AmdMilanBmPlatformConfig) 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 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum ¶

type AmdMilanBmPlatformConfigNumaNodesPerSocketEnum string

AmdMilanBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdMilanBmPlatformConfigNumaNodesPerSocketNps0 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdMilanBmPlatformConfigNumaNodesPerSocketNps1 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdMilanBmPlatformConfigNumaNodesPerSocketNps2 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdMilanBmPlatformConfigNumaNodesPerSocketNps4 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdMilanBmPlatformConfigNumaNodesPerSocketEnum

func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumValues ¶

func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmPlatformConfigNumaNodesPerSocketEnum

GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmPlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum ¶

func GetMappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum(val string) (AmdMilanBmPlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdRomeBmGpuLaunchInstancePlatformConfig ¶ added in v65.4.0

type AmdRomeBmGpuLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdRomeBmGpuLaunchInstancePlatformConfig The platform configuration used when launching a bare metal GPU instance with the BM.GPU4.8 shape (the AMD Rome platform).

func (AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.4.0

func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.4.0

func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.4.0

func (m AmdRomeBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdRomeBmGpuLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.4.0

func (m AmdRomeBmGpuLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdRomeBmGpuLaunchInstancePlatformConfig) String ¶ added in v65.4.0

func (AmdRomeBmGpuLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.4.0

func (m AmdRomeBmGpuLaunchInstancePlatformConfig) 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 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdRomeBmGpuPlatformConfig ¶ added in v65.4.0

type AmdRomeBmGpuPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdRomeBmGpuPlatformConfig The platform configuration of a bare metal GPU instance that uses the BM.GPU4.8 shape (the AMD Rome platform).

func (AmdRomeBmGpuPlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.4.0

func (m AmdRomeBmGpuPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdRomeBmGpuPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdRomeBmGpuPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdRomeBmGpuPlatformConfig) GetIsSecureBootEnabled ¶ added in v65.4.0

func (m AmdRomeBmGpuPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdRomeBmGpuPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.4.0

func (m AmdRomeBmGpuPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdRomeBmGpuPlatformConfig) MarshalJSON ¶ added in v65.4.0

func (m AmdRomeBmGpuPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdRomeBmGpuPlatformConfig) String ¶ added in v65.4.0

func (AmdRomeBmGpuPlatformConfig) ValidateEnumValue ¶ added in v65.4.0

func (m AmdRomeBmGpuPlatformConfig) 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 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum string

AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps0 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum

GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdRomeBmLaunchInstancePlatformConfig ¶

type AmdRomeBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdRomeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard.E3.128 shape (the AMD Rome platform).

func (AmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m AmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdRomeBmLaunchInstancePlatformConfig) MarshalJSON ¶

func (m AmdRomeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdRomeBmLaunchInstancePlatformConfig) String ¶

func (AmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue ¶

func (m AmdRomeBmLaunchInstancePlatformConfig) 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 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdRomeBmPlatformConfig ¶

type AmdRomeBmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket AmdRomeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

AmdRomeBmPlatformConfig The platform configuration of a bare metal instance that uses the BM.Standard.E3.128 shape (the AMD Rome platform).

func (AmdRomeBmPlatformConfig) GetIsMeasuredBootEnabled ¶

func (m AmdRomeBmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdRomeBmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdRomeBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdRomeBmPlatformConfig) GetIsSecureBootEnabled ¶

func (m AmdRomeBmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdRomeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m AmdRomeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdRomeBmPlatformConfig) MarshalJSON ¶

func (m AmdRomeBmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdRomeBmPlatformConfig) String ¶

func (m AmdRomeBmPlatformConfig) String() string

func (AmdRomeBmPlatformConfig) ValidateEnumValue ¶

func (m AmdRomeBmPlatformConfig) 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 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type AmdRomeBmPlatformConfigNumaNodesPerSocketEnum string

AmdRomeBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	AmdRomeBmPlatformConfigNumaNodesPerSocketNps0 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS0"
	AmdRomeBmPlatformConfigNumaNodesPerSocketNps1 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	AmdRomeBmPlatformConfigNumaNodesPerSocketNps2 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
	AmdRomeBmPlatformConfigNumaNodesPerSocketNps4 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum

func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumValues() []AmdRomeBmPlatformConfigNumaNodesPerSocketEnum

GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum

func GetMappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum(val string) (AmdRomeBmPlatformConfigNumaNodesPerSocketEnum, bool)

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

type AmdVmLaunchInstancePlatformConfig ¶

type AmdVmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

AmdVmLaunchInstancePlatformConfig The platform configuration used when launching a virtual machine instance with the AMD platform.

func (AmdVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m AmdVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdVmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

func (m AmdVmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m AmdVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdVmLaunchInstancePlatformConfig) MarshalJSON ¶

func (m AmdVmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdVmLaunchInstancePlatformConfig) String ¶

func (AmdVmLaunchInstancePlatformConfig) ValidateEnumValue ¶

func (m AmdVmLaunchInstancePlatformConfig) 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 AmdVmPlatformConfig ¶

type AmdVmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

AmdVmPlatformConfig The platform configuration of a virtual machine instance that uses the AMD platform.

func (AmdVmPlatformConfig) GetIsMeasuredBootEnabled ¶

func (m AmdVmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (AmdVmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m AmdVmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (AmdVmPlatformConfig) GetIsSecureBootEnabled ¶

func (m AmdVmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (AmdVmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m AmdVmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (AmdVmPlatformConfig) MarshalJSON ¶

func (m AmdVmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdVmPlatformConfig) String ¶

func (m AmdVmPlatformConfig) String() string

func (AmdVmPlatformConfig) ValidateEnumValue ¶

func (m AmdVmPlatformConfig) 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 AmdVmUpdateInstancePlatformConfig ¶ added in v65.59.0

type AmdVmUpdateInstancePlatformConfig struct {

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

AmdVmUpdateInstancePlatformConfig The platform configuration used when updating a virtual machine instance with the AMD platform.

func (AmdVmUpdateInstancePlatformConfig) MarshalJSON ¶ added in v65.59.0

func (m AmdVmUpdateInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AmdVmUpdateInstancePlatformConfig) String ¶ added in v65.59.0

func (AmdVmUpdateInstancePlatformConfig) ValidateEnumValue ¶ added in v65.59.0

func (m AmdVmUpdateInstancePlatformConfig) 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 AppCatalogListing ¶

type AppCatalogListing struct {

	// Listing's contact URL.
	ContactUrl *string `mandatory:"false" json:"contactUrl"`

	// Description of the listing.
	Description *string `mandatory:"false" json:"description"`

	// The OCID of the listing.
	ListingId *string `mandatory:"false" json:"listingId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Date and time the listing was published, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

	// Publisher's logo URL.
	PublisherLogoUrl *string `mandatory:"false" json:"publisherLogoUrl"`

	// Name of the publisher who published this listing.
	PublisherName *string `mandatory:"false" json:"publisherName"`

	// Summary of the listing.
	Summary *string `mandatory:"false" json:"summary"`
}

AppCatalogListing Listing details.

func (AppCatalogListing) String ¶

func (m AppCatalogListing) String() string

func (AppCatalogListing) ValidateEnumValue ¶

func (m AppCatalogListing) 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 AppCatalogListingResourceVersion ¶

type AppCatalogListingResourceVersion struct {

	// The OCID of the listing this resource version belongs to.
	ListingId *string `mandatory:"false" json:"listingId"`

	// Date and time the listing resource version was published, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

	// OCID of the listing resource.
	ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

	// Resource Version.
	ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

	// List of regions that this listing resource version is available.
	// For information about regions, see
	// Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm).
	// Example: `["us-ashburn-1", "us-phoenix-1"]`
	AvailableRegions []string `mandatory:"false" json:"availableRegions"`

	// Array of shapes compatible with this resource.
	// You can enumerate all available shapes by calling ListShapes.
	// Example: `["VM.Standard1.1", "VM.Standard1.2"]`
	CompatibleShapes []string `mandatory:"false" json:"compatibleShapes"`

	// List of accessible ports for instances launched with this listing resource version.
	AccessiblePorts []int `mandatory:"false" json:"accessiblePorts"`

	// Allowed actions for the listing resource.
	AllowedActions []AppCatalogListingResourceVersionAllowedActionsEnum `mandatory:"false" json:"allowedActions,omitempty"`
}

AppCatalogListingResourceVersion Listing Resource Version

func (AppCatalogListingResourceVersion) String ¶

func (AppCatalogListingResourceVersion) ValidateEnumValue ¶

func (m AppCatalogListingResourceVersion) 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 AppCatalogListingResourceVersionAgreements ¶

type AppCatalogListingResourceVersionAgreements struct {

	// The OCID of the listing associated with these agreements.
	ListingId *string `mandatory:"false" json:"listingId"`

	// Listing resource version associated with these agreements.
	ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

	// Oracle TOU link
	OracleTermsOfUseLink *string `mandatory:"false" json:"oracleTermsOfUseLink"`

	// EULA link
	EulaLink *string `mandatory:"false" json:"eulaLink"`

	// Date and time the agreements were retrieved, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimeRetrieved *common.SDKTime `mandatory:"false" json:"timeRetrieved"`

	// A generated signature for this agreement retrieval operation which should be used in the create subscription call.
	Signature *string `mandatory:"false" json:"signature"`
}

AppCatalogListingResourceVersionAgreements Agreements for a listing resource version.

func (AppCatalogListingResourceVersionAgreements) String ¶

func (AppCatalogListingResourceVersionAgreements) ValidateEnumValue ¶

func (m AppCatalogListingResourceVersionAgreements) 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 AppCatalogListingResourceVersionAllowedActionsEnum ¶

type AppCatalogListingResourceVersionAllowedActionsEnum string

AppCatalogListingResourceVersionAllowedActionsEnum Enum with underlying type: string

const (
	AppCatalogListingResourceVersionAllowedActionsSnapshot              AppCatalogListingResourceVersionAllowedActionsEnum = "SNAPSHOT"
	AppCatalogListingResourceVersionAllowedActionsBootVolumeDetach      AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_VOLUME_DETACH"
	AppCatalogListingResourceVersionAllowedActionsPreserveBootVolume    AppCatalogListingResourceVersionAllowedActionsEnum = "PRESERVE_BOOT_VOLUME"
	AppCatalogListingResourceVersionAllowedActionsSerialConsoleAccess   AppCatalogListingResourceVersionAllowedActionsEnum = "SERIAL_CONSOLE_ACCESS"
	AppCatalogListingResourceVersionAllowedActionsBootRecovery          AppCatalogListingResourceVersionAllowedActionsEnum = "BOOT_RECOVERY"
	AppCatalogListingResourceVersionAllowedActionsBackupBootVolume      AppCatalogListingResourceVersionAllowedActionsEnum = "BACKUP_BOOT_VOLUME"
	AppCatalogListingResourceVersionAllowedActionsCaptureConsoleHistory AppCatalogListingResourceVersionAllowedActionsEnum = "CAPTURE_CONSOLE_HISTORY"
)

Set of constants representing the allowable values for AppCatalogListingResourceVersionAllowedActionsEnum

func GetAppCatalogListingResourceVersionAllowedActionsEnumValues ¶

func GetAppCatalogListingResourceVersionAllowedActionsEnumValues() []AppCatalogListingResourceVersionAllowedActionsEnum

GetAppCatalogListingResourceVersionAllowedActionsEnumValues Enumerates the set of values for AppCatalogListingResourceVersionAllowedActionsEnum

func GetMappingAppCatalogListingResourceVersionAllowedActionsEnum ¶

func GetMappingAppCatalogListingResourceVersionAllowedActionsEnum(val string) (AppCatalogListingResourceVersionAllowedActionsEnum, bool)

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

type AppCatalogListingResourceVersionSummary ¶

type AppCatalogListingResourceVersionSummary struct {

	// The OCID of the listing this resource version belongs to.
	ListingId *string `mandatory:"false" json:"listingId"`

	// Date and time the listing resource version was published, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

	// OCID of the listing resource.
	ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

	// Resource Version.
	ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`
}

AppCatalogListingResourceVersionSummary Listing Resource Version summary

func (AppCatalogListingResourceVersionSummary) String ¶

func (AppCatalogListingResourceVersionSummary) ValidateEnumValue ¶

func (m AppCatalogListingResourceVersionSummary) 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 AppCatalogListingSummary ¶

type AppCatalogListingSummary struct {

	// the region free ocid of the listing resource.
	ListingId *string `mandatory:"false" json:"listingId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short summary for the listing.
	Summary *string `mandatory:"false" json:"summary"`

	// The name of the publisher who published this listing.
	PublisherName *string `mandatory:"false" json:"publisherName"`
}

AppCatalogListingSummary A summary of a listing.

func (AppCatalogListingSummary) String ¶

func (m AppCatalogListingSummary) String() string

func (AppCatalogListingSummary) ValidateEnumValue ¶

func (m AppCatalogListingSummary) 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 AppCatalogSubscription ¶

type AppCatalogSubscription struct {

	// Name of the publisher who published this listing.
	PublisherName *string `mandatory:"false" json:"publisherName"`

	// The ocid of the listing resource.
	ListingId *string `mandatory:"false" json:"listingId"`

	// Listing resource version.
	ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

	// Listing resource id.
	ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short summary to the listing.
	Summary *string `mandatory:"false" json:"summary"`

	// The compartmentID of the subscription.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Date and time at which the subscription was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AppCatalogSubscription a subscription for a listing resource version.

func (AppCatalogSubscription) String ¶

func (m AppCatalogSubscription) String() string

func (AppCatalogSubscription) ValidateEnumValue ¶

func (m AppCatalogSubscription) 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 AppCatalogSubscriptionSummary ¶

type AppCatalogSubscriptionSummary struct {

	// Name of the publisher who published this listing.
	PublisherName *string `mandatory:"false" json:"publisherName"`

	// The ocid of the listing resource.
	ListingId *string `mandatory:"false" json:"listingId"`

	// Listing resource version.
	ListingResourceVersion *string `mandatory:"false" json:"listingResourceVersion"`

	// Listing resource id.
	ListingResourceId *string `mandatory:"false" json:"listingResourceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The short summary to the listing.
	Summary *string `mandatory:"false" json:"summary"`

	// The compartmentID of the subscription.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Date and time at which the subscription was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AppCatalogSubscriptionSummary a subscription summary for a listing resource version.

func (AppCatalogSubscriptionSummary) String ¶

func (AppCatalogSubscriptionSummary) ValidateEnumValue ¶

func (m AppCatalogSubscriptionSummary) 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 AttachBootVolumeDetails ¶

type AttachBootVolumeDetails struct {

	// The OCID of the  boot volume.
	BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Refer the top-level definition of encryptionInTransitType.
	// The default value is NONE.
	EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"`
}

AttachBootVolumeDetails The representation of AttachBootVolumeDetails

func (AttachBootVolumeDetails) String ¶

func (m AttachBootVolumeDetails) String() string

func (AttachBootVolumeDetails) ValidateEnumValue ¶

func (m AttachBootVolumeDetails) 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 AttachBootVolumeRequest ¶

type AttachBootVolumeRequest struct {

	// Attach boot volume request
	AttachBootVolumeDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AttachBootVolumeRequest wrapper for the AttachBootVolume operation

See also ¶

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

func (AttachBootVolumeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AttachBootVolumeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachBootVolumeRequest) RetryPolicy ¶

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

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

func (AttachBootVolumeRequest) String ¶

func (request AttachBootVolumeRequest) String() string

func (AttachBootVolumeRequest) ValidateEnumValue ¶

func (request AttachBootVolumeRequest) 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 AttachBootVolumeResponse ¶

type AttachBootVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeAttachment instance
	BootVolumeAttachment `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"`
}

AttachBootVolumeResponse wrapper for the AttachBootVolume operation

func (AttachBootVolumeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AttachBootVolumeResponse) String ¶

func (response AttachBootVolumeResponse) String() string

type AttachEmulatedVolumeDetails ¶

type AttachEmulatedVolumeDetails struct {

	// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
	// see AttachVolume.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`
}

AttachEmulatedVolumeDetails The representation of AttachEmulatedVolumeDetails

func (AttachEmulatedVolumeDetails) GetDevice ¶

func (m AttachEmulatedVolumeDetails) GetDevice() *string

GetDevice returns Device

func (AttachEmulatedVolumeDetails) GetDisplayName ¶

func (m AttachEmulatedVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachEmulatedVolumeDetails) GetInstanceId ¶

func (m AttachEmulatedVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachEmulatedVolumeDetails) GetIsReadOnly ¶

func (m AttachEmulatedVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachEmulatedVolumeDetails) GetIsShareable ¶

func (m AttachEmulatedVolumeDetails) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (AttachEmulatedVolumeDetails) GetVolumeId ¶

func (m AttachEmulatedVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachEmulatedVolumeDetails) MarshalJSON ¶

func (m AttachEmulatedVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachEmulatedVolumeDetails) String ¶

func (AttachEmulatedVolumeDetails) ValidateEnumValue ¶

func (m AttachEmulatedVolumeDetails) 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 AttachIScsiVolumeDetails ¶

type AttachIScsiVolumeDetails struct {

	// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
	// see AttachVolume.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether to use CHAP authentication for the volume attachment. Defaults to false.
	UseChap *bool `mandatory:"false" json:"useChap"`

	// Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
	IsAgentAutoIscsiLoginEnabled *bool `mandatory:"false" json:"isAgentAutoIscsiLoginEnabled"`

	// Refer the top-level definition of encryptionInTransitType.
	// The default value is NONE.
	EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"`
}

AttachIScsiVolumeDetails The representation of AttachIScsiVolumeDetails

func (AttachIScsiVolumeDetails) GetDevice ¶

func (m AttachIScsiVolumeDetails) GetDevice() *string

GetDevice returns Device

func (AttachIScsiVolumeDetails) GetDisplayName ¶

func (m AttachIScsiVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachIScsiVolumeDetails) GetInstanceId ¶

func (m AttachIScsiVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachIScsiVolumeDetails) GetIsReadOnly ¶

func (m AttachIScsiVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachIScsiVolumeDetails) GetIsShareable ¶

func (m AttachIScsiVolumeDetails) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (AttachIScsiVolumeDetails) GetVolumeId ¶

func (m AttachIScsiVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachIScsiVolumeDetails) MarshalJSON ¶

func (m AttachIScsiVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachIScsiVolumeDetails) String ¶

func (m AttachIScsiVolumeDetails) String() string

func (AttachIScsiVolumeDetails) ValidateEnumValue ¶

func (m AttachIScsiVolumeDetails) 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 AttachInstancePoolInstanceDetails ¶

type AttachInstancePoolInstanceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`
}

AttachInstancePoolInstanceDetails An instance that is to be attached to an instance pool.

func (AttachInstancePoolInstanceDetails) String ¶

func (AttachInstancePoolInstanceDetails) ValidateEnumValue ¶

func (m AttachInstancePoolInstanceDetails) 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 AttachInstancePoolInstanceRequest ¶

type AttachInstancePoolInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Attach an instance to a pool
	AttachInstancePoolInstanceDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AttachInstancePoolInstanceRequest wrapper for the AttachInstancePoolInstance operation

See also ¶

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

func (AttachInstancePoolInstanceRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AttachInstancePoolInstanceRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachInstancePoolInstanceRequest) RetryPolicy ¶

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

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

func (AttachInstancePoolInstanceRequest) String ¶

func (request AttachInstancePoolInstanceRequest) String() string

func (AttachInstancePoolInstanceRequest) ValidateEnumValue ¶

func (request AttachInstancePoolInstanceRequest) 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 AttachInstancePoolInstanceResponse ¶

type AttachInstancePoolInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePoolInstance instance
	InstancePoolInstance `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`
}

AttachInstancePoolInstanceResponse wrapper for the AttachInstancePoolInstance operation

func (AttachInstancePoolInstanceResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AttachInstancePoolInstanceResponse) String ¶

func (response AttachInstancePoolInstanceResponse) String() string

type AttachLoadBalancerDetails ¶

type AttachLoadBalancerDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to attach to the instance pool.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// The name of the backend set on the load balancer to add instances to.
	BackendSetName *string `mandatory:"true" json:"backendSetName"`

	// The port value to use when creating the backend set.
	Port *int `mandatory:"true" json:"port"`

	// Indicates which VNIC on each instance in the pool should be used to associate with the load balancer.
	// Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration
	// that is associated with the instance pool.
	VnicSelection *string `mandatory:"true" json:"vnicSelection"`
}

AttachLoadBalancerDetails Represents a load balancer that is to be attached to an instance pool.

func (AttachLoadBalancerDetails) String ¶

func (m AttachLoadBalancerDetails) String() string

func (AttachLoadBalancerDetails) ValidateEnumValue ¶

func (m AttachLoadBalancerDetails) 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 AttachLoadBalancerRequest ¶

type AttachLoadBalancerRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Load balancer being attached
	AttachLoadBalancerDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AttachLoadBalancerRequest wrapper for the AttachLoadBalancer operation

See also ¶

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

func (AttachLoadBalancerRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AttachLoadBalancerRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachLoadBalancerRequest) RetryPolicy ¶

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

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

func (AttachLoadBalancerRequest) String ¶

func (request AttachLoadBalancerRequest) String() string

func (AttachLoadBalancerRequest) ValidateEnumValue ¶

func (request AttachLoadBalancerRequest) 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 AttachLoadBalancerResponse ¶

type AttachLoadBalancerResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

AttachLoadBalancerResponse wrapper for the AttachLoadBalancer operation

func (AttachLoadBalancerResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AttachLoadBalancerResponse) String ¶

func (response AttachLoadBalancerResponse) String() string

type AttachParavirtualizedVolumeDetails ¶

type AttachParavirtualizedVolumeDetails struct {

	// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
	// see AttachVolume.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
}

AttachParavirtualizedVolumeDetails The representation of AttachParavirtualizedVolumeDetails

func (AttachParavirtualizedVolumeDetails) GetDevice ¶

GetDevice returns Device

func (AttachParavirtualizedVolumeDetails) GetDisplayName ¶

func (m AttachParavirtualizedVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachParavirtualizedVolumeDetails) GetInstanceId ¶

func (m AttachParavirtualizedVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachParavirtualizedVolumeDetails) GetIsReadOnly ¶

func (m AttachParavirtualizedVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachParavirtualizedVolumeDetails) GetIsShareable ¶

func (m AttachParavirtualizedVolumeDetails) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (AttachParavirtualizedVolumeDetails) GetVolumeId ¶

func (m AttachParavirtualizedVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (AttachParavirtualizedVolumeDetails) MarshalJSON ¶

func (m AttachParavirtualizedVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachParavirtualizedVolumeDetails) String ¶

func (AttachParavirtualizedVolumeDetails) ValidateEnumValue ¶

func (m AttachParavirtualizedVolumeDetails) 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 AttachServiceDeterminedVolumeDetails ¶

type AttachServiceDeterminedVolumeDetails struct {

	// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
	// see AttachVolume.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`
}

AttachServiceDeterminedVolumeDetails The representation of AttachServiceDeterminedVolumeDetails

func (AttachServiceDeterminedVolumeDetails) GetDevice ¶

GetDevice returns Device

func (AttachServiceDeterminedVolumeDetails) GetDisplayName ¶

func (m AttachServiceDeterminedVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (AttachServiceDeterminedVolumeDetails) GetInstanceId ¶

func (m AttachServiceDeterminedVolumeDetails) GetInstanceId() *string

GetInstanceId returns InstanceId

func (AttachServiceDeterminedVolumeDetails) GetIsReadOnly ¶

func (m AttachServiceDeterminedVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (AttachServiceDeterminedVolumeDetails) GetIsShareable ¶

func (m AttachServiceDeterminedVolumeDetails) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (AttachServiceDeterminedVolumeDetails) GetVolumeId ¶

GetVolumeId returns VolumeId

func (AttachServiceDeterminedVolumeDetails) MarshalJSON ¶

func (m AttachServiceDeterminedVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AttachServiceDeterminedVolumeDetails) String ¶

func (AttachServiceDeterminedVolumeDetails) ValidateEnumValue ¶

func (m AttachServiceDeterminedVolumeDetails) 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 AttachServiceIdRequest ¶

type AttachServiceIdRequest struct {

	// The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

	// ServiceId of Service to be attached to a service gateway.
	AttachServiceDetails ServiceIdRequestDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AttachServiceIdRequest wrapper for the AttachServiceId operation

See also ¶

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

func (AttachServiceIdRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AttachServiceIdRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachServiceIdRequest) RetryPolicy ¶

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

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

func (AttachServiceIdRequest) String ¶

func (request AttachServiceIdRequest) String() string

func (AttachServiceIdRequest) ValidateEnumValue ¶

func (request AttachServiceIdRequest) 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 AttachServiceIdResponse ¶

type AttachServiceIdResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ServiceGateway instance
	ServiceGateway `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"`
}

AttachServiceIdResponse wrapper for the AttachServiceId operation

func (AttachServiceIdResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AttachServiceIdResponse) String ¶

func (response AttachServiceIdResponse) String() string

type AttachVnicDetails ¶

type AttachVnicDetails struct {
	CreateVnicDetails *CreateVnicDetails `mandatory:"true" json:"createVnicDetails"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Which physical network interface card (NIC) the VNIC will use. Defaults to 0.
	// Certain bare metal instance shapes have two active physical NICs (0 and 1). If
	// you add a secondary VNIC to one of these instances, you can specify which NIC
	// the VNIC will use. For more information, see
	// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).
	NicIndex *int `mandatory:"false" json:"nicIndex"`
}

AttachVnicDetails The representation of AttachVnicDetails

func (AttachVnicDetails) String ¶

func (m AttachVnicDetails) String() string

func (AttachVnicDetails) ValidateEnumValue ¶

func (m AttachVnicDetails) 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 AttachVnicRequest ¶

type AttachVnicRequest struct {

	// Attach VNIC details.
	AttachVnicDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AttachVnicRequest wrapper for the AttachVnic operation

See also ¶

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

func (AttachVnicRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AttachVnicRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachVnicRequest) RetryPolicy ¶

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

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

func (AttachVnicRequest) String ¶

func (request AttachVnicRequest) String() string

func (AttachVnicRequest) ValidateEnumValue ¶

func (request AttachVnicRequest) 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 AttachVnicResponse ¶

type AttachVnicResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VnicAttachment instance
	VnicAttachment `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"`
}

AttachVnicResponse wrapper for the AttachVnic operation

func (AttachVnicResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AttachVnicResponse) String ¶

func (response AttachVnicResponse) String() string

type AttachVolumeDetails ¶

type AttachVolumeDetails interface {

	// The OCID of the instance. For AttachVolume operation, this is a required field for the request,
	// see AttachVolume.
	GetInstanceId() *string

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	GetVolumeId() *string

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	GetDevice() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// Whether the attachment was created in read-only mode.
	GetIsReadOnly() *bool

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	GetIsShareable() *bool
}

AttachVolumeDetails The representation of AttachVolumeDetails

type AttachVolumeRequest ¶

type AttachVolumeRequest struct {

	// Attach volume request
	AttachVolumeDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

AttachVolumeRequest wrapper for the AttachVolume operation

See also ¶

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

func (AttachVolumeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (AttachVolumeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (AttachVolumeRequest) RetryPolicy ¶

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

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

func (AttachVolumeRequest) String ¶

func (request AttachVolumeRequest) String() string

func (AttachVolumeRequest) ValidateEnumValue ¶

func (request AttachVolumeRequest) 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 AttachVolumeResponse ¶

type AttachVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeAttachment instance
	VolumeAttachment `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"`
}

AttachVolumeResponse wrapper for the AttachVolume operation

func (AttachVolumeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (AttachVolumeResponse) String ¶

func (response AttachVolumeResponse) String() string

type AutotunePolicy ¶ added in v65.18.1

type AutotunePolicy interface {
}

AutotunePolicy An autotune policy automatically tunes the volume's performace based on the type of the policy.

type AutotunePolicyAutotuneTypeEnum ¶ added in v65.18.1

type AutotunePolicyAutotuneTypeEnum string

AutotunePolicyAutotuneTypeEnum Enum with underlying type: string

const (
	AutotunePolicyAutotuneTypeDetachedVolume   AutotunePolicyAutotuneTypeEnum = "DETACHED_VOLUME"
	AutotunePolicyAutotuneTypePerformanceBased AutotunePolicyAutotuneTypeEnum = "PERFORMANCE_BASED"
)

Set of constants representing the allowable values for AutotunePolicyAutotuneTypeEnum

func GetAutotunePolicyAutotuneTypeEnumValues ¶ added in v65.18.1

func GetAutotunePolicyAutotuneTypeEnumValues() []AutotunePolicyAutotuneTypeEnum

GetAutotunePolicyAutotuneTypeEnumValues Enumerates the set of values for AutotunePolicyAutotuneTypeEnum

func GetMappingAutotunePolicyAutotuneTypeEnum ¶ added in v65.18.1

func GetMappingAutotunePolicyAutotuneTypeEnum(val string) (AutotunePolicyAutotuneTypeEnum, bool)

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

type BgpSessionInfo ¶

type BgpSessionInfo struct {

	// The IP address for the Oracle end of the inside tunnel interface.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is required and used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, this IP address is optional. You can set this IP
	// address so you can troubleshoot or monitor the tunnel.
	// The value must be a /30 or /31.
	// Example: `10.0.0.4/31`
	OracleInterfaceIp *string `mandatory:"false" json:"oracleInterfaceIp"`

	// The IP address for the CPE end of the inside tunnel interface.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is required and used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, this IP address is optional. You can set this IP
	// address so you can troubleshoot or monitor the tunnel.
	// The value must be a /30 or /31.
	// Example: `10.0.0.5/31`
	CustomerInterfaceIp *string `mandatory:"false" json:"customerInterfaceIp"`

	// The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP
	// address to troubleshoot or monitor the tunnel.
	// Only subnet masks from /64 up to /127 are allowed.
	// Example: `2001:db8::1/64`
	OracleInterfaceIpv6 *string `mandatory:"false" json:"oracleInterfaceIpv6"`

	// The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP
	// address to troubleshoot or monitor the tunnel.
	// Only subnet masks from /64 up to /127 are allowed.
	// Example: `2001:db8::1/64`
	CustomerInterfaceIpv6 *string `mandatory:"false" json:"customerInterfaceIpv6"`

	// The Oracle BGP ASN.
	OracleBgpAsn *string `mandatory:"false" json:"oracleBgpAsn"`

	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this ASN
	// is required and used for the tunnel's BGP session. This is the ASN of the network on the
	// CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
	// If the tunnel uses static routing, the `customerBgpAsn` must be null.
	// Example: `12345` (2-byte) or `1587232876` (4-byte)
	CustomerBgpAsn *string `mandatory:"false" json:"customerBgpAsn"`

	// The state of the BGP session.
	BgpState BgpSessionInfoBgpStateEnum `mandatory:"false" json:"bgpState,omitempty"`

	// The state of the BGP IPv6 session.
	BgpIpv6State BgpSessionInfoBgpIpv6StateEnum `mandatory:"false" json:"bgpIpv6State,omitempty"`
}

BgpSessionInfo Information for establishing a BGP session for the IPSec tunnel.

func (BgpSessionInfo) String ¶

func (m BgpSessionInfo) String() string

func (BgpSessionInfo) ValidateEnumValue ¶

func (m BgpSessionInfo) 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 BgpSessionInfoBgpIpv6StateEnum ¶

type BgpSessionInfoBgpIpv6StateEnum string

BgpSessionInfoBgpIpv6StateEnum Enum with underlying type: string

const (
	BgpSessionInfoBgpIpv6StateUp   BgpSessionInfoBgpIpv6StateEnum = "UP"
	BgpSessionInfoBgpIpv6StateDown BgpSessionInfoBgpIpv6StateEnum = "DOWN"
)

Set of constants representing the allowable values for BgpSessionInfoBgpIpv6StateEnum

func GetBgpSessionInfoBgpIpv6StateEnumValues ¶

func GetBgpSessionInfoBgpIpv6StateEnumValues() []BgpSessionInfoBgpIpv6StateEnum

GetBgpSessionInfoBgpIpv6StateEnumValues Enumerates the set of values for BgpSessionInfoBgpIpv6StateEnum

func GetMappingBgpSessionInfoBgpIpv6StateEnum ¶

func GetMappingBgpSessionInfoBgpIpv6StateEnum(val string) (BgpSessionInfoBgpIpv6StateEnum, bool)

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

type BgpSessionInfoBgpStateEnum ¶

type BgpSessionInfoBgpStateEnum string

BgpSessionInfoBgpStateEnum Enum with underlying type: string

const (
	BgpSessionInfoBgpStateUp   BgpSessionInfoBgpStateEnum = "UP"
	BgpSessionInfoBgpStateDown BgpSessionInfoBgpStateEnum = "DOWN"
)

Set of constants representing the allowable values for BgpSessionInfoBgpStateEnum

func GetBgpSessionInfoBgpStateEnumValues ¶

func GetBgpSessionInfoBgpStateEnumValues() []BgpSessionInfoBgpStateEnum

GetBgpSessionInfoBgpStateEnumValues Enumerates the set of values for BgpSessionInfoBgpStateEnum

func GetMappingBgpSessionInfoBgpStateEnum ¶

func GetMappingBgpSessionInfoBgpStateEnum(val string) (BgpSessionInfoBgpStateEnum, bool)

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

type BlockVolumeReplica ¶

type BlockVolumeReplica struct {

	// The availability domain of the block volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the block volume replica.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The block volume replica's Oracle ID (OCID).
	Id *string `mandatory:"true" json:"id"`

	// The current state of a block volume replica.
	LifecycleState BlockVolumeReplicaLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The size of the source block volume, in GBs.
	SizeInGBs *int64 `mandatory:"true" json:"sizeInGBs"`

	// The date and time the block volume replica was created. Format defined
	// by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the block volume replica was last synced from the source block volume.
	// Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastSynced *common.SDKTime `mandatory:"true" json:"timeLastSynced"`

	// The OCID of the source block volume.
	BlockVolumeId *string `mandatory:"true" json:"blockVolumeId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The total size of the data transferred from the source block volume to the block volume replica, in GBs.
	TotalDataTransferredInGBs *int64 `mandatory:"false" json:"totalDataTransferredInGBs"`

	// The OCID of the volume group replica.
	VolumeGroupReplicaId *string `mandatory:"false" json:"volumeGroupReplicaId"`
}

BlockVolumeReplica An asynchronous replica of a block volume that can then be used to create a new block volume or recover a block volume. For more information, see Overview of Cross-Region Volume Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumereplication.htm) To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BlockVolumeReplica) String ¶

func (m BlockVolumeReplica) String() string

func (BlockVolumeReplica) ValidateEnumValue ¶

func (m BlockVolumeReplica) 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 BlockVolumeReplicaDetails ¶

type BlockVolumeReplicaDetails struct {

	// The availability domain of the block volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

BlockVolumeReplicaDetails Contains the details for the block volume replica

func (BlockVolumeReplicaDetails) String ¶

func (m BlockVolumeReplicaDetails) String() string

func (BlockVolumeReplicaDetails) ValidateEnumValue ¶

func (m BlockVolumeReplicaDetails) 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 BlockVolumeReplicaInfo ¶

type BlockVolumeReplicaInfo struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The block volume replica's Oracle ID (OCID).
	BlockVolumeReplicaId *string `mandatory:"true" json:"blockVolumeReplicaId"`

	// The availability domain of the block volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
}

BlockVolumeReplicaInfo Information about the block volume replica in the destination availability domain.

func (BlockVolumeReplicaInfo) String ¶

func (m BlockVolumeReplicaInfo) String() string

func (BlockVolumeReplicaInfo) ValidateEnumValue ¶

func (m BlockVolumeReplicaInfo) 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 BlockVolumeReplicaLifecycleStateEnum ¶

type BlockVolumeReplicaLifecycleStateEnum string

BlockVolumeReplicaLifecycleStateEnum Enum with underlying type: string

const (
	BlockVolumeReplicaLifecycleStateProvisioning BlockVolumeReplicaLifecycleStateEnum = "PROVISIONING"
	BlockVolumeReplicaLifecycleStateAvailable    BlockVolumeReplicaLifecycleStateEnum = "AVAILABLE"
	BlockVolumeReplicaLifecycleStateActivating   BlockVolumeReplicaLifecycleStateEnum = "ACTIVATING"
	BlockVolumeReplicaLifecycleStateTerminating  BlockVolumeReplicaLifecycleStateEnum = "TERMINATING"
	BlockVolumeReplicaLifecycleStateTerminated   BlockVolumeReplicaLifecycleStateEnum = "TERMINATED"
	BlockVolumeReplicaLifecycleStateFaulty       BlockVolumeReplicaLifecycleStateEnum = "FAULTY"
)

Set of constants representing the allowable values for BlockVolumeReplicaLifecycleStateEnum

func GetBlockVolumeReplicaLifecycleStateEnumValues ¶

func GetBlockVolumeReplicaLifecycleStateEnumValues() []BlockVolumeReplicaLifecycleStateEnum

GetBlockVolumeReplicaLifecycleStateEnumValues Enumerates the set of values for BlockVolumeReplicaLifecycleStateEnum

func GetMappingBlockVolumeReplicaLifecycleStateEnum ¶

func GetMappingBlockVolumeReplicaLifecycleStateEnum(val string) (BlockVolumeReplicaLifecycleStateEnum, bool)

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

type BlockstorageClient ¶

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

BlockstorageClient a client for Blockstorage

func NewBlockstorageClientWithConfigurationProvider ¶

func NewBlockstorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BlockstorageClient, err error)

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

func NewBlockstorageClientWithOboToken ¶

func NewBlockstorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BlockstorageClient, err error)

NewBlockstorageClientWithOboToken Creates a new default Blockstorage 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 (BlockstorageClient) ChangeBootVolumeBackupCompartment ¶

func (client BlockstorageClient) ChangeBootVolumeBackupCompartment(ctx context.Context, request ChangeBootVolumeBackupCompartmentRequest) (response ChangeBootVolumeBackupCompartmentResponse, err error)

ChangeBootVolumeBackupCompartment Moves a boot volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (BlockstorageClient) ChangeBootVolumeCompartment ¶

func (client BlockstorageClient) ChangeBootVolumeCompartment(ctx context.Context, request ChangeBootVolumeCompartmentRequest) (response ChangeBootVolumeCompartmentResponse, err error)

ChangeBootVolumeCompartment Moves a boot volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (BlockstorageClient) ChangeVolumeBackupCompartment ¶

func (client BlockstorageClient) ChangeVolumeBackupCompartment(ctx context.Context, request ChangeVolumeBackupCompartmentRequest) (response ChangeVolumeBackupCompartmentResponse, err error)

ChangeVolumeBackupCompartment Moves a volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (BlockstorageClient) ChangeVolumeCompartment ¶

func (client BlockstorageClient) ChangeVolumeCompartment(ctx context.Context, request ChangeVolumeCompartmentRequest) (response ChangeVolumeCompartmentResponse, err error)

ChangeVolumeCompartment Moves a volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (BlockstorageClient) ChangeVolumeGroupBackupCompartment ¶

func (client BlockstorageClient) ChangeVolumeGroupBackupCompartment(ctx context.Context, request ChangeVolumeGroupBackupCompartmentRequest) (response ChangeVolumeGroupBackupCompartmentResponse, err error)

ChangeVolumeGroupBackupCompartment Moves a volume group backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (BlockstorageClient) ChangeVolumeGroupCompartment ¶

func (client BlockstorageClient) ChangeVolumeGroupCompartment(ctx context.Context, request ChangeVolumeGroupCompartmentRequest) (response ChangeVolumeGroupCompartmentResponse, err error)

ChangeVolumeGroupCompartment Moves a volume group into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (*BlockstorageClient) ConfigurationProvider ¶

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

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

func (BlockstorageClient) CopyBootVolumeBackup ¶

func (client BlockstorageClient) CopyBootVolumeBackup(ctx context.Context, request CopyBootVolumeBackupRequest) (response CopyBootVolumeBackupResponse, err error)

CopyBootVolumeBackup Creates a boot volume backup copy in specified region. For general information about volume backups, see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm)

See also ¶

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

func (BlockstorageClient) CopyVolumeBackup ¶

func (client BlockstorageClient) CopyVolumeBackup(ctx context.Context, request CopyVolumeBackupRequest) (response CopyVolumeBackupResponse, err error)

CopyVolumeBackup Creates a volume backup copy in specified region. For general information about volume backups, see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm)

See also ¶

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

func (BlockstorageClient) CopyVolumeGroupBackup ¶

func (client BlockstorageClient) CopyVolumeGroupBackup(ctx context.Context, request CopyVolumeGroupBackupRequest) (response CopyVolumeGroupBackupResponse, err error)

CopyVolumeGroupBackup Creates a volume group backup copy in specified region. For general information about volume group backups, see Overview of Block Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm).

See also ¶

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

func (BlockstorageClient) CreateBootVolume ¶

func (client BlockstorageClient) CreateBootVolume(ctx context.Context, request CreateBootVolumeRequest) (response CreateBootVolumeResponse, err error)

CreateBootVolume Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see Boot Volumes (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm). You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) CreateBootVolumeBackup ¶

func (client BlockstorageClient) CreateBootVolumeBackup(ctx context.Context, request CreateBootVolumeBackupRequest) (response CreateBootVolumeBackupResponse, err error)

CreateBootVolumeBackup Creates a new boot volume backup of the specified boot volume. For general information about boot volume backups, see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.

See also ¶

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

func (BlockstorageClient) CreateVolume ¶

func (client BlockstorageClient) CreateVolume(ctx context.Context, request CreateVolumeRequest) (response CreateVolumeResponse, err error)

CreateVolume Creates a new volume in the specified compartment. Volumes can be created in sizes ranging from 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB). For general information about block volumes, see Overview of Block Volume Service (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). A volume and instance can be in separate compartments but must be in the same availability domain. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) CreateVolumeBackup ¶

func (client BlockstorageClient) CreateVolumeBackup(ctx context.Context, request CreateVolumeBackupRequest) (response CreateVolumeBackupResponse, err error)

CreateVolumeBackup Creates a new backup of the specified volume. For general information about volume backups, see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm) When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.

See also ¶

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

func (BlockstorageClient) CreateVolumeBackupPolicy ¶

func (client BlockstorageClient) CreateVolumeBackupPolicy(ctx context.Context, request CreateVolumeBackupPolicyRequest) (response CreateVolumeBackupPolicyResponse, err error)

CreateVolumeBackupPolicy Creates a new user defined backup policy. For more information about Oracle defined backup policies and user defined backup policies, see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).

See also ¶

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

func (BlockstorageClient) CreateVolumeBackupPolicyAssignment ¶

func (client BlockstorageClient) CreateVolumeBackupPolicyAssignment(ctx context.Context, request CreateVolumeBackupPolicyAssignmentRequest) (response CreateVolumeBackupPolicyAssignmentResponse, err error)

CreateVolumeBackupPolicyAssignment Assigns a volume backup policy to the specified volume. Note that a given volume can only have one backup policy assigned to it. If this operation is used for a volume that already has a different backup policy assigned, the prior backup policy will be silently unassigned.

See also ¶

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

func (BlockstorageClient) CreateVolumeGroup ¶

func (client BlockstorageClient) CreateVolumeGroup(ctx context.Context, request CreateVolumeGroupRequest) (response CreateVolumeGroupResponse, err error)

CreateVolumeGroup Creates a new volume group in the specified compartment. A volume group is a collection of volumes and may be created from a list of volumes, cloning an existing volume group, or by restoring a volume group backup. You may optionally specify a *display name* for the volume group, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) CreateVolumeGroupBackup ¶

func (client BlockstorageClient) CreateVolumeGroupBackup(ctx context.Context, request CreateVolumeGroupBackupRequest) (response CreateVolumeGroupBackupResponse, err error)

CreateVolumeGroupBackup Creates a new backup volume group of the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) DeleteBootVolume ¶

func (client BlockstorageClient) DeleteBootVolume(ctx context.Context, request DeleteBootVolumeRequest) (response DeleteBootVolumeResponse, err error)

DeleteBootVolume Deletes the specified boot volume. The volume cannot have an active connection to an instance. To disconnect the boot volume from a connected instance, see Disconnecting From a Boot Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/deletingbootvolume.htm). **Warning:** All data on the boot volume will be permanently lost when the boot volume is deleted.

See also ¶

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

func (BlockstorageClient) DeleteBootVolumeBackup ¶

func (client BlockstorageClient) DeleteBootVolumeBackup(ctx context.Context, request DeleteBootVolumeBackupRequest) (response DeleteBootVolumeBackupResponse, err error)

DeleteBootVolumeBackup Deletes a boot volume backup.

See also ¶

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

func (BlockstorageClient) DeleteBootVolumeKmsKey ¶

func (client BlockstorageClient) DeleteBootVolumeKmsKey(ctx context.Context, request DeleteBootVolumeKmsKeyRequest) (response DeleteBootVolumeKmsKeyResponse, err error)

DeleteBootVolumeKmsKey Removes the specified boot volume's assigned Vault Service encryption key.

See also ¶

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

func (BlockstorageClient) DeleteVolume ¶

func (client BlockstorageClient) DeleteVolume(ctx context.Context, request DeleteVolumeRequest) (response DeleteVolumeResponse, err error)

DeleteVolume Deletes the specified volume. The volume cannot have an active connection to an instance. To disconnect the volume from a connected instance, see Disconnecting From a Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/disconnectingfromavolume.htm). **Warning:** All data on the volume will be permanently lost when the volume is deleted.

See also ¶

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

func (BlockstorageClient) DeleteVolumeBackup ¶

func (client BlockstorageClient) DeleteVolumeBackup(ctx context.Context, request DeleteVolumeBackupRequest) (response DeleteVolumeBackupResponse, err error)

DeleteVolumeBackup Deletes a volume backup.

See also ¶

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

func (BlockstorageClient) DeleteVolumeBackupPolicy ¶

func (client BlockstorageClient) DeleteVolumeBackupPolicy(ctx context.Context, request DeleteVolumeBackupPolicyRequest) (response DeleteVolumeBackupPolicyResponse, err error)

DeleteVolumeBackupPolicy Deletes a user defined backup policy.

For more information about user defined backup policies,
see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies).
Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) DeleteVolumeBackupPolicyAssignment ¶

func (client BlockstorageClient) DeleteVolumeBackupPolicyAssignment(ctx context.Context, request DeleteVolumeBackupPolicyAssignmentRequest) (response DeleteVolumeBackupPolicyAssignmentResponse, err error)

DeleteVolumeBackupPolicyAssignment Deletes a volume backup policy assignment.

See also ¶

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

func (BlockstorageClient) DeleteVolumeGroup ¶

func (client BlockstorageClient) DeleteVolumeGroup(ctx context.Context, request DeleteVolumeGroupRequest) (response DeleteVolumeGroupResponse, err error)

DeleteVolumeGroup Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) DeleteVolumeGroupBackup ¶

func (client BlockstorageClient) DeleteVolumeGroupBackup(ctx context.Context, request DeleteVolumeGroupBackupRequest) (response DeleteVolumeGroupBackupResponse, err error)

DeleteVolumeGroupBackup Deletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) DeleteVolumeKmsKey ¶

func (client BlockstorageClient) DeleteVolumeKmsKey(ctx context.Context, request DeleteVolumeKmsKeyRequest) (response DeleteVolumeKmsKeyResponse, err error)

DeleteVolumeKmsKey Removes the specified volume's assigned Vault service encryption key.

See also ¶

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

func (BlockstorageClient) GetBlockVolumeReplica ¶

func (client BlockstorageClient) GetBlockVolumeReplica(ctx context.Context, request GetBlockVolumeReplicaRequest) (response GetBlockVolumeReplicaResponse, err error)

GetBlockVolumeReplica Gets information for the specified block volume replica.

See also ¶

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

func (BlockstorageClient) GetBootVolume ¶

func (client BlockstorageClient) GetBootVolume(ctx context.Context, request GetBootVolumeRequest) (response GetBootVolumeResponse, err error)

GetBootVolume Gets information for the specified boot volume.

See also ¶

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

func (BlockstorageClient) GetBootVolumeBackup ¶

func (client BlockstorageClient) GetBootVolumeBackup(ctx context.Context, request GetBootVolumeBackupRequest) (response GetBootVolumeBackupResponse, err error)

GetBootVolumeBackup Gets information for the specified boot volume backup.

See also ¶

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

func (BlockstorageClient) GetBootVolumeKmsKey ¶

func (client BlockstorageClient) GetBootVolumeKmsKey(ctx context.Context, request GetBootVolumeKmsKeyRequest) (response GetBootVolumeKmsKeyResponse, err error)

GetBootVolumeKmsKey Gets the Vault service encryption key assigned to the specified boot volume.

See also ¶

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

func (BlockstorageClient) GetBootVolumeReplica ¶

func (client BlockstorageClient) GetBootVolumeReplica(ctx context.Context, request GetBootVolumeReplicaRequest) (response GetBootVolumeReplicaResponse, err error)

GetBootVolumeReplica Gets information for the specified boot volume replica.

See also ¶

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

func (BlockstorageClient) GetVolume ¶

func (client BlockstorageClient) GetVolume(ctx context.Context, request GetVolumeRequest) (response GetVolumeResponse, err error)

GetVolume Gets information for the specified volume.

See also ¶

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

func (BlockstorageClient) GetVolumeBackup ¶

func (client BlockstorageClient) GetVolumeBackup(ctx context.Context, request GetVolumeBackupRequest) (response GetVolumeBackupResponse, err error)

GetVolumeBackup Gets information for the specified volume backup.

See also ¶

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

func (BlockstorageClient) GetVolumeBackupPolicy ¶

func (client BlockstorageClient) GetVolumeBackupPolicy(ctx context.Context, request GetVolumeBackupPolicyRequest) (response GetVolumeBackupPolicyResponse, err error)

GetVolumeBackupPolicy Gets information for the specified volume backup policy.

See also ¶

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

func (BlockstorageClient) GetVolumeBackupPolicyAssetAssignment ¶

func (client BlockstorageClient) GetVolumeBackupPolicyAssetAssignment(ctx context.Context, request GetVolumeBackupPolicyAssetAssignmentRequest) (response GetVolumeBackupPolicyAssetAssignmentResponse, err error)

GetVolumeBackupPolicyAssetAssignment Gets the volume backup policy assignment for the specified volume. The `assetId` query parameter is required, and the returned list will contain at most one item, since volume can only have one volume backup policy assigned at a time.

See also ¶

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

func (BlockstorageClient) GetVolumeBackupPolicyAssignment ¶

func (client BlockstorageClient) GetVolumeBackupPolicyAssignment(ctx context.Context, request GetVolumeBackupPolicyAssignmentRequest) (response GetVolumeBackupPolicyAssignmentResponse, err error)

GetVolumeBackupPolicyAssignment Gets information for the specified volume backup policy assignment.

See also ¶

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

func (BlockstorageClient) GetVolumeGroup ¶

func (client BlockstorageClient) GetVolumeGroup(ctx context.Context, request GetVolumeGroupRequest) (response GetVolumeGroupResponse, err error)

GetVolumeGroup Gets information for the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) GetVolumeGroupBackup ¶

func (client BlockstorageClient) GetVolumeGroupBackup(ctx context.Context, request GetVolumeGroupBackupRequest) (response GetVolumeGroupBackupResponse, err error)

GetVolumeGroupBackup Gets information for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) GetVolumeGroupReplica ¶

func (client BlockstorageClient) GetVolumeGroupReplica(ctx context.Context, request GetVolumeGroupReplicaRequest) (response GetVolumeGroupReplicaResponse, err error)

GetVolumeGroupReplica Gets information for the specified volume group replica.

See also ¶

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

func (BlockstorageClient) GetVolumeKmsKey ¶

func (client BlockstorageClient) GetVolumeKmsKey(ctx context.Context, request GetVolumeKmsKeyRequest) (response GetVolumeKmsKeyResponse, err error)

GetVolumeKmsKey Gets the Vault service encryption key assigned to the specified volume.

See also ¶

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

func (BlockstorageClient) ListBlockVolumeReplicas ¶

func (client BlockstorageClient) ListBlockVolumeReplicas(ctx context.Context, request ListBlockVolumeReplicasRequest) (response ListBlockVolumeReplicasResponse, err error)

ListBlockVolumeReplicas Lists the block volume replicas in the specified compartment and availability domain.

See also ¶

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

func (BlockstorageClient) ListBootVolumeBackups ¶

func (client BlockstorageClient) ListBootVolumeBackups(ctx context.Context, request ListBootVolumeBackupsRequest) (response ListBootVolumeBackupsResponse, err error)

ListBootVolumeBackups Lists the boot volume backups in the specified compartment. You can filter the results by boot volume.

See also ¶

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

func (BlockstorageClient) ListBootVolumeReplicas ¶

func (client BlockstorageClient) ListBootVolumeReplicas(ctx context.Context, request ListBootVolumeReplicasRequest) (response ListBootVolumeReplicasResponse, err error)

ListBootVolumeReplicas Lists the boot volume replicas in the specified compartment and availability domain.

See also ¶

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

func (BlockstorageClient) ListBootVolumes ¶

func (client BlockstorageClient) ListBootVolumes(ctx context.Context, request ListBootVolumesRequest) (response ListBootVolumesResponse, err error)

ListBootVolumes Lists the boot volumes in the specified compartment and availability domain.

See also ¶

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

func (BlockstorageClient) ListVolumeBackupPolicies ¶

func (client BlockstorageClient) ListVolumeBackupPolicies(ctx context.Context, request ListVolumeBackupPoliciesRequest) (response ListVolumeBackupPoliciesResponse, err error)

ListVolumeBackupPolicies Lists all the volume backup policies available in the specified compartment. For more information about Oracle defined backup policies and user defined backup policies, see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).

See also ¶

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

func (BlockstorageClient) ListVolumeBackups ¶

func (client BlockstorageClient) ListVolumeBackups(ctx context.Context, request ListVolumeBackupsRequest) (response ListVolumeBackupsResponse, err error)

ListVolumeBackups Lists the volume backups in the specified compartment. You can filter the results by volume.

See also ¶

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

func (BlockstorageClient) ListVolumeGroupBackups ¶

func (client BlockstorageClient) ListVolumeGroupBackups(ctx context.Context, request ListVolumeGroupBackupsRequest) (response ListVolumeGroupBackupsResponse, err error)

ListVolumeGroupBackups Lists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) ListVolumeGroupReplicas ¶

func (client BlockstorageClient) ListVolumeGroupReplicas(ctx context.Context, request ListVolumeGroupReplicasRequest) (response ListVolumeGroupReplicasResponse, err error)

ListVolumeGroupReplicas Lists the volume group replicas in the specified compartment. You can filter the results by volume group. For more information, see Volume Group Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm).

See also ¶

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

func (BlockstorageClient) ListVolumeGroups ¶

func (client BlockstorageClient) ListVolumeGroups(ctx context.Context, request ListVolumeGroupsRequest) (response ListVolumeGroupsResponse, err error)

ListVolumeGroups Lists the volume groups in the specified compartment and availability domain. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) ListVolumes ¶

func (client BlockstorageClient) ListVolumes(ctx context.Context, request ListVolumesRequest) (response ListVolumesResponse, err error)

ListVolumes Lists the volumes in the specified compartment and availability domain.

See also ¶

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

func (*BlockstorageClient) SetRegion ¶

func (client *BlockstorageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BlockstorageClient) UpdateBootVolume ¶

func (client BlockstorageClient) UpdateBootVolume(ctx context.Context, request UpdateBootVolumeRequest) (response UpdateBootVolumeResponse, err error)

UpdateBootVolume Updates the specified boot volume's display name, defined tags, and free-form tags.

See also ¶

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

func (BlockstorageClient) UpdateBootVolumeBackup ¶

func (client BlockstorageClient) UpdateBootVolumeBackup(ctx context.Context, request UpdateBootVolumeBackupRequest) (response UpdateBootVolumeBackupResponse, err error)

UpdateBootVolumeBackup Updates the display name for the specified boot volume backup. Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) UpdateBootVolumeKmsKey ¶

func (client BlockstorageClient) UpdateBootVolumeKmsKey(ctx context.Context, request UpdateBootVolumeKmsKeyRequest) (response UpdateBootVolumeKmsKeyResponse, err error)

UpdateBootVolumeKmsKey Updates the specified volume with a new Vault service master encryption key.

See also ¶

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

func (BlockstorageClient) UpdateVolume ¶

func (client BlockstorageClient) UpdateVolume(ctx context.Context, request UpdateVolumeRequest) (response UpdateVolumeResponse, err error)

UpdateVolume Updates the specified volume's display name. Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) UpdateVolumeBackup ¶

func (client BlockstorageClient) UpdateVolumeBackup(ctx context.Context, request UpdateVolumeBackupRequest) (response UpdateVolumeBackupResponse, err error)

UpdateVolumeBackup Updates the display name for the specified volume backup. Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) UpdateVolumeBackupPolicy ¶

func (client BlockstorageClient) UpdateVolumeBackupPolicy(ctx context.Context, request UpdateVolumeBackupPolicyRequest) (response UpdateVolumeBackupPolicyResponse, err error)

UpdateVolumeBackupPolicy Updates a user defined backup policy.

For more information about user defined backup policies,
see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies).
Avoid entering confidential information.

See also ¶

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

func (BlockstorageClient) UpdateVolumeGroup ¶

func (client BlockstorageClient) UpdateVolumeGroup(ctx context.Context, request UpdateVolumeGroupRequest) (response UpdateVolumeGroupResponse, err error)

UpdateVolumeGroup Updates the set of volumes in a volume group along with the display name. Use this operation to add or remove volumes in a volume group. Specify the full list of volume IDs to include in the volume group. If the volume ID is not specified in the call, it will be removed from the volume group. Avoid entering confidential information. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) UpdateVolumeGroupBackup ¶

func (client BlockstorageClient) UpdateVolumeGroupBackup(ctx context.Context, request UpdateVolumeGroupBackupRequest) (response UpdateVolumeGroupBackupResponse, err error)

UpdateVolumeGroupBackup Updates the display name for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm).

See also ¶

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

func (BlockstorageClient) UpdateVolumeKmsKey ¶

func (client BlockstorageClient) UpdateVolumeKmsKey(ctx context.Context, request UpdateVolumeKmsKeyRequest) (response UpdateVolumeKmsKeyResponse, err error)

UpdateVolumeKmsKey Updates the specified volume with a new Key Management master encryption key.

See also ¶

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

type BooleanImageCapabilitySchemaDescriptor ¶

type BooleanImageCapabilitySchemaDescriptor struct {

	// the default value
	DefaultValue *bool `mandatory:"false" json:"defaultValue"`

	Source ImageCapabilitySchemaDescriptorSourceEnum `mandatory:"true" json:"source"`
}

BooleanImageCapabilitySchemaDescriptor Boolean type ImageCapabilitySchemaDescriptor

func (BooleanImageCapabilitySchemaDescriptor) GetSource ¶

GetSource returns Source

func (BooleanImageCapabilitySchemaDescriptor) MarshalJSON ¶

func (m BooleanImageCapabilitySchemaDescriptor) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BooleanImageCapabilitySchemaDescriptor) String ¶

func (BooleanImageCapabilitySchemaDescriptor) ValidateEnumValue ¶

func (m BooleanImageCapabilitySchemaDescriptor) 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 BootVolume ¶

type BootVolume struct {

	// The availability domain of the boot volume.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the boot volume.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The boot volume's Oracle ID (OCID).
	Id *string `mandatory:"true" json:"id"`

	// The current state of a boot volume.
	LifecycleState BootVolumeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The size of the volume in MBs. The value must be a multiple of 1024.
	// This field is deprecated. Please use sizeInGBs.
	SizeInMBs *int64 `mandatory:"true" json:"sizeInMBs"`

	// The date and time the boot volume was created. Format defined
	// by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	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: `{"foo-namespace": {"bar-key": "value"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The image OCID used to create the boot volume.
	ImageId *string `mandatory:"false" json:"imageId"`

	// Specifies whether the boot volume's data has finished copying
	// from the source boot volume or boot volume backup.
	IsHydrated *bool `mandatory:"false" json:"isHydrated"`

	// The clusterPlacementGroup Id of the volume for volume placement.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// The number of volume performance units (VPUs) that will be applied to this boot volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// The size of the boot volume in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	SourceDetails BootVolumeSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The OCID of the source volume group.
	VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`

	// The OCID of the Vault service master encryption key assigned to the boot volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated.
	// Use the `DetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
	AutoTunedVpusPerGB *int64 `mandatory:"false" json:"autoTunedVpusPerGB"`

	// The list of boot volume replicas of this boot volume
	BootVolumeReplicas []BootVolumeReplicaInfo `mandatory:"false" json:"bootVolumeReplicas"`

	// The list of autotune policies enabled for this volume.
	AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

BootVolume A detachable boot volume device that contains the image used to boot a Compute instance. For more information, see Overview of Boot Volumes (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolume) String ¶

func (m BootVolume) String() string

func (*BootVolume) UnmarshalJSON ¶

func (m *BootVolume) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (BootVolume) ValidateEnumValue ¶

func (m BootVolume) 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 BootVolumeAttachment ¶

type BootVolumeAttachment struct {

	// The availability domain of an instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the boot volume attachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the instance the boot volume is attached to.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The current state of the boot volume attachment.
	LifecycleState BootVolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the boot volume was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The date and time the boot volume attachment was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Whether in-transit encryption for the boot volume's paravirtualized attachment is enabled or not.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// Refer the top-level definition of encryptionInTransitType.
	// The default value is NONE.
	EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"`
}

BootVolumeAttachment Represents an attachment between a boot volume and an instance. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolumeAttachment) String ¶

func (m BootVolumeAttachment) String() string

func (BootVolumeAttachment) ValidateEnumValue ¶

func (m BootVolumeAttachment) 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 BootVolumeAttachmentLifecycleStateEnum ¶

type BootVolumeAttachmentLifecycleStateEnum string

BootVolumeAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	BootVolumeAttachmentLifecycleStateAttaching BootVolumeAttachmentLifecycleStateEnum = "ATTACHING"
	BootVolumeAttachmentLifecycleStateAttached  BootVolumeAttachmentLifecycleStateEnum = "ATTACHED"
	BootVolumeAttachmentLifecycleStateDetaching BootVolumeAttachmentLifecycleStateEnum = "DETACHING"
	BootVolumeAttachmentLifecycleStateDetached  BootVolumeAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for BootVolumeAttachmentLifecycleStateEnum

func GetBootVolumeAttachmentLifecycleStateEnumValues ¶

func GetBootVolumeAttachmentLifecycleStateEnumValues() []BootVolumeAttachmentLifecycleStateEnum

GetBootVolumeAttachmentLifecycleStateEnumValues Enumerates the set of values for BootVolumeAttachmentLifecycleStateEnum

func GetMappingBootVolumeAttachmentLifecycleStateEnum ¶

func GetMappingBootVolumeAttachmentLifecycleStateEnum(val string) (BootVolumeAttachmentLifecycleStateEnum, bool)

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

type BootVolumeBackup ¶

type BootVolumeBackup struct {

	// The OCID of the compartment that contains the boot volume backup.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the boot volume backup.
	Id *string `mandatory:"true" json:"id"`

	// The current state of a boot volume backup.
	LifecycleState BootVolumeBackupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the boot volume backup was created. This is the time the actual point-in-time image
	// of the volume data was taken. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"false" json:"bootVolumeId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	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: `{"foo-namespace": {"bar-key": "value"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The date and time the volume backup will expire and be automatically deleted.
	// Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). This parameter will always be present for backups that
	// were created automatically by a scheduled-backup policy. For manually created backups,
	// it will be absent, signifying that there is no expiration time and the backup will
	// last forever until manually deleted.
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The image OCID used to create the boot volume the backup is taken from.
	ImageId *string `mandatory:"false" json:"imageId"`

	// The OCID of the Vault service master encryption assigned to the boot volume backup.
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The size of the boot volume, in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// The OCID of the source boot volume backup.
	SourceBootVolumeBackupId *string `mandatory:"false" json:"sourceBootVolumeBackupId"`

	// Specifies whether the backup was created manually, or via scheduled backup policy.
	SourceType BootVolumeBackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	// The date and time the request to create the boot volume backup was received. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeRequestReceived *common.SDKTime `mandatory:"false" json:"timeRequestReceived"`

	// The type of a volume backup.
	Type BootVolumeBackupTypeEnum `mandatory:"false" json:"type,omitempty"`

	// The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space
	// consumed on the boot volume and whether the backup is full or incremental.
	UniqueSizeInGBs *int64 `mandatory:"false" json:"uniqueSizeInGBs"`
}

BootVolumeBackup A point-in-time copy of a boot volume that can then be used to create a new boot volume or recover a boot volume. For more information, see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolumeBackup) String ¶

func (m BootVolumeBackup) String() string

func (BootVolumeBackup) ValidateEnumValue ¶

func (m BootVolumeBackup) 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 BootVolumeBackupLifecycleStateEnum ¶

type BootVolumeBackupLifecycleStateEnum string

BootVolumeBackupLifecycleStateEnum Enum with underlying type: string

const (
	BootVolumeBackupLifecycleStateCreating        BootVolumeBackupLifecycleStateEnum = "CREATING"
	BootVolumeBackupLifecycleStateAvailable       BootVolumeBackupLifecycleStateEnum = "AVAILABLE"
	BootVolumeBackupLifecycleStateTerminating     BootVolumeBackupLifecycleStateEnum = "TERMINATING"
	BootVolumeBackupLifecycleStateTerminated      BootVolumeBackupLifecycleStateEnum = "TERMINATED"
	BootVolumeBackupLifecycleStateFaulty          BootVolumeBackupLifecycleStateEnum = "FAULTY"
	BootVolumeBackupLifecycleStateRequestReceived BootVolumeBackupLifecycleStateEnum = "REQUEST_RECEIVED"
)

Set of constants representing the allowable values for BootVolumeBackupLifecycleStateEnum

func GetBootVolumeBackupLifecycleStateEnumValues ¶

func GetBootVolumeBackupLifecycleStateEnumValues() []BootVolumeBackupLifecycleStateEnum

GetBootVolumeBackupLifecycleStateEnumValues Enumerates the set of values for BootVolumeBackupLifecycleStateEnum

func GetMappingBootVolumeBackupLifecycleStateEnum ¶

func GetMappingBootVolumeBackupLifecycleStateEnum(val string) (BootVolumeBackupLifecycleStateEnum, bool)

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

type BootVolumeBackupSourceTypeEnum ¶

type BootVolumeBackupSourceTypeEnum string

BootVolumeBackupSourceTypeEnum Enum with underlying type: string

const (
	BootVolumeBackupSourceTypeManual    BootVolumeBackupSourceTypeEnum = "MANUAL"
	BootVolumeBackupSourceTypeScheduled BootVolumeBackupSourceTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for BootVolumeBackupSourceTypeEnum

func GetBootVolumeBackupSourceTypeEnumValues ¶

func GetBootVolumeBackupSourceTypeEnumValues() []BootVolumeBackupSourceTypeEnum

GetBootVolumeBackupSourceTypeEnumValues Enumerates the set of values for BootVolumeBackupSourceTypeEnum

func GetMappingBootVolumeBackupSourceTypeEnum ¶

func GetMappingBootVolumeBackupSourceTypeEnum(val string) (BootVolumeBackupSourceTypeEnum, bool)

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

type BootVolumeBackupTypeEnum ¶

type BootVolumeBackupTypeEnum string

BootVolumeBackupTypeEnum Enum with underlying type: string

const (
	BootVolumeBackupTypeFull        BootVolumeBackupTypeEnum = "FULL"
	BootVolumeBackupTypeIncremental BootVolumeBackupTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for BootVolumeBackupTypeEnum

func GetBootVolumeBackupTypeEnumValues ¶

func GetBootVolumeBackupTypeEnumValues() []BootVolumeBackupTypeEnum

GetBootVolumeBackupTypeEnumValues Enumerates the set of values for BootVolumeBackupTypeEnum

func GetMappingBootVolumeBackupTypeEnum ¶

func GetMappingBootVolumeBackupTypeEnum(val string) (BootVolumeBackupTypeEnum, bool)

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

type BootVolumeKmsKey ¶

type BootVolumeKmsKey struct {

	// The OCID of the Vault service key assigned to this volume. If the volume is not using Vault service, then the `kmsKeyId` will be a null string.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

BootVolumeKmsKey The Vault service master encryption key associated with this volume.

func (BootVolumeKmsKey) String ¶

func (m BootVolumeKmsKey) String() string

func (BootVolumeKmsKey) ValidateEnumValue ¶

func (m BootVolumeKmsKey) 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 BootVolumeLifecycleStateEnum ¶

type BootVolumeLifecycleStateEnum string

BootVolumeLifecycleStateEnum Enum with underlying type: string

const (
	BootVolumeLifecycleStateProvisioning BootVolumeLifecycleStateEnum = "PROVISIONING"
	BootVolumeLifecycleStateRestoring    BootVolumeLifecycleStateEnum = "RESTORING"
	BootVolumeLifecycleStateAvailable    BootVolumeLifecycleStateEnum = "AVAILABLE"
	BootVolumeLifecycleStateTerminating  BootVolumeLifecycleStateEnum = "TERMINATING"
	BootVolumeLifecycleStateTerminated   BootVolumeLifecycleStateEnum = "TERMINATED"
	BootVolumeLifecycleStateFaulty       BootVolumeLifecycleStateEnum = "FAULTY"
)

Set of constants representing the allowable values for BootVolumeLifecycleStateEnum

func GetBootVolumeLifecycleStateEnumValues ¶

func GetBootVolumeLifecycleStateEnumValues() []BootVolumeLifecycleStateEnum

GetBootVolumeLifecycleStateEnumValues Enumerates the set of values for BootVolumeLifecycleStateEnum

func GetMappingBootVolumeLifecycleStateEnum ¶

func GetMappingBootVolumeLifecycleStateEnum(val string) (BootVolumeLifecycleStateEnum, bool)

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

type BootVolumeReplica ¶

type BootVolumeReplica struct {

	// The availability domain of the boot volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the boot volume replica.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The boot volume replica's Oracle ID (OCID).
	Id *string `mandatory:"true" json:"id"`

	// The current state of a boot volume replica.
	LifecycleState BootVolumeReplicaLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The size of the source boot volume, in GBs.
	SizeInGBs *int64 `mandatory:"true" json:"sizeInGBs"`

	// The date and time the boot volume replica was created. Format defined
	// by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the boot volume replica was last synced from the source boot volume.
	// Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastSynced *common.SDKTime `mandatory:"true" json:"timeLastSynced"`

	// The OCID of the source boot volume.
	BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The image OCID used to create the boot volume the replica is replicated from.
	ImageId *string `mandatory:"false" json:"imageId"`

	// The total size of the data transferred from the source boot volume to the boot volume replica, in GBs.
	TotalDataTransferredInGBs *int64 `mandatory:"false" json:"totalDataTransferredInGBs"`

	// The OCID of the volume group replica.
	VolumeGroupReplicaId *string `mandatory:"false" json:"volumeGroupReplicaId"`
}

BootVolumeReplica An asynchronous replica of a boot volume that can then be used to create a new boot volume or recover a boot volume. For more information, see Overview of Cross-Region Volume Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumereplication.htm) To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (BootVolumeReplica) String ¶

func (m BootVolumeReplica) String() string

func (BootVolumeReplica) ValidateEnumValue ¶

func (m BootVolumeReplica) 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 BootVolumeReplicaDetails ¶

type BootVolumeReplicaDetails struct {

	// The availability domain of the boot volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

BootVolumeReplicaDetails Contains the details for the boot volume replica

func (BootVolumeReplicaDetails) String ¶

func (m BootVolumeReplicaDetails) String() string

func (BootVolumeReplicaDetails) ValidateEnumValue ¶

func (m BootVolumeReplicaDetails) 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 BootVolumeReplicaInfo ¶

type BootVolumeReplicaInfo struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The boot volume replica's Oracle ID (OCID).
	BootVolumeReplicaId *string `mandatory:"true" json:"bootVolumeReplicaId"`

	// The availability domain of the boot volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
}

BootVolumeReplicaInfo Information about the boot volume replica in the destination availability domain.

func (BootVolumeReplicaInfo) String ¶

func (m BootVolumeReplicaInfo) String() string

func (BootVolumeReplicaInfo) ValidateEnumValue ¶

func (m BootVolumeReplicaInfo) 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 BootVolumeReplicaLifecycleStateEnum ¶

type BootVolumeReplicaLifecycleStateEnum string

BootVolumeReplicaLifecycleStateEnum Enum with underlying type: string

const (
	BootVolumeReplicaLifecycleStateProvisioning BootVolumeReplicaLifecycleStateEnum = "PROVISIONING"
	BootVolumeReplicaLifecycleStateAvailable    BootVolumeReplicaLifecycleStateEnum = "AVAILABLE"
	BootVolumeReplicaLifecycleStateActivating   BootVolumeReplicaLifecycleStateEnum = "ACTIVATING"
	BootVolumeReplicaLifecycleStateTerminating  BootVolumeReplicaLifecycleStateEnum = "TERMINATING"
	BootVolumeReplicaLifecycleStateTerminated   BootVolumeReplicaLifecycleStateEnum = "TERMINATED"
	BootVolumeReplicaLifecycleStateFaulty       BootVolumeReplicaLifecycleStateEnum = "FAULTY"
)

Set of constants representing the allowable values for BootVolumeReplicaLifecycleStateEnum

func GetBootVolumeReplicaLifecycleStateEnumValues ¶

func GetBootVolumeReplicaLifecycleStateEnumValues() []BootVolumeReplicaLifecycleStateEnum

GetBootVolumeReplicaLifecycleStateEnumValues Enumerates the set of values for BootVolumeReplicaLifecycleStateEnum

func GetMappingBootVolumeReplicaLifecycleStateEnum ¶

func GetMappingBootVolumeReplicaLifecycleStateEnum(val string) (BootVolumeReplicaLifecycleStateEnum, bool)

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

type BootVolumeSourceDetails ¶

type BootVolumeSourceDetails interface {
}

BootVolumeSourceDetails The representation of BootVolumeSourceDetails

type BootVolumeSourceFromBootVolumeBackupDetails ¶

type BootVolumeSourceFromBootVolumeBackupDetails struct {

	// The OCID of the boot volume backup.
	Id *string `mandatory:"true" json:"id"`
}

BootVolumeSourceFromBootVolumeBackupDetails Specifies the boot volume backup.

func (BootVolumeSourceFromBootVolumeBackupDetails) MarshalJSON ¶

func (m BootVolumeSourceFromBootVolumeBackupDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BootVolumeSourceFromBootVolumeBackupDetails) String ¶

func (BootVolumeSourceFromBootVolumeBackupDetails) ValidateEnumValue ¶

func (m BootVolumeSourceFromBootVolumeBackupDetails) 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 BootVolumeSourceFromBootVolumeDetails ¶

type BootVolumeSourceFromBootVolumeDetails struct {

	// The OCID of the boot volume.
	Id *string `mandatory:"true" json:"id"`
}

BootVolumeSourceFromBootVolumeDetails Specifies the source boot volume.

func (BootVolumeSourceFromBootVolumeDetails) MarshalJSON ¶

func (m BootVolumeSourceFromBootVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BootVolumeSourceFromBootVolumeDetails) String ¶

func (BootVolumeSourceFromBootVolumeDetails) ValidateEnumValue ¶

func (m BootVolumeSourceFromBootVolumeDetails) 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 BootVolumeSourceFromBootVolumeReplicaDetails ¶

type BootVolumeSourceFromBootVolumeReplicaDetails struct {

	// The OCID of the boot volume replica.
	Id *string `mandatory:"true" json:"id"`
}

BootVolumeSourceFromBootVolumeReplicaDetails Specifies the source boot volume replica which the boot volume will be created from. The boot volume replica shoulbe be in the same availability domain as the boot volume. Only one volume can be created from a replica at the same time.

func (BootVolumeSourceFromBootVolumeReplicaDetails) MarshalJSON ¶

func (m BootVolumeSourceFromBootVolumeReplicaDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BootVolumeSourceFromBootVolumeReplicaDetails) String ¶

func (BootVolumeSourceFromBootVolumeReplicaDetails) ValidateEnumValue ¶

func (m BootVolumeSourceFromBootVolumeReplicaDetails) 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 BulkAddVirtualCircuitPublicPrefixesDetails ¶

type BulkAddVirtualCircuitPublicPrefixesDetails struct {

	// The public IP prefixes (CIDRs) to add to the public virtual circuit.
	PublicPrefixes []CreateVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"`
}

BulkAddVirtualCircuitPublicPrefixesDetails The representation of BulkAddVirtualCircuitPublicPrefixesDetails

func (BulkAddVirtualCircuitPublicPrefixesDetails) String ¶

func (BulkAddVirtualCircuitPublicPrefixesDetails) ValidateEnumValue ¶

func (m BulkAddVirtualCircuitPublicPrefixesDetails) 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 BulkAddVirtualCircuitPublicPrefixesRequest ¶

type BulkAddVirtualCircuitPublicPrefixesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// Request with publix prefixes to be added to the virtual circuit
	BulkAddVirtualCircuitPublicPrefixesDetails `contributesTo:"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 `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
}

BulkAddVirtualCircuitPublicPrefixesRequest wrapper for the BulkAddVirtualCircuitPublicPrefixes operation

See also ¶

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

func (BulkAddVirtualCircuitPublicPrefixesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (BulkAddVirtualCircuitPublicPrefixesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (BulkAddVirtualCircuitPublicPrefixesRequest) RetryPolicy ¶

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

func (BulkAddVirtualCircuitPublicPrefixesRequest) String ¶

func (BulkAddVirtualCircuitPublicPrefixesRequest) ValidateEnumValue ¶

func (request BulkAddVirtualCircuitPublicPrefixesRequest) 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 BulkAddVirtualCircuitPublicPrefixesResponse ¶

type BulkAddVirtualCircuitPublicPrefixesResponse struct {

	// The underlying http response
	RawResponse *http.Response
}

BulkAddVirtualCircuitPublicPrefixesResponse wrapper for the BulkAddVirtualCircuitPublicPrefixes operation

func (BulkAddVirtualCircuitPublicPrefixesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (BulkAddVirtualCircuitPublicPrefixesResponse) String ¶

type BulkDeleteVirtualCircuitPublicPrefixesDetails ¶

type BulkDeleteVirtualCircuitPublicPrefixesDetails struct {

	// The public IP prefixes (CIDRs) to remove from the public virtual circuit.
	PublicPrefixes []DeleteVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"`
}

BulkDeleteVirtualCircuitPublicPrefixesDetails The representation of BulkDeleteVirtualCircuitPublicPrefixesDetails

func (BulkDeleteVirtualCircuitPublicPrefixesDetails) String ¶

func (BulkDeleteVirtualCircuitPublicPrefixesDetails) ValidateEnumValue ¶

func (m BulkDeleteVirtualCircuitPublicPrefixesDetails) 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 BulkDeleteVirtualCircuitPublicPrefixesRequest ¶

type BulkDeleteVirtualCircuitPublicPrefixesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// Request with public prefixes to be deleted from the virtual circuit.
	BulkDeleteVirtualCircuitPublicPrefixesDetails `contributesTo:"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 `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
}

BulkDeleteVirtualCircuitPublicPrefixesRequest wrapper for the BulkDeleteVirtualCircuitPublicPrefixes operation

See also ¶

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

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) RetryPolicy ¶

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

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) String ¶

func (BulkDeleteVirtualCircuitPublicPrefixesRequest) ValidateEnumValue ¶

func (request BulkDeleteVirtualCircuitPublicPrefixesRequest) 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 BulkDeleteVirtualCircuitPublicPrefixesResponse ¶

type BulkDeleteVirtualCircuitPublicPrefixesResponse struct {

	// The underlying http response
	RawResponse *http.Response
}

BulkDeleteVirtualCircuitPublicPrefixesResponse wrapper for the BulkDeleteVirtualCircuitPublicPrefixes operation

func (BulkDeleteVirtualCircuitPublicPrefixesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (BulkDeleteVirtualCircuitPublicPrefixesResponse) String ¶

type ByoipAllocatedRangeCollection ¶

type ByoipAllocatedRangeCollection struct {

	// A list of subranges of a BYOIP CIDR block allocated to an IP pool.
	Items []ByoipAllocatedRangeSummary `mandatory:"true" json:"items"`
}

ByoipAllocatedRangeCollection Results of a `ListByoipAllocatedRanges` operation.

func (ByoipAllocatedRangeCollection) String ¶

func (ByoipAllocatedRangeCollection) ValidateEnumValue ¶

func (m ByoipAllocatedRangeCollection) 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 ByoipAllocatedRangeSummary ¶

type ByoipAllocatedRangeSummary struct {

	// The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP pool containing the CIDR block.
	PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"`
}

ByoipAllocatedRangeSummary A summary of CIDR block subranges that are currently allocated to an IP pool.

func (ByoipAllocatedRangeSummary) String ¶

func (ByoipAllocatedRangeSummary) ValidateEnumValue ¶

func (m ByoipAllocatedRangeSummary) 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 ByoipRange ¶

type ByoipRange struct {

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource.
	Id *string `mandatory:"true" json:"id"`

	// The `ByoipRange` resource's current state.
	LifecycleState ByoipRangeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the `ByoipRange` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details.
	ValidationToken *string `mandatory:"true" json:"validationToken"`

	// A list of `ByoipRangeVcnIpv6AllocationSummary` objects.
	ByoipRangeVcnIpv6Allocations []ByoipRangeVcnIpv6AllocationSummary `mandatory:"false" json:"byoipRangeVcnIpv6Allocations"`

	// The public IPv4 CIDR block being imported from on-premises to the Oracle cloud.
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used
	// across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify
	// a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// The `ByoipRange` resource's current status.
	LifecycleDetails ByoipRangeLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`

	// The date and time the `ByoipRange` resource was validated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeValidated *common.SDKTime `mandatory:"false" json:"timeValidated"`

	// The date and time the `ByoipRange` resource was advertised to the internet by BGP, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeAdvertised *common.SDKTime `mandatory:"false" json:"timeAdvertised"`

	// The date and time the `ByoipRange` resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeWithdrawn *common.SDKTime `mandatory:"false" json:"timeWithdrawn"`
}

ByoipRange Oracle offers the ability to Bring Your Own IP (BYOIP), importing public IP addresses or IPv6 addresses that you currently own to Oracle Cloud Infrastructure. A `ByoipRange` resource is a record of the imported address block (a BYOIP CIDR block) and also some associated metadata. The process used to Bring Your Own IP (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm) is explained in the documentation.

func (ByoipRange) String ¶

func (m ByoipRange) String() string

func (ByoipRange) ValidateEnumValue ¶

func (m ByoipRange) 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 ByoipRangeCollection ¶

type ByoipRangeCollection struct {

	// A list of `ByoipRange` resource summaries.
	Items []ByoipRangeSummary `mandatory:"true" json:"items"`
}

ByoipRangeCollection The results returned by a `ListByoipRange` operation.

func (ByoipRangeCollection) String ¶

func (m ByoipRangeCollection) String() string

func (ByoipRangeCollection) ValidateEnumValue ¶

func (m ByoipRangeCollection) 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 ByoipRangeLifecycleDetailsEnum ¶

type ByoipRangeLifecycleDetailsEnum string

ByoipRangeLifecycleDetailsEnum Enum with underlying type: string

const (
	ByoipRangeLifecycleDetailsCreating    ByoipRangeLifecycleDetailsEnum = "CREATING"
	ByoipRangeLifecycleDetailsValidating  ByoipRangeLifecycleDetailsEnum = "VALIDATING"
	ByoipRangeLifecycleDetailsProvisioned ByoipRangeLifecycleDetailsEnum = "PROVISIONED"
	ByoipRangeLifecycleDetailsActive      ByoipRangeLifecycleDetailsEnum = "ACTIVE"
	ByoipRangeLifecycleDetailsFailed      ByoipRangeLifecycleDetailsEnum = "FAILED"
	ByoipRangeLifecycleDetailsDeleting    ByoipRangeLifecycleDetailsEnum = "DELETING"
	ByoipRangeLifecycleDetailsDeleted     ByoipRangeLifecycleDetailsEnum = "DELETED"
	ByoipRangeLifecycleDetailsAdvertising ByoipRangeLifecycleDetailsEnum = "ADVERTISING"
	ByoipRangeLifecycleDetailsWithdrawing ByoipRangeLifecycleDetailsEnum = "WITHDRAWING"
)

Set of constants representing the allowable values for ByoipRangeLifecycleDetailsEnum

func GetByoipRangeLifecycleDetailsEnumValues ¶

func GetByoipRangeLifecycleDetailsEnumValues() []ByoipRangeLifecycleDetailsEnum

GetByoipRangeLifecycleDetailsEnumValues Enumerates the set of values for ByoipRangeLifecycleDetailsEnum

func GetMappingByoipRangeLifecycleDetailsEnum ¶

func GetMappingByoipRangeLifecycleDetailsEnum(val string) (ByoipRangeLifecycleDetailsEnum, bool)

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

type ByoipRangeLifecycleStateEnum ¶

type ByoipRangeLifecycleStateEnum string

ByoipRangeLifecycleStateEnum Enum with underlying type: string

const (
	ByoipRangeLifecycleStateInactive ByoipRangeLifecycleStateEnum = "INACTIVE"
	ByoipRangeLifecycleStateUpdating ByoipRangeLifecycleStateEnum = "UPDATING"
	ByoipRangeLifecycleStateActive   ByoipRangeLifecycleStateEnum = "ACTIVE"
	ByoipRangeLifecycleStateDeleting ByoipRangeLifecycleStateEnum = "DELETING"
	ByoipRangeLifecycleStateDeleted  ByoipRangeLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ByoipRangeLifecycleStateEnum

func GetByoipRangeLifecycleStateEnumValues ¶

func GetByoipRangeLifecycleStateEnumValues() []ByoipRangeLifecycleStateEnum

GetByoipRangeLifecycleStateEnumValues Enumerates the set of values for ByoipRangeLifecycleStateEnum

func GetMappingByoipRangeLifecycleStateEnum ¶

func GetMappingByoipRangeLifecycleStateEnum(val string) (ByoipRangeLifecycleStateEnum, bool)

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

type ByoipRangeSummary ¶

type ByoipRangeSummary struct {

	// A list of `ByoipRangeVcnIpv6AllocationSummary` objects.
	ByoipRangeVcnIpv6Allocations []ByoipRangeVcnIpv6AllocationSummary `mandatory:"false" json:"byoipRangeVcnIpv6Allocations"`

	// The public IPv4 address range you are importing to the Oracle cloud.
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange` resource.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource.
	Id *string `mandatory:"false" json:"id"`

	// The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can  be subdivided into sub-ranges used
	// across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify
	// a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// The `ByoipRange` resource's current state.
	LifecycleState ByoipRangeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The Byoip Range's current lifeCycle substate.
	LifecycleDetails ByoipRangeLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`

	// The date and time the `ByoipRange` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

ByoipRangeSummary Information about a `ByoipRange` resource.

func (ByoipRangeSummary) String ¶

func (m ByoipRangeSummary) String() string

func (ByoipRangeSummary) ValidateEnumValue ¶

func (m ByoipRangeSummary) 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 ByoipRangeVcnIpv6AllocationSummary ¶ added in v65.1.0

type ByoipRangeVcnIpv6AllocationSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs.
	ByoipRangeId *string `mandatory:"false" json:"byoipRangeId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange`.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The BYOIPv6 prefix range or subrange allocated to a VCN. This could be all or part of a BYOIPv6 prefix.
	// Each VCN allocation must be /64 or larger.
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Vcn` resource to which the ByoipRange belongs.
	VcnId *string `mandatory:"false" json:"vcnId"`
}

ByoipRangeVcnIpv6AllocationSummary A summary of IPv6 prefix subranges currently allocated to a VCN.

func (ByoipRangeVcnIpv6AllocationSummary) String ¶ added in v65.1.0

func (ByoipRangeVcnIpv6AllocationSummary) ValidateEnumValue ¶ added in v65.1.0

func (m ByoipRangeVcnIpv6AllocationSummary) 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 Byoipv6CidrDetails ¶ added in v65.1.0

type Byoipv6CidrDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs.
	Byoipv6RangeId *string `mandatory:"true" json:"byoipv6RangeId"`

	// An IPv6 prefix required to create a VCN with a BYOIP prefix. It could be the whole prefix identified in `byoipv6RangeId`, or a subrange.
	// Example: `2001:0db8:0123::/48`
	Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"`
}

Byoipv6CidrDetails The list of one or more BYOIPv6 prefixes for the VCN that meets the following criteria: - The prefix must be from a BYOIPv6 range. - The IPv6 prefixes must be valid. - Multiple prefix must not overlap each other or the on-premises network prefix. - The number of prefixes must not exceed the limit of IPv6 prefixes allowed to a VCN.

func (Byoipv6CidrDetails) String ¶ added in v65.1.0

func (m Byoipv6CidrDetails) String() string

func (Byoipv6CidrDetails) ValidateEnumValue ¶ added in v65.1.0

func (m Byoipv6CidrDetails) 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 CapacityReportInstanceShapeConfig ¶ added in v65.29.0

type CapacityReportInstanceShapeConfig struct {

	// The total number of OCPUs available to the instance.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The total amount of memory available to the instance, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

	// The number of NVMe drives to be used for storage.
	Nvmes *int `mandatory:"false" json:"nvmes"`
}

CapacityReportInstanceShapeConfig The shape configuration for a shape in a capacity report.

func (CapacityReportInstanceShapeConfig) String ¶ added in v65.29.0

func (CapacityReportInstanceShapeConfig) ValidateEnumValue ¶ added in v65.29.0

func (m CapacityReportInstanceShapeConfig) 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 CapacityReportShapeAvailability ¶ added in v65.29.0

type CapacityReportShapeAvailability struct {

	// The fault domain for the capacity report.
	// If you do not specify the fault domain, the capacity report includes information about all fault domains.
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The shape that the capacity report was requested for.
	InstanceShape *string `mandatory:"false" json:"instanceShape"`

	InstanceShapeConfig *CapacityReportInstanceShapeConfig `mandatory:"false" json:"instanceShapeConfig"`

	// The total number of new instances that can be created with the specified shape configuration.
	AvailableCount *int64 `mandatory:"false" json:"availableCount"`

	// A flag denoting whether capacity is available.
	AvailabilityStatus CapacityReportShapeAvailabilityAvailabilityStatusEnum `mandatory:"false" json:"availabilityStatus,omitempty"`
}

CapacityReportShapeAvailability Information about the available capacity for a shape.

func (CapacityReportShapeAvailability) String ¶ added in v65.29.0

func (CapacityReportShapeAvailability) ValidateEnumValue ¶ added in v65.29.0

func (m CapacityReportShapeAvailability) 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 CapacityReportShapeAvailabilityAvailabilityStatusEnum ¶ added in v65.29.0

type CapacityReportShapeAvailabilityAvailabilityStatusEnum string

CapacityReportShapeAvailabilityAvailabilityStatusEnum Enum with underlying type: string

const (
	CapacityReportShapeAvailabilityAvailabilityStatusOutOfHostCapacity    CapacityReportShapeAvailabilityAvailabilityStatusEnum = "OUT_OF_HOST_CAPACITY"
	CapacityReportShapeAvailabilityAvailabilityStatusHardwareNotSupported CapacityReportShapeAvailabilityAvailabilityStatusEnum = "HARDWARE_NOT_SUPPORTED"
	CapacityReportShapeAvailabilityAvailabilityStatusAvailable            CapacityReportShapeAvailabilityAvailabilityStatusEnum = "AVAILABLE"
)

Set of constants representing the allowable values for CapacityReportShapeAvailabilityAvailabilityStatusEnum

func GetCapacityReportShapeAvailabilityAvailabilityStatusEnumValues ¶ added in v65.29.0

func GetCapacityReportShapeAvailabilityAvailabilityStatusEnumValues() []CapacityReportShapeAvailabilityAvailabilityStatusEnum

GetCapacityReportShapeAvailabilityAvailabilityStatusEnumValues Enumerates the set of values for CapacityReportShapeAvailabilityAvailabilityStatusEnum

func GetMappingCapacityReportShapeAvailabilityAvailabilityStatusEnum ¶ added in v65.29.0

func GetMappingCapacityReportShapeAvailabilityAvailabilityStatusEnum(val string) (CapacityReportShapeAvailabilityAvailabilityStatusEnum, bool)

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

type CapacityReservationInstanceSummary ¶

type CapacityReservationInstanceSummary struct {

	// The OCID of the instance.
	Id *string `mandatory:"true" json:"id"`

	// The availability domain the instance is running in.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The shape of the instance. The shape determines the number of CPUs, amount of memory,
	// and other resources allocated to the instance.
	// You can enumerate all available shapes by calling ListComputeCapacityReservationInstanceShapes.
	Shape *string `mandatory:"true" json:"shape"`

	// The fault domain the instance is running in.
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The OCID of the cluster placement group of the instance.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	ShapeConfig *InstanceReservationShapeConfigDetails `mandatory:"false" json:"shapeConfig"`
}

CapacityReservationInstanceSummary Condensed instance data when listing instances in a compute capacity reservation.

func (CapacityReservationInstanceSummary) String ¶

func (CapacityReservationInstanceSummary) ValidateEnumValue ¶

func (m CapacityReservationInstanceSummary) 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 CapacitySource ¶ added in v65.53.0

type CapacitySource interface {
}

CapacitySource A capacity source of bare metal hosts.

type CapacitySourceCapacityTypeEnum ¶ added in v65.53.0

type CapacitySourceCapacityTypeEnum string

CapacitySourceCapacityTypeEnum Enum with underlying type: string

const (
	CapacitySourceCapacityTypeDedicated CapacitySourceCapacityTypeEnum = "DEDICATED"
)

Set of constants representing the allowable values for CapacitySourceCapacityTypeEnum

func GetCapacitySourceCapacityTypeEnumValues ¶ added in v65.53.0

func GetCapacitySourceCapacityTypeEnumValues() []CapacitySourceCapacityTypeEnum

GetCapacitySourceCapacityTypeEnumValues Enumerates the set of values for CapacitySourceCapacityTypeEnum

func GetMappingCapacitySourceCapacityTypeEnum ¶ added in v65.53.0

func GetMappingCapacitySourceCapacityTypeEnum(val string) (CapacitySourceCapacityTypeEnum, bool)

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

type CaptureConsoleHistoryDetails ¶

type CaptureConsoleHistoryDetails struct {

	// The OCID of the instance to get the console history from.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CaptureConsoleHistoryDetails The representation of CaptureConsoleHistoryDetails

func (CaptureConsoleHistoryDetails) String ¶

func (CaptureConsoleHistoryDetails) ValidateEnumValue ¶

func (m CaptureConsoleHistoryDetails) 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 CaptureConsoleHistoryRequest ¶

type CaptureConsoleHistoryRequest struct {

	// Console history details
	CaptureConsoleHistoryDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CaptureConsoleHistoryRequest wrapper for the CaptureConsoleHistory operation

See also ¶

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

func (CaptureConsoleHistoryRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CaptureConsoleHistoryRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CaptureConsoleHistoryRequest) RetryPolicy ¶

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

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

func (CaptureConsoleHistoryRequest) String ¶

func (request CaptureConsoleHistoryRequest) String() string

func (CaptureConsoleHistoryRequest) ValidateEnumValue ¶

func (request CaptureConsoleHistoryRequest) 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 CaptureConsoleHistoryResponse ¶

type CaptureConsoleHistoryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ConsoleHistory instance
	ConsoleHistory `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"`
}

CaptureConsoleHistoryResponse wrapper for the CaptureConsoleHistory operation

func (CaptureConsoleHistoryResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CaptureConsoleHistoryResponse) String ¶

func (response CaptureConsoleHistoryResponse) String() string

type CaptureFilter ¶ added in v65.3.0

type CaptureFilter struct {

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

	// The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The capture filter's current administrative state.
	LifecycleState CaptureFilterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Indicates which service will use this capture filter
	FilterType CaptureFilterFilterTypeEnum `mandatory:"false" json:"filterType,omitempty"`

	// The date and time the capture filter was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2021-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The set of rules governing what traffic a VTAP mirrors.
	VtapCaptureFilterRules []VtapCaptureFilterRuleDetails `mandatory:"false" json:"vtapCaptureFilterRules"`

	// The set of rules governing what traffic the VCN flow log collects.
	FlowLogCaptureFilterRules []FlowLogCaptureFilterRuleDetails `mandatory:"false" json:"flowLogCaptureFilterRules"`
}

CaptureFilter A capture filter contains a set of *CaptureFilterRuleDetails* governing what traffic is mirrored for a *Vtap* or captured for a *VCN Flow Log (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/vcn-flow-logs.htm)*. The capture filter is created with no rules defined, and it must have at least one rule to mirror traffic for the VTAP or collect VCN flow logs.

func (CaptureFilter) String ¶ added in v65.3.0

func (m CaptureFilter) String() string

func (CaptureFilter) ValidateEnumValue ¶ added in v65.3.0

func (m CaptureFilter) 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 CaptureFilterFilterTypeEnum ¶ added in v65.3.0

type CaptureFilterFilterTypeEnum string

CaptureFilterFilterTypeEnum Enum with underlying type: string

const (
	CaptureFilterFilterTypeVtap    CaptureFilterFilterTypeEnum = "VTAP"
	CaptureFilterFilterTypeFlowlog CaptureFilterFilterTypeEnum = "FLOWLOG"
)

Set of constants representing the allowable values for CaptureFilterFilterTypeEnum

func GetCaptureFilterFilterTypeEnumValues ¶ added in v65.3.0

func GetCaptureFilterFilterTypeEnumValues() []CaptureFilterFilterTypeEnum

GetCaptureFilterFilterTypeEnumValues Enumerates the set of values for CaptureFilterFilterTypeEnum

func GetMappingCaptureFilterFilterTypeEnum ¶ added in v65.3.0

func GetMappingCaptureFilterFilterTypeEnum(val string) (CaptureFilterFilterTypeEnum, bool)

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

type CaptureFilterLifecycleStateEnum ¶ added in v65.3.0

type CaptureFilterLifecycleStateEnum string

CaptureFilterLifecycleStateEnum Enum with underlying type: string

const (
	CaptureFilterLifecycleStateProvisioning CaptureFilterLifecycleStateEnum = "PROVISIONING"
	CaptureFilterLifecycleStateAvailable    CaptureFilterLifecycleStateEnum = "AVAILABLE"
	CaptureFilterLifecycleStateUpdating     CaptureFilterLifecycleStateEnum = "UPDATING"
	CaptureFilterLifecycleStateTerminating  CaptureFilterLifecycleStateEnum = "TERMINATING"
	CaptureFilterLifecycleStateTerminated   CaptureFilterLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for CaptureFilterLifecycleStateEnum

func GetCaptureFilterLifecycleStateEnumValues ¶ added in v65.3.0

func GetCaptureFilterLifecycleStateEnumValues() []CaptureFilterLifecycleStateEnum

GetCaptureFilterLifecycleStateEnumValues Enumerates the set of values for CaptureFilterLifecycleStateEnum

func GetMappingCaptureFilterLifecycleStateEnum ¶ added in v65.3.0

func GetMappingCaptureFilterLifecycleStateEnum(val string) (CaptureFilterLifecycleStateEnum, bool)

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

type ChangeBootVolumeBackupCompartmentDetails ¶

type ChangeBootVolumeBackupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume backup to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeBootVolumeBackupCompartmentDetails Contains the details for the compartment to move the boot volume backup to.

func (ChangeBootVolumeBackupCompartmentDetails) String ¶

func (ChangeBootVolumeBackupCompartmentDetails) ValidateEnumValue ¶

func (m ChangeBootVolumeBackupCompartmentDetails) 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 ChangeBootVolumeBackupCompartmentRequest ¶

type ChangeBootVolumeBackupCompartmentRequest struct {

	// The OCID of the boot volume backup.
	BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"`

	// Request to change the compartment of given boot volume backup.
	ChangeBootVolumeBackupCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeBootVolumeBackupCompartmentRequest wrapper for the ChangeBootVolumeBackupCompartment operation

See also ¶

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

func (ChangeBootVolumeBackupCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeBootVolumeBackupCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeBootVolumeBackupCompartmentRequest) RetryPolicy ¶

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

func (ChangeBootVolumeBackupCompartmentRequest) String ¶

func (ChangeBootVolumeBackupCompartmentRequest) ValidateEnumValue ¶

func (request ChangeBootVolumeBackupCompartmentRequest) 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 ChangeBootVolumeBackupCompartmentResponse ¶

type ChangeBootVolumeBackupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeBootVolumeBackupCompartmentResponse wrapper for the ChangeBootVolumeBackupCompartment operation

func (ChangeBootVolumeBackupCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeBootVolumeBackupCompartmentResponse) String ¶

type ChangeBootVolumeCompartmentDetails ¶

type ChangeBootVolumeCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeBootVolumeCompartmentDetails Contains the details for the compartment to move the boot volume to.

func (ChangeBootVolumeCompartmentDetails) String ¶

func (ChangeBootVolumeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeBootVolumeCompartmentDetails) 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 ChangeBootVolumeCompartmentRequest ¶

type ChangeBootVolumeCompartmentRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// Request to change the compartment of given boot volume.
	ChangeBootVolumeCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeBootVolumeCompartmentRequest wrapper for the ChangeBootVolumeCompartment operation

See also ¶

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

func (ChangeBootVolumeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBootVolumeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeBootVolumeCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeBootVolumeCompartmentRequest) String ¶

func (request ChangeBootVolumeCompartmentRequest) String() string

func (ChangeBootVolumeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeBootVolumeCompartmentRequest) 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 ChangeBootVolumeCompartmentResponse ¶

type ChangeBootVolumeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeBootVolumeCompartmentResponse wrapper for the ChangeBootVolumeCompartment operation

func (ChangeBootVolumeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeBootVolumeCompartmentResponse) String ¶

func (response ChangeBootVolumeCompartmentResponse) String() string

type ChangeByoipRangeCompartmentDetails ¶

type ChangeByoipRangeCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the BYOIP CIDR block move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeByoipRangeCompartmentDetails The configuration details for the move operation.

func (ChangeByoipRangeCompartmentDetails) String ¶

func (ChangeByoipRangeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeByoipRangeCompartmentDetails) 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 ChangeByoipRangeCompartmentRequest ¶

type ChangeByoipRangeCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Request to change the compartment of a BYOIP CIDR block.
	ChangeByoipRangeCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeByoipRangeCompartmentRequest wrapper for the ChangeByoipRangeCompartment operation

See also ¶

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

func (ChangeByoipRangeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeByoipRangeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeByoipRangeCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeByoipRangeCompartmentRequest) String ¶

func (request ChangeByoipRangeCompartmentRequest) String() string

func (ChangeByoipRangeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeByoipRangeCompartmentRequest) 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 ChangeByoipRangeCompartmentResponse ¶

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

ChangeByoipRangeCompartmentResponse wrapper for the ChangeByoipRangeCompartment operation

func (ChangeByoipRangeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeByoipRangeCompartmentResponse) String ¶

func (response ChangeByoipRangeCompartmentResponse) String() string

type ChangeCaptureFilterCompartmentDetails ¶ added in v65.3.0

type ChangeCaptureFilterCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP
	// capture filter move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCaptureFilterCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a capture filter.

func (ChangeCaptureFilterCompartmentDetails) String ¶ added in v65.3.0

func (ChangeCaptureFilterCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m ChangeCaptureFilterCompartmentDetails) 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 ChangeCaptureFilterCompartmentRequest ¶ added in v65.3.0

type ChangeCaptureFilterCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter.
	CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"`

	// Request to change the compartment of a VTAP.
	ChangeCaptureFilterCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeCaptureFilterCompartmentRequest wrapper for the ChangeCaptureFilterCompartment operation

See also ¶

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

func (ChangeCaptureFilterCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeCaptureFilterCompartmentRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeCaptureFilterCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

func (ChangeCaptureFilterCompartmentRequest) String ¶ added in v65.3.0

func (ChangeCaptureFilterCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ChangeCaptureFilterCompartmentRequest) 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 ChangeCaptureFilterCompartmentResponse ¶ added in v65.3.0

type ChangeCaptureFilterCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeCaptureFilterCompartmentResponse wrapper for the ChangeCaptureFilterCompartment operation

func (ChangeCaptureFilterCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeCaptureFilterCompartmentResponse) String ¶ added in v65.3.0

type ChangeClusterNetworkCompartmentDetails ¶

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

ChangeClusterNetworkCompartmentDetails The configuration details for the move operation.

func (ChangeClusterNetworkCompartmentDetails) String ¶

func (ChangeClusterNetworkCompartmentDetails) ValidateEnumValue ¶

func (m ChangeClusterNetworkCompartmentDetails) 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 ChangeClusterNetworkCompartmentRequest ¶

type ChangeClusterNetworkCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"`

	// Request to change the compartment of given cluster network.
	ChangeClusterNetworkCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeClusterNetworkCompartmentRequest wrapper for the ChangeClusterNetworkCompartment operation

See also ¶

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

func (ChangeClusterNetworkCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeClusterNetworkCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeClusterNetworkCompartmentRequest) RetryPolicy ¶

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

func (ChangeClusterNetworkCompartmentRequest) String ¶

func (ChangeClusterNetworkCompartmentRequest) ValidateEnumValue ¶

func (request ChangeClusterNetworkCompartmentRequest) 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 ChangeClusterNetworkCompartmentResponse ¶

type ChangeClusterNetworkCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeClusterNetworkCompartmentResponse wrapper for the ChangeClusterNetworkCompartment operation

func (ChangeClusterNetworkCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeClusterNetworkCompartmentResponse) String ¶

type ChangeComputeCapacityReservationCompartmentDetails ¶

type ChangeComputeCapacityReservationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// to move the compute capacity reservation to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeComputeCapacityReservationCompartmentDetails Specifies the compartment to move the compute capacity reservation to.

func (ChangeComputeCapacityReservationCompartmentDetails) String ¶

func (ChangeComputeCapacityReservationCompartmentDetails) ValidateEnumValue ¶

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 ChangeComputeCapacityReservationCompartmentRequest ¶

type ChangeComputeCapacityReservationCompartmentRequest struct {

	// The OCID of the compute capacity reservation.
	CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"`

	// The configuration details for the move operation.
	ChangeComputeCapacityReservationCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeComputeCapacityReservationCompartmentRequest wrapper for the ChangeComputeCapacityReservationCompartment operation

See also ¶

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

func (ChangeComputeCapacityReservationCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeComputeCapacityReservationCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeComputeCapacityReservationCompartmentRequest) RetryPolicy ¶

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

func (ChangeComputeCapacityReservationCompartmentRequest) String ¶

func (ChangeComputeCapacityReservationCompartmentRequest) ValidateEnumValue ¶

func (request ChangeComputeCapacityReservationCompartmentRequest) 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 ChangeComputeCapacityReservationCompartmentResponse ¶

type ChangeComputeCapacityReservationCompartmentResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeComputeCapacityReservationCompartmentResponse wrapper for the ChangeComputeCapacityReservationCompartment operation

func (ChangeComputeCapacityReservationCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeComputeCapacityReservationCompartmentResponse) String ¶

type ChangeComputeCapacityTopologyCompartmentDetails ¶ added in v65.53.0

type ChangeComputeCapacityTopologyCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// to move the compute capacity topology to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeComputeCapacityTopologyCompartmentDetails Specifies the compartment to move the compute capacity topology to.

func (ChangeComputeCapacityTopologyCompartmentDetails) String ¶ added in v65.53.0

func (ChangeComputeCapacityTopologyCompartmentDetails) ValidateEnumValue ¶ added in v65.53.0

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 ChangeComputeCapacityTopologyCompartmentRequest ¶ added in v65.53.0

type ChangeComputeCapacityTopologyCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// The configuration details for the move operation.
	ChangeComputeCapacityTopologyCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeComputeCapacityTopologyCompartmentRequest wrapper for the ChangeComputeCapacityTopologyCompartment operation

See also ¶

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

func (ChangeComputeCapacityTopologyCompartmentRequest) BinaryRequestBody ¶ added in v65.53.0

BinaryRequestBody implements the OCIRequest interface

func (ChangeComputeCapacityTopologyCompartmentRequest) HTTPRequest ¶ added in v65.53.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeComputeCapacityTopologyCompartmentRequest) RetryPolicy ¶ added in v65.53.0

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

func (ChangeComputeCapacityTopologyCompartmentRequest) String ¶ added in v65.53.0

func (ChangeComputeCapacityTopologyCompartmentRequest) ValidateEnumValue ¶ added in v65.53.0

func (request ChangeComputeCapacityTopologyCompartmentRequest) 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 ChangeComputeCapacityTopologyCompartmentResponse ¶ added in v65.53.0

type ChangeComputeCapacityTopologyCompartmentResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeComputeCapacityTopologyCompartmentResponse wrapper for the ChangeComputeCapacityTopologyCompartment operation

func (ChangeComputeCapacityTopologyCompartmentResponse) HTTPResponse ¶ added in v65.53.0

HTTPResponse implements the OCIResponse interface

func (ChangeComputeCapacityTopologyCompartmentResponse) String ¶ added in v65.53.0

type ChangeComputeClusterCompartmentDetails ¶ added in v65.33.1

type ChangeComputeClusterCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute cluster to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeComputeClusterCompartmentDetails The configuration details for the move operation.

func (ChangeComputeClusterCompartmentDetails) String ¶ added in v65.33.1

func (ChangeComputeClusterCompartmentDetails) ValidateEnumValue ¶ added in v65.33.1

func (m ChangeComputeClusterCompartmentDetails) 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 ChangeComputeClusterCompartmentRequest ¶ added in v65.33.1

type ChangeComputeClusterCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory
	// access (RDMA) network group.
	ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"`

	// The request to move the compute cluster to a different compartment.
	ChangeComputeClusterCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeComputeClusterCompartmentRequest wrapper for the ChangeComputeClusterCompartment operation

See also ¶

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

func (ChangeComputeClusterCompartmentRequest) BinaryRequestBody ¶ added in v65.33.1

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeComputeClusterCompartmentRequest) HTTPRequest ¶ added in v65.33.1

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

HTTPRequest implements the OCIRequest interface

func (ChangeComputeClusterCompartmentRequest) RetryPolicy ¶ added in v65.33.1

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

func (ChangeComputeClusterCompartmentRequest) String ¶ added in v65.33.1

func (ChangeComputeClusterCompartmentRequest) ValidateEnumValue ¶ added in v65.33.1

func (request ChangeComputeClusterCompartmentRequest) 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 ChangeComputeClusterCompartmentResponse ¶ added in v65.33.1

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

ChangeComputeClusterCompartmentResponse wrapper for the ChangeComputeClusterCompartment operation

func (ChangeComputeClusterCompartmentResponse) HTTPResponse ¶ added in v65.33.1

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

HTTPResponse implements the OCIResponse interface

func (ChangeComputeClusterCompartmentResponse) String ¶ added in v65.33.1

type ChangeComputeImageCapabilitySchemaCompartmentDetails ¶

type ChangeComputeImageCapabilitySchemaCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to
	// move the instance configuration to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeComputeImageCapabilitySchemaCompartmentDetails The configuration details for the move operation.

func (ChangeComputeImageCapabilitySchemaCompartmentDetails) String ¶

func (ChangeComputeImageCapabilitySchemaCompartmentDetails) ValidateEnumValue ¶

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 ChangeComputeImageCapabilitySchemaCompartmentRequest ¶

type ChangeComputeImageCapabilitySchemaCompartmentRequest struct {

	// The id of the compute image capability schema or the image ocid
	ComputeImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeImageCapabilitySchemaId"`

	// Compute Image Capability Schema change compartment details
	ChangeComputeImageCapabilitySchemaCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeComputeImageCapabilitySchemaCompartmentRequest wrapper for the ChangeComputeImageCapabilitySchemaCompartment operation

See also ¶

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

func (ChangeComputeImageCapabilitySchemaCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeComputeImageCapabilitySchemaCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeComputeImageCapabilitySchemaCompartmentRequest) RetryPolicy ¶

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

func (ChangeComputeImageCapabilitySchemaCompartmentRequest) String ¶

func (ChangeComputeImageCapabilitySchemaCompartmentRequest) ValidateEnumValue ¶

func (request ChangeComputeImageCapabilitySchemaCompartmentRequest) 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 ChangeComputeImageCapabilitySchemaCompartmentResponse ¶

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

ChangeComputeImageCapabilitySchemaCompartmentResponse wrapper for the ChangeComputeImageCapabilitySchemaCompartment operation

func (ChangeComputeImageCapabilitySchemaCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeComputeImageCapabilitySchemaCompartmentResponse) String ¶

type ChangeCpeCompartmentDetails ¶

type ChangeCpeCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// CPE object to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCpeCompartmentDetails The configuration details for the move operation.

func (ChangeCpeCompartmentDetails) String ¶

func (ChangeCpeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeCpeCompartmentDetails) 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 ChangeCpeCompartmentRequest ¶

type ChangeCpeCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE.
	CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`

	// Request to change the compartment of a CPE.
	ChangeCpeCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeCpeCompartmentRequest wrapper for the ChangeCpeCompartment operation

See also ¶

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

func (ChangeCpeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeCpeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeCpeCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeCpeCompartmentRequest) String ¶

func (request ChangeCpeCompartmentRequest) String() string

func (ChangeCpeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeCpeCompartmentRequest) 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 ChangeCpeCompartmentResponse ¶

type ChangeCpeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeCpeCompartmentResponse wrapper for the ChangeCpeCompartment operation

func (ChangeCpeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeCpeCompartmentResponse) String ¶

func (response ChangeCpeCompartmentResponse) String() string

type ChangeCrossConnectCompartmentDetails ¶

type ChangeCrossConnectCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// cross-connect to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCrossConnectCompartmentDetails The configuration details for the move operation.

func (ChangeCrossConnectCompartmentDetails) String ¶

func (ChangeCrossConnectCompartmentDetails) ValidateEnumValue ¶

func (m ChangeCrossConnectCompartmentDetails) 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 ChangeCrossConnectCompartmentRequest ¶

type ChangeCrossConnectCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

	// Request to change the compartment of a Cross Connect.
	ChangeCrossConnectCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeCrossConnectCompartmentRequest wrapper for the ChangeCrossConnectCompartment operation

See also ¶

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

func (ChangeCrossConnectCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeCrossConnectCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeCrossConnectCompartmentRequest) RetryPolicy ¶

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

func (ChangeCrossConnectCompartmentRequest) String ¶

func (ChangeCrossConnectCompartmentRequest) ValidateEnumValue ¶

func (request ChangeCrossConnectCompartmentRequest) 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 ChangeCrossConnectCompartmentResponse ¶

type ChangeCrossConnectCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeCrossConnectCompartmentResponse wrapper for the ChangeCrossConnectCompartment operation

func (ChangeCrossConnectCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeCrossConnectCompartmentResponse) String ¶

type ChangeCrossConnectGroupCompartmentDetails ¶

type ChangeCrossConnectGroupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// cross-connect group to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCrossConnectGroupCompartmentDetails The configuration details for the move operation.

func (ChangeCrossConnectGroupCompartmentDetails) String ¶

func (ChangeCrossConnectGroupCompartmentDetails) ValidateEnumValue ¶

func (m ChangeCrossConnectGroupCompartmentDetails) 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 ChangeCrossConnectGroupCompartmentRequest ¶

type ChangeCrossConnectGroupCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group.
	CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"`

	// Request to change the compartment of a Cross Connect Group.
	ChangeCrossConnectGroupCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeCrossConnectGroupCompartmentRequest wrapper for the ChangeCrossConnectGroupCompartment operation

See also ¶

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

func (ChangeCrossConnectGroupCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeCrossConnectGroupCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeCrossConnectGroupCompartmentRequest) RetryPolicy ¶

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

func (ChangeCrossConnectGroupCompartmentRequest) String ¶

func (ChangeCrossConnectGroupCompartmentRequest) ValidateEnumValue ¶

func (request ChangeCrossConnectGroupCompartmentRequest) 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 ChangeCrossConnectGroupCompartmentResponse ¶

type ChangeCrossConnectGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeCrossConnectGroupCompartmentResponse wrapper for the ChangeCrossConnectGroupCompartment operation

func (ChangeCrossConnectGroupCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeCrossConnectGroupCompartmentResponse) String ¶

type ChangeDedicatedVmHostCompartmentDetails ¶

type ChangeDedicatedVmHostCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// to move the dedicated virtual machine host to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDedicatedVmHostCompartmentDetails Specifies the compartment to move the dedicated virtual machine host to.

func (ChangeDedicatedVmHostCompartmentDetails) String ¶

func (ChangeDedicatedVmHostCompartmentDetails) ValidateEnumValue ¶

func (m ChangeDedicatedVmHostCompartmentDetails) 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 ChangeDedicatedVmHostCompartmentRequest ¶

type ChangeDedicatedVmHostCompartmentRequest struct {

	// The OCID of the dedicated VM host.
	DedicatedVmHostId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVmHostId"`

	// The request to move the dedicated virtual machine host to a different compartment.
	ChangeDedicatedVmHostCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeDedicatedVmHostCompartmentRequest wrapper for the ChangeDedicatedVmHostCompartment operation

See also ¶

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

func (ChangeDedicatedVmHostCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDedicatedVmHostCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeDedicatedVmHostCompartmentRequest) RetryPolicy ¶

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

func (ChangeDedicatedVmHostCompartmentRequest) String ¶

func (ChangeDedicatedVmHostCompartmentRequest) ValidateEnumValue ¶

func (request ChangeDedicatedVmHostCompartmentRequest) 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 ChangeDedicatedVmHostCompartmentResponse ¶

type ChangeDedicatedVmHostCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeDedicatedVmHostCompartmentResponse wrapper for the ChangeDedicatedVmHostCompartment operation

func (ChangeDedicatedVmHostCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeDedicatedVmHostCompartmentResponse) String ¶

type ChangeDhcpOptionsCompartmentDetails ¶

type ChangeDhcpOptionsCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// set of DHCP options to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeDhcpOptionsCompartmentDetails The configuration details for the move operation.

func (ChangeDhcpOptionsCompartmentDetails) String ¶

func (ChangeDhcpOptionsCompartmentDetails) ValidateEnumValue ¶

func (m ChangeDhcpOptionsCompartmentDetails) 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 ChangeDhcpOptionsCompartmentRequest ¶

type ChangeDhcpOptionsCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
	DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"`

	// Request to change the compartment of a set of DHCP Options.
	ChangeDhcpOptionsCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeDhcpOptionsCompartmentRequest wrapper for the ChangeDhcpOptionsCompartment operation

See also ¶

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

func (ChangeDhcpOptionsCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDhcpOptionsCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeDhcpOptionsCompartmentRequest) RetryPolicy ¶

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

func (ChangeDhcpOptionsCompartmentRequest) String ¶

func (ChangeDhcpOptionsCompartmentRequest) ValidateEnumValue ¶

func (request ChangeDhcpOptionsCompartmentRequest) 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 ChangeDhcpOptionsCompartmentResponse ¶

type ChangeDhcpOptionsCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeDhcpOptionsCompartmentResponse wrapper for the ChangeDhcpOptionsCompartment operation

func (ChangeDhcpOptionsCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeDhcpOptionsCompartmentResponse) String ¶

func (response ChangeDhcpOptionsCompartmentResponse) String() string

type ChangeDrgCompartmentDetails ¶

type ChangeDrgCompartmentDetails struct {

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

ChangeDrgCompartmentDetails The configuration details for the move operation.

func (ChangeDrgCompartmentDetails) String ¶

func (ChangeDrgCompartmentDetails) ValidateEnumValue ¶

func (m ChangeDrgCompartmentDetails) 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 ChangeDrgCompartmentRequest ¶

type ChangeDrgCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Request to change the compartment of a DRG.
	ChangeDrgCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeDrgCompartmentRequest wrapper for the ChangeDrgCompartment operation

See also ¶

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

func (ChangeDrgCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeDrgCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeDrgCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeDrgCompartmentRequest) String ¶

func (request ChangeDrgCompartmentRequest) String() string

func (ChangeDrgCompartmentRequest) ValidateEnumValue ¶

func (request ChangeDrgCompartmentRequest) 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 ChangeDrgCompartmentResponse ¶

type ChangeDrgCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeDrgCompartmentResponse wrapper for the ChangeDrgCompartment operation

func (ChangeDrgCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeDrgCompartmentResponse) String ¶

func (response ChangeDrgCompartmentResponse) String() string

type ChangeIPSecConnectionCompartmentRequest ¶

type ChangeIPSecConnectionCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// Request to change the compartment of a IPSec connection.
	ChangeIpSecConnectionCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeIPSecConnectionCompartmentRequest wrapper for the ChangeIPSecConnectionCompartment operation

See also ¶

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

func (ChangeIPSecConnectionCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeIPSecConnectionCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeIPSecConnectionCompartmentRequest) RetryPolicy ¶

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

func (ChangeIPSecConnectionCompartmentRequest) String ¶

func (ChangeIPSecConnectionCompartmentRequest) ValidateEnumValue ¶

func (request ChangeIPSecConnectionCompartmentRequest) 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 ChangeIPSecConnectionCompartmentResponse ¶

type ChangeIPSecConnectionCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeIPSecConnectionCompartmentResponse wrapper for the ChangeIPSecConnectionCompartment operation

func (ChangeIPSecConnectionCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeIPSecConnectionCompartmentResponse) String ¶

type ChangeImageCompartmentDetails ¶

type ChangeImageCompartmentDetails struct {

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

ChangeImageCompartmentDetails The configuration details for the move operation.

func (ChangeImageCompartmentDetails) String ¶

func (ChangeImageCompartmentDetails) ValidateEnumValue ¶

func (m ChangeImageCompartmentDetails) 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 ChangeImageCompartmentRequest ¶

type ChangeImageCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Request to change the compartment of a given image.
	ChangeImageCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeImageCompartmentRequest wrapper for the ChangeImageCompartment operation

See also ¶

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

func (ChangeImageCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeImageCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeImageCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeImageCompartmentRequest) String ¶

func (request ChangeImageCompartmentRequest) String() string

func (ChangeImageCompartmentRequest) ValidateEnumValue ¶

func (request ChangeImageCompartmentRequest) 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 ChangeImageCompartmentResponse ¶

type ChangeImageCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeImageCompartmentResponse wrapper for the ChangeImageCompartment operation

func (ChangeImageCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeImageCompartmentResponse) String ¶

func (response ChangeImageCompartmentResponse) String() string

type ChangeInstanceCompartmentDetails ¶

type ChangeInstanceCompartmentDetails struct {

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

ChangeInstanceCompartmentDetails The configuration details for the move operation.

func (ChangeInstanceCompartmentDetails) String ¶

func (ChangeInstanceCompartmentDetails) ValidateEnumValue ¶

func (m ChangeInstanceCompartmentDetails) 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 ChangeInstanceCompartmentRequest ¶

type ChangeInstanceCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Request to change the compartment of a given instance.
	ChangeInstanceCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeInstanceCompartmentRequest wrapper for the ChangeInstanceCompartment operation

See also ¶

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

func (ChangeInstanceCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeInstanceCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeInstanceCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeInstanceCompartmentRequest) String ¶

func (request ChangeInstanceCompartmentRequest) String() string

func (ChangeInstanceCompartmentRequest) ValidateEnumValue ¶

func (request ChangeInstanceCompartmentRequest) 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 ChangeInstanceCompartmentResponse ¶

type ChangeInstanceCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeInstanceCompartmentResponse wrapper for the ChangeInstanceCompartment operation

func (ChangeInstanceCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeInstanceCompartmentResponse) String ¶

func (response ChangeInstanceCompartmentResponse) String() string

type ChangeInstanceConfigurationCompartmentDetails ¶

type ChangeInstanceConfigurationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to
	// move the instance configuration to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeInstanceConfigurationCompartmentDetails The configuration details for the move operation.

func (ChangeInstanceConfigurationCompartmentDetails) String ¶

func (ChangeInstanceConfigurationCompartmentDetails) ValidateEnumValue ¶

func (m ChangeInstanceConfigurationCompartmentDetails) 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 ChangeInstanceConfigurationCompartmentRequest ¶

type ChangeInstanceConfigurationCompartmentRequest struct {

	// The OCID of the instance configuration.
	InstanceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"instanceConfigurationId"`

	// Request to change the compartment of given instance configuration.
	ChangeInstanceConfigurationCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeInstanceConfigurationCompartmentRequest wrapper for the ChangeInstanceConfigurationCompartment operation

See also ¶

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

func (ChangeInstanceConfigurationCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeInstanceConfigurationCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeInstanceConfigurationCompartmentRequest) RetryPolicy ¶

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

func (ChangeInstanceConfigurationCompartmentRequest) String ¶

func (ChangeInstanceConfigurationCompartmentRequest) ValidateEnumValue ¶

func (request ChangeInstanceConfigurationCompartmentRequest) 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 ChangeInstanceConfigurationCompartmentResponse ¶

type ChangeInstanceConfigurationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeInstanceConfigurationCompartmentResponse wrapper for the ChangeInstanceConfigurationCompartment operation

func (ChangeInstanceConfigurationCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeInstanceConfigurationCompartmentResponse) String ¶

type ChangeInstancePoolCompartmentDetails ¶

type ChangeInstancePoolCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to
	// move the instance pool to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeInstancePoolCompartmentDetails The configuration details for the move operation.

func (ChangeInstancePoolCompartmentDetails) String ¶

func (ChangeInstancePoolCompartmentDetails) ValidateEnumValue ¶

func (m ChangeInstancePoolCompartmentDetails) 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 ChangeInstancePoolCompartmentRequest ¶

type ChangeInstancePoolCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Request to change the compartment of given instance pool.
	ChangeInstancePoolCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeInstancePoolCompartmentRequest wrapper for the ChangeInstancePoolCompartment operation

See also ¶

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

func (ChangeInstancePoolCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeInstancePoolCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeInstancePoolCompartmentRequest) RetryPolicy ¶

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

func (ChangeInstancePoolCompartmentRequest) String ¶

func (ChangeInstancePoolCompartmentRequest) ValidateEnumValue ¶

func (request ChangeInstancePoolCompartmentRequest) 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 ChangeInstancePoolCompartmentResponse ¶

type ChangeInstancePoolCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeInstancePoolCompartmentResponse wrapper for the ChangeInstancePoolCompartment operation

func (ChangeInstancePoolCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeInstancePoolCompartmentResponse) String ¶

type ChangeInternetGatewayCompartmentDetails ¶

type ChangeInternetGatewayCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// internet gateway to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeInternetGatewayCompartmentDetails The configuration details for the move operation.

func (ChangeInternetGatewayCompartmentDetails) String ¶

func (ChangeInternetGatewayCompartmentDetails) ValidateEnumValue ¶

func (m ChangeInternetGatewayCompartmentDetails) 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 ChangeInternetGatewayCompartmentRequest ¶

type ChangeInternetGatewayCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway.
	IgId *string `mandatory:"true" contributesTo:"path" name:"igId"`

	// Request to change the compartment of an internet gateway.
	ChangeInternetGatewayCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeInternetGatewayCompartmentRequest wrapper for the ChangeInternetGatewayCompartment operation

See also ¶

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

func (ChangeInternetGatewayCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeInternetGatewayCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeInternetGatewayCompartmentRequest) RetryPolicy ¶

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

func (ChangeInternetGatewayCompartmentRequest) String ¶

func (ChangeInternetGatewayCompartmentRequest) ValidateEnumValue ¶

func (request ChangeInternetGatewayCompartmentRequest) 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 ChangeInternetGatewayCompartmentResponse ¶

type ChangeInternetGatewayCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeInternetGatewayCompartmentResponse wrapper for the ChangeInternetGatewayCompartment operation

func (ChangeInternetGatewayCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeInternetGatewayCompartmentResponse) String ¶

type ChangeIpSecConnectionCompartmentDetails ¶

type ChangeIpSecConnectionCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// IPSec connection to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeIpSecConnectionCompartmentDetails The configuration details for the move operation.

func (ChangeIpSecConnectionCompartmentDetails) String ¶

func (ChangeIpSecConnectionCompartmentDetails) ValidateEnumValue ¶

func (m ChangeIpSecConnectionCompartmentDetails) 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 ChangeLocalPeeringGatewayCompartmentDetails ¶

type ChangeLocalPeeringGatewayCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// local peering gateway to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeLocalPeeringGatewayCompartmentDetails The configuration details for the move operation.

func (ChangeLocalPeeringGatewayCompartmentDetails) String ¶

func (ChangeLocalPeeringGatewayCompartmentDetails) ValidateEnumValue ¶

func (m ChangeLocalPeeringGatewayCompartmentDetails) 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 ChangeLocalPeeringGatewayCompartmentRequest ¶

type ChangeLocalPeeringGatewayCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway.
	LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"`

	// Request to change the compartment of a given local peering gateway.
	ChangeLocalPeeringGatewayCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeLocalPeeringGatewayCompartmentRequest wrapper for the ChangeLocalPeeringGatewayCompartment operation

See also ¶

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

func (ChangeLocalPeeringGatewayCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeLocalPeeringGatewayCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeLocalPeeringGatewayCompartmentRequest) RetryPolicy ¶

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

func (ChangeLocalPeeringGatewayCompartmentRequest) String ¶

func (ChangeLocalPeeringGatewayCompartmentRequest) ValidateEnumValue ¶

func (request ChangeLocalPeeringGatewayCompartmentRequest) 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 ChangeLocalPeeringGatewayCompartmentResponse ¶

type ChangeLocalPeeringGatewayCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeLocalPeeringGatewayCompartmentResponse wrapper for the ChangeLocalPeeringGatewayCompartment operation

func (ChangeLocalPeeringGatewayCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeLocalPeeringGatewayCompartmentResponse) String ¶

type ChangeNatGatewayCompartmentDetails ¶

type ChangeNatGatewayCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the NAT gateway to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeNatGatewayCompartmentDetails The configuration details for the move operation.

func (ChangeNatGatewayCompartmentDetails) String ¶

func (ChangeNatGatewayCompartmentDetails) ValidateEnumValue ¶

func (m ChangeNatGatewayCompartmentDetails) 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 ChangeNatGatewayCompartmentRequest ¶

type ChangeNatGatewayCompartmentRequest struct {

	// The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"`

	// Request to change the compartment of a given NAT Gateway.
	ChangeNatGatewayCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeNatGatewayCompartmentRequest wrapper for the ChangeNatGatewayCompartment operation

See also ¶

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

func (ChangeNatGatewayCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeNatGatewayCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeNatGatewayCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeNatGatewayCompartmentRequest) String ¶

func (request ChangeNatGatewayCompartmentRequest) String() string

func (ChangeNatGatewayCompartmentRequest) ValidateEnumValue ¶

func (request ChangeNatGatewayCompartmentRequest) 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 ChangeNatGatewayCompartmentResponse ¶

type ChangeNatGatewayCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeNatGatewayCompartmentResponse wrapper for the ChangeNatGatewayCompartment operation

func (ChangeNatGatewayCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeNatGatewayCompartmentResponse) String ¶

func (response ChangeNatGatewayCompartmentResponse) String() string

type ChangeNetworkSecurityGroupCompartmentDetails ¶

type ChangeNetworkSecurityGroupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the network
	// security group to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeNetworkSecurityGroupCompartmentDetails The representation of ChangeNetworkSecurityGroupCompartmentDetails

func (ChangeNetworkSecurityGroupCompartmentDetails) String ¶

func (ChangeNetworkSecurityGroupCompartmentDetails) ValidateEnumValue ¶

func (m ChangeNetworkSecurityGroupCompartmentDetails) 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 ChangeNetworkSecurityGroupCompartmentRequest ¶

type ChangeNetworkSecurityGroupCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Request to change the compartment of a network security group.
	ChangeNetworkSecurityGroupCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeNetworkSecurityGroupCompartmentRequest wrapper for the ChangeNetworkSecurityGroupCompartment operation

See also ¶

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

func (ChangeNetworkSecurityGroupCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkSecurityGroupCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkSecurityGroupCompartmentRequest) RetryPolicy ¶

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

func (ChangeNetworkSecurityGroupCompartmentRequest) String ¶

func (ChangeNetworkSecurityGroupCompartmentRequest) ValidateEnumValue ¶

func (request ChangeNetworkSecurityGroupCompartmentRequest) 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 ChangeNetworkSecurityGroupCompartmentResponse ¶

type ChangeNetworkSecurityGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeNetworkSecurityGroupCompartmentResponse wrapper for the ChangeNetworkSecurityGroupCompartment operation

func (ChangeNetworkSecurityGroupCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkSecurityGroupCompartmentResponse) String ¶

type ChangePublicIpCompartmentDetails ¶

type ChangePublicIpCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// public IP to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangePublicIpCompartmentDetails The configuration details for the move operation.

func (ChangePublicIpCompartmentDetails) String ¶

func (ChangePublicIpCompartmentDetails) ValidateEnumValue ¶

func (m ChangePublicIpCompartmentDetails) 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 ChangePublicIpCompartmentRequest ¶

type ChangePublicIpCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP.
	PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"`

	// Request to change the compartment of a Public IP.
	ChangePublicIpCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangePublicIpCompartmentRequest wrapper for the ChangePublicIpCompartment operation

See also ¶

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

func (ChangePublicIpCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangePublicIpCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangePublicIpCompartmentRequest) RetryPolicy ¶

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

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

func (ChangePublicIpCompartmentRequest) String ¶

func (request ChangePublicIpCompartmentRequest) String() string

func (ChangePublicIpCompartmentRequest) ValidateEnumValue ¶

func (request ChangePublicIpCompartmentRequest) 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 ChangePublicIpCompartmentResponse ¶

type ChangePublicIpCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangePublicIpCompartmentResponse wrapper for the ChangePublicIpCompartment operation

func (ChangePublicIpCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangePublicIpCompartmentResponse) String ¶

func (response ChangePublicIpCompartmentResponse) String() string

type ChangePublicIpPoolCompartmentDetails ¶

type ChangePublicIpPoolCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the public IP pool move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangePublicIpPoolCompartmentDetails The configuration details for the move operation.

func (ChangePublicIpPoolCompartmentDetails) String ¶

func (ChangePublicIpPoolCompartmentDetails) ValidateEnumValue ¶

func (m ChangePublicIpPoolCompartmentDetails) 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 ChangePublicIpPoolCompartmentRequest ¶

type ChangePublicIpPoolCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"`

	// Request to change the compartment of a public IP pool.
	ChangePublicIpPoolCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangePublicIpPoolCompartmentRequest wrapper for the ChangePublicIpPoolCompartment operation

See also ¶

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

func (ChangePublicIpPoolCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangePublicIpPoolCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangePublicIpPoolCompartmentRequest) RetryPolicy ¶

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

func (ChangePublicIpPoolCompartmentRequest) String ¶

func (ChangePublicIpPoolCompartmentRequest) ValidateEnumValue ¶

func (request ChangePublicIpPoolCompartmentRequest) 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 ChangePublicIpPoolCompartmentResponse ¶

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

ChangePublicIpPoolCompartmentResponse wrapper for the ChangePublicIpPoolCompartment operation

func (ChangePublicIpPoolCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangePublicIpPoolCompartmentResponse) String ¶

type ChangeRemotePeeringConnectionCompartmentDetails ¶

type ChangeRemotePeeringConnectionCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// remote peering connection to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeRemotePeeringConnectionCompartmentDetails The configuration details for the move operation.

func (ChangeRemotePeeringConnectionCompartmentDetails) String ¶

func (ChangeRemotePeeringConnectionCompartmentDetails) ValidateEnumValue ¶

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 ChangeRemotePeeringConnectionCompartmentRequest ¶

type ChangeRemotePeeringConnectionCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
	RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"`

	// Request to change the compartment of a remote peering connection.
	ChangeRemotePeeringConnectionCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeRemotePeeringConnectionCompartmentRequest wrapper for the ChangeRemotePeeringConnectionCompartment operation

See also ¶

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

func (ChangeRemotePeeringConnectionCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeRemotePeeringConnectionCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeRemotePeeringConnectionCompartmentRequest) RetryPolicy ¶

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

func (ChangeRemotePeeringConnectionCompartmentRequest) String ¶

func (ChangeRemotePeeringConnectionCompartmentRequest) ValidateEnumValue ¶

func (request ChangeRemotePeeringConnectionCompartmentRequest) 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 ChangeRemotePeeringConnectionCompartmentResponse ¶

type ChangeRemotePeeringConnectionCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeRemotePeeringConnectionCompartmentResponse wrapper for the ChangeRemotePeeringConnectionCompartment operation

func (ChangeRemotePeeringConnectionCompartmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ChangeRemotePeeringConnectionCompartmentResponse) String ¶

type ChangeRouteTableCompartmentDetails ¶

type ChangeRouteTableCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// route table to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeRouteTableCompartmentDetails The configuration details for the move operation.

func (ChangeRouteTableCompartmentDetails) String ¶

func (ChangeRouteTableCompartmentDetails) ValidateEnumValue ¶

func (m ChangeRouteTableCompartmentDetails) 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 ChangeRouteTableCompartmentRequest ¶

type ChangeRouteTableCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table.
	RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"`

	// Request to change the compartment of a given route table.
	ChangeRouteTableCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeRouteTableCompartmentRequest wrapper for the ChangeRouteTableCompartment operation

See also ¶

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

func (ChangeRouteTableCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeRouteTableCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeRouteTableCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeRouteTableCompartmentRequest) String ¶

func (request ChangeRouteTableCompartmentRequest) String() string

func (ChangeRouteTableCompartmentRequest) ValidateEnumValue ¶

func (request ChangeRouteTableCompartmentRequest) 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 ChangeRouteTableCompartmentResponse ¶

type ChangeRouteTableCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeRouteTableCompartmentResponse wrapper for the ChangeRouteTableCompartment operation

func (ChangeRouteTableCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeRouteTableCompartmentResponse) String ¶

func (response ChangeRouteTableCompartmentResponse) String() string

type ChangeSecurityListCompartmentDetails ¶

type ChangeSecurityListCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// security list to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeSecurityListCompartmentDetails The configuration details for the move operation.

func (ChangeSecurityListCompartmentDetails) String ¶

func (ChangeSecurityListCompartmentDetails) ValidateEnumValue ¶

func (m ChangeSecurityListCompartmentDetails) 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 ChangeSecurityListCompartmentRequest ¶

type ChangeSecurityListCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list.
	SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"`

	// Request to change the compartment of a given security list.
	ChangeSecurityListCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeSecurityListCompartmentRequest wrapper for the ChangeSecurityListCompartment operation

See also ¶

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

func (ChangeSecurityListCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSecurityListCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeSecurityListCompartmentRequest) RetryPolicy ¶

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

func (ChangeSecurityListCompartmentRequest) String ¶

func (ChangeSecurityListCompartmentRequest) ValidateEnumValue ¶

func (request ChangeSecurityListCompartmentRequest) 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 ChangeSecurityListCompartmentResponse ¶

type ChangeSecurityListCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeSecurityListCompartmentResponse wrapper for the ChangeSecurityListCompartment operation

func (ChangeSecurityListCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeSecurityListCompartmentResponse) String ¶

type ChangeServiceGatewayCompartmentDetails ¶

type ChangeServiceGatewayCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// service gateway to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeServiceGatewayCompartmentDetails The configuration details for the move operation.

func (ChangeServiceGatewayCompartmentDetails) String ¶

func (ChangeServiceGatewayCompartmentDetails) ValidateEnumValue ¶

func (m ChangeServiceGatewayCompartmentDetails) 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 ChangeServiceGatewayCompartmentRequest ¶

type ChangeServiceGatewayCompartmentRequest struct {

	// The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

	// Request to change the compartment of a given Service Gateway.
	ChangeServiceGatewayCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeServiceGatewayCompartmentRequest wrapper for the ChangeServiceGatewayCompartment operation

See also ¶

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

func (ChangeServiceGatewayCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeServiceGatewayCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeServiceGatewayCompartmentRequest) RetryPolicy ¶

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

func (ChangeServiceGatewayCompartmentRequest) String ¶

func (ChangeServiceGatewayCompartmentRequest) ValidateEnumValue ¶

func (request ChangeServiceGatewayCompartmentRequest) 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 ChangeServiceGatewayCompartmentResponse ¶

type ChangeServiceGatewayCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeServiceGatewayCompartmentResponse wrapper for the ChangeServiceGatewayCompartment operation

func (ChangeServiceGatewayCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeServiceGatewayCompartmentResponse) String ¶

type ChangeSubnetCompartmentDetails ¶

type ChangeSubnetCompartmentDetails struct {

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

ChangeSubnetCompartmentDetails The configuration details for the move operation.

func (ChangeSubnetCompartmentDetails) String ¶

func (ChangeSubnetCompartmentDetails) ValidateEnumValue ¶

func (m ChangeSubnetCompartmentDetails) 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 ChangeSubnetCompartmentRequest ¶

type ChangeSubnetCompartmentRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"`

	// Request to change the compartment of a given subnet.
	ChangeSubnetCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeSubnetCompartmentRequest wrapper for the ChangeSubnetCompartment operation

See also ¶

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

func (ChangeSubnetCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeSubnetCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeSubnetCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeSubnetCompartmentRequest) String ¶

func (request ChangeSubnetCompartmentRequest) String() string

func (ChangeSubnetCompartmentRequest) ValidateEnumValue ¶

func (request ChangeSubnetCompartmentRequest) 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 ChangeSubnetCompartmentResponse ¶

type ChangeSubnetCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeSubnetCompartmentResponse wrapper for the ChangeSubnetCompartment operation

func (ChangeSubnetCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeSubnetCompartmentResponse) String ¶

func (response ChangeSubnetCompartmentResponse) String() string

type ChangeVcnCompartmentDetails ¶

type ChangeVcnCompartmentDetails struct {

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

ChangeVcnCompartmentDetails The configuration details for the move operation.

func (ChangeVcnCompartmentDetails) String ¶

func (ChangeVcnCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVcnCompartmentDetails) 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 ChangeVcnCompartmentRequest ¶

type ChangeVcnCompartmentRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Request to change the compartment of a given VCN.
	ChangeVcnCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeVcnCompartmentRequest wrapper for the ChangeVcnCompartment operation

See also ¶

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

func (ChangeVcnCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVcnCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVcnCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeVcnCompartmentRequest) String ¶

func (request ChangeVcnCompartmentRequest) String() string

func (ChangeVcnCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVcnCompartmentRequest) 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 ChangeVcnCompartmentResponse ¶

type ChangeVcnCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeVcnCompartmentResponse wrapper for the ChangeVcnCompartment operation

func (ChangeVcnCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVcnCompartmentResponse) String ¶

func (response ChangeVcnCompartmentResponse) String() string

type ChangeVirtualCircuitCompartmentDetails ¶

type ChangeVirtualCircuitCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the
	// virtual circuit to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeVirtualCircuitCompartmentDetails The configuration details for the move operation.

func (ChangeVirtualCircuitCompartmentDetails) String ¶

func (ChangeVirtualCircuitCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVirtualCircuitCompartmentDetails) 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 ChangeVirtualCircuitCompartmentRequest ¶

type ChangeVirtualCircuitCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// Request to change the compartment of a virtual circuit.
	ChangeVirtualCircuitCompartmentDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeVirtualCircuitCompartmentRequest wrapper for the ChangeVirtualCircuitCompartment operation

See also ¶

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

func (ChangeVirtualCircuitCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVirtualCircuitCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVirtualCircuitCompartmentRequest) RetryPolicy ¶

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

func (ChangeVirtualCircuitCompartmentRequest) String ¶

func (ChangeVirtualCircuitCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVirtualCircuitCompartmentRequest) 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 ChangeVirtualCircuitCompartmentResponse ¶

type ChangeVirtualCircuitCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeVirtualCircuitCompartmentResponse wrapper for the ChangeVirtualCircuitCompartment operation

func (ChangeVirtualCircuitCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVirtualCircuitCompartmentResponse) String ¶

type ChangeVlanCompartmentDetails ¶

type ChangeVlanCompartmentDetails struct {

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

ChangeVlanCompartmentDetails The configuration details for the move operation.

func (ChangeVlanCompartmentDetails) String ¶

func (ChangeVlanCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVlanCompartmentDetails) 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 ChangeVlanCompartmentRequest ¶

type ChangeVlanCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"`

	// Request to change the compartment of a given VLAN.
	ChangeVlanCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeVlanCompartmentRequest wrapper for the ChangeVlanCompartment operation

See also ¶

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

func (ChangeVlanCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVlanCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVlanCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeVlanCompartmentRequest) String ¶

func (request ChangeVlanCompartmentRequest) String() string

func (ChangeVlanCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVlanCompartmentRequest) 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 ChangeVlanCompartmentResponse ¶

type ChangeVlanCompartmentResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeVlanCompartmentResponse wrapper for the ChangeVlanCompartment operation

func (ChangeVlanCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVlanCompartmentResponse) String ¶

func (response ChangeVlanCompartmentResponse) String() string

type ChangeVolumeBackupCompartmentDetails ¶

type ChangeVolumeBackupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume backup to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeVolumeBackupCompartmentDetails Contains the details for the compartment to move the volume backup to.

func (ChangeVolumeBackupCompartmentDetails) String ¶

func (ChangeVolumeBackupCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVolumeBackupCompartmentDetails) 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 ChangeVolumeBackupCompartmentRequest ¶

type ChangeVolumeBackupCompartmentRequest struct {

	// The OCID of the volume backup.
	VolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeBackupId"`

	// Request to change the compartment of given volume backup.
	ChangeVolumeBackupCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeVolumeBackupCompartmentRequest wrapper for the ChangeVolumeBackupCompartment operation

See also ¶

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

func (ChangeVolumeBackupCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVolumeBackupCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVolumeBackupCompartmentRequest) RetryPolicy ¶

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

func (ChangeVolumeBackupCompartmentRequest) String ¶

func (ChangeVolumeBackupCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVolumeBackupCompartmentRequest) 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 ChangeVolumeBackupCompartmentResponse ¶

type ChangeVolumeBackupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeVolumeBackupCompartmentResponse wrapper for the ChangeVolumeBackupCompartment operation

func (ChangeVolumeBackupCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVolumeBackupCompartmentResponse) String ¶

type ChangeVolumeCompartmentDetails ¶

type ChangeVolumeCompartmentDetails struct {

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

ChangeVolumeCompartmentDetails Contains the details for the compartment to move the volume to.

func (ChangeVolumeCompartmentDetails) String ¶

func (ChangeVolumeCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVolumeCompartmentDetails) 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 ChangeVolumeCompartmentRequest ¶

type ChangeVolumeCompartmentRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// Request to change the compartment of given volume.
	ChangeVolumeCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeVolumeCompartmentRequest wrapper for the ChangeVolumeCompartment operation

See also ¶

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

func (ChangeVolumeCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVolumeCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVolumeCompartmentRequest) RetryPolicy ¶

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

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

func (ChangeVolumeCompartmentRequest) String ¶

func (request ChangeVolumeCompartmentRequest) String() string

func (ChangeVolumeCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVolumeCompartmentRequest) 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 ChangeVolumeCompartmentResponse ¶

type ChangeVolumeCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeVolumeCompartmentResponse wrapper for the ChangeVolumeCompartment operation

func (ChangeVolumeCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVolumeCompartmentResponse) String ¶

func (response ChangeVolumeCompartmentResponse) String() string

type ChangeVolumeGroupBackupCompartmentDetails ¶

type ChangeVolumeGroupBackupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume group backup to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeVolumeGroupBackupCompartmentDetails Contains the details for the compartment to move the volume group backup to.

func (ChangeVolumeGroupBackupCompartmentDetails) String ¶

func (ChangeVolumeGroupBackupCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVolumeGroupBackupCompartmentDetails) 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 ChangeVolumeGroupBackupCompartmentRequest ¶

type ChangeVolumeGroupBackupCompartmentRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
	VolumeGroupBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupBackupId"`

	// Request to change the compartment of given volume group backup.
	ChangeVolumeGroupBackupCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeVolumeGroupBackupCompartmentRequest wrapper for the ChangeVolumeGroupBackupCompartment operation

See also ¶

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

func (ChangeVolumeGroupBackupCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangeVolumeGroupBackupCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVolumeGroupBackupCompartmentRequest) RetryPolicy ¶

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

func (ChangeVolumeGroupBackupCompartmentRequest) String ¶

func (ChangeVolumeGroupBackupCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVolumeGroupBackupCompartmentRequest) 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 ChangeVolumeGroupBackupCompartmentResponse ¶

type ChangeVolumeGroupBackupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeVolumeGroupBackupCompartmentResponse wrapper for the ChangeVolumeGroupBackupCompartment operation

func (ChangeVolumeGroupBackupCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVolumeGroupBackupCompartmentResponse) String ¶

type ChangeVolumeGroupCompartmentDetails ¶

type ChangeVolumeGroupCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume group to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeVolumeGroupCompartmentDetails Contains the details for the compartment to move the volume group to.

func (ChangeVolumeGroupCompartmentDetails) String ¶

func (ChangeVolumeGroupCompartmentDetails) ValidateEnumValue ¶

func (m ChangeVolumeGroupCompartmentDetails) 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 ChangeVolumeGroupCompartmentRequest ¶

type ChangeVolumeGroupCompartmentRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
	VolumeGroupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupId"`

	// Request to change the compartment of given volume group.
	ChangeVolumeGroupCompartmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ChangeVolumeGroupCompartmentRequest wrapper for the ChangeVolumeGroupCompartment operation

See also ¶

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

func (ChangeVolumeGroupCompartmentRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVolumeGroupCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangeVolumeGroupCompartmentRequest) RetryPolicy ¶

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

func (ChangeVolumeGroupCompartmentRequest) String ¶

func (ChangeVolumeGroupCompartmentRequest) ValidateEnumValue ¶

func (request ChangeVolumeGroupCompartmentRequest) 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 ChangeVolumeGroupCompartmentResponse ¶

type ChangeVolumeGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeVolumeGroupCompartmentResponse wrapper for the ChangeVolumeGroupCompartment operation

func (ChangeVolumeGroupCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangeVolumeGroupCompartmentResponse) String ¶

func (response ChangeVolumeGroupCompartmentResponse) String() string

type ChangeVtapCompartmentDetails ¶ added in v65.3.0

type ChangeVtapCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP move.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeVtapCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP).

func (ChangeVtapCompartmentDetails) String ¶ added in v65.3.0

func (ChangeVtapCompartmentDetails) ValidateEnumValue ¶ added in v65.3.0

func (m ChangeVtapCompartmentDetails) 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 ChangeVtapCompartmentRequest ¶ added in v65.3.0

type ChangeVtapCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP.
	VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"`

	// Request to change the compartment that contains a VTAP.
	ChangeVtapCompartmentDetails `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"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

ChangeVtapCompartmentRequest wrapper for the ChangeVtapCompartment operation

See also ¶

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

func (ChangeVtapCompartmentRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVtapCompartmentRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (ChangeVtapCompartmentRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (ChangeVtapCompartmentRequest) String ¶ added in v65.3.0

func (request ChangeVtapCompartmentRequest) String() string

func (ChangeVtapCompartmentRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ChangeVtapCompartmentRequest) 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 ChangeVtapCompartmentResponse ¶ added in v65.3.0

type ChangeVtapCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeVtapCompartmentResponse wrapper for the ChangeVtapCompartment operation

func (ChangeVtapCompartmentResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ChangeVtapCompartmentResponse) String ¶ added in v65.3.0

func (response ChangeVtapCompartmentResponse) String() string

type ClusterConfigDetails ¶ added in v65.33.1

type ClusterConfigDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island.
	HpcIslandId *string `mandatory:"true" json:"hpcIslandId"`

	// The list of OCIDs of the network blocks.
	NetworkBlockIds []string `mandatory:"false" json:"networkBlockIds"`
}

ClusterConfigDetails The HPC cluster configuration requested when launching instances in a compute capacity reservation. If the parameter is provided, the reservation is created with the HPC island and a list of HPC blocks that you specify. If a list of HPC blocks are missing or not provided, the reservation is created with any HPC blocks in the HPC island that you specify. If the values of HPC island or HPC block that you provide are not valid, an error is returned.

func (ClusterConfigDetails) String ¶ added in v65.33.1

func (m ClusterConfigDetails) String() string

func (ClusterConfigDetails) ValidateEnumValue ¶ added in v65.33.1

func (m ClusterConfigDetails) 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 ClusterConfigurationDetails ¶ added in v65.47.1

type ClusterConfigurationDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island.
	HpcIslandId *string `mandatory:"true" json:"hpcIslandId"`

	// The list of network block OCIDs.
	NetworkBlockIds []string `mandatory:"false" json:"networkBlockIds"`
}

ClusterConfigurationDetails The HPC cluster configuration requested when launching instances of a cluster network. If the parameter is provided, instances will only be placed within the HPC island and list of network blocks that you specify. If a list of network blocks are missing or not provided, the instances will be placed in any HPC blocks in the HPC island that you specify. If the values of HPC island or network block that you provide are not valid, an error is returned.

func (ClusterConfigurationDetails) String ¶ added in v65.47.1

func (ClusterConfigurationDetails) ValidateEnumValue ¶ added in v65.47.1

func (m ClusterConfigurationDetails) 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 ClusterNetwork ¶

type ClusterNetwork struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	Id *string `mandatory:"true" json:"id"`

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

	// The current state of the cluster network.
	LifecycleState ClusterNetworkLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island used by the cluster network.
	HpcIslandId *string `mandatory:"false" json:"hpcIslandId"`

	// The list of network block OCIDs of the HPC island.
	NetworkBlockIds []string `mandatory:"false" json:"networkBlockIds"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The instance pools in the cluster network.
	// Each cluster network can have one instance pool.
	InstancePools []InstancePool `mandatory:"false" json:"instancePools"`

	PlacementConfiguration *ClusterNetworkPlacementConfigurationDetails `mandatory:"false" json:"placementConfiguration"`
}

ClusterNetwork A cluster network is a group of high performance computing (HPC), GPU, or optimized bare metal instances that are connected with an ultra low-latency remote direct memory access (RDMA) network. Cluster networks with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) use instance pools to manage groups of identical instances. Use cluster networks with instance pools when you want predictable capacity for a specific number of identical instances that are managed as a group. If you want to manage instances in the RDMA network independently of each other or use different types of instances in the network group, use compute clusters instead. For details, see ComputeCluster.

func (ClusterNetwork) String ¶

func (m ClusterNetwork) String() string

func (ClusterNetwork) ValidateEnumValue ¶

func (m ClusterNetwork) 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 ClusterNetworkLifecycleStateEnum ¶

type ClusterNetworkLifecycleStateEnum string

ClusterNetworkLifecycleStateEnum Enum with underlying type: string

const (
	ClusterNetworkLifecycleStateProvisioning ClusterNetworkLifecycleStateEnum = "PROVISIONING"
	ClusterNetworkLifecycleStateScaling      ClusterNetworkLifecycleStateEnum = "SCALING"
	ClusterNetworkLifecycleStateStarting     ClusterNetworkLifecycleStateEnum = "STARTING"
	ClusterNetworkLifecycleStateStopping     ClusterNetworkLifecycleStateEnum = "STOPPING"
	ClusterNetworkLifecycleStateTerminating  ClusterNetworkLifecycleStateEnum = "TERMINATING"
	ClusterNetworkLifecycleStateStopped      ClusterNetworkLifecycleStateEnum = "STOPPED"
	ClusterNetworkLifecycleStateTerminated   ClusterNetworkLifecycleStateEnum = "TERMINATED"
	ClusterNetworkLifecycleStateRunning      ClusterNetworkLifecycleStateEnum = "RUNNING"
)

Set of constants representing the allowable values for ClusterNetworkLifecycleStateEnum

func GetClusterNetworkLifecycleStateEnumValues ¶

func GetClusterNetworkLifecycleStateEnumValues() []ClusterNetworkLifecycleStateEnum

GetClusterNetworkLifecycleStateEnumValues Enumerates the set of values for ClusterNetworkLifecycleStateEnum

func GetMappingClusterNetworkLifecycleStateEnum ¶

func GetMappingClusterNetworkLifecycleStateEnum(val string) (ClusterNetworkLifecycleStateEnum, bool)

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

type ClusterNetworkPlacementConfigurationDetails ¶

type ClusterNetworkPlacementConfigurationDetails struct {

	// The availability domain to place instances.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The placement constraint when reserving hosts.
	PlacementConstraint ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum `mandatory:"false" json:"placementConstraint,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place instances. This field is deprecated.
	// Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
	PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`

	PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`

	// The set of secondary VNIC data for instances in the pool.
	SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}

ClusterNetworkPlacementConfigurationDetails The location for where the instance pools in a cluster network will place instances.

func (ClusterNetworkPlacementConfigurationDetails) String ¶

func (ClusterNetworkPlacementConfigurationDetails) ValidateEnumValue ¶

func (m ClusterNetworkPlacementConfigurationDetails) 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 ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum ¶ added in v65.47.1

type ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum string

ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum Enum with underlying type: string

const (
	ClusterNetworkPlacementConfigurationDetailsPlacementConstraintSingleTier                   ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum = "SINGLE_TIER"
	ClusterNetworkPlacementConfigurationDetailsPlacementConstraintSingleBlock                  ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum = "SINGLE_BLOCK"
	ClusterNetworkPlacementConfigurationDetailsPlacementConstraintPackedDistributionMultiBlock ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum = "PACKED_DISTRIBUTION_MULTI_BLOCK"
)

Set of constants representing the allowable values for ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum

func GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumValues ¶ added in v65.47.1

func GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumValues() []ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum

GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumValues Enumerates the set of values for ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum

func GetMappingClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum ¶ added in v65.47.1

func GetMappingClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum(val string) (ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum, bool)

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

type ClusterNetworkSummary ¶

type ClusterNetworkSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	Id *string `mandatory:"true" json:"id"`

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

	// The current state of the cluster network.
	LifecycleState ClusterNetworkSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The instance pools in the cluster network.
	InstancePools []InstancePoolSummary `mandatory:"false" json:"instancePools"`
}

ClusterNetworkSummary Summary information for a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm).

func (ClusterNetworkSummary) String ¶

func (m ClusterNetworkSummary) String() string

func (ClusterNetworkSummary) ValidateEnumValue ¶

func (m ClusterNetworkSummary) 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 ClusterNetworkSummaryLifecycleStateEnum ¶

type ClusterNetworkSummaryLifecycleStateEnum string

ClusterNetworkSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ClusterNetworkSummaryLifecycleStateProvisioning ClusterNetworkSummaryLifecycleStateEnum = "PROVISIONING"
	ClusterNetworkSummaryLifecycleStateScaling      ClusterNetworkSummaryLifecycleStateEnum = "SCALING"
	ClusterNetworkSummaryLifecycleStateStarting     ClusterNetworkSummaryLifecycleStateEnum = "STARTING"
	ClusterNetworkSummaryLifecycleStateStopping     ClusterNetworkSummaryLifecycleStateEnum = "STOPPING"
	ClusterNetworkSummaryLifecycleStateTerminating  ClusterNetworkSummaryLifecycleStateEnum = "TERMINATING"
	ClusterNetworkSummaryLifecycleStateStopped      ClusterNetworkSummaryLifecycleStateEnum = "STOPPED"
	ClusterNetworkSummaryLifecycleStateTerminated   ClusterNetworkSummaryLifecycleStateEnum = "TERMINATED"
	ClusterNetworkSummaryLifecycleStateRunning      ClusterNetworkSummaryLifecycleStateEnum = "RUNNING"
)

Set of constants representing the allowable values for ClusterNetworkSummaryLifecycleStateEnum

func GetClusterNetworkSummaryLifecycleStateEnumValues ¶

func GetClusterNetworkSummaryLifecycleStateEnumValues() []ClusterNetworkSummaryLifecycleStateEnum

GetClusterNetworkSummaryLifecycleStateEnumValues Enumerates the set of values for ClusterNetworkSummaryLifecycleStateEnum

func GetMappingClusterNetworkSummaryLifecycleStateEnum ¶

func GetMappingClusterNetworkSummaryLifecycleStateEnum(val string) (ClusterNetworkSummaryLifecycleStateEnum, bool)

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

type CompartmentInternal ¶ added in v65.11.0

type CompartmentInternal struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	Id *string `mandatory:"false" json:"id"`
}

CompartmentInternal Helper definition required to perform authZ using SPLAT expressions on a Compartment

func (CompartmentInternal) String ¶ added in v65.11.0

func (m CompartmentInternal) String() string

func (CompartmentInternal) ValidateEnumValue ¶ added in v65.11.0

func (m CompartmentInternal) 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 ComputeBareMetalHost ¶ added in v65.53.0

type ComputeBareMetalHost struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute bare metal host.
	Id *string `mandatory:"true" json:"id"`

	// The shape of the compute instance that runs on the compute bare metal host.
	InstanceShape *string `mandatory:"true" json:"instanceShape"`

	// The current state of the compute bare metal host.
	LifecycleState ComputeBareMetalHostLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute bare metal host was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute bare metal host was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	ComputeHpcIslandId *string `mandatory:"false" json:"computeHpcIslandId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block.
	ComputeLocalBlockId *string `mandatory:"false" json:"computeLocalBlockId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block.
	ComputeNetworkBlockId *string `mandatory:"false" json:"computeNetworkBlockId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute instance that runs on the compute bare metal host.
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// The lifecycle state details of the compute bare metal host.
	LifecycleDetails ComputeBareMetalHostLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`
}

ComputeBareMetalHost A compute bare metal host.

func (ComputeBareMetalHost) String ¶ added in v65.53.0

func (m ComputeBareMetalHost) String() string

func (ComputeBareMetalHost) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeBareMetalHost) 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 ComputeBareMetalHostCollection ¶ added in v65.53.0

type ComputeBareMetalHostCollection struct {

	// The list of compute bare metal hosts.
	Items []ComputeBareMetalHostSummary `mandatory:"true" json:"items"`
}

ComputeBareMetalHostCollection A list of compute bare metal hosts.

func (ComputeBareMetalHostCollection) String ¶ added in v65.53.0

func (ComputeBareMetalHostCollection) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeBareMetalHostCollection) 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 ComputeBareMetalHostLifecycleDetailsEnum ¶ added in v65.53.0

type ComputeBareMetalHostLifecycleDetailsEnum string

ComputeBareMetalHostLifecycleDetailsEnum Enum with underlying type: string

const (
	ComputeBareMetalHostLifecycleDetailsAvailable   ComputeBareMetalHostLifecycleDetailsEnum = "AVAILABLE"
	ComputeBareMetalHostLifecycleDetailsDegraded    ComputeBareMetalHostLifecycleDetailsEnum = "DEGRADED"
	ComputeBareMetalHostLifecycleDetailsUnavailable ComputeBareMetalHostLifecycleDetailsEnum = "UNAVAILABLE"
)

Set of constants representing the allowable values for ComputeBareMetalHostLifecycleDetailsEnum

func GetComputeBareMetalHostLifecycleDetailsEnumValues ¶ added in v65.53.0

func GetComputeBareMetalHostLifecycleDetailsEnumValues() []ComputeBareMetalHostLifecycleDetailsEnum

GetComputeBareMetalHostLifecycleDetailsEnumValues Enumerates the set of values for ComputeBareMetalHostLifecycleDetailsEnum

func GetMappingComputeBareMetalHostLifecycleDetailsEnum ¶ added in v65.53.0

func GetMappingComputeBareMetalHostLifecycleDetailsEnum(val string) (ComputeBareMetalHostLifecycleDetailsEnum, bool)

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

type ComputeBareMetalHostLifecycleStateEnum ¶ added in v65.53.0

type ComputeBareMetalHostLifecycleStateEnum string

ComputeBareMetalHostLifecycleStateEnum Enum with underlying type: string

const (
	ComputeBareMetalHostLifecycleStateActive   ComputeBareMetalHostLifecycleStateEnum = "ACTIVE"
	ComputeBareMetalHostLifecycleStateInactive ComputeBareMetalHostLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ComputeBareMetalHostLifecycleStateEnum

func GetComputeBareMetalHostLifecycleStateEnumValues ¶ added in v65.53.0

func GetComputeBareMetalHostLifecycleStateEnumValues() []ComputeBareMetalHostLifecycleStateEnum

GetComputeBareMetalHostLifecycleStateEnumValues Enumerates the set of values for ComputeBareMetalHostLifecycleStateEnum

func GetMappingComputeBareMetalHostLifecycleStateEnum ¶ added in v65.53.0

func GetMappingComputeBareMetalHostLifecycleStateEnum(val string) (ComputeBareMetalHostLifecycleStateEnum, bool)

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

type ComputeBareMetalHostSummary ¶ added in v65.53.0

type ComputeBareMetalHostSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute bare metal host.
	Id *string `mandatory:"true" json:"id"`

	// The shape of the compute instance that runs on the compute bare metal host.
	InstanceShape *string `mandatory:"true" json:"instanceShape"`

	// The current state of the compute bare metal host.
	LifecycleState ComputeBareMetalHostLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute bare metal host was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute bare metal host was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	ComputeHpcIslandId *string `mandatory:"false" json:"computeHpcIslandId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block.
	ComputeLocalBlockId *string `mandatory:"false" json:"computeLocalBlockId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block.
	ComputeNetworkBlockId *string `mandatory:"false" json:"computeNetworkBlockId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute instance that runs on the compute bare metal host.
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// The lifecycle state details of the compute bare metal host.
	LifecycleDetails ComputeBareMetalHostLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"`
}

ComputeBareMetalHostSummary Summary information for a compute bare metal host.

func (ComputeBareMetalHostSummary) String ¶ added in v65.53.0

func (ComputeBareMetalHostSummary) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeBareMetalHostSummary) 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 ComputeCapacityReport ¶ added in v65.29.0

type ComputeCapacityReport struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root
	// compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The availability domain for the capacity report.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// Information about the available capacity for each shape in a capacity report.
	ShapeAvailabilities []CapacityReportShapeAvailability `mandatory:"true" json:"shapeAvailabilities"`

	// The date and time the capacity report was created, in the format defined by
	// RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

ComputeCapacityReport A report of the host capacity within an availability domain that is available for you to create compute instances. Host capacity is the physical infrastructure that resources such as compute instances run on. Use the capacity report to determine whether sufficient capacity is available for a shape before you create an instance or change the shape of an instance.

func (ComputeCapacityReport) String ¶ added in v65.29.0

func (m ComputeCapacityReport) String() string

func (ComputeCapacityReport) ValidateEnumValue ¶ added in v65.29.0

func (m ComputeCapacityReport) 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 ComputeCapacityReservation ¶

type ComputeCapacityReservation struct {

	// The availability domain of the compute capacity reservation.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity reservation.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute capacity reservation.
	LifecycleState ComputeCapacityReservationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the compute capacity reservation was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether this capacity reservation is the default.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"`

	// The capacity configurations for the capacity reservation.
	// To use the reservation for the desired shape, specify the shape, count, and
	// optionally the fault domain where you want this configuration.
	InstanceReservationConfigs []InstanceReservationConfig `mandatory:"false" json:"instanceReservationConfigs"`

	// The number of instances for which capacity will be held with this
	// compute capacity reservation. This number is the sum of the values of the `reservedCount` fields
	// for all of the instance capacity configurations under this reservation.
	// The purpose of this field is to calculate the percentage usage of the reservation.
	ReservedInstanceCount *int64 `mandatory:"false" json:"reservedInstanceCount"`

	// The date and time the compute capacity reservation was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The total number of instances currently consuming space in
	// this compute capacity reservation. This number is the sum of the values of the `usedCount` fields
	// for all of the instance capacity configurations under this reservation.
	// The purpose of this field is to calculate the percentage usage of the reservation.
	UsedInstanceCount *int64 `mandatory:"false" json:"usedInstanceCount"`
}

ComputeCapacityReservation A template that defines the settings to use when creating compute capacity reservations.

func (ComputeCapacityReservation) String ¶

func (ComputeCapacityReservation) ValidateEnumValue ¶

func (m ComputeCapacityReservation) 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 ComputeCapacityReservationInstanceShapeSummary ¶

type ComputeCapacityReservationInstanceShapeSummary struct {

	// The shape's availability domain.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The name of the available shape used to launch instances in a compute capacity reservation.
	InstanceShape *string `mandatory:"true" json:"instanceShape"`
}

ComputeCapacityReservationInstanceShapeSummary An available shape used to launch instances in a compute capacity reservation.

func (ComputeCapacityReservationInstanceShapeSummary) String ¶

func (ComputeCapacityReservationInstanceShapeSummary) ValidateEnumValue ¶

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 ComputeCapacityReservationLifecycleStateEnum ¶

type ComputeCapacityReservationLifecycleStateEnum string

ComputeCapacityReservationLifecycleStateEnum Enum with underlying type: string

const (
	ComputeCapacityReservationLifecycleStateActive   ComputeCapacityReservationLifecycleStateEnum = "ACTIVE"
	ComputeCapacityReservationLifecycleStateCreating ComputeCapacityReservationLifecycleStateEnum = "CREATING"
	ComputeCapacityReservationLifecycleStateUpdating ComputeCapacityReservationLifecycleStateEnum = "UPDATING"
	ComputeCapacityReservationLifecycleStateMoving   ComputeCapacityReservationLifecycleStateEnum = "MOVING"
	ComputeCapacityReservationLifecycleStateDeleted  ComputeCapacityReservationLifecycleStateEnum = "DELETED"
	ComputeCapacityReservationLifecycleStateDeleting ComputeCapacityReservationLifecycleStateEnum = "DELETING"
)

Set of constants representing the allowable values for ComputeCapacityReservationLifecycleStateEnum

func GetComputeCapacityReservationLifecycleStateEnumValues ¶

func GetComputeCapacityReservationLifecycleStateEnumValues() []ComputeCapacityReservationLifecycleStateEnum

GetComputeCapacityReservationLifecycleStateEnumValues Enumerates the set of values for ComputeCapacityReservationLifecycleStateEnum

func GetMappingComputeCapacityReservationLifecycleStateEnum ¶

func GetMappingComputeCapacityReservationLifecycleStateEnum(val string) (ComputeCapacityReservationLifecycleStateEnum, bool)

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

type ComputeCapacityReservationSummary ¶

type ComputeCapacityReservationSummary struct {

	// The OCID of the instance reservation configuration.
	Id *string `mandatory:"true" json:"id"`

	// The availability domain of the capacity reservation.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The date and time the capacity reservation was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The current state of the capacity reservation.
	LifecycleState ComputeCapacityReservationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The number of instances for which capacity will be held in this
	// compute capacity reservation. This number is the sum of the values of the `reservedCount` fields
	// for all of the instance capacity configurations under this reservation.
	// The purpose of this field is to calculate the percentage usage of the reservation.
	ReservedInstanceCount *int64 `mandatory:"false" json:"reservedInstanceCount"`

	// The total number of instances currently consuming space in
	// this compute capacity reservation. This number is the sum of the values of the `usedCount` fields
	// for all of the instance capacity configurations under this reservation.
	// The purpose of this field is to calculate the percentage usage of the reservation.
	UsedInstanceCount *int64 `mandatory:"false" json:"usedInstanceCount"`

	// Whether this capacity reservation is the default.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"`
}

ComputeCapacityReservationSummary Summary information for a compute capacity reservation.

func (ComputeCapacityReservationSummary) String ¶

func (ComputeCapacityReservationSummary) ValidateEnumValue ¶

func (m ComputeCapacityReservationSummary) 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 ComputeCapacityTopology ¶ added in v65.53.0

type ComputeCapacityTopology struct {

	// The availability domain of the compute capacity topology.
	// Example: `Uocm:US-CHICAGO-1-AD-2`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	CapacitySource CapacitySource `mandatory:"true" json:"capacitySource"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute capacity topology.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute capacity topology.
	LifecycleState ComputeCapacityTopologyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute capacity topology was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute capacity topology was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeCapacityTopology A compute capacity topology that allows you to query your bare metal hosts and their RDMA network topology.

func (ComputeCapacityTopology) String ¶ added in v65.53.0

func (m ComputeCapacityTopology) String() string

func (*ComputeCapacityTopology) UnmarshalJSON ¶ added in v65.53.0

func (m *ComputeCapacityTopology) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ComputeCapacityTopology) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeCapacityTopology) 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 ComputeCapacityTopologyCollection ¶ added in v65.53.0

type ComputeCapacityTopologyCollection struct {

	// The list of compute capacity topologies.
	Items []ComputeCapacityTopologySummary `mandatory:"true" json:"items"`
}

ComputeCapacityTopologyCollection A list of compute capacity topologies.

func (ComputeCapacityTopologyCollection) String ¶ added in v65.53.0

func (ComputeCapacityTopologyCollection) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeCapacityTopologyCollection) 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 ComputeCapacityTopologyLifecycleStateEnum ¶ added in v65.53.0

type ComputeCapacityTopologyLifecycleStateEnum string

ComputeCapacityTopologyLifecycleStateEnum Enum with underlying type: string

const (
	ComputeCapacityTopologyLifecycleStateActive   ComputeCapacityTopologyLifecycleStateEnum = "ACTIVE"
	ComputeCapacityTopologyLifecycleStateCreating ComputeCapacityTopologyLifecycleStateEnum = "CREATING"
	ComputeCapacityTopologyLifecycleStateUpdating ComputeCapacityTopologyLifecycleStateEnum = "UPDATING"
	ComputeCapacityTopologyLifecycleStateDeleted  ComputeCapacityTopologyLifecycleStateEnum = "DELETED"
	ComputeCapacityTopologyLifecycleStateDeleting ComputeCapacityTopologyLifecycleStateEnum = "DELETING"
)

Set of constants representing the allowable values for ComputeCapacityTopologyLifecycleStateEnum

func GetComputeCapacityTopologyLifecycleStateEnumValues ¶ added in v65.53.0

func GetComputeCapacityTopologyLifecycleStateEnumValues() []ComputeCapacityTopologyLifecycleStateEnum

GetComputeCapacityTopologyLifecycleStateEnumValues Enumerates the set of values for ComputeCapacityTopologyLifecycleStateEnum

func GetMappingComputeCapacityTopologyLifecycleStateEnum ¶ added in v65.53.0

func GetMappingComputeCapacityTopologyLifecycleStateEnum(val string) (ComputeCapacityTopologyLifecycleStateEnum, bool)

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

type ComputeCapacityTopologySummary ¶ added in v65.53.0

type ComputeCapacityTopologySummary struct {

	// The availability domain of the compute capacity topology.
	// Example: `Uocm:US-CHICAGO-1-AD-2`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute capacity topology.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute capacity topology.
	LifecycleState ComputeCapacityTopologyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute capacity topology was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute capacity topology was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeCapacityTopologySummary Summary information for a compute capacity topology.

func (ComputeCapacityTopologySummary) String ¶ added in v65.53.0

func (ComputeCapacityTopologySummary) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeCapacityTopologySummary) 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 ComputeClient ¶

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

ComputeClient a client for Compute

func NewComputeClientWithConfigurationProvider ¶

func NewComputeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputeClient, err error)

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

func NewComputeClientWithOboToken ¶

func NewComputeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeClient, err error)

NewComputeClientWithOboToken Creates a new default Compute 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 (ComputeClient) AcceptShieldedIntegrityPolicy ¶

func (client ComputeClient) AcceptShieldedIntegrityPolicy(ctx context.Context, request AcceptShieldedIntegrityPolicyRequest) (response AcceptShieldedIntegrityPolicyResponse, err error)

AcceptShieldedIntegrityPolicy Accept the changes to the PCR values in the measured boot report.

See also ¶

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

func (ComputeClient) AddImageShapeCompatibilityEntry ¶

func (client ComputeClient) AddImageShapeCompatibilityEntry(ctx context.Context, request AddImageShapeCompatibilityEntryRequest) (response AddImageShapeCompatibilityEntryResponse, err error)

AddImageShapeCompatibilityEntry Adds a shape to the compatible shapes list for the image.

See also ¶

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

func (ComputeClient) AttachBootVolume ¶

func (client ComputeClient) AttachBootVolume(ctx context.Context, request AttachBootVolumeRequest) (response AttachBootVolumeResponse, err error)

AttachBootVolume Attaches the specified boot volume to the specified instance.

See also ¶

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

func (ComputeClient) AttachVnic ¶

func (client ComputeClient) AttachVnic(ctx context.Context, request AttachVnicRequest) (response AttachVnicResponse, err error)

AttachVnic Creates a secondary VNIC and attaches it to the specified instance. For more information about secondary VNICs, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).

See also ¶

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

func (ComputeClient) AttachVolume ¶

func (client ComputeClient) AttachVolume(ctx context.Context, request AttachVolumeRequest) (response AttachVolumeResponse, err error)

AttachVolume Attaches the specified storage volume to the specified instance.

See also ¶

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

func (ComputeClient) CaptureConsoleHistory ¶

func (client ComputeClient) CaptureConsoleHistory(ctx context.Context, request CaptureConsoleHistoryRequest) (response CaptureConsoleHistoryResponse, err error)

CaptureConsoleHistory Captures the most recent serial console data (up to a megabyte) for the specified instance. The `CaptureConsoleHistory` operation works with the other console history operations as described below. 1. Use `CaptureConsoleHistory` to request the capture of up to a megabyte of the most recent console history. This call returns a `ConsoleHistory` object. The object will have a state of REQUESTED. 2. Wait for the capture operation to succeed by polling `GetConsoleHistory` with the identifier of the console history metadata. The state of the `ConsoleHistory` object will go from REQUESTED to GETTING-HISTORY and then SUCCEEDED (or FAILED). 3. Use `GetConsoleHistoryContent` to get the actual console history data (not the metadata). 4. Optionally, use `DeleteConsoleHistory` to delete the console history metadata and the console history data.

See also ¶

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

func (ComputeClient) ChangeComputeCapacityReservationCompartment ¶

func (client ComputeClient) ChangeComputeCapacityReservationCompartment(ctx context.Context, request ChangeComputeCapacityReservationCompartmentRequest) (response ChangeComputeCapacityReservationCompartmentResponse, err error)

ChangeComputeCapacityReservationCompartment Moves a compute capacity reservation into a different compartment. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (ComputeClient) ChangeComputeCapacityTopologyCompartment ¶ added in v65.53.0

func (client ComputeClient) ChangeComputeCapacityTopologyCompartment(ctx context.Context, request ChangeComputeCapacityTopologyCompartmentRequest) (response ChangeComputeCapacityTopologyCompartmentResponse, err error)

ChangeComputeCapacityTopologyCompartment Moves a compute capacity topology into a different compartment. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (ComputeClient) ChangeComputeClusterCompartment ¶ added in v65.33.1

func (client ComputeClient) ChangeComputeClusterCompartment(ctx context.Context, request ChangeComputeClusterCompartmentRequest) (response ChangeComputeClusterCompartmentResponse, err error)

ChangeComputeClusterCompartment Moves a compute cluster into a different compartment within the same tenancy. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (ComputeClient) ChangeComputeImageCapabilitySchemaCompartment ¶

func (client ComputeClient) ChangeComputeImageCapabilitySchemaCompartment(ctx context.Context, request ChangeComputeImageCapabilitySchemaCompartmentRequest) (response ChangeComputeImageCapabilitySchemaCompartmentResponse, err error)

ChangeComputeImageCapabilitySchemaCompartment Moves a compute image capability schema into a different compartment within the same tenancy. For information about moving resources between compartments, see

Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (ComputeClient) ChangeDedicatedVmHostCompartment ¶

func (client ComputeClient) ChangeDedicatedVmHostCompartment(ctx context.Context, request ChangeDedicatedVmHostCompartmentRequest) (response ChangeDedicatedVmHostCompartmentResponse, err error)

ChangeDedicatedVmHostCompartment Moves a dedicated virtual machine host from one compartment to another.

See also ¶

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

func (ComputeClient) ChangeImageCompartment ¶

func (client ComputeClient) ChangeImageCompartment(ctx context.Context, request ChangeImageCompartmentRequest) (response ChangeImageCompartmentResponse, err error)

ChangeImageCompartment Moves an image into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

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

func (ComputeClient) ChangeInstanceCompartment ¶

func (client ComputeClient) ChangeInstanceCompartment(ctx context.Context, request ChangeInstanceCompartmentRequest) (response ChangeInstanceCompartmentResponse, err error)

ChangeInstanceCompartment Moves an instance into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When you move an instance to a different compartment, associated resources such as boot volumes and VNICs are not moved.

See also ¶

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

func (*ComputeClient) ConfigurationProvider ¶

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

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

func (ComputeClient) CreateAppCatalogSubscription ¶

func (client ComputeClient) CreateAppCatalogSubscription(ctx context.Context, request CreateAppCatalogSubscriptionRequest) (response CreateAppCatalogSubscriptionResponse, err error)

CreateAppCatalogSubscription Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions.

See also ¶

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

func (ComputeClient) CreateComputeCapacityReport ¶ added in v65.29.0

func (client ComputeClient) CreateComputeCapacityReport(ctx context.Context, request CreateComputeCapacityReportRequest) (response CreateComputeCapacityReportResponse, err error)

CreateComputeCapacityReport Generates a report of the host capacity within an availability domain that is available for you to create compute instances. Host capacity is the physical infrastructure that resources such as compute instances run on. Use the capacity report to determine whether sufficient capacity is available for a shape before you create an instance or change the shape of an instance.

See also ¶

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

func (ComputeClient) CreateComputeCapacityReservation ¶

func (client ComputeClient) CreateComputeCapacityReservation(ctx context.Context, request CreateComputeCapacityReservationRequest) (response CreateComputeCapacityReservationResponse, err error)

CreateComputeCapacityReservation Creates a new compute capacity reservation in the specified compartment and availability domain. Compute capacity reservations let you reserve instances in a compartment. When you launch an instance using this reservation, you are assured that you have enough space for your instance, and you won't get out of capacity errors. For more information, see Reserved Capacity (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm).

See also ¶

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

func (ComputeClient) CreateComputeCapacityTopology ¶ added in v65.53.0

func (client ComputeClient) CreateComputeCapacityTopology(ctx context.Context, request CreateComputeCapacityTopologyRequest) (response CreateComputeCapacityTopologyResponse, err error)

CreateComputeCapacityTopology Creates a new compute capacity topology in the specified compartment and availability domain. Compute capacity topologies provide the RDMA network topology of your bare metal hosts so that you can launch instances on your bare metal hosts with targeted network locations. Compute capacity topologies report the health status of your bare metal hosts.

See also ¶

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

func (ComputeClient) CreateComputeCluster ¶ added in v65.33.1

func (client ComputeClient) CreateComputeCluster(ctx context.Context, request CreateComputeClusterRequest) (response CreateComputeClusterResponse, err error)

CreateComputeCluster Creates an empty compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster is a remote direct memory access (RDMA) network group. After the compute cluster is created, you can use the compute cluster's OCID with the LaunchInstance operation to create instances in the compute cluster. The instances must be created in the same compartment and availability domain as the cluster. Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group. If you want predictable capacity for a specific number of identical instances that are managed as a group, create a cluster network that uses instance pools by using the CreateClusterNetwork operation.

See also ¶

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

func (ComputeClient) CreateComputeImageCapabilitySchema ¶

func (client ComputeClient) CreateComputeImageCapabilitySchema(ctx context.Context, request CreateComputeImageCapabilitySchemaRequest) (response CreateComputeImageCapabilitySchemaResponse, err error)

CreateComputeImageCapabilitySchema Creates compute image capability schema.

See also ¶

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

func (ComputeClient) CreateDedicatedVmHost ¶

func (client ComputeClient) CreateDedicatedVmHost(ctx context.Context, request CreateDedicatedVmHostRequest) (response CreateDedicatedVmHostResponse, err error)

CreateDedicatedVmHost Creates a new dedicated virtual machine host in the specified compartment and the specified availability domain. Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers that are a single tenant and not shared with other customers. For more information, see Dedicated Virtual Machine Hosts (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm).

See also ¶

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

func (ComputeClient) CreateImage ¶

func (client ComputeClient) CreateImage(ctx context.Context, request CreateImageRequest) (response CreateImageResponse, err error)

CreateImage Creates a boot disk image for the specified instance or imports an exported image from the Oracle Cloud Infrastructure Object Storage service. When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and the OCID of the compartment containing that instance. For more information about images, see Managing Custom Images (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). When importing an exported image from Object Storage, you specify the source information in ImageSourceDetails. When importing an image based on the namespace, bucket name, and object name, use ImageSourceViaObjectStorageTupleDetails. When importing an image based on the Object Storage URL, use ImageSourceViaObjectStorageUriDetails. See Object Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) for constructing URLs for image import/export. For more information about importing exported images, see Image Import/Export (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm). You may optionally specify a *display name* for the image, which is simply a friendly name or description. It does not have to be unique, and you can change it. See UpdateImage. Avoid entering confidential information.

See also ¶

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

func (ComputeClient) CreateInstanceConsoleConnection ¶

func (client ComputeClient) CreateInstanceConsoleConnection(ctx context.Context, request CreateInstanceConsoleConnectionRequest) (response CreateInstanceConsoleConnectionResponse, err error)

CreateInstanceConsoleConnection Creates a new console connection to the specified instance. After the console connection has been created and is available, you connect to the console using SSH. For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm).

See also ¶

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

func (ComputeClient) DeleteAppCatalogSubscription ¶

func (client ComputeClient) DeleteAppCatalogSubscription(ctx context.Context, request DeleteAppCatalogSubscriptionRequest) (response DeleteAppCatalogSubscriptionResponse, err error)

DeleteAppCatalogSubscription Delete a subscription for a listing resource version for a compartment.

See also ¶

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

func (ComputeClient) DeleteComputeCapacityReservation ¶

func (client ComputeClient) DeleteComputeCapacityReservation(ctx context.Context, request DeleteComputeCapacityReservationRequest) (response DeleteComputeCapacityReservationResponse, err error)

DeleteComputeCapacityReservation Deletes the specified compute capacity reservation.

See also ¶

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

func (ComputeClient) DeleteComputeCapacityTopology ¶ added in v65.53.0

func (client ComputeClient) DeleteComputeCapacityTopology(ctx context.Context, request DeleteComputeCapacityTopologyRequest) (response DeleteComputeCapacityTopologyResponse, err error)

DeleteComputeCapacityTopology Deletes the specified compute capacity topology.

See also ¶

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

func (ComputeClient) DeleteComputeCluster ¶ added in v65.33.1

func (client ComputeClient) DeleteComputeCluster(ctx context.Context, request DeleteComputeClusterRequest) (response DeleteComputeClusterResponse, err error)

DeleteComputeCluster Deletes a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. Before you delete a compute cluster, first delete all instances in the cluster by using the TerminateInstance operation.

See also ¶

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

func (ComputeClient) DeleteComputeImageCapabilitySchema ¶

func (client ComputeClient) DeleteComputeImageCapabilitySchema(ctx context.Context, request DeleteComputeImageCapabilitySchemaRequest) (response DeleteComputeImageCapabilitySchemaResponse, err error)

DeleteComputeImageCapabilitySchema Deletes the specified Compute Image Capability Schema

See also ¶

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

func (ComputeClient) DeleteConsoleHistory ¶

func (client ComputeClient) DeleteConsoleHistory(ctx context.Context, request DeleteConsoleHistoryRequest) (response DeleteConsoleHistoryResponse, err error)

DeleteConsoleHistory Deletes the specified console history metadata and the console history data.

See also ¶

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

func (ComputeClient) DeleteDedicatedVmHost ¶

func (client ComputeClient) DeleteDedicatedVmHost(ctx context.Context, request DeleteDedicatedVmHostRequest) (response DeleteDedicatedVmHostResponse, err error)

DeleteDedicatedVmHost Deletes the specified dedicated virtual machine host. If any VM instances are assigned to the dedicated virtual machine host, the delete operation will fail and the service will return a 409 response code.

See also ¶

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

func (ComputeClient) DeleteImage ¶

func (client ComputeClient) DeleteImage(ctx context.Context, request DeleteImageRequest) (response DeleteImageResponse, err error)

DeleteImage Deletes an image.

See also ¶

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

func (ComputeClient) DeleteInstanceConsoleConnection ¶

func (client ComputeClient) DeleteInstanceConsoleConnection(ctx context.Context, request DeleteInstanceConsoleConnectionRequest) (response DeleteInstanceConsoleConnectionResponse, err error)

DeleteInstanceConsoleConnection Deletes the specified instance console connection.

See also ¶

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

func (ComputeClient) DetachBootVolume ¶

func (client ComputeClient) DetachBootVolume(ctx context.Context, request DetachBootVolumeRequest) (response DetachBootVolumeResponse, err error)

DetachBootVolume Detaches a boot volume from an instance. You must specify the OCID of the boot volume attachment. This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily until the attachment is completely removed.

See also ¶

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

func (ComputeClient) DetachVnic ¶

func (client ComputeClient) DetachVnic(ctx context.Context, request DetachVnicRequest) (response DetachVnicResponse, err error)

DetachVnic Detaches and deletes the specified secondary VNIC. This operation cannot be used on the instance's primary VNIC. When you terminate an instance, all attached VNICs (primary and secondary) are automatically detached and deleted. **Important:** If the VNIC has a PrivateIp that is the target of a route rule (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), deleting the VNIC causes that route rule to blackhole and the traffic will be dropped.

See also ¶

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

func (ComputeClient) DetachVolume ¶

func (client ComputeClient) DetachVolume(ctx context.Context, request DetachVolumeRequest) (response DetachVolumeResponse, err error)

DetachVolume Detaches a storage volume from an instance. You must specify the OCID of the volume attachment. This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily until the attachment is completely removed.

See also ¶

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

func (ComputeClient) ExportImage ¶

func (client ComputeClient) ExportImage(ctx context.Context, request ExportImageRequest) (response ExportImageResponse, err error)

ExportImage Exports the specified image to the Oracle Cloud Infrastructure Object Storage service. You can use the Object Storage URL, or the namespace, bucket name, and object name when specifying the location to export to. For more information about exporting images, see Image Import/Export (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm). To perform an image export, you need write access to the Object Storage bucket for the image, see Let Users Write Objects to Object Storage Buckets (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/commonpolicies.htm#Let4). See Object Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) for constructing URLs for image import/export.

See also ¶

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

func (ComputeClient) GetAppCatalogListing ¶

func (client ComputeClient) GetAppCatalogListing(ctx context.Context, request GetAppCatalogListingRequest) (response GetAppCatalogListingResponse, err error)

GetAppCatalogListing Gets the specified listing.

See also ¶

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

func (ComputeClient) GetAppCatalogListingAgreements ¶

func (client ComputeClient) GetAppCatalogListingAgreements(ctx context.Context, request GetAppCatalogListingAgreementsRequest) (response GetAppCatalogListingAgreementsResponse, err error)

GetAppCatalogListingAgreements Retrieves the agreements for a particular resource version of a listing.

See also ¶

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

func (ComputeClient) GetAppCatalogListingResourceVersion ¶

func (client ComputeClient) GetAppCatalogListingResourceVersion(ctx context.Context, request GetAppCatalogListingResourceVersionRequest) (response GetAppCatalogListingResourceVersionResponse, err error)

GetAppCatalogListingResourceVersion Gets the specified listing resource version.

See also ¶

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

func (ComputeClient) GetBootVolumeAttachment ¶

func (client ComputeClient) GetBootVolumeAttachment(ctx context.Context, request GetBootVolumeAttachmentRequest) (response GetBootVolumeAttachmentResponse, err error)

GetBootVolumeAttachment Gets information about the specified boot volume attachment.

See also ¶

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

func (ComputeClient) GetComputeCapacityReservation ¶

func (client ComputeClient) GetComputeCapacityReservation(ctx context.Context, request GetComputeCapacityReservationRequest) (response GetComputeCapacityReservationResponse, err error)

GetComputeCapacityReservation Gets information about the specified compute capacity reservation.

See also ¶

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

func (ComputeClient) GetComputeCapacityTopology ¶ added in v65.53.0

func (client ComputeClient) GetComputeCapacityTopology(ctx context.Context, request GetComputeCapacityTopologyRequest) (response GetComputeCapacityTopologyResponse, err error)

GetComputeCapacityTopology Gets information about the specified compute capacity topology.

See also ¶

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

func (ComputeClient) GetComputeCluster ¶ added in v65.33.1

func (client ComputeClient) GetComputeCluster(ctx context.Context, request GetComputeClusterRequest) (response GetComputeClusterResponse, err error)

GetComputeCluster Gets information about a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.

See also ¶

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

func (ComputeClient) GetComputeGlobalImageCapabilitySchema ¶

func (client ComputeClient) GetComputeGlobalImageCapabilitySchema(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaRequest) (response GetComputeGlobalImageCapabilitySchemaResponse, err error)

GetComputeGlobalImageCapabilitySchema Gets the specified Compute Global Image Capability Schema

See also ¶

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

func (ComputeClient) GetComputeGlobalImageCapabilitySchemaVersion ¶

func (client ComputeClient) GetComputeGlobalImageCapabilitySchemaVersion(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaVersionRequest) (response GetComputeGlobalImageCapabilitySchemaVersionResponse, err error)

GetComputeGlobalImageCapabilitySchemaVersion Gets the specified Compute Global Image Capability Schema Version

See also ¶

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

func (ComputeClient) GetComputeImageCapabilitySchema ¶

func (client ComputeClient) GetComputeImageCapabilitySchema(ctx context.Context, request GetComputeImageCapabilitySchemaRequest) (response GetComputeImageCapabilitySchemaResponse, err error)

GetComputeImageCapabilitySchema Gets the specified Compute Image Capability Schema

See also ¶

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

func (ComputeClient) GetConsoleHistory ¶

func (client ComputeClient) GetConsoleHistory(ctx context.Context, request GetConsoleHistoryRequest) (response GetConsoleHistoryResponse, err error)

GetConsoleHistory Shows the metadata for the specified console history. See CaptureConsoleHistory for details about using the console history operations.

See also ¶

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

func (ComputeClient) GetConsoleHistoryContent ¶

func (client ComputeClient) GetConsoleHistoryContent(ctx context.Context, request GetConsoleHistoryContentRequest) (response GetConsoleHistoryContentResponse, err error)

GetConsoleHistoryContent Gets the actual console history data (not the metadata). See CaptureConsoleHistory for details about using the console history operations.

See also ¶

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

func (ComputeClient) GetDedicatedVmHost ¶

func (client ComputeClient) GetDedicatedVmHost(ctx context.Context, request GetDedicatedVmHostRequest) (response GetDedicatedVmHostResponse, err error)

GetDedicatedVmHost Gets information about the specified dedicated virtual machine host.

See also ¶

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

func (ComputeClient) GetImage ¶

func (client ComputeClient) GetImage(ctx context.Context, request GetImageRequest) (response GetImageResponse, err error)

GetImage Gets the specified image.

See also ¶

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

func (ComputeClient) GetImageShapeCompatibilityEntry ¶

func (client ComputeClient) GetImageShapeCompatibilityEntry(ctx context.Context, request GetImageShapeCompatibilityEntryRequest) (response GetImageShapeCompatibilityEntryResponse, err error)

GetImageShapeCompatibilityEntry Retrieves an image shape compatibility entry.

See also ¶

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

func (ComputeClient) GetInstance ¶

func (client ComputeClient) GetInstance(ctx context.Context, request GetInstanceRequest) (response GetInstanceResponse, err error)

GetInstance Gets information about the specified instance. **Note:** To retrieve public and private IP addresses for an instance, use the ListVnicAttachments operation to get the VNIC ID for the instance, and then call GetVnic with the VNIC ID.

See also ¶

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

func (ComputeClient) GetInstanceConsoleConnection ¶

func (client ComputeClient) GetInstanceConsoleConnection(ctx context.Context, request GetInstanceConsoleConnectionRequest) (response GetInstanceConsoleConnectionResponse, err error)

GetInstanceConsoleConnection Gets the specified instance console connection's information.

See also ¶

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

func (ComputeClient) GetInstanceMaintenanceReboot ¶ added in v65.13.1

func (client ComputeClient) GetInstanceMaintenanceReboot(ctx context.Context, request GetInstanceMaintenanceRebootRequest) (response GetInstanceMaintenanceRebootResponse, err error)

GetInstanceMaintenanceReboot Gets the maximum possible date that a maintenance reboot can be extended. For more information, see Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm).

See also ¶

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

func (ComputeClient) GetMeasuredBootReport ¶

func (client ComputeClient) GetMeasuredBootReport(ctx context.Context, request GetMeasuredBootReportRequest) (response GetMeasuredBootReportResponse, err error)

GetMeasuredBootReport Gets the measured boot report for this shielded instance.

See also ¶

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

func (ComputeClient) GetVnicAttachment ¶

func (client ComputeClient) GetVnicAttachment(ctx context.Context, request GetVnicAttachmentRequest) (response GetVnicAttachmentResponse, err error)

GetVnicAttachment Gets the information for the specified VNIC attachment.

See also ¶

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

func (ComputeClient) GetVolumeAttachment ¶

func (client ComputeClient) GetVolumeAttachment(ctx context.Context, request GetVolumeAttachmentRequest) (response GetVolumeAttachmentResponse, err error)

GetVolumeAttachment Gets information about the specified volume attachment.

See also ¶

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

func (ComputeClient) GetWindowsInstanceInitialCredentials ¶

func (client ComputeClient) GetWindowsInstanceInitialCredentials(ctx context.Context, request GetWindowsInstanceInitialCredentialsRequest) (response GetWindowsInstanceInitialCredentialsResponse, err error)

GetWindowsInstanceInitialCredentials Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows. For certain operating systems, users will be forced to change the initial credentials.

See also ¶

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

func (ComputeClient) InstanceAction ¶

func (client ComputeClient) InstanceAction(ctx context.Context, request InstanceActionRequest) (response InstanceActionResponse, err error)

InstanceAction Performs one of the following power actions on the specified instance: - **START** - Powers on the instance. - **STOP** - Powers off the instance. - **RESET** - Powers off the instance and then powers it back on. - **SOFTSTOP** - Gracefully shuts down the instance by sending a shutdown command to the operating system. After waiting 15 minutes for the OS to shut down, the instance is powered off. If the applications that run on the instance take more than 15 minutes to shut down, they could be improperly stopped, resulting in data corruption. To avoid this, manually shut down the instance using the commands available in the OS before you softstop the instance. - **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system. After waiting 15 minutes for the OS to shut down, the instance is powered off and then powered back on.

- **SENDDIAGNOSTICINTERRUPT** - For advanced users. **Caution: Sending a diagnostic interrupt to a live system can cause data corruption or system failure.** Sends a diagnostic interrupt that causes the instance's OS to crash and then reboot. Before you send a diagnostic interrupt, you must configure the instance to generate a crash dump file when it crashes. The crash dump captures information about the state of the OS at the time of the crash. After the OS restarts, you can analyze the crash dump to diagnose the issue. For more information, see Sending a Diagnostic Interrupt (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/sendingdiagnosticinterrupt.htm).

- **DIAGNOSTICREBOOT** - Powers off the instance, rebuilds it, and then powers it back on. Before you send a diagnostic reboot, restart the instance's OS, confirm that the instance and networking settings are configured correctly, and try other troubleshooting steps (https://docs.cloud.oracle.com/iaas/Content/Compute/References/troubleshooting-compute-instances.htm). Use diagnostic reboot as a final attempt to troubleshoot an unreachable instance. For virtual machine (VM) instances only. For more information, see Performing a Diagnostic Reboot (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/diagnostic-reboot.htm).

- **REBOOTMIGRATE** - Powers off the instance, moves it to new hardware, and then powers it back on. For more information, see Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm).

For more information about managing instance lifecycle states, see Stopping and Starting an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/restartinginstance.htm).

See also ¶

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

func (ComputeClient) LaunchInstance ¶

func (client ComputeClient) LaunchInstance(ctx context.Context, request LaunchInstanceRequest) (response LaunchInstanceResponse, err error)

LaunchInstance Creates a new instance in the specified compartment and the specified availability domain. For general information about instances, see Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API. All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned, unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the resource in the Console. To launch an instance using an image or a boot volume use the `sourceDetails` parameter in LaunchInstanceDetails. When you launch an instance, it is automatically attached to a virtual network interface card (VNIC), called the *primary VNIC*. The VNIC has a private IP address from the subnet's CIDR. You can either assign a private IP address of your choice or let Oracle automatically assign one. You can choose whether the instance has a public IP address. To retrieve the addresses, use the ListVnicAttachments operation to get the VNIC ID for the instance, and then call GetVnic with the VNIC ID. You can later add secondary VNICs to an instance. For more information, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). To launch an instance from a Marketplace image listing, you must provide the image ID of the listing resource version that you want, but you also must subscribe to the listing before you try to launch the instance. To subscribe to the listing, use the GetAppCatalogListingAgreements operation to get the signature for the terms of use agreement for the desired listing resource version. Then, call CreateAppCatalogSubscription with the signature. To get the image ID for the LaunchInstance operation, call GetAppCatalogListingResourceVersion. To determine whether capacity is available for a specific shape before you create an instance, use the CreateComputeCapacityReport operation.

See also ¶

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

func (ComputeClient) ListAppCatalogListingResourceVersions ¶

func (client ComputeClient) ListAppCatalogListingResourceVersions(ctx context.Context, request ListAppCatalogListingResourceVersionsRequest) (response ListAppCatalogListingResourceVersionsResponse, err error)

ListAppCatalogListingResourceVersions Gets all resource versions for a particular listing.

See also ¶

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

func (ComputeClient) ListAppCatalogListings ¶

func (client ComputeClient) ListAppCatalogListings(ctx context.Context, request ListAppCatalogListingsRequest) (response ListAppCatalogListingsResponse, err error)

ListAppCatalogListings Lists the published listings.

See also ¶

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

func (ComputeClient) ListAppCatalogSubscriptions ¶

func (client ComputeClient) ListAppCatalogSubscriptions(ctx context.Context, request ListAppCatalogSubscriptionsRequest) (response ListAppCatalogSubscriptionsResponse, err error)

ListAppCatalogSubscriptions Lists subscriptions for a compartment.

See also ¶

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

func (ComputeClient) ListBootVolumeAttachments ¶

func (client ComputeClient) ListBootVolumeAttachments(ctx context.Context, request ListBootVolumeAttachmentsRequest) (response ListBootVolumeAttachmentsResponse, err error)

ListBootVolumeAttachments Lists the boot volume attachments in the specified compartment. You can filter the list by specifying an instance OCID, boot volume OCID, or both.

See also ¶

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

func (ComputeClient) ListComputeCapacityReservationInstanceShapes ¶

func (client ComputeClient) ListComputeCapacityReservationInstanceShapes(ctx context.Context, request ListComputeCapacityReservationInstanceShapesRequest) (response ListComputeCapacityReservationInstanceShapesResponse, err error)

ListComputeCapacityReservationInstanceShapes Lists the shapes that can be reserved within the specified compartment.

See also ¶

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

func (ComputeClient) ListComputeCapacityReservationInstances ¶

func (client ComputeClient) ListComputeCapacityReservationInstances(ctx context.Context, request ListComputeCapacityReservationInstancesRequest) (response ListComputeCapacityReservationInstancesResponse, err error)

ListComputeCapacityReservationInstances Lists the instances launched under a capacity reservation. You can filter results by specifying criteria.

See also ¶

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

func (ComputeClient) ListComputeCapacityReservations ¶

func (client ComputeClient) ListComputeCapacityReservations(ctx context.Context, request ListComputeCapacityReservationsRequest) (response ListComputeCapacityReservationsResponse, err error)

ListComputeCapacityReservations Lists the compute capacity reservations that match the specified criteria and compartment. You can limit the list by specifying a compute capacity reservation display name (the list will include all the identically-named compute capacity reservations in the compartment).

See also ¶

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

func (ComputeClient) ListComputeCapacityTopologies ¶ added in v65.53.0

func (client ComputeClient) ListComputeCapacityTopologies(ctx context.Context, request ListComputeCapacityTopologiesRequest) (response ListComputeCapacityTopologiesResponse, err error)

ListComputeCapacityTopologies Lists the compute capacity topologies in the specified compartment. You can filter the list by a compute capacity topology display name.

See also ¶

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

func (ComputeClient) ListComputeCapacityTopologyComputeBareMetalHosts ¶ added in v65.53.0

func (client ComputeClient) ListComputeCapacityTopologyComputeBareMetalHosts(ctx context.Context, request ListComputeCapacityTopologyComputeBareMetalHostsRequest) (response ListComputeCapacityTopologyComputeBareMetalHostsResponse, err error)

ListComputeCapacityTopologyComputeBareMetalHosts Lists compute bare metal hosts in the specified compute capacity topology.

See also ¶

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

func (ComputeClient) ListComputeCapacityTopologyComputeHpcIslands ¶ added in v65.53.0

func (client ComputeClient) ListComputeCapacityTopologyComputeHpcIslands(ctx context.Context, request ListComputeCapacityTopologyComputeHpcIslandsRequest) (response ListComputeCapacityTopologyComputeHpcIslandsResponse, err error)

ListComputeCapacityTopologyComputeHpcIslands Lists compute HPC islands in the specified compute capacity topology.

See also ¶

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

func (ComputeClient) ListComputeCapacityTopologyComputeNetworkBlocks ¶ added in v65.53.0

func (client ComputeClient) ListComputeCapacityTopologyComputeNetworkBlocks(ctx context.Context, request ListComputeCapacityTopologyComputeNetworkBlocksRequest) (response ListComputeCapacityTopologyComputeNetworkBlocksResponse, err error)

ListComputeCapacityTopologyComputeNetworkBlocks Lists compute network blocks in the specified compute capacity topology.

See also ¶

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

func (ComputeClient) ListComputeClusters ¶ added in v65.33.1

func (client ComputeClient) ListComputeClusters(ctx context.Context, request ListComputeClustersRequest) (response ListComputeClustersResponse, err error)

ListComputeClusters Lists the compute clusters in the specified compartment. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.

See also ¶

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

func (ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions ¶

func (client ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request ListComputeGlobalImageCapabilitySchemaVersionsRequest) (response ListComputeGlobalImageCapabilitySchemaVersionsResponse, err error)

ListComputeGlobalImageCapabilitySchemaVersions Lists Compute Global Image Capability Schema versions in the specified compartment.

See also ¶

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

func (ComputeClient) ListComputeGlobalImageCapabilitySchemas ¶

func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context.Context, request ListComputeGlobalImageCapabilitySchemasRequest) (response ListComputeGlobalImageCapabilitySchemasResponse, err error)

ListComputeGlobalImageCapabilitySchemas Lists Compute Global Image Capability Schema in the specified compartment.

See also ¶

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

func (ComputeClient) ListComputeImageCapabilitySchemas ¶

func (client ComputeClient) ListComputeImageCapabilitySchemas(ctx context.Context, request ListComputeImageCapabilitySchemasRequest) (response ListComputeImageCapabilitySchemasResponse, err error)

ListComputeImageCapabilitySchemas Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId.

See also ¶

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

func (ComputeClient) ListConsoleHistories ¶

func (client ComputeClient) ListConsoleHistories(ctx context.Context, request ListConsoleHistoriesRequest) (response ListConsoleHistoriesResponse, err error)

ListConsoleHistories Lists the console history metadata for the specified compartment or instance.

See also ¶

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

func (ComputeClient) ListDedicatedVmHostInstanceShapes ¶

func (client ComputeClient) ListDedicatedVmHostInstanceShapes(ctx context.Context, request ListDedicatedVmHostInstanceShapesRequest) (response ListDedicatedVmHostInstanceShapesResponse, err error)

ListDedicatedVmHostInstanceShapes Lists the shapes that can be used to launch a virtual machine instance on a dedicated virtual machine host within the specified compartment. You can filter the list by compatibility with a specific dedicated virtual machine host shape.

See also ¶

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

func (ComputeClient) ListDedicatedVmHostInstances ¶

func (client ComputeClient) ListDedicatedVmHostInstances(ctx context.Context, request ListDedicatedVmHostInstancesRequest) (response ListDedicatedVmHostInstancesResponse, err error)

ListDedicatedVmHostInstances Returns the list of instances on the dedicated virtual machine hosts that match the specified criteria.

See also ¶

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

func (ComputeClient) ListDedicatedVmHostShapes ¶

func (client ComputeClient) ListDedicatedVmHostShapes(ctx context.Context, request ListDedicatedVmHostShapesRequest) (response ListDedicatedVmHostShapesResponse, err error)

ListDedicatedVmHostShapes Lists the shapes that can be used to launch a dedicated virtual machine host within the specified compartment.

See also ¶

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

func (ComputeClient) ListDedicatedVmHosts ¶

func (client ComputeClient) ListDedicatedVmHosts(ctx context.Context, request ListDedicatedVmHostsRequest) (response ListDedicatedVmHostsResponse, err error)

ListDedicatedVmHosts Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment. You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named dedicated virtual machine hosts in the compartment.

See also ¶

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

func (ComputeClient) ListImageShapeCompatibilityEntries ¶

func (client ComputeClient) ListImageShapeCompatibilityEntries(ctx context.Context, request ListImageShapeCompatibilityEntriesRequest) (response ListImageShapeCompatibilityEntriesResponse, err error)

ListImageShapeCompatibilityEntries Lists the compatible shapes for the specified image.

See also ¶

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

func (ComputeClient) ListImages ¶

func (client ComputeClient) ListImages(ctx context.Context, request ListImagesRequest) (response ListImagesResponse, err error)

ListImages Lists a subset of images available in the specified compartment, including platform images (https://docs.cloud.oracle.com/iaas/Content/Compute/References/images.htm) and custom images (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). The list of platform images includes the three most recently published versions of each major distribution. The list does not support filtering based on image tags. The list of images returned is ordered to first show the recent platform images, then all of the custom images. **Caution:** Platform images are refreshed regularly. When new images are released, older versions are replaced. The image OCIDs remain available, but when the platform image is replaced, the image OCIDs are no longer returned as part of the platform image list.

See also ¶

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

func (ComputeClient) ListInstanceConsoleConnections ¶

func (client ComputeClient) ListInstanceConsoleConnections(ctx context.Context, request ListInstanceConsoleConnectionsRequest) (response ListInstanceConsoleConnectionsResponse, err error)

ListInstanceConsoleConnections Lists the console connections for the specified compartment or instance. For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm).

See also ¶

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

func (ComputeClient) ListInstanceDevices ¶

func (client ComputeClient) ListInstanceDevices(ctx context.Context, request ListInstanceDevicesRequest) (response ListInstanceDevicesResponse, err error)

ListInstanceDevices Gets a list of all the devices for given instance. You can optionally filter results by device availability.

See also ¶

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

func (ComputeClient) ListInstances ¶

func (client ComputeClient) ListInstances(ctx context.Context, request ListInstancesRequest) (response ListInstancesResponse, err error)

ListInstances Lists the instances in the specified compartment and the specified availability domain. You can filter the results by specifying an instance name (the list will include all the identically-named instances in the compartment). **Note:** To retrieve public and private IP addresses for an instance, use the ListVnicAttachments operation to get the VNIC ID for the instance, and then call GetVnic with the VNIC ID.

See also ¶

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

func (ComputeClient) ListShapes ¶

func (client ComputeClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error)

ListShapes Lists the shapes that can be used to launch an instance within the specified compartment. You can filter the list by compatibility with a specific image.

See also ¶

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

func (ComputeClient) ListVnicAttachments ¶

func (client ComputeClient) ListVnicAttachments(ctx context.Context, request ListVnicAttachmentsRequest) (response ListVnicAttachmentsResponse, err error)

ListVnicAttachments Lists the VNIC attachments in the specified compartment. A VNIC attachment resides in the same compartment as the attached instance. The list can be filtered by instance, VNIC, or availability domain.

See also ¶

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

func (ComputeClient) ListVolumeAttachments ¶

func (client ComputeClient) ListVolumeAttachments(ctx context.Context, request ListVolumeAttachmentsRequest) (response ListVolumeAttachmentsResponse, err error)

ListVolumeAttachments Lists the volume attachments in the specified compartment. You can filter the list by specifying an instance OCID, volume OCID, or both. Currently, the only supported volume attachment type are IScsiVolumeAttachment and ParavirtualizedVolumeAttachment.

See also ¶

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

func (ComputeClient) RemoveImageShapeCompatibilityEntry ¶

func (client ComputeClient) RemoveImageShapeCompatibilityEntry(ctx context.Context, request RemoveImageShapeCompatibilityEntryRequest) (response RemoveImageShapeCompatibilityEntryResponse, err error)

RemoveImageShapeCompatibilityEntry Removes a shape from the compatible shapes list for the image.

See also ¶

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

func (*ComputeClient) SetRegion ¶

func (client *ComputeClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ComputeClient) TerminateInstance ¶

func (client ComputeClient) TerminateInstance(ctx context.Context, request TerminateInstanceRequest) (response TerminateInstanceResponse, err error)

TerminateInstance Permanently terminates (deletes) the specified instance. Any attached VNICs and volumes are automatically detached when the instance terminates. To preserve the boot volume associated with the instance, specify `true` for `PreserveBootVolumeQueryParam`. To delete the boot volume when the instance is deleted, specify `false` or do not specify a value for `PreserveBootVolumeQueryParam`. To preserve data volumes created with the instance, specify `true` or do not specify a value for `PreserveDataVolumesQueryParam`. To delete the data volumes when the instance itself is deleted, specify `false` for `PreserveDataVolumesQueryParam`. This is an asynchronous operation. The instance's `lifecycleState` changes to TERMINATING temporarily until the instance is completely deleted. After the instance is deleted, the record remains visible in the list of instances with the state TERMINATED for at least 12 hours, but no further action is needed.

See also ¶

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

func (ComputeClient) UpdateComputeCapacityReservation ¶

func (client ComputeClient) UpdateComputeCapacityReservation(ctx context.Context, request UpdateComputeCapacityReservationRequest) (response UpdateComputeCapacityReservationResponse, err error)

UpdateComputeCapacityReservation Updates the specified capacity reservation and its associated capacity configurations. Fields that are not provided in the request will not be updated. Capacity configurations that are not included will be deleted. Avoid entering confidential information.

See also ¶

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

func (ComputeClient) UpdateComputeCapacityTopology ¶ added in v65.53.0

func (client ComputeClient) UpdateComputeCapacityTopology(ctx context.Context, request UpdateComputeCapacityTopologyRequest) (response UpdateComputeCapacityTopologyResponse, err error)

UpdateComputeCapacityTopology Updates the specified compute capacity topology. Fields that are not provided in the request will not be updated.

See also ¶

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

func (ComputeClient) UpdateComputeCluster ¶ added in v65.33.1

func (client ComputeClient) UpdateComputeCluster(ctx context.Context, request UpdateComputeClusterRequest) (response UpdateComputeClusterResponse, err error)

UpdateComputeCluster Updates a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. To create instances within a compute cluster, use the LaunchInstance operation. To delete instances from a compute cluster, use the TerminateInstance operation.

See also ¶

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

func (ComputeClient) UpdateComputeImageCapabilitySchema ¶

func (client ComputeClient) UpdateComputeImageCapabilitySchema(ctx context.Context, request UpdateComputeImageCapabilitySchemaRequest) (response UpdateComputeImageCapabilitySchemaResponse, err error)

UpdateComputeImageCapabilitySchema Updates the specified Compute Image Capability Schema

See also ¶

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

func (ComputeClient) UpdateConsoleHistory ¶

func (client ComputeClient) UpdateConsoleHistory(ctx context.Context, request UpdateConsoleHistoryRequest) (response UpdateConsoleHistoryResponse, err error)

UpdateConsoleHistory Updates the specified console history metadata.

See also ¶

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

func (ComputeClient) UpdateDedicatedVmHost ¶

func (client ComputeClient) UpdateDedicatedVmHost(ctx context.Context, request UpdateDedicatedVmHostRequest) (response UpdateDedicatedVmHostResponse, err error)

UpdateDedicatedVmHost Updates the displayName, freeformTags, and definedTags attributes for the specified dedicated virtual machine host. If an attribute value is not included, it will not be updated.

See also ¶

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

func (ComputeClient) UpdateImage ¶

func (client ComputeClient) UpdateImage(ctx context.Context, request UpdateImageRequest) (response UpdateImageResponse, err error)

UpdateImage Updates the display name of the image. Avoid entering confidential information.

See also ¶

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

func (ComputeClient) UpdateInstance ¶

func (client ComputeClient) UpdateInstance(ctx context.Context, request UpdateInstanceRequest) (response UpdateInstanceResponse, err error)

UpdateInstance Updates certain fields on the specified instance. Fields that are not provided in the request will not be updated. Avoid entering confidential information. Changes to metadata fields will be reflected in the instance metadata service (this may take up to a minute). The OCID of the instance remains the same.

See also ¶

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

func (ComputeClient) UpdateInstanceConsoleConnection ¶

func (client ComputeClient) UpdateInstanceConsoleConnection(ctx context.Context, request UpdateInstanceConsoleConnectionRequest) (response UpdateInstanceConsoleConnectionResponse, err error)

UpdateInstanceConsoleConnection Updates the defined tags and free-form tags for the specified instance console connection.

See also ¶

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

func (ComputeClient) UpdateVolumeAttachment ¶

func (client ComputeClient) UpdateVolumeAttachment(ctx context.Context, request UpdateVolumeAttachmentRequest) (response UpdateVolumeAttachmentResponse, err error)

UpdateVolumeAttachment Updates information about the specified volume attachment.

See also ¶

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

type ComputeCluster ¶ added in v65.33.1

type ComputeCluster struct {

	// The availability domain the compute cluster is running in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute cluster.
	LifecycleState ComputeClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the compute cluster was created,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeCluster A remote direct memory access (RDMA) network group. A cluster network on a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a group of high performance computing (HPC), GPU, or optimized instances that are connected with an ultra low-latency network. Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group. For details about cluster networks that use instance pools to manage groups of identical instances, see ClusterNetwork.

func (ComputeCluster) String ¶ added in v65.33.1

func (m ComputeCluster) String() string

func (ComputeCluster) ValidateEnumValue ¶ added in v65.33.1

func (m ComputeCluster) 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 ComputeClusterCollection ¶ added in v65.33.1

type ComputeClusterCollection struct {

	// The list of compute clusters.
	Items []ComputeClusterSummary `mandatory:"true" json:"items"`
}

ComputeClusterCollection A list of compute clusters that match filter criteria, if any. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.

func (ComputeClusterCollection) String ¶ added in v65.33.1

func (m ComputeClusterCollection) String() string

func (ComputeClusterCollection) ValidateEnumValue ¶ added in v65.33.1

func (m ComputeClusterCollection) 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 ComputeClusterLifecycleStateEnum ¶ added in v65.33.1

type ComputeClusterLifecycleStateEnum string

ComputeClusterLifecycleStateEnum Enum with underlying type: string

const (
	ComputeClusterLifecycleStateActive  ComputeClusterLifecycleStateEnum = "ACTIVE"
	ComputeClusterLifecycleStateDeleted ComputeClusterLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ComputeClusterLifecycleStateEnum

func GetComputeClusterLifecycleStateEnumValues ¶ added in v65.33.1

func GetComputeClusterLifecycleStateEnumValues() []ComputeClusterLifecycleStateEnum

GetComputeClusterLifecycleStateEnumValues Enumerates the set of values for ComputeClusterLifecycleStateEnum

func GetMappingComputeClusterLifecycleStateEnum ¶ added in v65.33.1

func GetMappingComputeClusterLifecycleStateEnum(val string) (ComputeClusterLifecycleStateEnum, bool)

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

type ComputeClusterSummary ¶ added in v65.33.1

type ComputeClusterSummary struct {

	// The availability domain the compute cluster is running in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute cluster.
	LifecycleState ComputeClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the compute cluster was created,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeClusterSummary Summary information for a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.

func (ComputeClusterSummary) String ¶ added in v65.33.1

func (m ComputeClusterSummary) String() string

func (ComputeClusterSummary) ValidateEnumValue ¶ added in v65.33.1

func (m ComputeClusterSummary) 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 ComputeGlobalImageCapabilitySchema ¶

type ComputeGlobalImageCapabilitySchema struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the compute global image capability schema was created, in the format defined by
	// RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compartment that contains the resource.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The name of the global capabilities version resource that is considered the current version.
	CurrentVersionName *string `mandatory:"false" json:"currentVersionName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeGlobalImageCapabilitySchema Compute Global Image Capability Schema is a container for a set of compute global image capability schema versions

func (ComputeGlobalImageCapabilitySchema) String ¶

func (ComputeGlobalImageCapabilitySchema) ValidateEnumValue ¶

func (m ComputeGlobalImageCapabilitySchema) 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 ComputeGlobalImageCapabilitySchemaSummary ¶

type ComputeGlobalImageCapabilitySchemaSummary struct {

	// The compute global image capability schema OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the compute global image capability schema was created, in the format defined by
	// RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compartment containing the compute global image capability schema
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The name of the global capabilities version resource that is considered the current version.
	CurrentVersionName *string `mandatory:"false" json:"currentVersionName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeGlobalImageCapabilitySchemaSummary Summary information for a compute global image capability schema

func (ComputeGlobalImageCapabilitySchemaSummary) String ¶

func (ComputeGlobalImageCapabilitySchemaSummary) ValidateEnumValue ¶

func (m ComputeGlobalImageCapabilitySchemaSummary) 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 ComputeGlobalImageCapabilitySchemaVersion ¶

type ComputeGlobalImageCapabilitySchemaVersion struct {

	// The name of the compute global image capability schema version
	Name *string `mandatory:"true" json:"name"`

	// The ocid of the compute global image capability schema
	ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" json:"computeGlobalImageCapabilitySchemaId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The map of each capability name to its ImageCapabilityDescriptor.
	SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"true" json:"schemaData"`

	// The date and time the compute global image capability schema version was created, in the format defined by
	// RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

ComputeGlobalImageCapabilitySchemaVersion Compute Global Image Capability Schema Version is a set of all possible capabilities for a collection of images.

func (ComputeGlobalImageCapabilitySchemaVersion) String ¶

func (*ComputeGlobalImageCapabilitySchemaVersion) UnmarshalJSON ¶

func (m *ComputeGlobalImageCapabilitySchemaVersion) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ComputeGlobalImageCapabilitySchemaVersion) ValidateEnumValue ¶

func (m ComputeGlobalImageCapabilitySchemaVersion) 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 ComputeGlobalImageCapabilitySchemaVersionSummary ¶

type ComputeGlobalImageCapabilitySchemaVersionSummary struct {

	// The compute global image capability schema version name
	Name *string `mandatory:"true" json:"name"`

	// The OCID of the compute global image capability schema
	ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" json:"computeGlobalImageCapabilitySchemaId"`

	// The date and time the compute global image capability schema version was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

ComputeGlobalImageCapabilitySchemaVersionSummary Summary information for a compute global image capability schema

func (ComputeGlobalImageCapabilitySchemaVersionSummary) String ¶

func (ComputeGlobalImageCapabilitySchemaVersionSummary) ValidateEnumValue ¶

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 ComputeHpcIsland ¶ added in v65.53.0

type ComputeHpcIsland struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute HPC island.
	LifecycleState ComputeHpcIslandLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute HPC island was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute HPC island was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The total number of compute bare metal hosts located in this compute HPC island.
	TotalComputeBareMetalHostCount *int64 `mandatory:"true" json:"totalComputeBareMetalHostCount"`
}

ComputeHpcIsland A compute HPC island.

func (ComputeHpcIsland) String ¶ added in v65.53.0

func (m ComputeHpcIsland) String() string

func (ComputeHpcIsland) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeHpcIsland) 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 ComputeHpcIslandCollection ¶ added in v65.53.0

type ComputeHpcIslandCollection struct {

	// The list of compute HPC islands.
	Items []ComputeHpcIslandSummary `mandatory:"true" json:"items"`
}

ComputeHpcIslandCollection A list of compute HPC islands.

func (ComputeHpcIslandCollection) String ¶ added in v65.53.0

func (ComputeHpcIslandCollection) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeHpcIslandCollection) 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 ComputeHpcIslandLifecycleStateEnum ¶ added in v65.53.0

type ComputeHpcIslandLifecycleStateEnum string

ComputeHpcIslandLifecycleStateEnum Enum with underlying type: string

const (
	ComputeHpcIslandLifecycleStateActive   ComputeHpcIslandLifecycleStateEnum = "ACTIVE"
	ComputeHpcIslandLifecycleStateInactive ComputeHpcIslandLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ComputeHpcIslandLifecycleStateEnum

func GetComputeHpcIslandLifecycleStateEnumValues ¶ added in v65.53.0

func GetComputeHpcIslandLifecycleStateEnumValues() []ComputeHpcIslandLifecycleStateEnum

GetComputeHpcIslandLifecycleStateEnumValues Enumerates the set of values for ComputeHpcIslandLifecycleStateEnum

func GetMappingComputeHpcIslandLifecycleStateEnum ¶ added in v65.53.0

func GetMappingComputeHpcIslandLifecycleStateEnum(val string) (ComputeHpcIslandLifecycleStateEnum, bool)

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

type ComputeHpcIslandSummary ¶ added in v65.53.0

type ComputeHpcIslandSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute HPC island.
	LifecycleState ComputeHpcIslandLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute HPC island was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute HPC island was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The total number of compute bare metal hosts located in this compute HPC island.
	TotalComputeBareMetalHostCount *int64 `mandatory:"true" json:"totalComputeBareMetalHostCount"`
}

ComputeHpcIslandSummary Summary information for a compute HPC island.

func (ComputeHpcIslandSummary) String ¶ added in v65.53.0

func (m ComputeHpcIslandSummary) String() string

func (ComputeHpcIslandSummary) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeHpcIslandSummary) 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 ComputeImageCapabilitySchema ¶

type ComputeImageCapabilitySchema struct {

	// The id of the compute global image capability schema version
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compute global image capability schema
	ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" json:"computeGlobalImageCapabilitySchemaId"`

	// The name of the compute global image capability schema version
	ComputeGlobalImageCapabilitySchemaVersionName *string `mandatory:"true" json:"computeGlobalImageCapabilitySchemaVersionName"`

	// The OCID of the image associated with this compute image capability schema
	ImageId *string `mandatory:"true" json:"imageId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The map of each capability name to its ImageCapabilityDescriptor.
	SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"true" json:"schemaData"`

	// The date and time the compute image capability schema was created, in the format defined by
	// RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compartment that contains the resource.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeImageCapabilitySchema Compute Image Capability Schema is a set of capabilities that filter the compute global capability schema version for an image.

func (ComputeImageCapabilitySchema) String ¶

func (*ComputeImageCapabilitySchema) UnmarshalJSON ¶

func (m *ComputeImageCapabilitySchema) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ComputeImageCapabilitySchema) ValidateEnumValue ¶

func (m ComputeImageCapabilitySchema) 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 ComputeImageCapabilitySchemaSummary ¶

type ComputeImageCapabilitySchemaSummary struct {

	// The compute image capability schema OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id *string `mandatory:"true" json:"id"`

	// The name of the compute global image capability schema version
	ComputeGlobalImageCapabilitySchemaVersionName *string `mandatory:"true" json:"computeGlobalImageCapabilitySchemaVersionName"`

	// The OCID of the image associated with this compute image capability schema
	ImageId *string `mandatory:"true" json:"imageId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The date and time the compute image capability schema was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compartment containing the compute global image capability schema
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// A mapping of each capability name to its ImageCapabilityDescriptor.
	SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"false" json:"schemaData"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ComputeImageCapabilitySchemaSummary Summary information for a compute image capability schema

func (ComputeImageCapabilitySchemaSummary) String ¶

func (*ComputeImageCapabilitySchemaSummary) UnmarshalJSON ¶

func (m *ComputeImageCapabilitySchemaSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (ComputeImageCapabilitySchemaSummary) ValidateEnumValue ¶

func (m ComputeImageCapabilitySchemaSummary) 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 ComputeInstanceDetails ¶

type ComputeInstanceDetails struct {

	// Block volume parameters.
	BlockVolumes []InstanceConfigurationBlockVolumeDetails `mandatory:"false" json:"blockVolumes"`

	LaunchDetails *InstanceConfigurationLaunchInstanceDetails `mandatory:"false" json:"launchDetails"`

	// Secondary VNIC parameters.
	SecondaryVnics []InstanceConfigurationAttachVnicDetails `mandatory:"false" json:"secondaryVnics"`
}

ComputeInstanceDetails Compute Instance Configuration instance details.

func (ComputeInstanceDetails) MarshalJSON ¶

func (m ComputeInstanceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceDetails) String ¶

func (m ComputeInstanceDetails) String() string

func (ComputeInstanceDetails) ValidateEnumValue ¶

func (m ComputeInstanceDetails) 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 ComputeInstanceOptions ¶ added in v65.44.0

type ComputeInstanceOptions struct {

	// The Compute Instance Configuration parameters.
	Options []ComputeInstanceDetails `mandatory:"false" json:"options"`
}

ComputeInstanceOptions Multiple Compute Instance Configuration instance details.

func (ComputeInstanceOptions) MarshalJSON ¶ added in v65.44.0

func (m ComputeInstanceOptions) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceOptions) String ¶ added in v65.44.0

func (m ComputeInstanceOptions) String() string

func (ComputeInstanceOptions) ValidateEnumValue ¶ added in v65.44.0

func (m ComputeInstanceOptions) 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 ComputeManagementClient ¶

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

ComputeManagementClient a client for ComputeManagement

func NewComputeManagementClientWithConfigurationProvider ¶

func NewComputeManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputeManagementClient, err error)

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

func NewComputeManagementClientWithOboToken ¶

func NewComputeManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeManagementClient, err error)

NewComputeManagementClientWithOboToken Creates a new default ComputeManagement 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 (ComputeManagementClient) AttachInstancePoolInstance ¶

func (client ComputeManagementClient) AttachInstancePoolInstance(ctx context.Context, request AttachInstancePoolInstanceRequest) (response AttachInstancePoolInstanceResponse, err error)

AttachInstancePoolInstance Attaches an instance to an instance pool. For information about the prerequisites that an instance must meet before you can attach it to a pool, see Attaching an Instance to an Instance Pool (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/updatinginstancepool.htm#attach-instance).

See also ¶

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

func (ComputeManagementClient) AttachLoadBalancer ¶

func (client ComputeManagementClient) AttachLoadBalancer(ctx context.Context, request AttachLoadBalancerRequest) (response AttachLoadBalancerResponse, err error)

AttachLoadBalancer Attach a load balancer to the instance pool.

See also ¶

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

func (ComputeManagementClient) ChangeClusterNetworkCompartment ¶

func (client ComputeManagementClient) ChangeClusterNetworkCompartment(ctx context.Context, request ChangeClusterNetworkCompartmentRequest) (response ChangeClusterNetworkCompartmentResponse, err error)

ChangeClusterNetworkCompartment Moves a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When you move a cluster network to a different compartment, associated resources such as the instances in the cluster network, boot volumes, and VNICs are not moved.

See also ¶

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

func (ComputeManagementClient) ChangeInstanceConfigurationCompartment ¶

func (client ComputeManagementClient) ChangeInstanceConfigurationCompartment(ctx context.Context, request ChangeInstanceConfigurationCompartmentRequest) (response ChangeInstanceConfigurationCompartmentResponse, err error)

ChangeInstanceConfigurationCompartment Moves an instance configuration into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When you move an instance configuration to a different compartment, associated resources such as instance pools are not moved. **Important:** Most of the properties for an existing instance configuration, including the compartment, cannot be modified after you create the instance configuration. Although you can move an instance configuration to a different compartment, you will not be able to use the instance configuration to manage instance pools in the new compartment. If you want to update an instance configuration to point to a different compartment, you should instead create a new instance configuration in the target compartment using CreateInstanceConfiguration (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration).

See also ¶

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

func (ComputeManagementClient) ChangeInstancePoolCompartment ¶

func (client ComputeManagementClient) ChangeInstancePoolCompartment(ctx context.Context, request ChangeInstancePoolCompartmentRequest) (response ChangeInstancePoolCompartmentResponse, err error)

ChangeInstancePoolCompartment Moves an instance pool into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). When you move an instance pool to a different compartment, associated resources such as the instances in the pool, boot volumes, VNICs, and autoscaling configurations are not moved.

See also ¶

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

func (*ComputeManagementClient) ConfigurationProvider ¶

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

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

func (ComputeManagementClient) CreateClusterNetwork ¶

func (client ComputeManagementClient) CreateClusterNetwork(ctx context.Context, request CreateClusterNetworkRequest) (response CreateClusterNetworkResponse, err error)

CreateClusterNetwork Creates a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). A cluster network is a group of high performance computing (HPC), GPU, or optimized bare metal instances that are connected with an ultra low-latency remote direct memory access (RDMA) network. Cluster networks with instance pools use instance pools to manage groups of identical instances. Use cluster networks with instance pools when you want predictable capacity for a specific number of identical instances that are managed as a group. If you want to manage instances in the RDMA network independently of each other or use different types of instances in the network group, create a compute cluster by using the CreateComputeCluster operation. To determine whether capacity is available for a specific shape before you create a cluster network, use the CreateComputeCapacityReport operation.

See also ¶

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

func (ComputeManagementClient) CreateInstanceConfiguration ¶

func (client ComputeManagementClient) CreateInstanceConfiguration(ctx context.Context, request CreateInstanceConfigurationRequest) (response CreateInstanceConfigurationResponse, err error)

CreateInstanceConfiguration Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.

See also ¶

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

func (ComputeManagementClient) CreateInstancePool ¶

func (client ComputeManagementClient) CreateInstancePool(ctx context.Context, request CreateInstancePoolRequest) (response CreateInstancePoolResponse, err error)

CreateInstancePool Creates an instance pool. To determine whether capacity is available for a specific shape before you create an instance pool, use the CreateComputeCapacityReport operation.

See also ¶

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

func (ComputeManagementClient) DeleteInstanceConfiguration ¶

func (client ComputeManagementClient) DeleteInstanceConfiguration(ctx context.Context, request DeleteInstanceConfigurationRequest) (response DeleteInstanceConfigurationResponse, err error)

DeleteInstanceConfiguration Deletes an instance configuration.

See also ¶

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

func (ComputeManagementClient) DetachInstancePoolInstance ¶

func (client ComputeManagementClient) DetachInstancePoolInstance(ctx context.Context, request DetachInstancePoolInstanceRequest) (response DetachInstancePoolInstanceResponse, err error)

DetachInstancePoolInstance Detaches an instance from an instance pool.

See also ¶

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

func (ComputeManagementClient) DetachLoadBalancer ¶

func (client ComputeManagementClient) DetachLoadBalancer(ctx context.Context, request DetachLoadBalancerRequest) (response DetachLoadBalancerResponse, err error)

DetachLoadBalancer Detach a load balancer from the instance pool.

See also ¶

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

func (ComputeManagementClient) GetClusterNetwork ¶

func (client ComputeManagementClient) GetClusterNetwork(ctx context.Context, request GetClusterNetworkRequest) (response GetClusterNetworkResponse, err error)

GetClusterNetwork Gets information about a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm).

See also ¶

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

func (ComputeManagementClient) GetInstanceConfiguration ¶

func (client ComputeManagementClient) GetInstanceConfiguration(ctx context.Context, request GetInstanceConfigurationRequest) (response GetInstanceConfigurationResponse, err error)

GetInstanceConfiguration Gets the specified instance configuration

See also ¶

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

func (ComputeManagementClient) GetInstancePool ¶

func (client ComputeManagementClient) GetInstancePool(ctx context.Context, request GetInstancePoolRequest) (response GetInstancePoolResponse, err error)

GetInstancePool Gets the specified instance pool

See also ¶

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

func (ComputeManagementClient) GetInstancePoolInstance ¶

func (client ComputeManagementClient) GetInstancePoolInstance(ctx context.Context, request GetInstancePoolInstanceRequest) (response GetInstancePoolInstanceResponse, err error)

GetInstancePoolInstance Gets information about an instance that belongs to an instance pool.

See also ¶

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

func (ComputeManagementClient) GetInstancePoolLoadBalancerAttachment ¶

func (client ComputeManagementClient) GetInstancePoolLoadBalancerAttachment(ctx context.Context, request GetInstancePoolLoadBalancerAttachmentRequest) (response GetInstancePoolLoadBalancerAttachmentResponse, err error)

GetInstancePoolLoadBalancerAttachment Gets information about a load balancer that is attached to the specified instance pool.

See also ¶

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

func (ComputeManagementClient) LaunchInstanceConfiguration ¶

func (client ComputeManagementClient) LaunchInstanceConfiguration(ctx context.Context, request LaunchInstanceConfigurationRequest) (response LaunchInstanceConfigurationResponse, err error)

LaunchInstanceConfiguration Creates an instance from an instance configuration. If the instance configuration does not include all of the parameters that are required to create an instance, such as the availability domain and subnet ID, you must provide these parameters when you create an instance from the instance configuration. For more information, see the InstanceConfiguration resource. To determine whether capacity is available for a specific shape before you create an instance, use the CreateComputeCapacityReport operation.

See also ¶

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

func (ComputeManagementClient) ListClusterNetworkInstances ¶

func (client ComputeManagementClient) ListClusterNetworkInstances(ctx context.Context, request ListClusterNetworkInstancesRequest) (response ListClusterNetworkInstancesResponse, err error)

ListClusterNetworkInstances Lists the instances in a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm).

See also ¶

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

func (ComputeManagementClient) ListClusterNetworks ¶

func (client ComputeManagementClient) ListClusterNetworks(ctx context.Context, request ListClusterNetworksRequest) (response ListClusterNetworksResponse, err error)

ListClusterNetworks Lists the cluster networks with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) in the specified compartment.

See also ¶

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

func (ComputeManagementClient) ListInstanceConfigurations ¶

func (client ComputeManagementClient) ListInstanceConfigurations(ctx context.Context, request ListInstanceConfigurationsRequest) (response ListInstanceConfigurationsResponse, err error)

ListInstanceConfigurations Lists the instance configurations in the specified compartment.

See also ¶

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

func (ComputeManagementClient) ListInstancePoolInstances ¶

func (client ComputeManagementClient) ListInstancePoolInstances(ctx context.Context, request ListInstancePoolInstancesRequest) (response ListInstancePoolInstancesResponse, err error)

ListInstancePoolInstances List the instances in the specified instance pool.

See also ¶

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

func (ComputeManagementClient) ListInstancePools ¶

func (client ComputeManagementClient) ListInstancePools(ctx context.Context, request ListInstancePoolsRequest) (response ListInstancePoolsResponse, err error)

ListInstancePools Lists the instance pools in the specified compartment.

See also ¶

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

func (ComputeManagementClient) ResetInstancePool ¶

func (client ComputeManagementClient) ResetInstancePool(ctx context.Context, request ResetInstancePoolRequest) (response ResetInstancePoolResponse, err error)

ResetInstancePool Performs the reset (immediate power off and power on) action on the specified instance pool, which performs the action on all the instances in the pool.

See also ¶

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

func (*ComputeManagementClient) SetRegion ¶

func (client *ComputeManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ComputeManagementClient) SoftresetInstancePool ¶

func (client ComputeManagementClient) SoftresetInstancePool(ctx context.Context, request SoftresetInstancePoolRequest) (response SoftresetInstancePoolResponse, err error)

SoftresetInstancePool Performs the softreset (ACPI shutdown and power on) action on the specified instance pool, which performs the action on all the instances in the pool. Softreset gracefully reboots the instances by sending a shutdown command to the operating systems. After waiting 15 minutes for the OS to shut down, the instances are powered off and then powered back on.

See also ¶

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

func (ComputeManagementClient) SoftstopInstancePool ¶ added in v65.37.1

func (client ComputeManagementClient) SoftstopInstancePool(ctx context.Context, request SoftstopInstancePoolRequest) (response SoftstopInstancePoolResponse, err error)

SoftstopInstancePool Performs the softstop (ACPI shutdown and power on) action on the specified instance pool, which performs the action on all the instances in the pool. Softstop gracefully reboots the instances by sending a shutdown command to the operating systems. After waiting 15 minutes for the OS to shutdown, the instances are powered off and then powered back on.

See also ¶

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

func (ComputeManagementClient) StartInstancePool ¶

func (client ComputeManagementClient) StartInstancePool(ctx context.Context, request StartInstancePoolRequest) (response StartInstancePoolResponse, err error)

StartInstancePool Performs the start (power on) action on the specified instance pool, which performs the action on all the instances in the pool.

See also ¶

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

func (ComputeManagementClient) StopInstancePool ¶

func (client ComputeManagementClient) StopInstancePool(ctx context.Context, request StopInstancePoolRequest) (response StopInstancePoolResponse, err error)

StopInstancePool Performs the stop (immediate power off) action on the specified instance pool, which performs the action on all the instances in the pool.

See also ¶

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

func (ComputeManagementClient) TerminateClusterNetwork ¶

func (client ComputeManagementClient) TerminateClusterNetwork(ctx context.Context, request TerminateClusterNetworkRequest) (response TerminateClusterNetworkResponse, err error)

TerminateClusterNetwork Deletes (terminates) a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). When you delete a cluster network, all of its resources are permanently deleted, including associated instances and instance pools.

See also ¶

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

func (ComputeManagementClient) TerminateInstancePool ¶

func (client ComputeManagementClient) TerminateInstancePool(ctx context.Context, request TerminateInstancePoolRequest) (response TerminateInstancePoolResponse, err error)

TerminateInstancePool Terminate the specified instance pool. **Warning:** When you delete an instance pool, the resources that were created by the pool are permanently deleted, including associated instances, attached boot volumes, and block volumes. If an autoscaling configuration applies to the instance pool, the autoscaling configuration will be deleted asynchronously after the pool is deleted. You can also manually delete the autoscaling configuration using the `DeleteAutoScalingConfiguration` operation in the Autoscaling API.

See also ¶

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

func (ComputeManagementClient) UpdateClusterNetwork ¶

func (client ComputeManagementClient) UpdateClusterNetwork(ctx context.Context, request UpdateClusterNetworkRequest) (response UpdateClusterNetworkResponse, err error)

UpdateClusterNetwork Updates a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). The OCID of the cluster network remains the same.

See also ¶

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

func (ComputeManagementClient) UpdateInstanceConfiguration ¶

func (client ComputeManagementClient) UpdateInstanceConfiguration(ctx context.Context, request UpdateInstanceConfigurationRequest) (response UpdateInstanceConfigurationResponse, err error)

UpdateInstanceConfiguration Updates the free-form tags, defined tags, and display name of an instance configuration.

See also ¶

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

func (ComputeManagementClient) UpdateInstancePool ¶

func (client ComputeManagementClient) UpdateInstancePool(ctx context.Context, request UpdateInstancePoolRequest) (response UpdateInstancePoolResponse, err error)

UpdateInstancePool Update the specified instance pool. The OCID of the instance pool remains the same.

See also ¶

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

type ComputeNetworkBlock ¶ added in v65.53.0

type ComputeNetworkBlock struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	ComputeHpcIslandId *string `mandatory:"true" json:"computeHpcIslandId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute network block.
	LifecycleState ComputeNetworkBlockLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute network block was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute network block was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The total number of compute bare metal hosts located in this compute network block.
	TotalComputeBareMetalHostCount *int64 `mandatory:"true" json:"totalComputeBareMetalHostCount"`
}

ComputeNetworkBlock A compute network block.

func (ComputeNetworkBlock) String ¶ added in v65.53.0

func (m ComputeNetworkBlock) String() string

func (ComputeNetworkBlock) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeNetworkBlock) 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 ComputeNetworkBlockCollection ¶ added in v65.53.0

type ComputeNetworkBlockCollection struct {

	// The list of compute network blocks.
	Items []ComputeNetworkBlockSummary `mandatory:"true" json:"items"`
}

ComputeNetworkBlockCollection A list of compute network blocks.

func (ComputeNetworkBlockCollection) String ¶ added in v65.53.0

func (ComputeNetworkBlockCollection) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeNetworkBlockCollection) 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 ComputeNetworkBlockLifecycleStateEnum ¶ added in v65.53.0

type ComputeNetworkBlockLifecycleStateEnum string

ComputeNetworkBlockLifecycleStateEnum Enum with underlying type: string

const (
	ComputeNetworkBlockLifecycleStateActive   ComputeNetworkBlockLifecycleStateEnum = "ACTIVE"
	ComputeNetworkBlockLifecycleStateInactive ComputeNetworkBlockLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for ComputeNetworkBlockLifecycleStateEnum

func GetComputeNetworkBlockLifecycleStateEnumValues ¶ added in v65.53.0

func GetComputeNetworkBlockLifecycleStateEnumValues() []ComputeNetworkBlockLifecycleStateEnum

GetComputeNetworkBlockLifecycleStateEnumValues Enumerates the set of values for ComputeNetworkBlockLifecycleStateEnum

func GetMappingComputeNetworkBlockLifecycleStateEnum ¶ added in v65.53.0

func GetMappingComputeNetworkBlockLifecycleStateEnum(val string) (ComputeNetworkBlockLifecycleStateEnum, bool)

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

type ComputeNetworkBlockSummary ¶ added in v65.53.0

type ComputeNetworkBlockSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	ComputeHpcIslandId *string `mandatory:"true" json:"computeHpcIslandId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the compute network block.
	LifecycleState ComputeNetworkBlockLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time that the compute network block was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time that the compute network block was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The total number of compute bare metal hosts located in the compute network block.
	TotalComputeBareMetalHostCount *int64 `mandatory:"true" json:"totalComputeBareMetalHostCount"`
}

ComputeNetworkBlockSummary Summary information for a compute network block.

func (ComputeNetworkBlockSummary) String ¶ added in v65.53.0

func (ComputeNetworkBlockSummary) ValidateEnumValue ¶ added in v65.53.0

func (m ComputeNetworkBlockSummary) 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 ConnectLocalPeeringGatewaysDetails ¶

type ConnectLocalPeeringGatewaysDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LPG you want to peer with.
	PeerId *string `mandatory:"true" json:"peerId"`
}

ConnectLocalPeeringGatewaysDetails Information about the other local peering gateway (LPG).

func (ConnectLocalPeeringGatewaysDetails) String ¶

func (ConnectLocalPeeringGatewaysDetails) ValidateEnumValue ¶

func (m ConnectLocalPeeringGatewaysDetails) 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 ConnectLocalPeeringGatewaysRequest ¶

type ConnectLocalPeeringGatewaysRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway.
	LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"`

	// Details regarding the local peering gateway to connect.
	ConnectLocalPeeringGatewaysDetails `contributesTo:"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 `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
}

ConnectLocalPeeringGatewaysRequest wrapper for the ConnectLocalPeeringGateways operation

See also ¶

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

func (ConnectLocalPeeringGatewaysRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ConnectLocalPeeringGatewaysRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ConnectLocalPeeringGatewaysRequest) RetryPolicy ¶

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

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

func (ConnectLocalPeeringGatewaysRequest) String ¶

func (request ConnectLocalPeeringGatewaysRequest) String() string

func (ConnectLocalPeeringGatewaysRequest) ValidateEnumValue ¶

func (request ConnectLocalPeeringGatewaysRequest) 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 ConnectLocalPeeringGatewaysResponse ¶

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

ConnectLocalPeeringGatewaysResponse wrapper for the ConnectLocalPeeringGateways operation

func (ConnectLocalPeeringGatewaysResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ConnectLocalPeeringGatewaysResponse) String ¶

func (response ConnectLocalPeeringGatewaysResponse) String() string

type ConnectRemotePeeringConnectionsDetails ¶

type ConnectRemotePeeringConnectionsDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC you want to peer with.
	PeerId *string `mandatory:"true" json:"peerId"`

	// The name of the region that contains the RPC you want to peer with.
	// Example: `us-ashburn-1`
	PeerRegionName *string `mandatory:"true" json:"peerRegionName"`
}

ConnectRemotePeeringConnectionsDetails Information about the other remote peering connection (RPC).

func (ConnectRemotePeeringConnectionsDetails) String ¶

func (ConnectRemotePeeringConnectionsDetails) ValidateEnumValue ¶

func (m ConnectRemotePeeringConnectionsDetails) 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 ConnectRemotePeeringConnectionsRequest ¶

type ConnectRemotePeeringConnectionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
	RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"`

	// Details to connect peering connection with peering connection from remote region
	ConnectRemotePeeringConnectionsDetails `contributesTo:"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 `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
}

ConnectRemotePeeringConnectionsRequest wrapper for the ConnectRemotePeeringConnections operation

See also ¶

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

func (ConnectRemotePeeringConnectionsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ConnectRemotePeeringConnectionsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ConnectRemotePeeringConnectionsRequest) RetryPolicy ¶

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

func (ConnectRemotePeeringConnectionsRequest) String ¶

func (ConnectRemotePeeringConnectionsRequest) ValidateEnumValue ¶

func (request ConnectRemotePeeringConnectionsRequest) 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 ConnectRemotePeeringConnectionsResponse ¶

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

ConnectRemotePeeringConnectionsResponse wrapper for the ConnectRemotePeeringConnections operation

func (ConnectRemotePeeringConnectionsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ConnectRemotePeeringConnectionsResponse) String ¶

type ConsoleHistory ¶

type ConsoleHistory struct {

	// The availability domain of an instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the console history metadata object.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the instance this console history was fetched from.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The current state of the console history.
	LifecycleState ConsoleHistoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the history was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

ConsoleHistory An instance's serial console data. It includes configuration messages that occur when the instance boots, such as kernel and BIOS messages, and is useful for checking the status of the instance or diagnosing problems. The console data is minimally formatted ASCII text. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (ConsoleHistory) String ¶

func (m ConsoleHistory) String() string

func (ConsoleHistory) ValidateEnumValue ¶

func (m ConsoleHistory) 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 ConsoleHistoryLifecycleStateEnum ¶

type ConsoleHistoryLifecycleStateEnum string

ConsoleHistoryLifecycleStateEnum Enum with underlying type: string

const (
	ConsoleHistoryLifecycleStateRequested      ConsoleHistoryLifecycleStateEnum = "REQUESTED"
	ConsoleHistoryLifecycleStateGettingHistory ConsoleHistoryLifecycleStateEnum = "GETTING-HISTORY"
	ConsoleHistoryLifecycleStateSucceeded      ConsoleHistoryLifecycleStateEnum = "SUCCEEDED"
	ConsoleHistoryLifecycleStateFailed         ConsoleHistoryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ConsoleHistoryLifecycleStateEnum

func GetConsoleHistoryLifecycleStateEnumValues ¶

func GetConsoleHistoryLifecycleStateEnumValues() []ConsoleHistoryLifecycleStateEnum

GetConsoleHistoryLifecycleStateEnumValues Enumerates the set of values for ConsoleHistoryLifecycleStateEnum

func GetMappingConsoleHistoryLifecycleStateEnum ¶

func GetMappingConsoleHistoryLifecycleStateEnum(val string) (ConsoleHistoryLifecycleStateEnum, bool)

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

type CopyBootVolumeBackupDetails ¶

type CopyBootVolumeBackupDetails struct {

	// The name of the destination region.
	// Example: `us-ashburn-1`
	DestinationRegion *string `mandatory:"true" json:"destinationRegion"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the Vault service key in the destination region which will be the master encryption key
	// for the copied boot volume backup. If you do not specify this attribute the boot volume backup
	// will be encrypted with the Oracle-provided encryption key when it is copied to the destination region.
	//
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

CopyBootVolumeBackupDetails The representation of CopyBootVolumeBackupDetails

func (CopyBootVolumeBackupDetails) String ¶

func (CopyBootVolumeBackupDetails) ValidateEnumValue ¶

func (m CopyBootVolumeBackupDetails) 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 CopyBootVolumeBackupRequest ¶

type CopyBootVolumeBackupRequest struct {

	// The OCID of the boot volume backup.
	BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"`

	// Request to create a cross-region copy of given boot volume backup.
	CopyBootVolumeBackupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CopyBootVolumeBackupRequest wrapper for the CopyBootVolumeBackup operation

See also ¶

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

func (CopyBootVolumeBackupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CopyBootVolumeBackupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CopyBootVolumeBackupRequest) RetryPolicy ¶

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

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

func (CopyBootVolumeBackupRequest) String ¶

func (request CopyBootVolumeBackupRequest) String() string

func (CopyBootVolumeBackupRequest) ValidateEnumValue ¶

func (request CopyBootVolumeBackupRequest) 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 CopyBootVolumeBackupResponse ¶

type CopyBootVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeBackup instance
	BootVolumeBackup `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`

	// Location of the resource.
	ContentLocation *string `presentIn:"header" name:"content-location"`
}

CopyBootVolumeBackupResponse wrapper for the CopyBootVolumeBackup operation

func (CopyBootVolumeBackupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CopyBootVolumeBackupResponse) String ¶

func (response CopyBootVolumeBackupResponse) String() string

type CopyVolumeBackupDetails ¶

type CopyVolumeBackupDetails struct {

	// The name of the destination region.
	// Example: `us-ashburn-1`
	DestinationRegion *string `mandatory:"true" json:"destinationRegion"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the Vault service key in the destination region which will be the master encryption key
	// for the copied volume backup.
	// If you do not specify this attribute the volume backup will be encrypted with the Oracle-provided encryption
	// key when it is copied to the destination region.
	//
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

CopyVolumeBackupDetails The representation of CopyVolumeBackupDetails

func (CopyVolumeBackupDetails) String ¶

func (m CopyVolumeBackupDetails) String() string

func (CopyVolumeBackupDetails) ValidateEnumValue ¶

func (m CopyVolumeBackupDetails) 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 CopyVolumeBackupRequest ¶

type CopyVolumeBackupRequest struct {

	// The OCID of the volume backup.
	VolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeBackupId"`

	// Request to create a cross-region copy of given backup.
	CopyVolumeBackupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CopyVolumeBackupRequest wrapper for the CopyVolumeBackup operation

See also ¶

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

func (CopyVolumeBackupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CopyVolumeBackupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CopyVolumeBackupRequest) RetryPolicy ¶

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

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

func (CopyVolumeBackupRequest) String ¶

func (request CopyVolumeBackupRequest) String() string

func (CopyVolumeBackupRequest) ValidateEnumValue ¶

func (request CopyVolumeBackupRequest) 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 CopyVolumeBackupResponse ¶

type CopyVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackup instance
	VolumeBackup `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`

	// Location of the resource.
	ContentLocation *string `presentIn:"header" name:"content-location"`
}

CopyVolumeBackupResponse wrapper for the CopyVolumeBackup operation

func (CopyVolumeBackupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CopyVolumeBackupResponse) String ¶

func (response CopyVolumeBackupResponse) String() string

type CopyVolumeGroupBackupDetails ¶

type CopyVolumeGroupBackupDetails struct {

	// The name of the destination region.
	// Example: `us-ashburn-1`
	DestinationRegion *string `mandatory:"true" json:"destinationRegion"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the Vault service key in the destination region which will be the master encryption key
	// for the copied volume group backup.
	// If you do not specify this attribute the volume group backup will be encrypted with the Oracle-provided encryption
	// key when it is copied to the destination region.
	//
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

CopyVolumeGroupBackupDetails The representation of CopyVolumeGroupBackupDetails

func (CopyVolumeGroupBackupDetails) String ¶

func (CopyVolumeGroupBackupDetails) ValidateEnumValue ¶

func (m CopyVolumeGroupBackupDetails) 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 CopyVolumeGroupBackupRequest ¶

type CopyVolumeGroupBackupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
	VolumeGroupBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupBackupId"`

	// Request to create a cross-region copy of given volume group backup.
	CopyVolumeGroupBackupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CopyVolumeGroupBackupRequest wrapper for the CopyVolumeGroupBackup operation

See also ¶

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

func (CopyVolumeGroupBackupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CopyVolumeGroupBackupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CopyVolumeGroupBackupRequest) RetryPolicy ¶

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

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

func (CopyVolumeGroupBackupRequest) String ¶

func (request CopyVolumeGroupBackupRequest) String() string

func (CopyVolumeGroupBackupRequest) ValidateEnumValue ¶

func (request CopyVolumeGroupBackupRequest) 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 CopyVolumeGroupBackupResponse ¶

type CopyVolumeGroupBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroupBackup instance
	VolumeGroupBackup `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"`
}

CopyVolumeGroupBackupResponse wrapper for the CopyVolumeGroupBackup operation

func (CopyVolumeGroupBackupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CopyVolumeGroupBackupResponse) String ¶

func (response CopyVolumeGroupBackupResponse) String() string

type Cpe ¶

type Cpe struct {

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

	// The CPE's Oracle ID (OCID).
	Id *string `mandatory:"true" json:"id"`

	// The public IP address of the on-premises router.
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE's device type.
	// The Networking service maintains a general list of CPE device types (for example,
	// Cisco ASA). For each type, Oracle provides CPE configuration content that can help
	// a network engineer configure the CPE. The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) uniquely identifies the type of
	// device. To get the OCIDs for the device types on the list, see
	// ListCpeDeviceShapes.
	// For information about how to generate CPE configuration content for a
	// CPE device type, see:
	//   * GetCpeDeviceConfigContent
	//   * GetIpsecCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfig
	CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"`

	// The date and time the CPE was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Indicates whether this CPE is of type `private` or not.
	IsPrivate *bool `mandatory:"false" json:"isPrivate"`
}

Cpe An object you create when setting up a Site-to-Site VPN between your on-premises network and VCN. The `Cpe` is a virtual representation of your customer-premises equipment, which is the actual router on-premises at your site at your end of the Site-to-Site VPN IPSec connection. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Cpe) String ¶

func (m Cpe) String() string

func (Cpe) ValidateEnumValue ¶

func (m Cpe) 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 CpeDeviceConfigAnswer ¶

type CpeDeviceConfigAnswer struct {

	// A string that identifies the question to be answered. See the `key` attribute in
	// CpeDeviceConfigQuestion.
	Key *string `mandatory:"false" json:"key"`

	// The answer to the question.
	Value *string `mandatory:"false" json:"value"`
}

CpeDeviceConfigAnswer An individual answer to a CPE device question. The answers correlate to the questions that are specific to the CPE device type (see the `parameters` attribute of CpeDeviceShapeDetail).

func (CpeDeviceConfigAnswer) String ¶

func (m CpeDeviceConfigAnswer) String() string

func (CpeDeviceConfigAnswer) ValidateEnumValue ¶

func (m CpeDeviceConfigAnswer) 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 CpeDeviceConfigQuestion ¶

type CpeDeviceConfigQuestion struct {

	// A string that identifies the question.
	Key *string `mandatory:"false" json:"key"`

	// A descriptive label for the question (for example, to display in a form in a graphical interface).
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A description or explanation of the question, to help the customer answer accurately.
	Explanation *string `mandatory:"false" json:"explanation"`
}

CpeDeviceConfigQuestion An individual question that the customer can answer about the CPE device. The customer provides answers to these questions in UpdateTunnelCpeDeviceConfig.

func (CpeDeviceConfigQuestion) String ¶

func (m CpeDeviceConfigQuestion) String() string

func (CpeDeviceConfigQuestion) ValidateEnumValue ¶

func (m CpeDeviceConfigQuestion) 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 CpeDeviceInfo ¶

type CpeDeviceInfo struct {

	// The vendor that makes the CPE device.
	Vendor *string `mandatory:"false" json:"vendor"`

	// The platform or software version of the CPE device.
	PlatformSoftwareVersion *string `mandatory:"false" json:"platformSoftwareVersion"`
}

CpeDeviceInfo Basic information about a particular CPE device type.

func (CpeDeviceInfo) String ¶

func (m CpeDeviceInfo) String() string

func (CpeDeviceInfo) ValidateEnumValue ¶

func (m CpeDeviceInfo) 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 CpeDeviceShapeDetail ¶

type CpeDeviceShapeDetail struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape.
	// This value uniquely identifies the type of CPE device.
	CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"`

	CpeDeviceInfo *CpeDeviceInfo `mandatory:"false" json:"cpeDeviceInfo"`

	// For certain CPE devices types, the customer can provide answers to
	// questions that are specific to the device type. This attribute contains
	// a list of those questions. The Networking service merges the answers with
	// other information and renders a set of CPE configuration content. To
	// provide the answers, use
	// UpdateTunnelCpeDeviceConfig.
	Parameters []CpeDeviceConfigQuestion `mandatory:"false" json:"parameters"`

	// A template of CPE device configuration information that will be merged with the customer's
	// answers to the questions to render the final CPE device configuration content. Also see:
	//   * GetCpeDeviceConfigContent
	//   * GetIpsecCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfigContent
	Template *string `mandatory:"false" json:"template"`
}

CpeDeviceShapeDetail The detailed information about a particular CPE device type. Compare with CpeDeviceShapeSummary.

func (CpeDeviceShapeDetail) String ¶

func (m CpeDeviceShapeDetail) String() string

func (CpeDeviceShapeDetail) ValidateEnumValue ¶

func (m CpeDeviceShapeDetail) 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 CpeDeviceShapeSummary ¶

type CpeDeviceShapeSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape.
	// This value uniquely identifies the type of CPE device.
	Id *string `mandatory:"false" json:"id"`

	CpeDeviceInfo *CpeDeviceInfo `mandatory:"false" json:"cpeDeviceInfo"`
}

CpeDeviceShapeSummary A summary of information about a particular CPE device type. Compare with CpeDeviceShapeDetail.

func (CpeDeviceShapeSummary) String ¶

func (m CpeDeviceShapeSummary) String() string

func (CpeDeviceShapeSummary) ValidateEnumValue ¶

func (m CpeDeviceShapeSummary) 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 CreateAppCatalogSubscriptionDetails ¶

type CreateAppCatalogSubscriptionDetails struct {

	// The compartmentID for the subscription.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the listing.
	ListingId *string `mandatory:"true" json:"listingId"`

	// Listing resource version.
	ListingResourceVersion *string `mandatory:"true" json:"listingResourceVersion"`

	// Oracle TOU link
	OracleTermsOfUseLink *string `mandatory:"true" json:"oracleTermsOfUseLink"`

	// Date and time the agreements were retrieved, in RFC3339 (https://tools.ietf.org/html/rfc3339) format.
	// Example: `2018-03-20T12:32:53.532Z`
	TimeRetrieved *common.SDKTime `mandatory:"true" json:"timeRetrieved"`

	// A generated signature for this listing resource version retrieved the agreements API.
	Signature *string `mandatory:"true" json:"signature"`

	// EULA link
	EulaLink *string `mandatory:"false" json:"eulaLink"`
}

CreateAppCatalogSubscriptionDetails details for creating a subscription for a listing resource version.

func (CreateAppCatalogSubscriptionDetails) String ¶

func (CreateAppCatalogSubscriptionDetails) ValidateEnumValue ¶

func (m CreateAppCatalogSubscriptionDetails) 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 CreateAppCatalogSubscriptionRequest ¶

type CreateAppCatalogSubscriptionRequest struct {

	// Request for the creation of a subscription for listing resource version for a compartment.
	CreateAppCatalogSubscriptionDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateAppCatalogSubscriptionRequest wrapper for the CreateAppCatalogSubscription operation

See also ¶

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

func (CreateAppCatalogSubscriptionRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAppCatalogSubscriptionRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateAppCatalogSubscriptionRequest) RetryPolicy ¶

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

func (CreateAppCatalogSubscriptionRequest) String ¶

func (CreateAppCatalogSubscriptionRequest) ValidateEnumValue ¶

func (request CreateAppCatalogSubscriptionRequest) 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 CreateAppCatalogSubscriptionResponse ¶

type CreateAppCatalogSubscriptionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AppCatalogSubscription instance
	AppCatalogSubscription `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"`
}

CreateAppCatalogSubscriptionResponse wrapper for the CreateAppCatalogSubscription operation

func (CreateAppCatalogSubscriptionResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateAppCatalogSubscriptionResponse) String ¶

func (response CreateAppCatalogSubscriptionResponse) String() string

type CreateBootVolumeBackupDetails ¶

type CreateBootVolumeBackupDetails struct {

	// The OCID of the boot volume that needs to be backed up.
	BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The type of backup to create. If omitted, defaults to incremental.
	Type CreateBootVolumeBackupDetailsTypeEnum `mandatory:"false" json:"type,omitempty"`

	// The OCID of the Vault service key which is the master encryption key for the volume backup.
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

CreateBootVolumeBackupDetails The representation of CreateBootVolumeBackupDetails

func (CreateBootVolumeBackupDetails) String ¶

func (CreateBootVolumeBackupDetails) ValidateEnumValue ¶

func (m CreateBootVolumeBackupDetails) 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 CreateBootVolumeBackupDetailsTypeEnum ¶

type CreateBootVolumeBackupDetailsTypeEnum string

CreateBootVolumeBackupDetailsTypeEnum Enum with underlying type: string

const (
	CreateBootVolumeBackupDetailsTypeFull        CreateBootVolumeBackupDetailsTypeEnum = "FULL"
	CreateBootVolumeBackupDetailsTypeIncremental CreateBootVolumeBackupDetailsTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for CreateBootVolumeBackupDetailsTypeEnum

func GetCreateBootVolumeBackupDetailsTypeEnumValues ¶

func GetCreateBootVolumeBackupDetailsTypeEnumValues() []CreateBootVolumeBackupDetailsTypeEnum

GetCreateBootVolumeBackupDetailsTypeEnumValues Enumerates the set of values for CreateBootVolumeBackupDetailsTypeEnum

func GetMappingCreateBootVolumeBackupDetailsTypeEnum ¶

func GetMappingCreateBootVolumeBackupDetailsTypeEnum(val string) (CreateBootVolumeBackupDetailsTypeEnum, bool)

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

type CreateBootVolumeBackupRequest ¶

type CreateBootVolumeBackupRequest struct {

	// Request to create a new backup of given boot volume.
	CreateBootVolumeBackupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateBootVolumeBackupRequest wrapper for the CreateBootVolumeBackup operation

See also ¶

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

func (CreateBootVolumeBackupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBootVolumeBackupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateBootVolumeBackupRequest) RetryPolicy ¶

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

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

func (CreateBootVolumeBackupRequest) String ¶

func (request CreateBootVolumeBackupRequest) String() string

func (CreateBootVolumeBackupRequest) ValidateEnumValue ¶

func (request CreateBootVolumeBackupRequest) 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 CreateBootVolumeBackupResponse ¶

type CreateBootVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeBackup instance
	BootVolumeBackup `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"`
}

CreateBootVolumeBackupResponse wrapper for the CreateBootVolumeBackup operation

func (CreateBootVolumeBackupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateBootVolumeBackupResponse) String ¶

func (response CreateBootVolumeBackupResponse) String() string

type CreateBootVolumeDetails ¶

type CreateBootVolumeDetails struct {

	// The OCID of the compartment that contains the boot volume.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	SourceDetails BootVolumeSourceDetails `mandatory:"true" json:"sourceDetails"`

	// The availability domain of the volume. Omissible for cloning a volume. The new volume will be created in the availability domain of the source volume.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// If provided, specifies the ID of the boot volume backup policy to assign to the newly
	// created boot volume. If omitted, no policy will be assigned.
	BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the Vault service key to assign as the master encryption key
	// for the boot volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The size of the volume in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// The clusterPlacementGroup Id of the volume for volume placement.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `10`: Represents the Balanced option.
	//   * `20`: Represents the Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated.
	// Use the `DetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The list of boot volume replicas to be enabled for this boot volume
	// in the specified destination availability domains.
	BootVolumeReplicas []BootVolumeReplicaDetails `mandatory:"false" json:"bootVolumeReplicas"`

	// The list of autotune policies to be enabled for this volume.
	AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

CreateBootVolumeDetails The representation of CreateBootVolumeDetails

func (CreateBootVolumeDetails) String ¶

func (m CreateBootVolumeDetails) String() string

func (*CreateBootVolumeDetails) UnmarshalJSON ¶

func (m *CreateBootVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateBootVolumeDetails) ValidateEnumValue ¶

func (m CreateBootVolumeDetails) 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 CreateBootVolumeRequest ¶

type CreateBootVolumeRequest struct {

	// Request to create a new boot volume.
	CreateBootVolumeDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateBootVolumeRequest wrapper for the CreateBootVolume operation

See also ¶

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

func (CreateBootVolumeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBootVolumeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateBootVolumeRequest) RetryPolicy ¶

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

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

func (CreateBootVolumeRequest) String ¶

func (request CreateBootVolumeRequest) String() string

func (CreateBootVolumeRequest) ValidateEnumValue ¶

func (request CreateBootVolumeRequest) 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 CreateBootVolumeResponse ¶

type CreateBootVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolume instance
	BootVolume `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"`
}

CreateBootVolumeResponse wrapper for the CreateBootVolume operation

func (CreateBootVolumeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateBootVolumeResponse) String ¶

func (response CreateBootVolumeResponse) String() string

type CreateByoipRangeDetails ¶

type CreateByoipRangeDetails struct {

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

	// The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is validated.
	// Example: `10.0.1.0/24`
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// The BYOIPv6 prefix. You can assign some or all of it to a VCN after it is validated.
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateByoipRangeDetails The information used to create a `ByoipRange` resource.

func (CreateByoipRangeDetails) String ¶

func (m CreateByoipRangeDetails) String() string

func (CreateByoipRangeDetails) ValidateEnumValue ¶

func (m CreateByoipRangeDetails) 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 CreateByoipRangeRequest ¶

type CreateByoipRangeRequest struct {

	// Details needed to create a BYOIP CIDR block subrange.
	CreateByoipRangeDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

CreateByoipRangeRequest wrapper for the CreateByoipRange operation

See also ¶

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

func (CreateByoipRangeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateByoipRangeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateByoipRangeRequest) RetryPolicy ¶

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

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

func (CreateByoipRangeRequest) String ¶

func (request CreateByoipRangeRequest) String() string

func (CreateByoipRangeRequest) ValidateEnumValue ¶

func (request CreateByoipRangeRequest) 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 CreateByoipRangeResponse ¶

type CreateByoipRangeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ByoipRange instance
	ByoipRange `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"`
}

CreateByoipRangeResponse wrapper for the CreateByoipRange operation

func (CreateByoipRangeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateByoipRangeResponse) String ¶

func (response CreateByoipRangeResponse) String() string

type CreateCapacityReportShapeAvailabilityDetails ¶ added in v65.29.0

type CreateCapacityReportShapeAvailabilityDetails struct {

	// The shape that you want to request a capacity report for. You can enumerate all available shapes by calling
	// ListShapes.
	InstanceShape *string `mandatory:"true" json:"instanceShape"`

	// The fault domain for the capacity report.
	// If you do not specify a fault domain, the capacity report includes information about all fault domains.
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	InstanceShapeConfig *CapacityReportInstanceShapeConfig `mandatory:"false" json:"instanceShapeConfig"`
}

CreateCapacityReportShapeAvailabilityDetails Information about the shapes in a capacity report.

func (CreateCapacityReportShapeAvailabilityDetails) String ¶ added in v65.29.0

func (CreateCapacityReportShapeAvailabilityDetails) ValidateEnumValue ¶ added in v65.29.0

func (m CreateCapacityReportShapeAvailabilityDetails) 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 CreateCapacitySourceDetails ¶ added in v65.53.0

type CreateCapacitySourceDetails interface {
}

CreateCapacitySourceDetails A capacity source of bare metal hosts.

type CreateCaptureFilterDetails ¶ added in v65.3.0

type CreateCaptureFilterDetails struct {

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

	// Indicates which service will use this capture filter
	FilterType CreateCaptureFilterDetailsFilterTypeEnum `mandatory:"true" json:"filterType"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The set of rules governing what traffic a VTAP mirrors.
	VtapCaptureFilterRules []VtapCaptureFilterRuleDetails `mandatory:"false" json:"vtapCaptureFilterRules"`

	// The set of rules governing what traffic the VCN flow log collects.
	FlowLogCaptureFilterRules []FlowLogCaptureFilterRuleDetails `mandatory:"false" json:"flowLogCaptureFilterRules"`
}

CreateCaptureFilterDetails A capture filter contains a set of rules governing what traffic a VTAP mirrors or a VCN flow log collects.

func (CreateCaptureFilterDetails) String ¶ added in v65.3.0

func (CreateCaptureFilterDetails) ValidateEnumValue ¶ added in v65.3.0

func (m CreateCaptureFilterDetails) 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 CreateCaptureFilterDetailsFilterTypeEnum ¶ added in v65.3.0

type CreateCaptureFilterDetailsFilterTypeEnum string

CreateCaptureFilterDetailsFilterTypeEnum Enum with underlying type: string

const (
	CreateCaptureFilterDetailsFilterTypeVtap    CreateCaptureFilterDetailsFilterTypeEnum = "VTAP"
	CreateCaptureFilterDetailsFilterTypeFlowlog CreateCaptureFilterDetailsFilterTypeEnum = "FLOWLOG"
)

Set of constants representing the allowable values for CreateCaptureFilterDetailsFilterTypeEnum

func GetCreateCaptureFilterDetailsFilterTypeEnumValues ¶ added in v65.3.0

func GetCreateCaptureFilterDetailsFilterTypeEnumValues() []CreateCaptureFilterDetailsFilterTypeEnum

GetCreateCaptureFilterDetailsFilterTypeEnumValues Enumerates the set of values for CreateCaptureFilterDetailsFilterTypeEnum

func GetMappingCreateCaptureFilterDetailsFilterTypeEnum ¶ added in v65.3.0

func GetMappingCreateCaptureFilterDetailsFilterTypeEnum(val string) (CreateCaptureFilterDetailsFilterTypeEnum, bool)

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

type CreateCaptureFilterRequest ¶ added in v65.3.0

type CreateCaptureFilterRequest struct {

	// Details for creating a capture filter.
	CreateCaptureFilterDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateCaptureFilterRequest wrapper for the CreateCaptureFilter operation

See also ¶

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

func (CreateCaptureFilterRequest) BinaryRequestBody ¶ added in v65.3.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateCaptureFilterRequest) HTTPRequest ¶ added in v65.3.0

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

HTTPRequest implements the OCIRequest interface

func (CreateCaptureFilterRequest) RetryPolicy ¶ added in v65.3.0

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

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

func (CreateCaptureFilterRequest) String ¶ added in v65.3.0

func (request CreateCaptureFilterRequest) String() string

func (CreateCaptureFilterRequest) ValidateEnumValue ¶ added in v65.3.0

func (request CreateCaptureFilterRequest) 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 CreateCaptureFilterResponse ¶ added in v65.3.0

type CreateCaptureFilterResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CaptureFilter instance
	CaptureFilter `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"`
}

CreateCaptureFilterResponse wrapper for the CreateCaptureFilter operation

func (CreateCaptureFilterResponse) HTTPResponse ¶ added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateCaptureFilterResponse) String ¶ added in v65.3.0

func (response CreateCaptureFilterResponse) String() string

type CreateClusterNetworkDetails ¶

type CreateClusterNetworkDetails struct {

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

	// The data to create the instance pools in the cluster network.
	// Each cluster network can have one instance pool.
	InstancePools []CreateClusterNetworkInstancePoolDetails `mandatory:"true" json:"instancePools"`

	PlacementConfiguration *ClusterNetworkPlacementConfigurationDetails `mandatory:"true" json:"placementConfiguration"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	ClusterConfiguration *ClusterConfigurationDetails `mandatory:"false" json:"clusterConfiguration"`
}

CreateClusterNetworkDetails The data to create a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). Use cluster networks with instance pools when you want predictable capacity for a specific number of identical instances that are managed as a group. For details about creating compute clusters, which let you manage instances in the RDMA network independently of each other or use different types of instances in the network group, see CreateComputeClusterDetails.

func (CreateClusterNetworkDetails) String ¶

func (CreateClusterNetworkDetails) ValidateEnumValue ¶

func (m CreateClusterNetworkDetails) 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 CreateClusterNetworkInstancePoolDetails ¶

type CreateClusterNetworkInstancePoolDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration
	// associated with the instance pool.
	InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"`

	// The number of instances that should be in the instance pool.
	Size *int `mandatory:"true" json:"size"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateClusterNetworkInstancePoolDetails The data to create an instance pool in a cluster network.

func (CreateClusterNetworkInstancePoolDetails) String ¶

func (CreateClusterNetworkInstancePoolDetails) ValidateEnumValue ¶

func (m CreateClusterNetworkInstancePoolDetails) 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 CreateClusterNetworkRequest ¶

type CreateClusterNetworkRequest struct {

	// Cluster network creation details
	CreateClusterNetworkDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateClusterNetworkRequest wrapper for the CreateClusterNetwork operation

See also ¶

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

func (CreateClusterNetworkRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateClusterNetworkRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateClusterNetworkRequest) RetryPolicy ¶

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

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

func (CreateClusterNetworkRequest) String ¶

func (request CreateClusterNetworkRequest) String() string

func (CreateClusterNetworkRequest) ValidateEnumValue ¶

func (request CreateClusterNetworkRequest) 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 CreateClusterNetworkResponse ¶

type CreateClusterNetworkResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ClusterNetwork instance
	ClusterNetwork `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateClusterNetworkResponse wrapper for the CreateClusterNetwork operation

func (CreateClusterNetworkResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateClusterNetworkResponse) String ¶

func (response CreateClusterNetworkResponse) String() string

type CreateComputeCapacityReportDetails ¶ added in v65.29.0

type CreateComputeCapacityReportDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root
	// compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The availability domain for the capacity report.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// Information about the shapes in the capacity report.
	ShapeAvailabilities []CreateCapacityReportShapeAvailabilityDetails `mandatory:"true" json:"shapeAvailabilities"`
}

CreateComputeCapacityReportDetails The data to create a report of available Compute capacity.

func (CreateComputeCapacityReportDetails) String ¶ added in v65.29.0

func (CreateComputeCapacityReportDetails) ValidateEnumValue ¶ added in v65.29.0

func (m CreateComputeCapacityReportDetails) 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 CreateComputeCapacityReportRequest ¶ added in v65.29.0

type CreateComputeCapacityReportRequest struct {

	// Details for creating a new compute capacity report.
	CreateComputeCapacityReportDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

CreateComputeCapacityReportRequest wrapper for the CreateComputeCapacityReport operation

See also ¶

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

func (CreateComputeCapacityReportRequest) BinaryRequestBody ¶ added in v65.29.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateComputeCapacityReportRequest) HTTPRequest ¶ added in v65.29.0

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

HTTPRequest implements the OCIRequest interface

func (CreateComputeCapacityReportRequest) RetryPolicy ¶ added in v65.29.0

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

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

func (CreateComputeCapacityReportRequest) String ¶ added in v65.29.0

func (request CreateComputeCapacityReportRequest) String() string

func (CreateComputeCapacityReportRequest) ValidateEnumValue ¶ added in v65.29.0

func (request CreateComputeCapacityReportRequest) 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 CreateComputeCapacityReportResponse ¶ added in v65.29.0

type CreateComputeCapacityReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCapacityReport instance
	ComputeCapacityReport `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"`
}

CreateComputeCapacityReportResponse wrapper for the CreateComputeCapacityReport operation

func (CreateComputeCapacityReportResponse) HTTPResponse ¶ added in v65.29.0

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

HTTPResponse implements the OCIResponse interface

func (CreateComputeCapacityReportResponse) String ¶ added in v65.29.0

func (response CreateComputeCapacityReportResponse) String() string

type CreateComputeCapacityReservationDetails ¶

type CreateComputeCapacityReservationDetails struct {

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

	// The availability domain of this compute capacity reservation.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether this capacity reservation is the default.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"`

	// The capacity configurations for the capacity reservation.
	// To use the reservation for the desired shape, specify the shape, count, and
	// optionally the fault domain where you want this configuration.
	InstanceReservationConfigs []InstanceReservationConfigDetails `mandatory:"false" json:"instanceReservationConfigs"`
}

CreateComputeCapacityReservationDetails The details for creating a new compute capacity reservation.

func (CreateComputeCapacityReservationDetails) String ¶

func (CreateComputeCapacityReservationDetails) ValidateEnumValue ¶

func (m CreateComputeCapacityReservationDetails) 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 CreateComputeCapacityReservationRequest ¶

type CreateComputeCapacityReservationRequest struct {

	// Details for creating a new compute capacity reservation.
	// **Caution:** Avoid using any confidential information when you use the API to supply string values.
	CreateComputeCapacityReservationDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

CreateComputeCapacityReservationRequest wrapper for the CreateComputeCapacityReservation operation

See also ¶

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

func (CreateComputeCapacityReservationRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateComputeCapacityReservationRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateComputeCapacityReservationRequest) RetryPolicy ¶

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

func (CreateComputeCapacityReservationRequest) String ¶

func (CreateComputeCapacityReservationRequest) ValidateEnumValue ¶

func (request CreateComputeCapacityReservationRequest) 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 CreateComputeCapacityReservationResponse ¶

type CreateComputeCapacityReservationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCapacityReservation instance
	ComputeCapacityReservation `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`
}

CreateComputeCapacityReservationResponse wrapper for the CreateComputeCapacityReservation operation

func (CreateComputeCapacityReservationResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateComputeCapacityReservationResponse) String ¶

type CreateComputeCapacityTopologyDetails ¶ added in v65.53.0

type CreateComputeCapacityTopologyDetails struct {

	// The availability domain of this compute capacity topology.
	// Example: `Uocm:US-CHICAGO-1-AD-2`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	CapacitySource CreateCapacitySourceDetails `mandatory:"true" json:"capacitySource"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this compute capacity topology.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateComputeCapacityTopologyDetails The details for creating a new compute capacity topology.

func (CreateComputeCapacityTopologyDetails) String ¶ added in v65.53.0

func (*CreateComputeCapacityTopologyDetails) UnmarshalJSON ¶ added in v65.53.0

func (m *CreateComputeCapacityTopologyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateComputeCapacityTopologyDetails) ValidateEnumValue ¶ added in v65.53.0

func (m CreateComputeCapacityTopologyDetails) 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 CreateComputeCapacityTopologyRequest ¶ added in v65.53.0

type CreateComputeCapacityTopologyRequest struct {

	// Details for creating a new compute capacity topology.
	CreateComputeCapacityTopologyDetails `contributesTo:"body"`

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

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

CreateComputeCapacityTopologyRequest wrapper for the CreateComputeCapacityTopology operation

See also ¶

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

func (CreateComputeCapacityTopologyRequest) BinaryRequestBody ¶ added in v65.53.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateComputeCapacityTopologyRequest) HTTPRequest ¶ added in v65.53.0

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

HTTPRequest implements the OCIRequest interface

func (CreateComputeCapacityTopologyRequest) RetryPolicy ¶ added in v65.53.0

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

func (CreateComputeCapacityTopologyRequest) String ¶ added in v65.53.0

func (CreateComputeCapacityTopologyRequest) ValidateEnumValue ¶ added in v65.53.0

func (request CreateComputeCapacityTopologyRequest) 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 CreateComputeCapacityTopologyResponse ¶ added in v65.53.0

type CreateComputeCapacityTopologyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

	// Location of the resource.
	Location *string `presentIn:"header" name:"location"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateComputeCapacityTopologyResponse wrapper for the CreateComputeCapacityTopology operation

func (CreateComputeCapacityTopologyResponse) HTTPResponse ¶ added in v65.53.0

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

HTTPResponse implements the OCIResponse interface

func (CreateComputeCapacityTopologyResponse) String ¶ added in v65.53.0

type CreateComputeClusterDetails ¶ added in v65.33.1

type CreateComputeClusterDetails struct {

	// The availability domain to place the compute cluster in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

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

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateComputeClusterDetails The data for creating a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster is an empty remote direct memory access (RDMA) network group After the compute cluster is created, you can use the compute cluster's OCID with the LaunchInstance operation to create instances in the compute cluster. The instances must be created in the same compartment and availability domain as the cluster. Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group. For details about creating a cluster network that uses instance pools to manage groups of identical instances, see CreateClusterNetworkDetails.

func (CreateComputeClusterDetails) String ¶ added in v65.33.1

func (CreateComputeClusterDetails) ValidateEnumValue ¶ added in v65.33.1

func (m CreateComputeClusterDetails) 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 CreateComputeClusterRequest ¶ added in v65.33.1

type CreateComputeClusterRequest struct {

	// The data for creating a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster
	// is an empty remote direct memory access (RDMA) network group.
	// After the compute cluster is created, you can use the compute cluster's OCID with the
	// LaunchInstance operation to create instances in the compute cluster.
	// The instances must be created in the same compartment and availability domain as the cluster.
	// Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
	// For details about creating a cluster network that uses instance pools to manage groups of identical instances,
	// see CreateClusterNetworkDetails.
	CreateComputeClusterDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateComputeClusterRequest wrapper for the CreateComputeCluster operation

See also ¶

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

func (CreateComputeClusterRequest) BinaryRequestBody ¶ added in v65.33.1

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

BinaryRequestBody implements the OCIRequest interface

func (CreateComputeClusterRequest) HTTPRequest ¶ added in v65.33.1

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

HTTPRequest implements the OCIRequest interface

func (CreateComputeClusterRequest) RetryPolicy ¶ added in v65.33.1

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

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

func (CreateComputeClusterRequest) String ¶ added in v65.33.1

func (request CreateComputeClusterRequest) String() string

func (CreateComputeClusterRequest) ValidateEnumValue ¶ added in v65.33.1

func (request CreateComputeClusterRequest) 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 CreateComputeClusterResponse ¶ added in v65.33.1

type CreateComputeClusterResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCluster instance
	ComputeCluster `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"`
}

CreateComputeClusterResponse wrapper for the CreateComputeCluster operation

func (CreateComputeClusterResponse) HTTPResponse ¶ added in v65.33.1

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

HTTPResponse implements the OCIResponse interface

func (CreateComputeClusterResponse) String ¶ added in v65.33.1

func (response CreateComputeClusterResponse) String() string

type CreateComputeImageCapabilitySchemaDetails ¶

type CreateComputeImageCapabilitySchemaDetails struct {

	// The OCID of the compartment that contains the resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The name of the compute global image capability schema version
	ComputeGlobalImageCapabilitySchemaVersionName *string `mandatory:"true" json:"computeGlobalImageCapabilitySchemaVersionName"`

	// The ocid of the image
	ImageId *string `mandatory:"true" json:"imageId"`

	// The map of each capability name to its ImageCapabilitySchemaDescriptor.
	SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"true" json:"schemaData"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateComputeImageCapabilitySchemaDetails Create Image Capability Schema for an image.

func (CreateComputeImageCapabilitySchemaDetails) String ¶

func (*CreateComputeImageCapabilitySchemaDetails) UnmarshalJSON ¶

func (m *CreateComputeImageCapabilitySchemaDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateComputeImageCapabilitySchemaDetails) ValidateEnumValue ¶

func (m CreateComputeImageCapabilitySchemaDetails) 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 CreateComputeImageCapabilitySchemaRequest ¶

type CreateComputeImageCapabilitySchemaRequest struct {

	// Compute Image Capability Schema creation details
	CreateComputeImageCapabilitySchemaDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateComputeImageCapabilitySchemaRequest wrapper for the CreateComputeImageCapabilitySchema operation

See also ¶

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

func (CreateComputeImageCapabilitySchemaRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (CreateComputeImageCapabilitySchemaRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateComputeImageCapabilitySchemaRequest) RetryPolicy ¶

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

func (CreateComputeImageCapabilitySchemaRequest) String ¶

func (CreateComputeImageCapabilitySchemaRequest) ValidateEnumValue ¶

func (request CreateComputeImageCapabilitySchemaRequest) 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 CreateComputeImageCapabilitySchemaResponse ¶

type CreateComputeImageCapabilitySchemaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeImageCapabilitySchema instance
	ComputeImageCapabilitySchema `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"`
}

CreateComputeImageCapabilitySchemaResponse wrapper for the CreateComputeImageCapabilitySchema operation

func (CreateComputeImageCapabilitySchemaResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateComputeImageCapabilitySchemaResponse) String ¶

type CreateCpeDetails ¶

type CreateCpeDetails struct {

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

	// The public IP address of the on-premises router.
	// Example: `203.0.113.2`
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide
	// a value if you want to later generate CPE device configuration content for IPSec connections
	// that use this CPE. You can also call UpdateCpe later to
	// provide a value. For a list of possible values, see
	// ListCpeDeviceShapes.
	// For more information about generating CPE device configuration content, see:
	//   * GetCpeDeviceConfigContent
	//   * GetIpsecCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfig
	CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"`

	// Indicates whether this CPE is of type `private` or not.
	IsPrivate *bool `mandatory:"false" json:"isPrivate"`
}

CreateCpeDetails The representation of CreateCpeDetails

func (CreateCpeDetails) String ¶

func (m CreateCpeDetails) String() string

func (CreateCpeDetails) ValidateEnumValue ¶

func (m CreateCpeDetails) 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 CreateCpeRequest ¶

type CreateCpeRequest struct {

	// Details for creating a CPE.
	CreateCpeDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateCpeRequest wrapper for the CreateCpe operation

See also ¶

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

func (CreateCpeRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateCpeRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateCpeRequest) RetryPolicy ¶

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

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

func (CreateCpeRequest) String ¶

func (request CreateCpeRequest) String() string

func (CreateCpeRequest) ValidateEnumValue ¶

func (request CreateCpeRequest) 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 CreateCpeResponse ¶

type CreateCpeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Cpe instance
	Cpe `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"`
}

CreateCpeResponse wrapper for the CreateCpe operation

func (CreateCpeResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateCpeResponse) String ¶

func (response CreateCpeResponse) String() string

type CreateCrossConnectDetails ¶

type CreateCrossConnectDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The name of the FastConnect location where this cross-connect will be installed.
	// To get a list of the available locations, see
	// ListCrossConnectLocations.
	// Example: `CyrusOne, Chandler, AZ`
	LocationName *string `mandatory:"true" json:"locationName"`

	// The port speed for this cross-connect. To get a list of the available port speeds, see
	// ListCrossconnectPortSpeedShapes.
	// Example: `10 Gbps`
	PortSpeedShapeName *string `mandatory:"true" json:"portSpeedShapeName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group to put this cross-connect in.
	CrossConnectGroupId *string `mandatory:"false" json:"crossConnectGroupId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// If you already have an existing cross-connect or cross-connect group at this FastConnect
	// location, and you want this new cross-connect to be on a different router (for the
	// purposes of redundancy), provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or
	// cross-connect group.
	FarCrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"farCrossConnectOrCrossConnectGroupId"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// If you already have an existing cross-connect or cross-connect group at this FastConnect
	// location, and you want this new cross-connect to be on the same router, provide the
	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or cross-connect group.
	NearCrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"nearCrossConnectOrCrossConnectGroupId"`

	// A reference name or identifier for the physical fiber connection that this cross-connect
	// uses.
	CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"`

	MacsecProperties *CreateMacsecProperties `mandatory:"false" json:"macsecProperties"`
}

CreateCrossConnectDetails The representation of CreateCrossConnectDetails

func (CreateCrossConnectDetails) String ¶

func (m CreateCrossConnectDetails) String() string

func (CreateCrossConnectDetails) ValidateEnumValue ¶

func (m CreateCrossConnectDetails) 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 CreateCrossConnectGroupDetails ¶

type CreateCrossConnectGroupDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A reference name or identifier for the physical fiber connection that this cross-connect
	// group uses.
	CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	MacsecProperties *CreateMacsecProperties `mandatory:"false" json:"macsecProperties"`
}

CreateCrossConnectGroupDetails The representation of CreateCrossConnectGroupDetails

func (CreateCrossConnectGroupDetails) String ¶

func (CreateCrossConnectGroupDetails) ValidateEnumValue ¶

func (m CreateCrossConnectGroupDetails) 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 CreateCrossConnectGroupRequest ¶

type CreateCrossConnectGroupRequest struct {

	// Details to create a CrossConnectGroup
	CreateCrossConnectGroupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateCrossConnectGroupRequest wrapper for the CreateCrossConnectGroup operation

See also ¶

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

func (CreateCrossConnectGroupRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateCrossConnectGroupRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateCrossConnectGroupRequest) RetryPolicy ¶

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

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

func (CreateCrossConnectGroupRequest) String ¶

func (request CreateCrossConnectGroupRequest) String() string

func (CreateCrossConnectGroupRequest) ValidateEnumValue ¶

func (request CreateCrossConnectGroupRequest) 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 CreateCrossConnectGroupResponse ¶

type CreateCrossConnectGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnectGroup instance
	CrossConnectGroup `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"`
}

CreateCrossConnectGroupResponse wrapper for the CreateCrossConnectGroup operation

func (CreateCrossConnectGroupResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateCrossConnectGroupResponse) String ¶

func (response CreateCrossConnectGroupResponse) String() string

type CreateCrossConnectRequest ¶

type CreateCrossConnectRequest struct {

	// Details to create a CrossConnect
	CreateCrossConnectDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateCrossConnectRequest wrapper for the CreateCrossConnect operation

See also ¶

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

func (CreateCrossConnectRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreateCrossConnectRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreateCrossConnectRequest) RetryPolicy ¶

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

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

func (CreateCrossConnectRequest) String ¶

func (request CreateCrossConnectRequest) String() string

func (CreateCrossConnectRequest) ValidateEnumValue ¶

func (request CreateCrossConnectRequest) 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 CreateCrossConnectResponse ¶

type CreateCrossConnectResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnect instance
	CrossConnect `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"`
}

CreateCrossConnectResponse wrapper for the CreateCrossConnect operation

func (CreateCrossConnectResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreateCrossConnectResponse) String ¶

func (response CreateCrossConnectResponse) String() string

type CreateDedicatedCapacitySourceDetails ¶ added in v65.53.0

type CreateDedicatedCapacitySourceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this capacity source.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

CreateDedicatedCapacitySourceDetails A capacity source of bare metal hosts that is dedicated to a customer.

func (CreateDedicatedCapacitySourceDetails) MarshalJSON ¶ added in v65.53.0

func (m CreateDedicatedCapacitySourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDedicatedCapacitySourceDetails) String ¶ added in v65.53.0

func (CreateDedicatedCapacitySourceDetails) ValidateEnumValue ¶ added in v65.53.0

func (m CreateDedicatedCapacitySourceDetails) 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 CreateDedicatedVmHostDetails ¶

type CreateDedicatedVmHostDetails struct {

	// The availability domain of the dedicated virtual machine host.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The dedicated virtual machine host shape. The shape determines the number of CPUs and
	// other resources available for VM instances launched on the dedicated virtual machine host.
	DedicatedVmHostShape *string `mandatory:"true" json:"dedicatedVmHostShape"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The fault domain for the dedicated virtual machine host's assigned instances.
	// For more information, see Fault Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault).
	// If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host,
	// delete it and create a new dedicated virtual machine host in the preferred fault domain.
	// To get a list of fault domains, use the `ListFaultDomains` operation in
	// the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateDedicatedVmHostDetails The details for creating a new dedicated virtual machine host.

func (CreateDedicatedVmHostDetails) String ¶

func (CreateDedicatedVmHostDetails) ValidateEnumValue ¶

func (m CreateDedicatedVmHostDetails) 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 CreateDedicatedVmHostRequest ¶

type CreateDedicatedVmHostRequest struct {

	// The details for creating a new dedicated virtual machine host.
	CreateDedicatedVmHostDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

CreateDedicatedVmHostRequest wrapper for the CreateDedicatedVmHost operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHostRequest.

func (CreateDedicatedVmHostRequest) BinaryRequestBody ¶

func (request CreateDedicatedVmHostRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDedicatedVmHostRequest) HTTPRequest ¶

func (request CreateDedicatedVmHostRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDedicatedVmHostRequest) RetryPolicy ¶

func (request CreateDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDedicatedVmHostRequest) String ¶

func (request CreateDedicatedVmHostRequest) String() string

func (CreateDedicatedVmHostRequest) ValidateEnumValue ¶

func (request CreateDedicatedVmHostRequest) 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 CreateDedicatedVmHostResponse ¶

type CreateDedicatedVmHostResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DedicatedVmHost instance
	DedicatedVmHost `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateDedicatedVmHostResponse wrapper for the CreateDedicatedVmHost operation

func (CreateDedicatedVmHostResponse) HTTPResponse ¶

func (response CreateDedicatedVmHostResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDedicatedVmHostResponse) String ¶

func (response CreateDedicatedVmHostResponse) String() string

type CreateDhcpDetails ¶

type CreateDhcpDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the set of DHCP options.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A set of DHCP options.
	Options []DhcpOption `mandatory:"true" json:"options"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The search domain name type of DHCP options
	DomainNameType CreateDhcpDetailsDomainNameTypeEnum `mandatory:"false" json:"domainNameType,omitempty"`
}

CreateDhcpDetails The representation of CreateDhcpDetails

func (CreateDhcpDetails) String ¶

func (m CreateDhcpDetails) String() string

func (*CreateDhcpDetails) UnmarshalJSON ¶

func (m *CreateDhcpDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateDhcpDetails) ValidateEnumValue ¶

func (m CreateDhcpDetails) 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 CreateDhcpDetailsDomainNameTypeEnum ¶

type CreateDhcpDetailsDomainNameTypeEnum string

CreateDhcpDetailsDomainNameTypeEnum Enum with underlying type: string

const (
	CreateDhcpDetailsDomainNameTypeSubnetDomain CreateDhcpDetailsDomainNameTypeEnum = "SUBNET_DOMAIN"
	CreateDhcpDetailsDomainNameTypeVcnDomain    CreateDhcpDetailsDomainNameTypeEnum = "VCN_DOMAIN"
	CreateDhcpDetailsDomainNameTypeCustomDomain CreateDhcpDetailsDomainNameTypeEnum = "CUSTOM_DOMAIN"
)

Set of constants representing the allowable values for CreateDhcpDetailsDomainNameTypeEnum

func GetCreateDhcpDetailsDomainNameTypeEnumValues ¶

func GetCreateDhcpDetailsDomainNameTypeEnumValues() []CreateDhcpDetailsDomainNameTypeEnum

GetCreateDhcpDetailsDomainNameTypeEnumValues Enumerates the set of values for CreateDhcpDetailsDomainNameTypeEnum

func GetMappingCreateDhcpDetailsDomainNameTypeEnum ¶

func GetMappingCreateDhcpDetailsDomainNameTypeEnum(val string) (CreateDhcpDetailsDomainNameTypeEnum, bool)

GetMappingCreateDhcpDetailsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateDhcpOptionsRequest ¶

type CreateDhcpOptionsRequest struct {

	// Request object for creating a new set of DHCP options.
	CreateDhcpDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateDhcpOptionsRequest wrapper for the CreateDhcpOptions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptionsRequest.

func (CreateDhcpOptionsRequest) BinaryRequestBody ¶

func (request CreateDhcpOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDhcpOptionsRequest) HTTPRequest ¶

func (request CreateDhcpOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDhcpOptionsRequest) RetryPolicy ¶

func (request CreateDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDhcpOptionsRequest) String ¶

func (request CreateDhcpOptionsRequest) String() string

func (CreateDhcpOptionsRequest) ValidateEnumValue ¶

func (request CreateDhcpOptionsRequest) 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 CreateDhcpOptionsResponse ¶

type CreateDhcpOptionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DhcpOptions instance
	DhcpOptions `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"`
}

CreateDhcpOptionsResponse wrapper for the CreateDhcpOptions operation

func (CreateDhcpOptionsResponse) HTTPResponse ¶

func (response CreateDhcpOptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDhcpOptionsResponse) String ¶

func (response CreateDhcpOptionsResponse) String() string

type CreateDrgAttachmentDetails ¶

type CreateDrgAttachmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment.
	// The DRG route table manages traffic inside the DRG.
	DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`

	NetworkDetails DrgAttachmentNetworkCreateDetails `mandatory:"false" json:"networkDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the DRG attachment.
	// If you don't specify a route table here, the DRG attachment is created without an associated route
	// table. The Networking service does NOT automatically associate the attached VCN's default route table
	// with the DRG attachment.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	// This field is deprecated. Instead, use the networkDetails field to specify the VCN route table for this attachment.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	// This field is deprecated. Instead, use the `networkDetails` field to specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource.
	VcnId *string `mandatory:"false" json:"vcnId"`
}

CreateDrgAttachmentDetails The representation of CreateDrgAttachmentDetails

func (CreateDrgAttachmentDetails) String ¶

func (*CreateDrgAttachmentDetails) UnmarshalJSON ¶

func (m *CreateDrgAttachmentDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateDrgAttachmentDetails) ValidateEnumValue ¶

func (m CreateDrgAttachmentDetails) 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 CreateDrgAttachmentRequest ¶

type CreateDrgAttachmentRequest struct {

	// Details for creating a `DrgAttachment`.
	CreateDrgAttachmentDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateDrgAttachmentRequest wrapper for the CreateDrgAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachmentRequest.

func (CreateDrgAttachmentRequest) BinaryRequestBody ¶

func (request CreateDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrgAttachmentRequest) HTTPRequest ¶

func (request CreateDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrgAttachmentRequest) RetryPolicy ¶

func (request CreateDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrgAttachmentRequest) String ¶

func (request CreateDrgAttachmentRequest) String() string

func (CreateDrgAttachmentRequest) ValidateEnumValue ¶

func (request CreateDrgAttachmentRequest) 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 CreateDrgAttachmentResponse ¶

type CreateDrgAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgAttachment instance
	DrgAttachment `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"`
}

CreateDrgAttachmentResponse wrapper for the CreateDrgAttachment operation

func (CreateDrgAttachmentResponse) HTTPResponse ¶

func (response CreateDrgAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrgAttachmentResponse) String ¶

func (response CreateDrgAttachmentResponse) String() string

type CreateDrgDetails ¶

type CreateDrgDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateDrgDetails The representation of CreateDrgDetails

func (CreateDrgDetails) String ¶

func (m CreateDrgDetails) String() string

func (CreateDrgDetails) ValidateEnumValue ¶

func (m CreateDrgDetails) 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 CreateDrgRequest ¶

type CreateDrgRequest struct {

	// Details for creating a DRG.
	CreateDrgDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateDrgRequest wrapper for the CreateDrg operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrgRequest.

func (CreateDrgRequest) BinaryRequestBody ¶

func (request CreateDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrgRequest) HTTPRequest ¶

func (request CreateDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrgRequest) RetryPolicy ¶

func (request CreateDrgRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrgRequest) String ¶

func (request CreateDrgRequest) String() string

func (CreateDrgRequest) ValidateEnumValue ¶

func (request CreateDrgRequest) 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 CreateDrgResponse ¶

type CreateDrgResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Drg instance
	Drg `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"`
}

CreateDrgResponse wrapper for the CreateDrg operation

func (CreateDrgResponse) HTTPResponse ¶

func (response CreateDrgResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrgResponse) String ¶

func (response CreateDrgResponse) String() string

type CreateDrgRouteDistributionDetails ¶

type CreateDrgRouteDistributionDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
	DistributionType CreateDrgRouteDistributionDetailsDistributionTypeEnum `mandatory:"true" json:"distributionType"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateDrgRouteDistributionDetails Details used to create a route distribution.

func (CreateDrgRouteDistributionDetails) String ¶

func (CreateDrgRouteDistributionDetails) ValidateEnumValue ¶

func (m CreateDrgRouteDistributionDetails) 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 CreateDrgRouteDistributionDetailsDistributionTypeEnum ¶

type CreateDrgRouteDistributionDetailsDistributionTypeEnum string

CreateDrgRouteDistributionDetailsDistributionTypeEnum Enum with underlying type: string

const (
	CreateDrgRouteDistributionDetailsDistributionTypeImport CreateDrgRouteDistributionDetailsDistributionTypeEnum = "IMPORT"
)

Set of constants representing the allowable values for CreateDrgRouteDistributionDetailsDistributionTypeEnum

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues ¶

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues() []CreateDrgRouteDistributionDetailsDistributionTypeEnum

GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues Enumerates the set of values for CreateDrgRouteDistributionDetailsDistributionTypeEnum

func GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum ¶

func GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum(val string) (CreateDrgRouteDistributionDetailsDistributionTypeEnum, bool)

GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateDrgRouteDistributionRequest ¶

type CreateDrgRouteDistributionRequest struct {

	// Details for creating a route distribution.
	CreateDrgRouteDistributionDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateDrgRouteDistributionRequest wrapper for the CreateDrgRouteDistribution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistributionRequest.

func (CreateDrgRouteDistributionRequest) BinaryRequestBody ¶

func (request CreateDrgRouteDistributionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrgRouteDistributionRequest) HTTPRequest ¶

func (request CreateDrgRouteDistributionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrgRouteDistributionRequest) RetryPolicy ¶

func (request CreateDrgRouteDistributionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrgRouteDistributionRequest) String ¶

func (request CreateDrgRouteDistributionRequest) String() string

func (CreateDrgRouteDistributionRequest) ValidateEnumValue ¶

func (request CreateDrgRouteDistributionRequest) 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 CreateDrgRouteDistributionResponse ¶

type CreateDrgRouteDistributionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteDistribution instance
	DrgRouteDistribution `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"`
}

CreateDrgRouteDistributionResponse wrapper for the CreateDrgRouteDistribution operation

func (CreateDrgRouteDistributionResponse) HTTPResponse ¶

func (response CreateDrgRouteDistributionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrgRouteDistributionResponse) String ¶

func (response CreateDrgRouteDistributionResponse) String() string

type CreateDrgRouteTableDetails ¶

type CreateDrgRouteTableDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through
	// referenced attachments are inserted into the DRG route table.
	ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"`

	// If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to
	// your on-premises networks, enable ECMP on the DRG route table.
	IsEcmpEnabled *bool `mandatory:"false" json:"isEcmpEnabled"`
}

CreateDrgRouteTableDetails Details used in a request to create a DRG route table.

func (CreateDrgRouteTableDetails) String ¶

func (CreateDrgRouteTableDetails) ValidateEnumValue ¶

func (m CreateDrgRouteTableDetails) 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 CreateDrgRouteTableRequest ¶

type CreateDrgRouteTableRequest struct {

	// Details for creating a DRG route table.
	CreateDrgRouteTableDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateDrgRouteTableRequest wrapper for the CreateDrgRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTableRequest.

func (CreateDrgRouteTableRequest) BinaryRequestBody ¶

func (request CreateDrgRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDrgRouteTableRequest) HTTPRequest ¶

func (request CreateDrgRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDrgRouteTableRequest) RetryPolicy ¶

func (request CreateDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDrgRouteTableRequest) String ¶

func (request CreateDrgRouteTableRequest) String() string

func (CreateDrgRouteTableRequest) ValidateEnumValue ¶

func (request CreateDrgRouteTableRequest) 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 CreateDrgRouteTableResponse ¶

type CreateDrgRouteTableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteTable instance
	DrgRouteTable `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"`
}

CreateDrgRouteTableResponse wrapper for the CreateDrgRouteTable operation

func (CreateDrgRouteTableResponse) HTTPResponse ¶

func (response CreateDrgRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDrgRouteTableResponse) String ¶

func (response CreateDrgRouteTableResponse) String() string

type CreateIPSecConnectionRequest ¶

type CreateIPSecConnectionRequest struct {

	// Details for creating an `IPSecConnection`.
	CreateIpSecConnectionDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateIPSecConnectionRequest wrapper for the CreateIPSecConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnectionRequest.

func (CreateIPSecConnectionRequest) BinaryRequestBody ¶

func (request CreateIPSecConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateIPSecConnectionRequest) HTTPRequest ¶

func (request CreateIPSecConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateIPSecConnectionRequest) RetryPolicy ¶

func (request CreateIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateIPSecConnectionRequest) String ¶

func (request CreateIPSecConnectionRequest) String() string

func (CreateIPSecConnectionRequest) ValidateEnumValue ¶

func (request CreateIPSecConnectionRequest) 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 CreateIPSecConnectionResponse ¶

type CreateIPSecConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnection instance
	IpSecConnection `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"`
}

CreateIPSecConnectionResponse wrapper for the CreateIPSecConnection operation

func (CreateIPSecConnectionResponse) HTTPResponse ¶

func (response CreateIPSecConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateIPSecConnectionResponse) String ¶

func (response CreateIPSecConnectionResponse) String() string

type CreateImageDetails ¶

type CreateImageDetails struct {

	// The OCID of the compartment you want the image to be created in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name for the image. It does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	// You cannot use a platform image name as a custom image name.
	// Example: `My Oracle Linux image`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	ImageSourceDetails ImageSourceDetails `mandatory:"false" json:"imageSourceDetails"`

	// The OCID of the instance you want to use as the basis for the image.
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
	// * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.
	// * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	// * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
	LaunchMode CreateImageDetailsLaunchModeEnum `mandatory:"false" json:"launchMode,omitempty"`
}

CreateImageDetails Either instanceId or imageSourceDetails must be provided in addition to other required parameters.

func (CreateImageDetails) String ¶

func (m CreateImageDetails) String() string

func (*CreateImageDetails) UnmarshalJSON ¶

func (m *CreateImageDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateImageDetails) ValidateEnumValue ¶

func (m CreateImageDetails) 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 CreateImageDetailsLaunchModeEnum ¶

type CreateImageDetailsLaunchModeEnum string

CreateImageDetailsLaunchModeEnum Enum with underlying type: string

const (
	CreateImageDetailsLaunchModeNative          CreateImageDetailsLaunchModeEnum = "NATIVE"
	CreateImageDetailsLaunchModeEmulated        CreateImageDetailsLaunchModeEnum = "EMULATED"
	CreateImageDetailsLaunchModeParavirtualized CreateImageDetailsLaunchModeEnum = "PARAVIRTUALIZED"
	CreateImageDetailsLaunchModeCustom          CreateImageDetailsLaunchModeEnum = "CUSTOM"
)

Set of constants representing the allowable values for CreateImageDetailsLaunchModeEnum

func GetCreateImageDetailsLaunchModeEnumValues ¶

func GetCreateImageDetailsLaunchModeEnumValues() []CreateImageDetailsLaunchModeEnum

GetCreateImageDetailsLaunchModeEnumValues Enumerates the set of values for CreateImageDetailsLaunchModeEnum

func GetMappingCreateImageDetailsLaunchModeEnum ¶

func GetMappingCreateImageDetailsLaunchModeEnum(val string) (CreateImageDetailsLaunchModeEnum, bool)

GetMappingCreateImageDetailsLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateImageRequest ¶

type CreateImageRequest struct {

	// Image creation details
	CreateImageDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateImageRequest wrapper for the CreateImage operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImageRequest.

func (CreateImageRequest) BinaryRequestBody ¶

func (request CreateImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateImageRequest) HTTPRequest ¶

func (request CreateImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateImageRequest) RetryPolicy ¶

func (request CreateImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateImageRequest) String ¶

func (request CreateImageRequest) String() string

func (CreateImageRequest) ValidateEnumValue ¶

func (request CreateImageRequest) 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 CreateImageResponse ¶

type CreateImageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Image instance
	Image `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateImageResponse wrapper for the CreateImage operation

func (CreateImageResponse) HTTPResponse ¶

func (response CreateImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateImageResponse) String ¶

func (response CreateImageResponse) String() string

type CreateInstanceConfigurationBase ¶

type CreateInstanceConfigurationBase interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// containing the instance configuration.
	GetCompartmentId() *string

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	GetFreeformTags() map[string]string
}

CreateInstanceConfigurationBase Creation details for an instance configuration.

type CreateInstanceConfigurationBaseSourceEnum ¶

type CreateInstanceConfigurationBaseSourceEnum string

CreateInstanceConfigurationBaseSourceEnum Enum with underlying type: string

const (
	CreateInstanceConfigurationBaseSourceNone     CreateInstanceConfigurationBaseSourceEnum = "NONE"
	CreateInstanceConfigurationBaseSourceInstance CreateInstanceConfigurationBaseSourceEnum = "INSTANCE"
)

Set of constants representing the allowable values for CreateInstanceConfigurationBaseSourceEnum

func GetCreateInstanceConfigurationBaseSourceEnumValues ¶

func GetCreateInstanceConfigurationBaseSourceEnumValues() []CreateInstanceConfigurationBaseSourceEnum

GetCreateInstanceConfigurationBaseSourceEnumValues Enumerates the set of values for CreateInstanceConfigurationBaseSourceEnum

func GetMappingCreateInstanceConfigurationBaseSourceEnum ¶

func GetMappingCreateInstanceConfigurationBaseSourceEnum(val string) (CreateInstanceConfigurationBaseSourceEnum, bool)

GetMappingCreateInstanceConfigurationBaseSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateInstanceConfigurationDetails ¶

type CreateInstanceConfigurationDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// containing the instance configuration.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	InstanceDetails InstanceConfigurationInstanceDetails `mandatory:"true" json:"instanceDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateInstanceConfigurationDetails Details for creating an instance configuration by providing a list of configuration settings.

func (CreateInstanceConfigurationDetails) GetCompartmentId ¶

func (m CreateInstanceConfigurationDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateInstanceConfigurationDetails) GetDefinedTags ¶

func (m CreateInstanceConfigurationDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateInstanceConfigurationDetails) GetDisplayName ¶

func (m CreateInstanceConfigurationDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateInstanceConfigurationDetails) GetFreeformTags ¶

func (m CreateInstanceConfigurationDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateInstanceConfigurationDetails) MarshalJSON ¶

func (m CreateInstanceConfigurationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateInstanceConfigurationDetails) String ¶

func (*CreateInstanceConfigurationDetails) UnmarshalJSON ¶

func (m *CreateInstanceConfigurationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateInstanceConfigurationDetails) ValidateEnumValue ¶

func (m CreateInstanceConfigurationDetails) 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 CreateInstanceConfigurationFromInstanceDetails ¶

type CreateInstanceConfigurationFromInstanceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// containing the instance configuration.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance to use to create the
	// instance configuration.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateInstanceConfigurationFromInstanceDetails Details for creating an instance configuration using an existing instance as a template.

func (CreateInstanceConfigurationFromInstanceDetails) GetCompartmentId ¶

GetCompartmentId returns CompartmentId

func (CreateInstanceConfigurationFromInstanceDetails) GetDefinedTags ¶

func (m CreateInstanceConfigurationFromInstanceDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateInstanceConfigurationFromInstanceDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateInstanceConfigurationFromInstanceDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateInstanceConfigurationFromInstanceDetails) MarshalJSON ¶

func (m CreateInstanceConfigurationFromInstanceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateInstanceConfigurationFromInstanceDetails) String ¶

func (CreateInstanceConfigurationFromInstanceDetails) ValidateEnumValue ¶

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 CreateInstanceConfigurationRequest ¶

type CreateInstanceConfigurationRequest struct {

	// Instance configuration creation details
	CreateInstanceConfiguration CreateInstanceConfigurationBase `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateInstanceConfigurationRequest wrapper for the CreateInstanceConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfigurationRequest.

func (CreateInstanceConfigurationRequest) BinaryRequestBody ¶

func (request CreateInstanceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateInstanceConfigurationRequest) HTTPRequest ¶

func (request CreateInstanceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateInstanceConfigurationRequest) RetryPolicy ¶

func (request CreateInstanceConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateInstanceConfigurationRequest) String ¶

func (request CreateInstanceConfigurationRequest) String() string

func (CreateInstanceConfigurationRequest) ValidateEnumValue ¶

func (request CreateInstanceConfigurationRequest) 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 CreateInstanceConfigurationResponse ¶

type CreateInstanceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceConfiguration instance
	InstanceConfiguration `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"`
}

CreateInstanceConfigurationResponse wrapper for the CreateInstanceConfiguration operation

func (CreateInstanceConfigurationResponse) HTTPResponse ¶

func (response CreateInstanceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateInstanceConfigurationResponse) String ¶

func (response CreateInstanceConfigurationResponse) String() string

type CreateInstanceConsoleConnectionDetails ¶

type CreateInstanceConsoleConnectionDetails struct {

	// The OCID of the instance to create the console connection to.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The SSH public key used to authenticate the console connection.
	PublicKey *string `mandatory:"true" json:"publicKey"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateInstanceConsoleConnectionDetails The details for creating a instance console connection. The instance console connection is created in the same compartment as the instance.

func (CreateInstanceConsoleConnectionDetails) String ¶

func (CreateInstanceConsoleConnectionDetails) ValidateEnumValue ¶

func (m CreateInstanceConsoleConnectionDetails) 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 CreateInstanceConsoleConnectionRequest ¶

type CreateInstanceConsoleConnectionRequest struct {

	// Request object for creating an InstanceConsoleConnection
	CreateInstanceConsoleConnectionDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateInstanceConsoleConnectionRequest wrapper for the CreateInstanceConsoleConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnectionRequest.

func (CreateInstanceConsoleConnectionRequest) BinaryRequestBody ¶

func (request CreateInstanceConsoleConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateInstanceConsoleConnectionRequest) HTTPRequest ¶

func (request CreateInstanceConsoleConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateInstanceConsoleConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateInstanceConsoleConnectionRequest) String ¶

func (CreateInstanceConsoleConnectionRequest) ValidateEnumValue ¶

func (request CreateInstanceConsoleConnectionRequest) 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 CreateInstanceConsoleConnectionResponse ¶

type CreateInstanceConsoleConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceConsoleConnection instance
	InstanceConsoleConnection `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"`
}

CreateInstanceConsoleConnectionResponse wrapper for the CreateInstanceConsoleConnection operation

func (CreateInstanceConsoleConnectionResponse) HTTPResponse ¶

func (response CreateInstanceConsoleConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateInstanceConsoleConnectionResponse) String ¶

type CreateInstancePoolDetails ¶

type CreateInstancePoolDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated
	// with the instance pool.
	InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"`

	// The placement configurations for the instance pool. Provide one placement configuration for
	// each availability domain.
	// To use the instance pool with a regional subnet, provide a placement configuration for
	// each availability domain, and include the regional subnet in each placement
	// configuration.
	PlacementConfigurations []CreateInstancePoolPlacementConfigurationDetails `mandatory:"true" json:"placementConfigurations"`

	// The number of instances that should be in the instance pool.
	Size *int `mandatory:"true" json:"size"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The load balancers to attach to the instance pool.
	LoadBalancers []AttachLoadBalancerDetails `mandatory:"false" json:"loadBalancers"`

	// A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format.
	// The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
	InstanceDisplayNameFormatter *string `mandatory:"false" json:"instanceDisplayNameFormatter"`

	// A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format.
	// The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
	InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"`
}

CreateInstancePoolDetails The data to create an instance pool.

func (CreateInstancePoolDetails) String ¶

func (m CreateInstancePoolDetails) String() string

func (CreateInstancePoolDetails) ValidateEnumValue ¶

func (m CreateInstancePoolDetails) 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 CreateInstancePoolPlacementConfigurationDetails ¶

type CreateInstancePoolPlacementConfigurationDetails struct {

	// The availability domain to place instances.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The fault domains to place instances.
	// If you don't provide any values, the system makes a best effort to distribute
	// instances across all fault domains based on capacity.
	// To distribute the instances evenly across selected fault domains, provide a
	// set of fault domains. For example, you might want instances to be evenly
	// distributed if your applications require high availability.
	// To get a list of fault domains, use the
	// ListFaultDomains operation
	// in the Identity and Access Management Service API.
	// Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]`
	FaultDomains []string `mandatory:"false" json:"faultDomains"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated.
	// Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
	PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`

	PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`

	// The set of secondary VNIC data for instances in the pool.
	SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}

CreateInstancePoolPlacementConfigurationDetails The location for where an instance pool will place instances.

func (CreateInstancePoolPlacementConfigurationDetails) String ¶

func (CreateInstancePoolPlacementConfigurationDetails) ValidateEnumValue ¶

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 CreateInstancePoolRequest ¶

type CreateInstancePoolRequest struct {

	// Instance pool creation details
	CreateInstancePoolDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateInstancePoolRequest wrapper for the CreateInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePoolRequest.

func (CreateInstancePoolRequest) BinaryRequestBody ¶

func (request CreateInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateInstancePoolRequest) HTTPRequest ¶

func (request CreateInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateInstancePoolRequest) RetryPolicy ¶

func (request CreateInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateInstancePoolRequest) String ¶

func (request CreateInstancePoolRequest) String() string

func (CreateInstancePoolRequest) ValidateEnumValue ¶

func (request CreateInstancePoolRequest) 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 CreateInstancePoolResponse ¶

type CreateInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

CreateInstancePoolResponse wrapper for the CreateInstancePool operation

func (CreateInstancePoolResponse) HTTPResponse ¶

func (response CreateInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateInstancePoolResponse) String ¶

func (response CreateInstancePoolResponse) String() string

type CreateInternetGatewayDetails ¶

type CreateInternetGatewayDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the internet gateway.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Whether the gateway is enabled upon creation.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway is attached to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

CreateInternetGatewayDetails The representation of CreateInternetGatewayDetails

func (CreateInternetGatewayDetails) String ¶

func (CreateInternetGatewayDetails) ValidateEnumValue ¶

func (m CreateInternetGatewayDetails) 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 CreateInternetGatewayRequest ¶

type CreateInternetGatewayRequest struct {

	// Details for creating a new internet gateway.
	CreateInternetGatewayDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateInternetGatewayRequest wrapper for the CreateInternetGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGatewayRequest.

func (CreateInternetGatewayRequest) BinaryRequestBody ¶

func (request CreateInternetGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateInternetGatewayRequest) HTTPRequest ¶

func (request CreateInternetGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateInternetGatewayRequest) RetryPolicy ¶

func (request CreateInternetGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateInternetGatewayRequest) String ¶

func (request CreateInternetGatewayRequest) String() string

func (CreateInternetGatewayRequest) ValidateEnumValue ¶

func (request CreateInternetGatewayRequest) 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 CreateInternetGatewayResponse ¶

type CreateInternetGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InternetGateway instance
	InternetGateway `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"`
}

CreateInternetGatewayResponse wrapper for the CreateInternetGateway operation

func (CreateInternetGatewayResponse) HTTPResponse ¶

func (response CreateInternetGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateInternetGatewayResponse) String ¶

func (response CreateInternetGatewayResponse) String() string

type CreateIpSecConnectionDetails ¶

type CreateIpSecConnectionDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the IPSec connection.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object.
	CpeId *string `mandatory:"true" json:"cpeId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// Static routes to the CPE. A static route's CIDR must not be a
	// multicast address or class E address.
	// Used for routing a given IPSec tunnel's traffic only if the tunnel
	// is using static routing. If you configure at least one tunnel to use static routing, then
	// you must provide at least one valid static route. If you configure both
	// tunnels to use BGP dynamic routing, you can provide an empty list for the static routes.
	// For more information, see the important note in IPSecConnection.
	// The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions.
	// See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `10.0.1.0/24`
	// Example: `2001:db8::/32`
	StaticRoutes []string `mandatory:"true" json:"staticRoutes"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the
	// fully qualified domain name (FQDN)). The type of identifier you provide here must correspond
	// to the value for `cpeLocalIdentifierType`.
	// If you don't provide a value, the `ipAddress` attribute for the Cpe
	// object specified by `cpeId` is used as the `cpeLocalIdentifier`.
	// For information about why you'd provide this value, see
	// If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat).
	// Example IP address: `10.0.3.3`
	// Example hostname: `cpe.example.com`
	CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"`

	// The type of identifier for your CPE device. The value you provide here must correspond to the value
	// for `cpeLocalIdentifier`.
	CpeLocalIdentifierType CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum `mandatory:"false" json:"cpeLocalIdentifierType,omitempty"`

	// Information for creating the individual tunnels in the IPSec connection. You can provide a
	// maximum of 2 `tunnelConfiguration` objects in the array (one for each of the
	// two tunnels).
	TunnelConfiguration []CreateIpSecConnectionTunnelDetails `mandatory:"false" json:"tunnelConfiguration"`
}

CreateIpSecConnectionDetails The representation of CreateIpSecConnectionDetails

func (CreateIpSecConnectionDetails) String ¶

func (CreateIpSecConnectionDetails) ValidateEnumValue ¶

func (m CreateIpSecConnectionDetails) 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 CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum ¶

type CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum string

CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum Enum with underlying type: string

const (
	CreateIpSecConnectionDetailsCpeLocalIdentifierTypeIpAddress CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = "IP_ADDRESS"
	CreateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname  CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = "HOSTNAME"
)

Set of constants representing the allowable values for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues ¶

func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues() []CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues Enumerates the set of values for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

func GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum ¶

func GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(val string) (CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, bool)

GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateIpSecConnectionTunnelDetails ¶

type CreateIpSecConnectionTunnelDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
	Routing CreateIpSecConnectionTunnelDetailsRoutingEnum `mandatory:"false" json:"routing,omitempty"`

	// Internet Key Exchange protocol version.
	IkeVersion CreateIpSecConnectionTunnelDetailsIkeVersionEnum `mandatory:"false" json:"ikeVersion,omitempty"`

	// The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and
	// spaces are allowed. If you don't provide a value,
	// Oracle generates a value for you. You can specify your own shared secret later if
	// you like with UpdateIPSecConnectionTunnelSharedSecret.
	SharedSecret *string `mandatory:"false" json:"sharedSecret"`

	BgpSessionConfig *CreateIpSecTunnelBgpSessionDetails `mandatory:"false" json:"bgpSessionConfig"`

	// Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.
	OracleInitiation CreateIpSecConnectionTunnelDetailsOracleInitiationEnum `mandatory:"false" json:"oracleInitiation,omitempty"`

	// By default (the `AUTO` setting), IKE sends packets with a source and destination port set to 500,
	// and when it detects that the port used to forward packets has changed (most likely because a NAT device
	// is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.
	// The `ENABLED` option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets.
	// The `DISABLED` option directs IKE to completely refuse to negotiate NAT-T
	// even if it senses there may be a NAT device in use.
	NatTranslationEnabled CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum `mandatory:"false" json:"natTranslationEnabled,omitempty"`

	PhaseOneConfig *PhaseOneConfigDetails `mandatory:"false" json:"phaseOneConfig"`

	PhaseTwoConfig *PhaseTwoConfigDetails `mandatory:"false" json:"phaseTwoConfig"`

	DpdConfig *DpdConfig `mandatory:"false" json:"dpdConfig"`

	// The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.
	OracleTunnelIp *string `mandatory:"false" json:"oracleTunnelIp"`

	// The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel.
	AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to this attachment.
	// The DRG route table manages traffic inside the DRG.
	DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`

	EncryptionDomainConfig *CreateIpSecTunnelEncryptionDomainDetails `mandatory:"false" json:"encryptionDomainConfig"`
}

CreateIpSecConnectionTunnelDetails The representation of CreateIpSecConnectionTunnelDetails

func (CreateIpSecConnectionTunnelDetails) String ¶

func (CreateIpSecConnectionTunnelDetails) ValidateEnumValue ¶

func (m CreateIpSecConnectionTunnelDetails) 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 CreateIpSecConnectionTunnelDetailsIkeVersionEnum ¶

type CreateIpSecConnectionTunnelDetailsIkeVersionEnum string

CreateIpSecConnectionTunnelDetailsIkeVersionEnum Enum with underlying type: string

const (
	CreateIpSecConnectionTunnelDetailsIkeVersionV1 CreateIpSecConnectionTunnelDetailsIkeVersionEnum = "V1"
	CreateIpSecConnectionTunnelDetailsIkeVersionV2 CreateIpSecConnectionTunnelDetailsIkeVersionEnum = "V2"
)

Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsIkeVersionEnum

func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues ¶

func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues() []CreateIpSecConnectionTunnelDetailsIkeVersionEnum

GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsIkeVersionEnum

func GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum ¶

func GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum(val string) (CreateIpSecConnectionTunnelDetailsIkeVersionEnum, bool)

GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum ¶

type CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum string

CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum Enum with underlying type: string

const (
	CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnabled  CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "ENABLED"
	CreateIpSecConnectionTunnelDetailsNatTranslationEnabledDisabled CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "DISABLED"
	CreateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto     CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "AUTO"
)

Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues ¶

func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues() []CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

func GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum ¶

func GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(val string) (CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, bool)

GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateIpSecConnectionTunnelDetailsOracleInitiationEnum ¶

type CreateIpSecConnectionTunnelDetailsOracleInitiationEnum string

CreateIpSecConnectionTunnelDetailsOracleInitiationEnum Enum with underlying type: string

const (
	CreateIpSecConnectionTunnelDetailsOracleInitiationInitiatorOrResponder CreateIpSecConnectionTunnelDetailsOracleInitiationEnum = "INITIATOR_OR_RESPONDER"
	CreateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly        CreateIpSecConnectionTunnelDetailsOracleInitiationEnum = "RESPONDER_ONLY"
)

Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum

func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues ¶

func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues() []CreateIpSecConnectionTunnelDetailsOracleInitiationEnum

GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum

func GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum ¶

func GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum(val string) (CreateIpSecConnectionTunnelDetailsOracleInitiationEnum, bool)

GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateIpSecConnectionTunnelDetailsRoutingEnum ¶

type CreateIpSecConnectionTunnelDetailsRoutingEnum string

CreateIpSecConnectionTunnelDetailsRoutingEnum Enum with underlying type: string

const (
	CreateIpSecConnectionTunnelDetailsRoutingBgp    CreateIpSecConnectionTunnelDetailsRoutingEnum = "BGP"
	CreateIpSecConnectionTunnelDetailsRoutingStatic CreateIpSecConnectionTunnelDetailsRoutingEnum = "STATIC"
	CreateIpSecConnectionTunnelDetailsRoutingPolicy CreateIpSecConnectionTunnelDetailsRoutingEnum = "POLICY"
)

Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsRoutingEnum

func GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues ¶

func GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues() []CreateIpSecConnectionTunnelDetailsRoutingEnum

GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsRoutingEnum

func GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum ¶

func GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum(val string) (CreateIpSecConnectionTunnelDetailsRoutingEnum, bool)

GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateIpSecTunnelBgpSessionDetails ¶

type CreateIpSecTunnelBgpSessionDetails struct {

	// The IP address for the Oracle end of the inside tunnel interface.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is required and used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, this IP address is optional. You can set this IP
	// address to troubleshoot or monitor the tunnel.
	// The value must be a /30 or /31.
	// Example: `10.0.0.4/31`
	OracleInterfaceIp *string `mandatory:"false" json:"oracleInterfaceIp"`

	// The IP address for the CPE end of the inside tunnel interface.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is required and used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, this IP address is optional. You can set this IP
	// address to troubleshoot or monitor the tunnel.
	// The value must be a /30 or /31.
	// Example: `10.0.0.5/31`
	CustomerInterfaceIp *string `mandatory:"false" json:"customerInterfaceIp"`

	// The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP
	// address to troubleshoot or monitor the tunnel.
	// Only subnet masks from /64 up to /127 are allowed.
	// Example: `2001:db8::1/64`
	OracleInterfaceIpv6 *string `mandatory:"false" json:"oracleInterfaceIpv6"`

	// The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP
	// address to troubleshoot or monitor the tunnel.
	// Only subnet masks from /64 up to /127 are allowed.
	// Example: `2001:db8::1/64`
	CustomerInterfaceIpv6 *string `mandatory:"false" json:"customerInterfaceIpv6"`

	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this ASN
	// is required and used for the tunnel's BGP session. This is the ASN of the network on the
	// CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
	// If the tunnel's `routing` attribute is set to `STATIC`, the `customerBgpAsn` must be null.
	// Example: `12345` (2-byte) or `1587232876` (4-byte)
	CustomerBgpAsn *string `mandatory:"false" json:"customerBgpAsn"`
}

CreateIpSecTunnelBgpSessionDetails The representation of CreateIpSecTunnelBgpSessionDetails

func (CreateIpSecTunnelBgpSessionDetails) String ¶

func (CreateIpSecTunnelBgpSessionDetails) ValidateEnumValue ¶

func (m CreateIpSecTunnelBgpSessionDetails) 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 CreateIpSecTunnelEncryptionDomainDetails ¶

type CreateIpSecTunnelEncryptionDomainDetails struct {

	// Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
	OracleTrafficSelector []string `mandatory:"false" json:"oracleTrafficSelector"`

	// Lists IPv4 or IPv6-enabled subnets in your on-premises network.
	CpeTrafficSelector []string `mandatory:"false" json:"cpeTrafficSelector"`
}

CreateIpSecTunnelEncryptionDomainDetails Request to enable a multi-encryption domain policy on the IPSec tunnel. There can't be more than 50 security associations in use at one time. See Encryption domain for policy-based tunnels (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more.

func (CreateIpSecTunnelEncryptionDomainDetails) String ¶

func (CreateIpSecTunnelEncryptionDomainDetails) ValidateEnumValue ¶

func (m CreateIpSecTunnelEncryptionDomainDetails) 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 CreateIpv6Details ¶

type CreateIpv6Details struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the IPv6 to. The
	// IPv6 will be in the VNIC's subnet.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// An IPv6 address of your choice. Must be an available IP address within
	// the subnet's CIDR. If you don't specify a value, Oracle automatically
	// assigns an IPv6 address from the subnet. The subnet is the one that
	// contains the VNIC you specify in `vnicId`.
	// Example: `2001:DB8::`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet.
	Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`
}

CreateIpv6Details The representation of CreateIpv6Details

func (CreateIpv6Details) String ¶

func (m CreateIpv6Details) String() string

func (CreateIpv6Details) ValidateEnumValue ¶

func (m CreateIpv6Details) 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 CreateIpv6Request ¶

type CreateIpv6Request struct {

	// Create IPv6 details.
	CreateIpv6Details `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

CreateIpv6Request wrapper for the CreateIpv6 operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6Request.

func (CreateIpv6Request) BinaryRequestBody ¶

func (request CreateIpv6Request) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateIpv6Request) HTTPRequest ¶

func (request CreateIpv6Request) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateIpv6Request) RetryPolicy ¶

func (request CreateIpv6Request) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateIpv6Request) String ¶

func (request CreateIpv6Request) String() string

func (CreateIpv6Request) ValidateEnumValue ¶

func (request CreateIpv6Request) 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 CreateIpv6Response ¶

type CreateIpv6Response struct {

	// The underlying http response
	RawResponse *http.Response

	// The Ipv6 instance
	Ipv6 `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"`
}

CreateIpv6Response wrapper for the CreateIpv6 operation

func (CreateIpv6Response) HTTPResponse ¶

func (response CreateIpv6Response) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateIpv6Response) String ¶

func (response CreateIpv6Response) String() string

type CreateLocalPeeringGatewayDetails ¶

type CreateLocalPeeringGatewayDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the local peering gateway (LPG).
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the LPG belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use.
	// If you don't specify a route table here, the LPG is created without an associated route
	// table. The Networking service does NOT automatically associate the attached VCN's default route table
	// with the LPG.
	// For information about why you would associate a route table with an LPG, see
	// Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm).
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

CreateLocalPeeringGatewayDetails The representation of CreateLocalPeeringGatewayDetails

func (CreateLocalPeeringGatewayDetails) String ¶

func (CreateLocalPeeringGatewayDetails) ValidateEnumValue ¶

func (m CreateLocalPeeringGatewayDetails) 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 CreateLocalPeeringGatewayRequest ¶

type CreateLocalPeeringGatewayRequest struct {

	// Details for creating a new local peering gateway.
	CreateLocalPeeringGatewayDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateLocalPeeringGatewayRequest wrapper for the CreateLocalPeeringGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGatewayRequest.

func (CreateLocalPeeringGatewayRequest) BinaryRequestBody ¶

func (request CreateLocalPeeringGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateLocalPeeringGatewayRequest) HTTPRequest ¶

func (request CreateLocalPeeringGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateLocalPeeringGatewayRequest) RetryPolicy ¶

func (request CreateLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateLocalPeeringGatewayRequest) String ¶

func (request CreateLocalPeeringGatewayRequest) String() string

func (CreateLocalPeeringGatewayRequest) ValidateEnumValue ¶

func (request CreateLocalPeeringGatewayRequest) 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 CreateLocalPeeringGatewayResponse ¶

type CreateLocalPeeringGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LocalPeeringGateway instance
	LocalPeeringGateway `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"`
}

CreateLocalPeeringGatewayResponse wrapper for the CreateLocalPeeringGateway operation

func (CreateLocalPeeringGatewayResponse) HTTPResponse ¶

func (response CreateLocalPeeringGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateLocalPeeringGatewayResponse) String ¶

func (response CreateLocalPeeringGatewayResponse) String() string

type CreateMacsecKey ¶

type CreateMacsecKey struct {

	// Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key.
	// NOTE: Only the latest secret version will be used.
	ConnectivityAssociationNameSecretId *string `mandatory:"true" json:"connectivityAssociationNameSecretId"`

	// Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key.
	// NOTE: Only the latest secret version will be used.
	ConnectivityAssociationKeySecretId *string `mandatory:"true" json:"connectivityAssociationKeySecretId"`
}

CreateMacsecKey Defines the secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key.

func (CreateMacsecKey) String ¶

func (m CreateMacsecKey) String() string

func (CreateMacsecKey) ValidateEnumValue ¶

func (m CreateMacsecKey) 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 CreateMacsecProperties ¶

type CreateMacsecProperties struct {

	// Indicates whether or not MACsec is enabled.
	State MacsecStateEnum `mandatory:"true" json:"state"`

	PrimaryKey *CreateMacsecKey `mandatory:"false" json:"primaryKey"`

	// Type of encryption cipher suite to use for the MACsec connection.
	EncryptionCipher MacsecEncryptionCipherEnum `mandatory:"false" json:"encryptionCipher,omitempty"`

	// Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
	IsUnprotectedTrafficAllowed *bool `mandatory:"false" json:"isUnprotectedTrafficAllowed"`
}

CreateMacsecProperties Properties used to configure MACsec (if capable).

func (CreateMacsecProperties) String ¶

func (m CreateMacsecProperties) String() string

func (CreateMacsecProperties) ValidateEnumValue ¶

func (m CreateMacsecProperties) 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 CreateNatGatewayDetails ¶

type CreateNatGatewayDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the
	// NAT gateway.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the gateway belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether the NAT gateway blocks traffic through it. The default is `false`.
	// Example: `true`
	BlockTraffic *bool `mandatory:"false" json:"blockTraffic"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway.
	PublicIpId *string `mandatory:"false" json:"publicIpId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway.
	// If you don't specify a route table here, the NAT gateway is created without an associated route
	// table. The Networking service does NOT automatically associate the attached VCN's default route table
	// with the NAT gateway.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

CreateNatGatewayDetails The representation of CreateNatGatewayDetails

func (CreateNatGatewayDetails) String ¶

func (m CreateNatGatewayDetails) String() string

func (CreateNatGatewayDetails) ValidateEnumValue ¶

func (m CreateNatGatewayDetails) 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 CreateNatGatewayRequest ¶

type CreateNatGatewayRequest struct {

	// Details for creating a NAT gateway.
	CreateNatGatewayDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateNatGatewayRequest wrapper for the CreateNatGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGatewayRequest.

func (CreateNatGatewayRequest) BinaryRequestBody ¶

func (request CreateNatGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateNatGatewayRequest) HTTPRequest ¶

func (request CreateNatGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateNatGatewayRequest) RetryPolicy ¶

func (request CreateNatGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateNatGatewayRequest) String ¶

func (request CreateNatGatewayRequest) String() string

func (CreateNatGatewayRequest) ValidateEnumValue ¶

func (request CreateNatGatewayRequest) 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 CreateNatGatewayResponse ¶

type CreateNatGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NatGateway instance
	NatGateway `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"`
}

CreateNatGatewayResponse wrapper for the CreateNatGateway operation

func (CreateNatGatewayResponse) HTTPResponse ¶

func (response CreateNatGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateNatGatewayResponse) String ¶

func (response CreateNatGatewayResponse) String() string

type CreateNetworkSecurityGroupDetails ¶

type CreateNetworkSecurityGroupDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the
	// network security group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to create the network
	// security group in.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateNetworkSecurityGroupDetails The representation of CreateNetworkSecurityGroupDetails

func (CreateNetworkSecurityGroupDetails) String ¶

func (CreateNetworkSecurityGroupDetails) ValidateEnumValue ¶

func (m CreateNetworkSecurityGroupDetails) 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 CreateNetworkSecurityGroupRequest ¶

type CreateNetworkSecurityGroupRequest struct {

	// Details for creating a network security group.
	CreateNetworkSecurityGroupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateNetworkSecurityGroupRequest wrapper for the CreateNetworkSecurityGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroupRequest.

func (CreateNetworkSecurityGroupRequest) BinaryRequestBody ¶

func (request CreateNetworkSecurityGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkSecurityGroupRequest) HTTPRequest ¶

func (request CreateNetworkSecurityGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateNetworkSecurityGroupRequest) RetryPolicy ¶

func (request CreateNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateNetworkSecurityGroupRequest) String ¶

func (request CreateNetworkSecurityGroupRequest) String() string

func (CreateNetworkSecurityGroupRequest) ValidateEnumValue ¶

func (request CreateNetworkSecurityGroupRequest) 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 CreateNetworkSecurityGroupResponse ¶

type CreateNetworkSecurityGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NetworkSecurityGroup instance
	NetworkSecurityGroup `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"`
}

CreateNetworkSecurityGroupResponse wrapper for the CreateNetworkSecurityGroup operation

func (CreateNetworkSecurityGroupResponse) HTTPResponse ¶

func (response CreateNetworkSecurityGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateNetworkSecurityGroupResponse) String ¶

func (response CreateNetworkSecurityGroupResponse) String() string

type CreatePrivateIpDetails ¶

type CreatePrivateIpDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The hostname for the private IP. Used for DNS. The value
	// is the hostname portion of the private IP's fully qualified domain name (FQDN)
	// (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `bminstance1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A private IP address of your choice. Must be an available IP address within
	// the subnet's CIDR. If you don't specify a value, Oracle automatically
	// assigns a private IP address from the subnet.
	// Example: `10.0.3.3`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the private IP to. The VNIC and private IP
	// must be in the same subnet.
	VnicId *string `mandatory:"false" json:"vnicId"`

	// Use this attribute only with the Oracle Cloud VMware Solution.
	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be drawn. The IP address,
	// *if supplied*, must be valid for the given VLAN. See Vlan.
	VlanId *string `mandatory:"false" json:"vlanId"`
}

CreatePrivateIpDetails The representation of CreatePrivateIpDetails

func (CreatePrivateIpDetails) String ¶

func (m CreatePrivateIpDetails) String() string

func (CreatePrivateIpDetails) ValidateEnumValue ¶

func (m CreatePrivateIpDetails) 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 CreatePrivateIpRequest ¶

type CreatePrivateIpRequest struct {

	// Create private IP details.
	CreatePrivateIpDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreatePrivateIpRequest wrapper for the CreatePrivateIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIpRequest.

func (CreatePrivateIpRequest) BinaryRequestBody ¶

func (request CreatePrivateIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreatePrivateIpRequest) HTTPRequest ¶

func (request CreatePrivateIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreatePrivateIpRequest) RetryPolicy ¶

func (request CreatePrivateIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreatePrivateIpRequest) String ¶

func (request CreatePrivateIpRequest) String() string

func (CreatePrivateIpRequest) ValidateEnumValue ¶

func (request CreatePrivateIpRequest) 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 CreatePrivateIpResponse ¶

type CreatePrivateIpResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PrivateIp instance
	PrivateIp `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"`
}

CreatePrivateIpResponse wrapper for the CreatePrivateIp operation

func (CreatePrivateIpResponse) HTTPResponse ¶

func (response CreatePrivateIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreatePrivateIpResponse) String ¶

func (response CreatePrivateIpResponse) String() string

type CreatePublicIpDetails ¶

type CreatePublicIpDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the public IP. For ephemeral public IPs,
	// you must set this to the private IP's compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Defines when the public IP is deleted and released back to the Oracle Cloud
	// Infrastructure public IP pool. For more information, see
	// Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
	Lifetime CreatePublicIpDetailsLifetimeEnum `mandatory:"true" json:"lifetime"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to.
	// Required for an ephemeral public IP because it must always be assigned to a private IP
	// (specifically a *primary* private IP).
	// Optional for a reserved public IP. If you don't provide it, the public IP is created but not
	// assigned to a private IP. You can later assign the public IP with
	// UpdatePublicIp.
	PrivateIpId *string `mandatory:"false" json:"privateIpId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"`
}

CreatePublicIpDetails The representation of CreatePublicIpDetails

func (CreatePublicIpDetails) String ¶

func (m CreatePublicIpDetails) String() string

func (CreatePublicIpDetails) ValidateEnumValue ¶

func (m CreatePublicIpDetails) 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 CreatePublicIpDetailsLifetimeEnum ¶

type CreatePublicIpDetailsLifetimeEnum string

CreatePublicIpDetailsLifetimeEnum Enum with underlying type: string

const (
	CreatePublicIpDetailsLifetimeEphemeral CreatePublicIpDetailsLifetimeEnum = "EPHEMERAL"
	CreatePublicIpDetailsLifetimeReserved  CreatePublicIpDetailsLifetimeEnum = "RESERVED"
)

Set of constants representing the allowable values for CreatePublicIpDetailsLifetimeEnum

func GetCreatePublicIpDetailsLifetimeEnumValues ¶

func GetCreatePublicIpDetailsLifetimeEnumValues() []CreatePublicIpDetailsLifetimeEnum

GetCreatePublicIpDetailsLifetimeEnumValues Enumerates the set of values for CreatePublicIpDetailsLifetimeEnum

func GetMappingCreatePublicIpDetailsLifetimeEnum ¶

func GetMappingCreatePublicIpDetailsLifetimeEnum(val string) (CreatePublicIpDetailsLifetimeEnum, bool)

GetMappingCreatePublicIpDetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreatePublicIpPoolDetails ¶

type CreatePublicIpPoolDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreatePublicIpPoolDetails The information used to create a public IP pool.

func (CreatePublicIpPoolDetails) String ¶

func (m CreatePublicIpPoolDetails) String() string

func (CreatePublicIpPoolDetails) ValidateEnumValue ¶

func (m CreatePublicIpPoolDetails) 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 CreatePublicIpPoolRequest ¶

type CreatePublicIpPoolRequest struct {

	// Create Public Ip Pool details
	CreatePublicIpPoolDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

CreatePublicIpPoolRequest wrapper for the CreatePublicIpPool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPoolRequest.

func (CreatePublicIpPoolRequest) BinaryRequestBody ¶

func (request CreatePublicIpPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreatePublicIpPoolRequest) HTTPRequest ¶

func (request CreatePublicIpPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreatePublicIpPoolRequest) RetryPolicy ¶

func (request CreatePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreatePublicIpPoolRequest) String ¶

func (request CreatePublicIpPoolRequest) String() string

func (CreatePublicIpPoolRequest) ValidateEnumValue ¶

func (request CreatePublicIpPoolRequest) 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 CreatePublicIpPoolResponse ¶

type CreatePublicIpPoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIpPool instance
	PublicIpPool `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"`
}

CreatePublicIpPoolResponse wrapper for the CreatePublicIpPool operation

func (CreatePublicIpPoolResponse) HTTPResponse ¶

func (response CreatePublicIpPoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreatePublicIpPoolResponse) String ¶

func (response CreatePublicIpPoolResponse) String() string

type CreatePublicIpRequest ¶

type CreatePublicIpRequest struct {

	// Create public IP details.
	CreatePublicIpDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreatePublicIpRequest wrapper for the CreatePublicIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIpRequest.

func (CreatePublicIpRequest) BinaryRequestBody ¶

func (request CreatePublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreatePublicIpRequest) HTTPRequest ¶

func (request CreatePublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreatePublicIpRequest) RetryPolicy ¶

func (request CreatePublicIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreatePublicIpRequest) String ¶

func (request CreatePublicIpRequest) String() string

func (CreatePublicIpRequest) ValidateEnumValue ¶

func (request CreatePublicIpRequest) 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 CreatePublicIpResponse ¶

type CreatePublicIpResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIp instance
	PublicIp `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"`
}

CreatePublicIpResponse wrapper for the CreatePublicIp operation

func (CreatePublicIpResponse) HTTPResponse ¶

func (response CreatePublicIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreatePublicIpResponse) String ¶

func (response CreatePublicIpResponse) String() string

type CreateRemotePeeringConnectionDetails ¶

type CreateRemotePeeringConnectionDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the RPC.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the RPC belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateRemotePeeringConnectionDetails The representation of CreateRemotePeeringConnectionDetails

func (CreateRemotePeeringConnectionDetails) String ¶

func (CreateRemotePeeringConnectionDetails) ValidateEnumValue ¶

func (m CreateRemotePeeringConnectionDetails) 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 CreateRemotePeeringConnectionRequest ¶

type CreateRemotePeeringConnectionRequest struct {

	// Request to create peering connection to remote region
	CreateRemotePeeringConnectionDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateRemotePeeringConnectionRequest wrapper for the CreateRemotePeeringConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnectionRequest.

func (CreateRemotePeeringConnectionRequest) BinaryRequestBody ¶

func (request CreateRemotePeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateRemotePeeringConnectionRequest) HTTPRequest ¶

func (request CreateRemotePeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateRemotePeeringConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateRemotePeeringConnectionRequest) String ¶

func (CreateRemotePeeringConnectionRequest) ValidateEnumValue ¶

func (request CreateRemotePeeringConnectionRequest) 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 CreateRemotePeeringConnectionResponse ¶

type CreateRemotePeeringConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The RemotePeeringConnection instance
	RemotePeeringConnection `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"`
}

CreateRemotePeeringConnectionResponse wrapper for the CreateRemotePeeringConnection operation

func (CreateRemotePeeringConnectionResponse) HTTPResponse ¶

func (response CreateRemotePeeringConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateRemotePeeringConnectionResponse) String ¶

type CreateRouteTableDetails ¶

type CreateRouteTableDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the route table.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The collection of rules used for routing destination IPs to network devices.
	RouteRules []RouteRule `mandatory:"true" json:"routeRules"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateRouteTableDetails The representation of CreateRouteTableDetails

func (CreateRouteTableDetails) String ¶

func (m CreateRouteTableDetails) String() string

func (CreateRouteTableDetails) ValidateEnumValue ¶

func (m CreateRouteTableDetails) 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 CreateRouteTableRequest ¶

type CreateRouteTableRequest struct {

	// Details for creating a new route table.
	CreateRouteTableDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateRouteTableRequest wrapper for the CreateRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTableRequest.

func (CreateRouteTableRequest) BinaryRequestBody ¶

func (request CreateRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateRouteTableRequest) HTTPRequest ¶

func (request CreateRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateRouteTableRequest) RetryPolicy ¶

func (request CreateRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateRouteTableRequest) String ¶

func (request CreateRouteTableRequest) String() string

func (CreateRouteTableRequest) ValidateEnumValue ¶

func (request CreateRouteTableRequest) 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 CreateRouteTableResponse ¶

type CreateRouteTableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The RouteTable instance
	RouteTable `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"`
}

CreateRouteTableResponse wrapper for the CreateRouteTable operation

func (CreateRouteTableResponse) HTTPResponse ¶

func (response CreateRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateRouteTableResponse) String ¶

func (response CreateRouteTableResponse) String() string

type CreateSecurityListDetails ¶

type CreateSecurityListDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the security list.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Rules for allowing egress IP packets.
	EgressSecurityRules []EgressSecurityRule `mandatory:"true" json:"egressSecurityRules"`

	// Rules for allowing ingress IP packets.
	IngressSecurityRules []IngressSecurityRule `mandatory:"true" json:"ingressSecurityRules"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateSecurityListDetails The representation of CreateSecurityListDetails

func (CreateSecurityListDetails) String ¶

func (m CreateSecurityListDetails) String() string

func (CreateSecurityListDetails) ValidateEnumValue ¶

func (m CreateSecurityListDetails) 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 CreateSecurityListRequest ¶

type CreateSecurityListRequest struct {

	// Details regarding the security list to create.
	CreateSecurityListDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateSecurityListRequest wrapper for the CreateSecurityList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityListRequest.

func (CreateSecurityListRequest) BinaryRequestBody ¶

func (request CreateSecurityListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSecurityListRequest) HTTPRequest ¶

func (request CreateSecurityListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSecurityListRequest) RetryPolicy ¶

func (request CreateSecurityListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSecurityListRequest) String ¶

func (request CreateSecurityListRequest) String() string

func (CreateSecurityListRequest) ValidateEnumValue ¶

func (request CreateSecurityListRequest) 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 CreateSecurityListResponse ¶

type CreateSecurityListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityList instance
	SecurityList `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"`
}

CreateSecurityListResponse wrapper for the CreateSecurityList operation

func (CreateSecurityListResponse) HTTPResponse ¶

func (response CreateSecurityListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSecurityListResponse) String ¶

func (response CreateSecurityListResponse) String() string

type CreateServiceGatewayDetails ¶

type CreateServiceGatewayDetails struct {

	// The OCID  (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// List of the OCIDs of the Service objects to
	// enable for the service gateway. This list can be empty if you don't want to enable any
	// `Service` objects when you create the gateway. You can enable a `Service`
	// object later by using either AttachServiceId
	// or UpdateServiceGateway.
	// For each enabled `Service`, make sure there's a route rule with the `Service` object's `cidrBlock`
	// as the rule's destination and the service gateway as the rule's target. See
	// RouteTable.
	Services []ServiceIdRequestDetails `mandatory:"true" json:"services"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use.
	// If you don't specify a route table here, the service gateway is created without an associated route
	// table. The Networking service does NOT automatically associate the attached VCN's default route table
	// with the service gateway.
	// For information about why you would associate a route table with a service gateway, see
	// Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm).
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

CreateServiceGatewayDetails The representation of CreateServiceGatewayDetails

func (CreateServiceGatewayDetails) String ¶

func (CreateServiceGatewayDetails) ValidateEnumValue ¶

func (m CreateServiceGatewayDetails) 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 CreateServiceGatewayRequest ¶

type CreateServiceGatewayRequest struct {

	// Details for creating a service gateway.
	CreateServiceGatewayDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateServiceGatewayRequest wrapper for the CreateServiceGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGatewayRequest.

func (CreateServiceGatewayRequest) BinaryRequestBody ¶

func (request CreateServiceGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateServiceGatewayRequest) HTTPRequest ¶

func (request CreateServiceGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateServiceGatewayRequest) RetryPolicy ¶

func (request CreateServiceGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateServiceGatewayRequest) String ¶

func (request CreateServiceGatewayRequest) String() string

func (CreateServiceGatewayRequest) ValidateEnumValue ¶

func (request CreateServiceGatewayRequest) 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 CreateServiceGatewayResponse ¶

type CreateServiceGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ServiceGateway instance
	ServiceGateway `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"`
}

CreateServiceGatewayResponse wrapper for the CreateServiceGateway operation

func (CreateServiceGatewayResponse) HTTPResponse ¶

func (response CreateServiceGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateServiceGatewayResponse) String ¶

func (response CreateServiceGatewayResponse) String() string

type CreateSubnetDetails ¶

type CreateSubnetDetails struct {

	// The CIDR IP address range of the subnet. The CIDR must maintain the following rules -
	// a. The CIDR block is valid and correctly formatted.
	// b. The new range is within one of the parent VCN ranges.
	// Example: `10.0.1.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the subnet.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the subnet.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Controls whether the subnet is regional or specific to an availability domain. Oracle
	// recommends creating regional subnets because they're more flexible and make it easier to
	// implement failover across availability domains. Originally, AD-specific subnets were the
	// only kind available to use.
	// To create a regional subnet, omit this attribute. Then any resources later created in this
	// subnet (such as a Compute instance) can be created in any availability domain in the region.
	// To instead create an AD-specific subnet, set this attribute to the availability domain you
	// want this subnet to be in. Then any resources later created in this subnet can only be
	// created in that availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use. If you don't
	// provide a value, the subnet uses the VCN's default set of DHCP options.
	DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A DNS label for the subnet, used in conjunction with the VNIC's hostname and
	// VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC
	// within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be an alphanumeric string that begins with a letter and is unique within the VCN.
	// The value cannot be changed.
	// This value must be set if you want to use the Internet and VCN Resolver to resolve the
	// hostnames of instances in the subnet. It can only be set if the VCN itself
	// was created with a DNS label.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `subnet123`
	DnsLabel *string `mandatory:"false" json:"dnsLabel"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Use this to enable IPv6 addressing for this subnet. The VCN must be enabled for IPv6.
	// You can't change this subnet characteristic later. All subnets are /64 in size. The subnet
	// portion of the IPv6 address is the fourth hextet from the left (1111 in the following example).
	// For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123:1111::/64`
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// The list of all IPv6 prefixes (Oracle allocated IPv6 GUA, ULA or private IPv6 prefixes, BYOIPv6 prefixes) for the subnet that meets the following criteria:
	// - The prefixes must be valid.
	// - Multiple prefixes must not overlap each other or the on-premises network prefix.
	// - The number of prefixes must not exceed the limit of IPv6 prefixes allowed to a subnet.
	Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"`

	// Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false.
	// For IPv6, if `prohibitInternetIngress` is set to `true`, internet access is not allowed for any
	// IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet traffic is allowed by default.
	// `prohibitPublicIpOnVnic` will be set to the value of `prohibitInternetIngress` to dictate IPv4
	// behavior in this subnet. Only one or the other flag should be specified.
	// Example: `true`
	ProhibitInternetIngress *bool `mandatory:"false" json:"prohibitInternetIngress"`

	// Whether VNICs within this subnet can have public IP addresses.
	// Defaults to false, which means VNICs created in this subnet will
	// automatically be assigned public IP addresses unless specified
	// otherwise during instance launch or VNIC creation (with the
	// `assignPublicIp` flag in CreateVnicDetails).
	// If `prohibitPublicIpOnVnic` is set to true, VNICs created in this
	// subnet cannot have public IP addresses (that is, it's a private
	// subnet).
	// If you intend to use an IPv6 prefix, you should use the flag `prohibitInternetIngress` to
	// specify ingress internet traffic behavior of the subnet.
	// Example: `true`
	ProhibitPublicIpOnVnic *bool `mandatory:"false" json:"prohibitPublicIpOnVnic"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. If you don't provide a value,
	// the subnet uses the VCN's default route table.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The OCIDs of the security list or lists the subnet will use. If you don't
	// provide a value, the subnet uses the VCN's default security list.
	// Remember that security lists are associated *with the subnet*, but the
	// rules are applied to the individual VNICs in the subnet.
	SecurityListIds []string `mandatory:"false" json:"securityListIds"`
}

CreateSubnetDetails The representation of CreateSubnetDetails

func (CreateSubnetDetails) String ¶

func (m CreateSubnetDetails) String() string

func (CreateSubnetDetails) ValidateEnumValue ¶

func (m CreateSubnetDetails) 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 CreateSubnetRequest ¶

type CreateSubnetRequest struct {

	// Details for creating a subnet.
	CreateSubnetDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateSubnetRequest wrapper for the CreateSubnet operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnetRequest.

func (CreateSubnetRequest) BinaryRequestBody ¶

func (request CreateSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSubnetRequest) HTTPRequest ¶

func (request CreateSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSubnetRequest) RetryPolicy ¶

func (request CreateSubnetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSubnetRequest) String ¶

func (request CreateSubnetRequest) String() string

func (CreateSubnetRequest) ValidateEnumValue ¶

func (request CreateSubnetRequest) 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 CreateSubnetResponse ¶

type CreateSubnetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Subnet instance
	Subnet `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"`
}

CreateSubnetResponse wrapper for the CreateSubnet operation

func (CreateSubnetResponse) HTTPResponse ¶

func (response CreateSubnetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSubnetResponse) String ¶

func (response CreateSubnetResponse) String() string

type CreateVcnDetails ¶

type CreateVcnDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VCN.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// **Deprecated.** Do *not* set this value. Use `cidrBlocks` instead.
	// Example: `10.0.0.0/16`
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria:
	// - The CIDR blocks must be valid.
	// - They must not overlap with each other or with the on-premises network CIDR block.
	// - The number of CIDR blocks must not exceed the limit of CIDR blocks allowed per VCN.
	// **Important:** Do *not* specify a value for `cidrBlock`. Use this parameter instead.
	CidrBlocks []string `mandatory:"false" json:"cidrBlocks"`

	// The list of one or more ULA or Private IPv6 prefixes for the VCN that meets the following criteria:
	// - The CIDR blocks must be valid.
	// - Multiple CIDR blocks must not overlap each other or the on-premises network prefix.
	// - The number of CIDR blocks must not exceed the limit of IPv6 prefixes allowed to a VCN.
	// **Important:** Do *not* specify a value for `ipv6CidrBlock`. Use this parameter instead.
	Ipv6PrivateCidrBlocks []string `mandatory:"false" json:"ipv6PrivateCidrBlocks"`

	// Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA of /56
	// size for an IPv6 enabled VCN.
	IsOracleGuaAllocationEnabled *bool `mandatory:"false" json:"isOracleGuaAllocationEnabled"`

	// The list of BYOIPv6 OCIDs and BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 address ranges.
	Byoipv6CidrDetails []Byoipv6CidrDetails `mandatory:"false" json:"byoipv6CidrDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A DNS label for the VCN, used in conjunction with the VNIC's hostname and
	// subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC
	// within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Not required to be unique, but it's a best practice to set unique DNS labels
	// for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter.
	// The value cannot be changed.
	// You must set this value if you want instances to be able to use hostnames to
	// resolve other instances in the VCN. Otherwise the Internet and VCN Resolver
	// will not work.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `vcn1`
	DnsLabel *string `mandatory:"false" json:"dnsLabel"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether IPv6 is enabled for the VCN. Default is `false`.
	// If enabled, Oracle will assign the VCN a IPv6 /56 CIDR block.
	// You may skip having Oracle allocate the VCN a IPv6 /56 CIDR block by setting isOracleGuaAllocationEnabled to `false`.
	// For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `true`
	IsIpv6Enabled *bool `mandatory:"false" json:"isIpv6Enabled"`
}

CreateVcnDetails The representation of CreateVcnDetails

func (CreateVcnDetails) String ¶

func (m CreateVcnDetails) String() string

func (CreateVcnDetails) ValidateEnumValue ¶

func (m CreateVcnDetails) 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 CreateVcnRequest ¶

type CreateVcnRequest struct {

	// Details for creating a new VCN.
	CreateVcnDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVcnRequest wrapper for the CreateVcn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcnRequest.

func (CreateVcnRequest) BinaryRequestBody ¶

func (request CreateVcnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVcnRequest) HTTPRequest ¶

func (request CreateVcnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVcnRequest) RetryPolicy ¶

func (request CreateVcnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVcnRequest) String ¶

func (request CreateVcnRequest) String() string

func (CreateVcnRequest) ValidateEnumValue ¶

func (request CreateVcnRequest) 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 CreateVcnResponse ¶

type CreateVcnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vcn instance
	Vcn `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"`
}

CreateVcnResponse wrapper for the CreateVcn operation

func (CreateVcnResponse) HTTPResponse ¶

func (response CreateVcnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVcnResponse) String ¶

func (response CreateVcnResponse) String() string

type CreateVirtualCircuitDetails ¶

type CreateVirtualCircuitDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the virtual circuit.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The type of IP addresses used in this virtual circuit. PRIVATE
	// means RFC 1918 (https://tools.ietf.org/html/rfc1918) addresses
	// (10.0.0.0/8, 172.16/12, and 192.168/16).
	Type CreateVirtualCircuitDetailsTypeEnum `mandatory:"true" json:"type"`

	// The provisioned data rate of the connection. To get a list of the
	// available bandwidth levels (that is, shapes), see
	// ListFastConnectProviderVirtualCircuitBandwidthShapes.
	// Example: `10 Gbps`
	BandwidthShapeName *string `mandatory:"false" json:"bandwidthShapeName"`

	// Create a `CrossConnectMapping` for each cross-connect or cross-connect
	// group this virtual circuit will run on.
	CrossConnectMappings []CrossConnectMapping `mandatory:"false" json:"crossConnectMappings"`

	// The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit.
	// Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`.
	// See Route Filtering (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details.
	// By default, routing information is shared for all routes in the same market.
	RoutingPolicy []CreateVirtualCircuitDetailsRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"`

	// Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit.
	BgpAdminState CreateVirtualCircuitDetailsBgpAdminStateEnum `mandatory:"false" json:"bgpAdminState,omitempty"`

	// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
	IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`

	// Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
	IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`

	// Deprecated. Instead use `customerAsn`.
	// If you specify values for both, the request will be rejected.
	CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`

	// Your BGP ASN (either public or private). Provide this value only if
	// there's a BGP session that goes from your edge router to Oracle.
	// Otherwise, leave this empty or null.
	// Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
	// Example: `12345` (2-byte) or `1587232876` (4-byte)
	CustomerAsn *int64 `mandatory:"false" json:"customerAsn"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// For private virtual circuits only. The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Drg
	// that this virtual circuit uses.
	GatewayId *string `mandatory:"false" json:"gatewayId"`

	// Deprecated. Instead use `providerServiceId`.
	// To get a list of the provider names, see
	// ListFastConnectProviderServices.
	ProviderName *string `mandatory:"false" json:"providerName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if you're connecting
	// via a provider). To get a list of the available service offerings, see
	// ListFastConnectProviderServices.
	ProviderServiceId *string `mandatory:"false" json:"providerServiceId"`

	// The service key name offered by the provider (if the customer is connecting via a provider).
	ProviderServiceKeyName *string `mandatory:"false" json:"providerServiceKeyName"`

	// Deprecated. Instead use `providerServiceId`.
	// To get a list of the provider names, see
	// ListFastConnectProviderServices.
	ProviderServiceName *string `mandatory:"false" json:"providerServiceName"`

	// For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to
	// advertise across the connection.
	PublicPrefixes []CreateVirtualCircuitPublicPrefixDetails `mandatory:"false" json:"publicPrefixes"`

	// The Oracle Cloud Infrastructure region where this virtual
	// circuit is located.
	// Example: `phx`
	Region *string `mandatory:"false" json:"region"`

	// The layer 3 IP MTU to use with this virtual circuit.
	IpMtu VirtualCircuitIpMtuEnum `mandatory:"false" json:"ipMtu,omitempty"`
}

CreateVirtualCircuitDetails The representation of CreateVirtualCircuitDetails

func (CreateVirtualCircuitDetails) String ¶

func (CreateVirtualCircuitDetails) ValidateEnumValue ¶

func (m CreateVirtualCircuitDetails) 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 CreateVirtualCircuitDetailsBgpAdminStateEnum ¶

type CreateVirtualCircuitDetailsBgpAdminStateEnum string

CreateVirtualCircuitDetailsBgpAdminStateEnum Enum with underlying type: string

const (
	CreateVirtualCircuitDetailsBgpAdminStateEnabled  CreateVirtualCircuitDetailsBgpAdminStateEnum = "ENABLED"
	CreateVirtualCircuitDetailsBgpAdminStateDisabled CreateVirtualCircuitDetailsBgpAdminStateEnum = "DISABLED"
)

Set of constants representing the allowable values for CreateVirtualCircuitDetailsBgpAdminStateEnum

func GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues ¶

func GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues() []CreateVirtualCircuitDetailsBgpAdminStateEnum

GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsBgpAdminStateEnum

func GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum ¶

func GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum(val string) (CreateVirtualCircuitDetailsBgpAdminStateEnum, bool)

GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVirtualCircuitDetailsRoutingPolicyEnum ¶

type CreateVirtualCircuitDetailsRoutingPolicyEnum string

CreateVirtualCircuitDetailsRoutingPolicyEnum Enum with underlying type: string

const (
	CreateVirtualCircuitDetailsRoutingPolicyOracleServiceNetwork CreateVirtualCircuitDetailsRoutingPolicyEnum = "ORACLE_SERVICE_NETWORK"
	CreateVirtualCircuitDetailsRoutingPolicyRegional             CreateVirtualCircuitDetailsRoutingPolicyEnum = "REGIONAL"
	CreateVirtualCircuitDetailsRoutingPolicyMarketLevel          CreateVirtualCircuitDetailsRoutingPolicyEnum = "MARKET_LEVEL"
	CreateVirtualCircuitDetailsRoutingPolicyGlobal               CreateVirtualCircuitDetailsRoutingPolicyEnum = "GLOBAL"
)

Set of constants representing the allowable values for CreateVirtualCircuitDetailsRoutingPolicyEnum

func GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues ¶

func GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues() []CreateVirtualCircuitDetailsRoutingPolicyEnum

GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsRoutingPolicyEnum

func GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum ¶

func GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum(val string) (CreateVirtualCircuitDetailsRoutingPolicyEnum, bool)

GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVirtualCircuitDetailsTypeEnum ¶

type CreateVirtualCircuitDetailsTypeEnum string

CreateVirtualCircuitDetailsTypeEnum Enum with underlying type: string

const (
	CreateVirtualCircuitDetailsTypePublic  CreateVirtualCircuitDetailsTypeEnum = "PUBLIC"
	CreateVirtualCircuitDetailsTypePrivate CreateVirtualCircuitDetailsTypeEnum = "PRIVATE"
)

Set of constants representing the allowable values for CreateVirtualCircuitDetailsTypeEnum

func GetCreateVirtualCircuitDetailsTypeEnumValues ¶

func GetCreateVirtualCircuitDetailsTypeEnumValues() []CreateVirtualCircuitDetailsTypeEnum

GetCreateVirtualCircuitDetailsTypeEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsTypeEnum

func GetMappingCreateVirtualCircuitDetailsTypeEnum ¶

func GetMappingCreateVirtualCircuitDetailsTypeEnum(val string) (CreateVirtualCircuitDetailsTypeEnum, bool)

GetMappingCreateVirtualCircuitDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVirtualCircuitPublicPrefixDetails ¶

type CreateVirtualCircuitPublicPrefixDetails struct {

	// An individual public IP prefix (CIDR) to add to the public virtual circuit.
	// All prefix sizes are allowed.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

CreateVirtualCircuitPublicPrefixDetails The representation of CreateVirtualCircuitPublicPrefixDetails

func (CreateVirtualCircuitPublicPrefixDetails) String ¶

func (CreateVirtualCircuitPublicPrefixDetails) ValidateEnumValue ¶

func (m CreateVirtualCircuitPublicPrefixDetails) 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 CreateVirtualCircuitRequest ¶

type CreateVirtualCircuitRequest struct {

	// Details to create a VirtualCircuit.
	CreateVirtualCircuitDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVirtualCircuitRequest wrapper for the CreateVirtualCircuit operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuitRequest.

func (CreateVirtualCircuitRequest) BinaryRequestBody ¶

func (request CreateVirtualCircuitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVirtualCircuitRequest) HTTPRequest ¶

func (request CreateVirtualCircuitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVirtualCircuitRequest) RetryPolicy ¶

func (request CreateVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVirtualCircuitRequest) String ¶

func (request CreateVirtualCircuitRequest) String() string

func (CreateVirtualCircuitRequest) ValidateEnumValue ¶

func (request CreateVirtualCircuitRequest) 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 CreateVirtualCircuitResponse ¶

type CreateVirtualCircuitResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VirtualCircuit instance
	VirtualCircuit `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"`
}

CreateVirtualCircuitResponse wrapper for the CreateVirtualCircuit operation

func (CreateVirtualCircuitResponse) HTTPResponse ¶

func (response CreateVirtualCircuitResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVirtualCircuitResponse) String ¶

func (response CreateVirtualCircuitResponse) String() string

type CreateVlanDetails ¶

type CreateVlanDetails struct {

	// The range of IPv4 addresses that will be used for layer 3 communication with
	// hosts outside the VLAN. The CIDR must maintain the following rules -
	// 1. The CIDR block is valid and correctly formatted.
	// 2. The new range is within one of the parent VCN ranges.
	// Example: `192.0.2.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VLAN.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the VLAN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Controls whether the VLAN is regional or specific to an availability domain.
	// A regional VLAN has the flexibility to implement failover across availability domains.
	// Previously, all VLANs were AD-specific.
	// To create a regional VLAN, omit this attribute. Resources created subsequently in this
	// VLAN (such as a Compute instance) can be created in any availability domain in the region.
	// To create an AD-specific VLAN, use this attribute to specify the availability domain.
	// Resources created in this VLAN must be in that availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// A list of the OCIDs of the network security groups (NSGs) to add all VNICs in the VLAN to. For more
	// information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. If you don't provide a value,
	// the VLAN uses the VCN's default route table.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The IEEE 802.1Q VLAN tag for this VLAN. The value must be unique across all
	// VLANs in the VCN. If you don't provide a value, Oracle assigns one.
	// You cannot change the value later. VLAN tag 0 is reserved for use by Oracle.
	VlanTag *int `mandatory:"false" json:"vlanTag"`
}

CreateVlanDetails The representation of CreateVlanDetails

func (CreateVlanDetails) String ¶

func (m CreateVlanDetails) String() string

func (CreateVlanDetails) ValidateEnumValue ¶

func (m CreateVlanDetails) 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 CreateVlanRequest ¶

type CreateVlanRequest struct {

	// Details for creating a VLAN
	CreateVlanDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVlanRequest wrapper for the CreateVlan operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlanRequest.

func (CreateVlanRequest) BinaryRequestBody ¶

func (request CreateVlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVlanRequest) HTTPRequest ¶

func (request CreateVlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVlanRequest) RetryPolicy ¶

func (request CreateVlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVlanRequest) String ¶

func (request CreateVlanRequest) String() string

func (CreateVlanRequest) ValidateEnumValue ¶

func (request CreateVlanRequest) 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 CreateVlanResponse ¶

type CreateVlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vlan instance
	Vlan `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"`
}

CreateVlanResponse wrapper for the CreateVlan operation

func (CreateVlanResponse) HTTPResponse ¶

func (response CreateVlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVlanResponse) String ¶

func (response CreateVlanResponse) String() string

type CreateVnicDetails ¶

type CreateVnicDetails struct {

	// Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
	// subnet. Default: False. When provided you may optionally provide an IPv6 prefix
	// (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
	// is not provided then an IPv6 prefix is chosen
	// for you.
	AssignIpv6Ip *bool `mandatory:"false" json:"assignIpv6Ip"`

	// Whether the VNIC should be assigned a public IP address. Defaults to whether
	// the subnet is public or private. If not set and the VNIC is being created
	// in a private subnet (that is, where `prohibitPublicIpOnVnic` = true in the
	// Subnet), then no public IP address is assigned.
	// If not set and the subnet is public (`prohibitPublicIpOnVnic` = false), then
	// a public IP address is assigned. If set to true and
	// `prohibitPublicIpOnVnic` = true, an error is returned.
	// **Note:** This public IP address is associated with the primary private IP
	// on the VNIC. For more information, see
	// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm).
	// **Note:** There's a limit to the number of PublicIp
	// a VNIC or instance can have. If you try to create a secondary VNIC
	// with an assigned public IP for an instance that has already
	// reached its public IP limit, an error is returned. For information
	// about the public IP limits, see
	// Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
	// Example: `false`
	// If you specify a `vlanId`, then `assignPublicIp` must be set to false. See
	// Vlan.
	AssignPublicIp *bool `mandatory:"false" json:"assignPublicIp"`

	// Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS record
	// registration for the VNIC. If set to true, the DNS record will be registered. The default
	// value is true.
	// If you specify a `hostnameLabel`, then `assignPrivateDnsRecord` must be set to true.
	AssignPrivateDnsRecord *bool `mandatory:"false" json:"assignPrivateDnsRecord"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname
	// portion of the primary private IP's fully qualified domain name (FQDN)
	// (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// The value appears in the `Vnic` object and also the
	// `PrivateIp` object returned by
	// `ListPrivateIps` and
	// `GetPrivateIp`.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// When launching an instance, use this `hostnameLabel` instead
	// of the deprecated `hostnameLabel` in
	// `LaunchInstanceDetails`.
	// If you provide both, the values must match.
	// Example: `bminstance1`
	// If you specify a `vlanId`, the `hostnameLabel` cannot be specified. VNICs on a VLAN
	// can not be assigned a hostname. See Vlan.
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A list of IPv6 prefix ranges from which the VNIC is assigned an IPv6 address.
	// You can provide only the prefix ranges from which OCI selects an available
	// address from the range. You can optionally choose to leave the prefix range empty
	// and instead provide the specific IPv6 address within that range to use.
	Ipv6AddressIpv6SubnetCidrPairDetails []Ipv6AddressIpv6SubnetCidrPairDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`

	// A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more
	// information about NSGs, see
	// NetworkSecurityGroup.
	// If a `vlanId` is specified, the `nsgIds` cannot be specified. The `vlanId`
	// indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs,
	// all VNICs in the VLAN belong to the NSGs that are associated with the VLAN.
	// See Vlan.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// A private IP address of your choice to assign to the VNIC. Must be an
	// available IP address within the subnet's CIDR. If you don't specify a
	// value, Oracle automatically assigns a private IP address from the subnet.
	// This is the VNIC's *primary* private IP address. The value appears in
	// the `Vnic` object and also the
	// `PrivateIp` object returned by
	// `ListPrivateIps` and
	// `GetPrivateIp`.
	//
	// If you specify a `vlanId`, the `privateIp` cannot be specified.
	// See Vlan.
	// Example: `10.0.3.3`
	PrivateIp *string `mandatory:"false" json:"privateIp"`

	// Whether the source/destination check is disabled on the VNIC.
	// Defaults to `false`, which means the check is performed. For information
	// about why you would skip the source/destination check, see
	// Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).
	//
	// If you specify a `vlanId`, the `skipSourceDestCheck` cannot be specified because the
	// source/destination check is always disabled for VNICs in a VLAN. See
	// Vlan.
	// Example: `true`
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC in. When launching an instance,
	// use this `subnetId` instead of the deprecated `subnetId` in
	// LaunchInstanceDetails.
	// At least one of them is required; if you provide both, the values must match.
	// If you are an Oracle Cloud VMware Solution customer and creating a secondary
	// VNIC in a VLAN instead of a subnet, provide a `vlanId` instead of a `subnetId`.
	// If you provide both a `vlanId` and `subnetId`, the request fails.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// Provide this attribute only if you are an Oracle Cloud VMware Solution
	// customer and creating a secondary VNIC in a VLAN. The value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	// See Vlan.
	// Provide a `vlanId` instead of a `subnetId`. If you provide both a
	// `vlanId` and `subnetId`, the request fails.
	VlanId *string `mandatory:"false" json:"vlanId"`
}

CreateVnicDetails Contains properties for a VNIC. You use this object when creating the primary VNIC during instance launch or when creating a secondary VNIC. For more information about VNICs, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).

func (CreateVnicDetails) String ¶

func (m CreateVnicDetails) String() string

func (CreateVnicDetails) ValidateEnumValue ¶

func (m CreateVnicDetails) 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 CreateVolumeBackupDetails ¶

type CreateVolumeBackupDetails struct {

	// The OCID of the volume that needs to be backed up.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The OCID of the Vault service key which is the master encryption key for the volume backup.
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The type of backup to create. If omitted, defaults to INCREMENTAL.
	Type CreateVolumeBackupDetailsTypeEnum `mandatory:"false" json:"type,omitempty"`
}

CreateVolumeBackupDetails The representation of CreateVolumeBackupDetails

func (CreateVolumeBackupDetails) String ¶

func (m CreateVolumeBackupDetails) String() string

func (CreateVolumeBackupDetails) ValidateEnumValue ¶

func (m CreateVolumeBackupDetails) 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 CreateVolumeBackupDetailsTypeEnum ¶

type CreateVolumeBackupDetailsTypeEnum string

CreateVolumeBackupDetailsTypeEnum Enum with underlying type: string

const (
	CreateVolumeBackupDetailsTypeFull        CreateVolumeBackupDetailsTypeEnum = "FULL"
	CreateVolumeBackupDetailsTypeIncremental CreateVolumeBackupDetailsTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for CreateVolumeBackupDetailsTypeEnum

func GetCreateVolumeBackupDetailsTypeEnumValues ¶

func GetCreateVolumeBackupDetailsTypeEnumValues() []CreateVolumeBackupDetailsTypeEnum

GetCreateVolumeBackupDetailsTypeEnumValues Enumerates the set of values for CreateVolumeBackupDetailsTypeEnum

func GetMappingCreateVolumeBackupDetailsTypeEnum ¶

func GetMappingCreateVolumeBackupDetailsTypeEnum(val string) (CreateVolumeBackupDetailsTypeEnum, bool)

GetMappingCreateVolumeBackupDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVolumeBackupPolicyAssignmentDetails ¶

type CreateVolumeBackupPolicyAssignmentDetails struct {

	// The OCID of the volume to assign the policy to.
	AssetId *string `mandatory:"true" json:"assetId"`

	// The OCID of the volume backup policy to assign to the volume.
	PolicyId *string `mandatory:"true" json:"policyId"`
}

CreateVolumeBackupPolicyAssignmentDetails The representation of CreateVolumeBackupPolicyAssignmentDetails

func (CreateVolumeBackupPolicyAssignmentDetails) String ¶

func (CreateVolumeBackupPolicyAssignmentDetails) ValidateEnumValue ¶

func (m CreateVolumeBackupPolicyAssignmentDetails) 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 CreateVolumeBackupPolicyAssignmentRequest ¶

type CreateVolumeBackupPolicyAssignmentRequest struct {

	// Request to assign a specified policy to a particular volume.
	CreateVolumeBackupPolicyAssignmentDetails `contributesTo:"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 `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
}

CreateVolumeBackupPolicyAssignmentRequest wrapper for the CreateVolumeBackupPolicyAssignment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignmentRequest.

func (CreateVolumeBackupPolicyAssignmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (CreateVolumeBackupPolicyAssignmentRequest) HTTPRequest ¶

func (request CreateVolumeBackupPolicyAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVolumeBackupPolicyAssignmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVolumeBackupPolicyAssignmentRequest) String ¶

func (CreateVolumeBackupPolicyAssignmentRequest) ValidateEnumValue ¶

func (request CreateVolumeBackupPolicyAssignmentRequest) 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 CreateVolumeBackupPolicyAssignmentResponse ¶

type CreateVolumeBackupPolicyAssignmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackupPolicyAssignment instance
	VolumeBackupPolicyAssignment `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"`
}

CreateVolumeBackupPolicyAssignmentResponse wrapper for the CreateVolumeBackupPolicyAssignment operation

func (CreateVolumeBackupPolicyAssignmentResponse) HTTPResponse ¶

func (response CreateVolumeBackupPolicyAssignmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVolumeBackupPolicyAssignmentResponse) String ¶

type CreateVolumeBackupPolicyDetails ¶

type CreateVolumeBackupPolicyDetails struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The paired destination region for copying scheduled backups to. Example: `us-ashburn-1`.
	// See Region Pairs (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions.
	DestinationRegion *string `mandatory:"false" json:"destinationRegion"`

	// The collection of schedules for the volume backup policy. See
	// see Schedules (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in
	// Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information.
	Schedules []VolumeBackupSchedule `mandatory:"false" json:"schedules"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateVolumeBackupPolicyDetails Specifies the properties for creating user defined backup policy. For more information about user defined backup policies, see User Defined Policies (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).

func (CreateVolumeBackupPolicyDetails) String ¶

func (CreateVolumeBackupPolicyDetails) ValidateEnumValue ¶

func (m CreateVolumeBackupPolicyDetails) 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 CreateVolumeBackupPolicyRequest ¶

type CreateVolumeBackupPolicyRequest struct {

	// Request to create a new scheduled backup policy.
	CreateVolumeBackupPolicyDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVolumeBackupPolicyRequest wrapper for the CreateVolumeBackupPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicyRequest.

func (CreateVolumeBackupPolicyRequest) BinaryRequestBody ¶

func (request CreateVolumeBackupPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVolumeBackupPolicyRequest) HTTPRequest ¶

func (request CreateVolumeBackupPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVolumeBackupPolicyRequest) RetryPolicy ¶

func (request CreateVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVolumeBackupPolicyRequest) String ¶

func (request CreateVolumeBackupPolicyRequest) String() string

func (CreateVolumeBackupPolicyRequest) ValidateEnumValue ¶

func (request CreateVolumeBackupPolicyRequest) 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 CreateVolumeBackupPolicyResponse ¶

type CreateVolumeBackupPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackupPolicy instance
	VolumeBackupPolicy `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"`
}

CreateVolumeBackupPolicyResponse wrapper for the CreateVolumeBackupPolicy operation

func (CreateVolumeBackupPolicyResponse) HTTPResponse ¶

func (response CreateVolumeBackupPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVolumeBackupPolicyResponse) String ¶

func (response CreateVolumeBackupPolicyResponse) String() string

type CreateVolumeBackupRequest ¶

type CreateVolumeBackupRequest struct {

	// Request to create a new backup of given volume.
	CreateVolumeBackupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVolumeBackupRequest wrapper for the CreateVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackupRequest.

func (CreateVolumeBackupRequest) BinaryRequestBody ¶

func (request CreateVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVolumeBackupRequest) HTTPRequest ¶

func (request CreateVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVolumeBackupRequest) RetryPolicy ¶

func (request CreateVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVolumeBackupRequest) String ¶

func (request CreateVolumeBackupRequest) String() string

func (CreateVolumeBackupRequest) ValidateEnumValue ¶

func (request CreateVolumeBackupRequest) 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 CreateVolumeBackupResponse ¶

type CreateVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackup instance
	VolumeBackup `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"`
}

CreateVolumeBackupResponse wrapper for the CreateVolumeBackup operation

func (CreateVolumeBackupResponse) HTTPResponse ¶

func (response CreateVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVolumeBackupResponse) String ¶

func (response CreateVolumeBackupResponse) String() string

type CreateVolumeDetails ¶

type CreateVolumeDetails struct {

	// The OCID of the compartment that contains the volume.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The availability domain of the volume. Omissible for cloning a volume. The new volume will be created in the availability domain of the source volume.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// If provided, specifies the ID of the volume backup policy to assign to the newly
	// created volume. If omitted, no policy will be assigned.
	BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the Vault service key to assign as the master encryption key
	// for the volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `0`: Represents Lower Cost option.
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// The clusterPlacementGroup Id of the volume for volume placement.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// The size of the volume in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// The size of the volume in MBs. The value must be a multiple of 1024.
	// This field is deprecated. Use sizeInGBs instead.
	SizeInMBs *int64 `mandatory:"false" json:"sizeInMBs"`

	SourceDetails VolumeSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The OCID of the volume backup from which the data should be restored on the newly created volume.
	// This field is deprecated. Use the sourceDetails field instead to specify the
	// backup for the volume.
	VolumeBackupId *string `mandatory:"false" json:"volumeBackupId"`

	// Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated.
	// Use the `DetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The list of block volume replicas to be enabled for this volume
	// in the specified destination availability domains.
	BlockVolumeReplicas []BlockVolumeReplicaDetails `mandatory:"false" json:"blockVolumeReplicas"`

	// The list of autotune policies to be enabled for this volume.
	AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

CreateVolumeDetails The details of the volume to create. For CreateVolume operation, this field is required in the request, see CreateVolume.

func (CreateVolumeDetails) String ¶

func (m CreateVolumeDetails) String() string

func (*CreateVolumeDetails) UnmarshalJSON ¶

func (m *CreateVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateVolumeDetails) ValidateEnumValue ¶

func (m CreateVolumeDetails) 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 CreateVolumeGroupBackupDetails ¶

type CreateVolumeGroupBackupDetails struct {

	// The OCID of the volume group that needs to be backed up.
	VolumeGroupId *string `mandatory:"true" json:"volumeGroupId"`

	// The OCID of the compartment that will contain the volume group
	// backup. This parameter is optional, by default backup will be created in
	// the same compartment and source volume group.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The type of backup to create. If omitted, defaults to incremental.
	Type CreateVolumeGroupBackupDetailsTypeEnum `mandatory:"false" json:"type,omitempty"`
}

CreateVolumeGroupBackupDetails The representation of CreateVolumeGroupBackupDetails

func (CreateVolumeGroupBackupDetails) String ¶

func (CreateVolumeGroupBackupDetails) ValidateEnumValue ¶

func (m CreateVolumeGroupBackupDetails) 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 CreateVolumeGroupBackupDetailsTypeEnum ¶

type CreateVolumeGroupBackupDetailsTypeEnum string

CreateVolumeGroupBackupDetailsTypeEnum Enum with underlying type: string

const (
	CreateVolumeGroupBackupDetailsTypeFull        CreateVolumeGroupBackupDetailsTypeEnum = "FULL"
	CreateVolumeGroupBackupDetailsTypeIncremental CreateVolumeGroupBackupDetailsTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for CreateVolumeGroupBackupDetailsTypeEnum

func GetCreateVolumeGroupBackupDetailsTypeEnumValues ¶

func GetCreateVolumeGroupBackupDetailsTypeEnumValues() []CreateVolumeGroupBackupDetailsTypeEnum

GetCreateVolumeGroupBackupDetailsTypeEnumValues Enumerates the set of values for CreateVolumeGroupBackupDetailsTypeEnum

func GetMappingCreateVolumeGroupBackupDetailsTypeEnum ¶

func GetMappingCreateVolumeGroupBackupDetailsTypeEnum(val string) (CreateVolumeGroupBackupDetailsTypeEnum, bool)

GetMappingCreateVolumeGroupBackupDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVolumeGroupBackupRequest ¶

type CreateVolumeGroupBackupRequest struct {

	// Request to create a new backup group of given volume group.
	CreateVolumeGroupBackupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVolumeGroupBackupRequest wrapper for the CreateVolumeGroupBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackupRequest.

func (CreateVolumeGroupBackupRequest) BinaryRequestBody ¶

func (request CreateVolumeGroupBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVolumeGroupBackupRequest) HTTPRequest ¶

func (request CreateVolumeGroupBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVolumeGroupBackupRequest) RetryPolicy ¶

func (request CreateVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVolumeGroupBackupRequest) String ¶

func (request CreateVolumeGroupBackupRequest) String() string

func (CreateVolumeGroupBackupRequest) ValidateEnumValue ¶

func (request CreateVolumeGroupBackupRequest) 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 CreateVolumeGroupBackupResponse ¶

type CreateVolumeGroupBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroupBackup instance
	VolumeGroupBackup `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"`
}

CreateVolumeGroupBackupResponse wrapper for the CreateVolumeGroupBackup operation

func (CreateVolumeGroupBackupResponse) HTTPResponse ¶

func (response CreateVolumeGroupBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVolumeGroupBackupResponse) String ¶

func (response CreateVolumeGroupBackupResponse) String() string

type CreateVolumeGroupDetails ¶

type CreateVolumeGroupDetails struct {

	// The availability domain of the volume group.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the volume group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	SourceDetails VolumeGroupSourceDetails `mandatory:"true" json:"sourceDetails"`

	// If provided, specifies the ID of the volume backup policy to assign to the newly
	// created volume group. If omitted, no policy will be assigned.
	BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The list of volume group replicas that this volume group will be enabled to have
	// in the specified destination availability domains.
	VolumeGroupReplicas []VolumeGroupReplicaDetails `mandatory:"false" json:"volumeGroupReplicas"`

	// The clusterPlacementGroup Id of the volume group for volume group placement.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
}

CreateVolumeGroupDetails The representation of CreateVolumeGroupDetails

func (CreateVolumeGroupDetails) String ¶

func (m CreateVolumeGroupDetails) String() string

func (*CreateVolumeGroupDetails) UnmarshalJSON ¶

func (m *CreateVolumeGroupDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (CreateVolumeGroupDetails) ValidateEnumValue ¶

func (m CreateVolumeGroupDetails) 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 CreateVolumeGroupRequest ¶

type CreateVolumeGroupRequest struct {

	// Request to create a new volume group.
	CreateVolumeGroupDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVolumeGroupRequest wrapper for the CreateVolumeGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroupRequest.

func (CreateVolumeGroupRequest) BinaryRequestBody ¶

func (request CreateVolumeGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVolumeGroupRequest) HTTPRequest ¶

func (request CreateVolumeGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVolumeGroupRequest) RetryPolicy ¶

func (request CreateVolumeGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVolumeGroupRequest) String ¶

func (request CreateVolumeGroupRequest) String() string

func (CreateVolumeGroupRequest) ValidateEnumValue ¶

func (request CreateVolumeGroupRequest) 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 CreateVolumeGroupResponse ¶

type CreateVolumeGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroup instance
	VolumeGroup `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"`
}

CreateVolumeGroupResponse wrapper for the CreateVolumeGroup operation

func (CreateVolumeGroupResponse) HTTPResponse ¶

func (response CreateVolumeGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVolumeGroupResponse) String ¶

func (response CreateVolumeGroupResponse) String() string

type CreateVolumeRequest ¶

type CreateVolumeRequest struct {

	// Request to create a new volume.
	CreateVolumeDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVolumeRequest wrapper for the CreateVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolumeRequest.

func (CreateVolumeRequest) BinaryRequestBody ¶

func (request CreateVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVolumeRequest) HTTPRequest ¶

func (request CreateVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVolumeRequest) RetryPolicy ¶

func (request CreateVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVolumeRequest) String ¶

func (request CreateVolumeRequest) String() string

func (CreateVolumeRequest) ValidateEnumValue ¶

func (request CreateVolumeRequest) 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 CreateVolumeResponse ¶

type CreateVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Volume instance
	Volume `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"`
}

CreateVolumeResponse wrapper for the CreateVolume operation

func (CreateVolumeResponse) HTTPResponse ¶

func (response CreateVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVolumeResponse) String ¶

func (response CreateVolumeResponse) String() string

type CreateVtapDetails ¶ added in v65.3.0

type CreateVtapDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured.
	SourceId *string `mandatory:"true" json:"sourceId"`

	// The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	CaptureFilterId *string `mandatory:"true" json:"captureFilterId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The IP address of the destination resource where mirrored packets are sent.
	TargetIp *string `mandatory:"false" json:"targetIp"`

	// Defines an encapsulation header type for the VTAP's mirrored traffic.
	EncapsulationProtocol CreateVtapDetailsEncapsulationProtocolEnum `mandatory:"false" json:"encapsulationProtocol,omitempty"`

	// The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
	VxlanNetworkIdentifier *int64 `mandatory:"false" json:"vxlanNetworkIdentifier"`

	// Used to start or stop a `Vtap` resource.
	// * `TRUE` directs the VTAP to start mirroring traffic.
	// * `FALSE` (Default) directs the VTAP to stop mirroring traffic.
	IsVtapEnabled *bool `mandatory:"false" json:"isVtapEnabled"`

	// The source type for the VTAP.
	SourceType CreateVtapDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	// Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT
	TrafficMode CreateVtapDetailsTrafficModeEnum `mandatory:"false" json:"trafficMode,omitempty"`

	// The maximum size of the packets to be included in the filter.
	MaxPacketSize *int `mandatory:"false" json:"maxPacketSize"`

	// The target type for the VTAP.
	TargetType CreateVtapDetailsTargetTypeEnum `mandatory:"false" json:"targetType,omitempty"`

	// The IP Address of the source private endpoint.
	SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to.
	SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"`
}

CreateVtapDetails These details are included in a request to create a virtual test access point (VTAP).

func (CreateVtapDetails) String ¶ added in v65.3.0

func (m CreateVtapDetails) String() string

func (CreateVtapDetails) ValidateEnumValue ¶ added in v65.3.0

func (m CreateVtapDetails) 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 CreateVtapDetailsEncapsulationProtocolEnum ¶ added in v65.3.0

type CreateVtapDetailsEncapsulationProtocolEnum string

CreateVtapDetailsEncapsulationProtocolEnum Enum with underlying type: string

const (
	CreateVtapDetailsEncapsulationProtocolVxlan CreateVtapDetailsEncapsulationProtocolEnum = "VXLAN"
)

Set of constants representing the allowable values for CreateVtapDetailsEncapsulationProtocolEnum

func GetCreateVtapDetailsEncapsulationProtocolEnumValues ¶ added in v65.3.0

func GetCreateVtapDetailsEncapsulationProtocolEnumValues() []CreateVtapDetailsEncapsulationProtocolEnum

GetCreateVtapDetailsEncapsulationProtocolEnumValues Enumerates the set of values for CreateVtapDetailsEncapsulationProtocolEnum

func GetMappingCreateVtapDetailsEncapsulationProtocolEnum ¶ added in v65.3.0

func GetMappingCreateVtapDetailsEncapsulationProtocolEnum(val string) (CreateVtapDetailsEncapsulationProtocolEnum, bool)

GetMappingCreateVtapDetailsEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVtapDetailsSourceTypeEnum ¶ added in v65.3.0

type CreateVtapDetailsSourceTypeEnum string

CreateVtapDetailsSourceTypeEnum Enum with underlying type: string

const (
	CreateVtapDetailsSourceTypeVnic                    CreateVtapDetailsSourceTypeEnum = "VNIC"
	CreateVtapDetailsSourceTypeSubnet                  CreateVtapDetailsSourceTypeEnum = "SUBNET"
	CreateVtapDetailsSourceTypeLoadBalancer            CreateVtapDetailsSourceTypeEnum = "LOAD_BALANCER"
	CreateVtapDetailsSourceTypeDbSystem                CreateVtapDetailsSourceTypeEnum = "DB_SYSTEM"
	CreateVtapDetailsSourceTypeExadataVmCluster        CreateVtapDetailsSourceTypeEnum = "EXADATA_VM_CLUSTER"
	CreateVtapDetailsSourceTypeAutonomousDataWarehouse CreateVtapDetailsSourceTypeEnum = "AUTONOMOUS_DATA_WAREHOUSE"
)

Set of constants representing the allowable values for CreateVtapDetailsSourceTypeEnum

func GetCreateVtapDetailsSourceTypeEnumValues ¶ added in v65.3.0

func GetCreateVtapDetailsSourceTypeEnumValues() []CreateVtapDetailsSourceTypeEnum

GetCreateVtapDetailsSourceTypeEnumValues Enumerates the set of values for CreateVtapDetailsSourceTypeEnum

func GetMappingCreateVtapDetailsSourceTypeEnum ¶ added in v65.3.0

func GetMappingCreateVtapDetailsSourceTypeEnum(val string) (CreateVtapDetailsSourceTypeEnum, bool)

GetMappingCreateVtapDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVtapDetailsTargetTypeEnum ¶ added in v65.3.0

type CreateVtapDetailsTargetTypeEnum string

CreateVtapDetailsTargetTypeEnum Enum with underlying type: string

const (
	CreateVtapDetailsTargetTypeVnic                CreateVtapDetailsTargetTypeEnum = "VNIC"
	CreateVtapDetailsTargetTypeNetworkLoadBalancer CreateVtapDetailsTargetTypeEnum = "NETWORK_LOAD_BALANCER"
	CreateVtapDetailsTargetTypeIpAddress           CreateVtapDetailsTargetTypeEnum = "IP_ADDRESS"
)

Set of constants representing the allowable values for CreateVtapDetailsTargetTypeEnum

func GetCreateVtapDetailsTargetTypeEnumValues ¶ added in v65.3.0

func GetCreateVtapDetailsTargetTypeEnumValues() []CreateVtapDetailsTargetTypeEnum

GetCreateVtapDetailsTargetTypeEnumValues Enumerates the set of values for CreateVtapDetailsTargetTypeEnum

func GetMappingCreateVtapDetailsTargetTypeEnum ¶ added in v65.3.0

func GetMappingCreateVtapDetailsTargetTypeEnum(val string) (CreateVtapDetailsTargetTypeEnum, bool)

GetMappingCreateVtapDetailsTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVtapDetailsTrafficModeEnum ¶ added in v65.3.0

type CreateVtapDetailsTrafficModeEnum string

CreateVtapDetailsTrafficModeEnum Enum with underlying type: string

const (
	CreateVtapDetailsTrafficModeDefault  CreateVtapDetailsTrafficModeEnum = "DEFAULT"
	CreateVtapDetailsTrafficModePriority CreateVtapDetailsTrafficModeEnum = "PRIORITY"
)

Set of constants representing the allowable values for CreateVtapDetailsTrafficModeEnum

func GetCreateVtapDetailsTrafficModeEnumValues ¶ added in v65.3.0

func GetCreateVtapDetailsTrafficModeEnumValues() []CreateVtapDetailsTrafficModeEnum

GetCreateVtapDetailsTrafficModeEnumValues Enumerates the set of values for CreateVtapDetailsTrafficModeEnum

func GetMappingCreateVtapDetailsTrafficModeEnum ¶ added in v65.3.0

func GetMappingCreateVtapDetailsTrafficModeEnum(val string) (CreateVtapDetailsTrafficModeEnum, bool)

GetMappingCreateVtapDetailsTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateVtapRequest ¶ added in v65.3.0

type CreateVtapRequest struct {

	// Details used to create a VTAP.
	CreateVtapDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

CreateVtapRequest wrapper for the CreateVtap operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtapRequest.

func (CreateVtapRequest) BinaryRequestBody ¶ added in v65.3.0

func (request CreateVtapRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateVtapRequest) HTTPRequest ¶ added in v65.3.0

func (request CreateVtapRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateVtapRequest) RetryPolicy ¶ added in v65.3.0

func (request CreateVtapRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateVtapRequest) String ¶ added in v65.3.0

func (request CreateVtapRequest) String() string

func (CreateVtapRequest) ValidateEnumValue ¶ added in v65.3.0

func (request CreateVtapRequest) 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 CreateVtapResponse ¶ added in v65.3.0

type CreateVtapResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vtap instance
	Vtap `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"`
}

CreateVtapResponse wrapper for the CreateVtap operation

func (CreateVtapResponse) HTTPResponse ¶ added in v65.3.0

func (response CreateVtapResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateVtapResponse) String ¶ added in v65.3.0

func (response CreateVtapResponse) String() string

type CrossConnect ¶

type CrossConnect struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group this cross-connect belongs to (if any).
	CrossConnectGroupId *string `mandatory:"false" json:"crossConnectGroupId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The cross-connect's Oracle ID (OCID).
	Id *string `mandatory:"false" json:"id"`

	// The cross-connect's current state.
	LifecycleState CrossConnectLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The name of the FastConnect location where this cross-connect is installed.
	LocationName *string `mandatory:"false" json:"locationName"`

	// A string identifying the meet-me room port for this cross-connect.
	PortName *string `mandatory:"false" json:"portName"`

	// The port speed for this cross-connect.
	// Example: `10 Gbps`
	PortSpeedShapeName *string `mandatory:"false" json:"portSpeedShapeName"`

	// A reference name or identifier for the physical fiber connection that this cross-connect
	// uses.
	CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"`

	// The date and time the cross-connect was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	MacsecProperties *MacsecProperties `mandatory:"false" json:"macsecProperties"`

	// The FastConnect device that terminates the physical connection.
	OciPhysicalDeviceName *string `mandatory:"false" json:"ociPhysicalDeviceName"`

	// The FastConnect device that terminates the logical connection.
	// This device might be different than the device that terminates the physical connection.
	OciLogicalDeviceName *string `mandatory:"false" json:"ociLogicalDeviceName"`
}

CrossConnect For use with Oracle Cloud Infrastructure FastConnect. A cross-connect represents a physical connection between an existing network and Oracle. Customers who are colocated with Oracle in a FastConnect location create and use cross-connects. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). Oracle recommends you create each cross-connect in a CrossConnectGroup so you can use link aggregation with the connection. **Note:** If you're a provider who is setting up a physical connection to Oracle so customers can use FastConnect over the connection, be aware that your connection is modeled the same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (CrossConnect) String ¶

func (m CrossConnect) String() string

func (CrossConnect) ValidateEnumValue ¶

func (m CrossConnect) 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 CrossConnectGroup ¶

type CrossConnectGroup struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The cross-connect group's Oracle ID (OCID).
	Id *string `mandatory:"false" json:"id"`

	// The cross-connect group's current state.
	LifecycleState CrossConnectGroupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A reference name or identifier for the physical fiber connection that this cross-connect
	// group uses.
	CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"`

	// The date and time the cross-connect group was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	MacsecProperties *MacsecProperties `mandatory:"false" json:"macsecProperties"`

	// The FastConnect device that terminates the physical connection.
	OciPhysicalDeviceName *string `mandatory:"false" json:"ociPhysicalDeviceName"`

	// The FastConnect device that terminates the logical connection.
	// This device might be different than the device that terminates the physical connection.
	OciLogicalDeviceName *string `mandatory:"false" json:"ociLogicalDeviceName"`
}

CrossConnectGroup For use with Oracle Cloud Infrastructure FastConnect. A cross-connect group is a link aggregation group (LAG), which can contain one or more CrossConnect. Customers who are colocated with Oracle in a FastConnect location create and use cross-connect groups. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). **Note:** If you're a provider who is setting up a physical connection to Oracle so customers can use FastConnect over the connection, be aware that your connection is modeled the same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (CrossConnectGroup) String ¶

func (m CrossConnectGroup) String() string

func (CrossConnectGroup) ValidateEnumValue ¶

func (m CrossConnectGroup) 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 CrossConnectGroupLifecycleStateEnum ¶

type CrossConnectGroupLifecycleStateEnum string

CrossConnectGroupLifecycleStateEnum Enum with underlying type: string

const (
	CrossConnectGroupLifecycleStateProvisioning CrossConnectGroupLifecycleStateEnum = "PROVISIONING"
	CrossConnectGroupLifecycleStateProvisioned  CrossConnectGroupLifecycleStateEnum = "PROVISIONED"
	CrossConnectGroupLifecycleStateInactive     CrossConnectGroupLifecycleStateEnum = "INACTIVE"
	CrossConnectGroupLifecycleStateTerminating  CrossConnectGroupLifecycleStateEnum = "TERMINATING"
	CrossConnectGroupLifecycleStateTerminated   CrossConnectGroupLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for CrossConnectGroupLifecycleStateEnum

func GetCrossConnectGroupLifecycleStateEnumValues ¶

func GetCrossConnectGroupLifecycleStateEnumValues() []CrossConnectGroupLifecycleStateEnum

GetCrossConnectGroupLifecycleStateEnumValues Enumerates the set of values for CrossConnectGroupLifecycleStateEnum

func GetMappingCrossConnectGroupLifecycleStateEnum ¶

func GetMappingCrossConnectGroupLifecycleStateEnum(val string) (CrossConnectGroupLifecycleStateEnum, bool)

GetMappingCrossConnectGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CrossConnectLifecycleStateEnum ¶

type CrossConnectLifecycleStateEnum string

CrossConnectLifecycleStateEnum Enum with underlying type: string

const (
	CrossConnectLifecycleStatePendingCustomer CrossConnectLifecycleStateEnum = "PENDING_CUSTOMER"
	CrossConnectLifecycleStateProvisioning    CrossConnectLifecycleStateEnum = "PROVISIONING"
	CrossConnectLifecycleStateProvisioned     CrossConnectLifecycleStateEnum = "PROVISIONED"
	CrossConnectLifecycleStateInactive        CrossConnectLifecycleStateEnum = "INACTIVE"
	CrossConnectLifecycleStateTerminating     CrossConnectLifecycleStateEnum = "TERMINATING"
	CrossConnectLifecycleStateTerminated      CrossConnectLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for CrossConnectLifecycleStateEnum

func GetCrossConnectLifecycleStateEnumValues ¶

func GetCrossConnectLifecycleStateEnumValues() []CrossConnectLifecycleStateEnum

GetCrossConnectLifecycleStateEnumValues Enumerates the set of values for CrossConnectLifecycleStateEnum

func GetMappingCrossConnectLifecycleStateEnum ¶

func GetMappingCrossConnectLifecycleStateEnum(val string) (CrossConnectLifecycleStateEnum, bool)

GetMappingCrossConnectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CrossConnectLocation ¶

type CrossConnectLocation struct {

	// A description of the location.
	Description *string `mandatory:"true" json:"description"`

	// The name of the location.
	// Example: `CyrusOne, Chandler, AZ`
	Name *string `mandatory:"true" json:"name"`
}

CrossConnectLocation An individual FastConnect location.

func (CrossConnectLocation) String ¶

func (m CrossConnectLocation) String() string

func (CrossConnectLocation) ValidateEnumValue ¶

func (m CrossConnectLocation) 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 CrossConnectMapping ¶

type CrossConnectMapping struct {

	// The key for BGP MD5 authentication. Only applicable if your system
	// requires MD5 authentication. If empty or not set (null), that
	// means you don't use BGP MD5 authentication.
	BgpMd5AuthKey *string `mandatory:"false" json:"bgpMd5AuthKey"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping.
	// Specified by the owner of the cross-connect or cross-connect group (the
	// customer if the customer is colocated with Oracle, or the provider if the
	// customer is connecting via provider).
	CrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"crossConnectOrCrossConnectGroupId"`

	// The BGP IPv4 address for the router on the other end of the BGP session from
	// Oracle. Specified by the owner of that router. If the session goes from Oracle
	// to a customer, this is the BGP IPv4 address of the customer's edge router. If the
	// session goes from Oracle to a provider, this is the BGP IPv4 address of the
	// provider's edge router. Must use a subnet mask from /28 to /31.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
	// Example: `10.0.0.18/31`
	CustomerBgpPeeringIp *string `mandatory:"false" json:"customerBgpPeeringIp"`

	// The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31.
	// If the session goes from Oracle to a customer's edge router,
	// the customer specifies this information. If the session goes from Oracle to
	// a provider's edge router, the provider specifies this.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
	// Example: `10.0.0.19/31`
	OracleBgpPeeringIp *string `mandatory:"false" json:"oracleBgpPeeringIp"`

	// The BGP IPv6 address for the router on the other end of the BGP session from
	// Oracle. Specified by the owner of that router. If the session goes from Oracle
	// to a customer, this is the BGP IPv6 address of the customer's edge router. If the
	// session goes from Oracle to a provider, this is the BGP IPv6 address of the
	// provider's edge router. Only subnet masks from /64 up to /127 are allowed.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.
	// IPv6 addressing is supported for all commercial and government regions. See
	// IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:db8::1/64`
	CustomerBgpPeeringIpv6 *string `mandatory:"false" json:"customerBgpPeeringIpv6"`

	// The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed.
	// If the session goes from Oracle to a customer's edge router,
	// the customer specifies this information. If the session goes from Oracle to
	// a provider's edge router, the provider specifies this.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.
	// Note that IPv6 addressing is currently supported only in certain regions. See
	// IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:db8::2/64`
	OracleBgpPeeringIpv6 *string `mandatory:"false" json:"oracleBgpPeeringIpv6"`

	// The number of the specific VLAN (on the cross-connect or cross-connect group)
	// that is assigned to this virtual circuit. Specified by the owner of the cross-connect
	// or cross-connect group (the customer if the customer is colocated with Oracle, or
	// the provider if the customer is connecting via provider).
	// Example: `200`
	Vlan *int `mandatory:"false" json:"vlan"`
}

CrossConnectMapping For use with Oracle Cloud Infrastructure FastConnect. Each VirtualCircuit runs on one or more cross-connects or cross-connect groups. A `CrossConnectMapping` contains the properties for an individual cross-connect or cross-connect group associated with a given virtual circuit. The mapping includes information about the cross-connect or cross-connect group, the VLAN, and the BGP peering session. If you're a customer who is colocated with Oracle, that means you own both the virtual circuit and the physical connection it runs on (cross-connect or cross-connect group), so you specify all the information in the mapping. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. If you're a provider, then you own the physical connection that the customer's virtual circuit runs on, so you contribute information about the cross-connect or cross-connect group and VLAN. Who specifies the BGP peering information in the case of customer connection via provider? If the BGP session goes from Oracle to the provider's edge router, then the provider also specifies the BGP peering information. If the BGP session instead goes from Oracle to the customer's edge router, then the customer specifies the BGP peering information. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. Every `CrossConnectMapping` must have BGP IPv4 peering addresses. BGP IPv6 peering addresses are optional. If BGP IPv6 addresses are provided, the customer can exchange IPv6 routes with Oracle.

func (CrossConnectMapping) String ¶

func (m CrossConnectMapping) String() string

func (CrossConnectMapping) ValidateEnumValue ¶

func (m CrossConnectMapping) 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 CrossConnectMappingDetails ¶

type CrossConnectMappingDetails struct {

	// The key for BGP MD5 authentication. Only applicable if your system
	// requires MD5 authentication. If empty or not set (null), that
	// means you don't use BGP MD5 authentication.
	BgpMd5AuthKey *string `mandatory:"false" json:"bgpMd5AuthKey"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping.
	// Specified by the owner of the cross-connect or cross-connect group (the
	// customer if the customer is colocated with Oracle, or the provider if the
	// customer is connecting via provider).
	CrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"crossConnectOrCrossConnectGroupId"`

	// The BGP IPv4 address for the router on the other end of the BGP session from
	// Oracle. Specified by the owner of that router. If the session goes from Oracle
	// to a customer, this is the BGP IPv4 address of the customer's edge router. If the
	// session goes from Oracle to a provider, this is the BGP IPv4 address of the
	// provider's edge router. Must use a subnet mask from /28 to /31.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
	// Example: `10.0.0.18/31`
	CustomerBgpPeeringIp *string `mandatory:"false" json:"customerBgpPeeringIp"`

	// The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31.
	// If the session goes from Oracle to a customer's edge router,
	// the customer specifies this information. If the session goes from Oracle to
	// a provider's edge router, the provider specifies this.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
	// Example: `10.0.0.19/31`
	OracleBgpPeeringIp *string `mandatory:"false" json:"oracleBgpPeeringIp"`

	// The BGP IPv6 address for the router on the other end of the BGP session from
	// Oracle. Specified by the owner of that router. If the session goes from Oracle
	// to a customer, this is the BGP IPv6 address of the customer's edge router. If the
	// session goes from Oracle to a provider, this is the BGP IPv6 address of the
	// provider's edge router. Only subnet masks from /64 up to /127 are allowed.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.
	// Example: `2001:db8::1/64`
	CustomerBgpPeeringIpv6 *string `mandatory:"false" json:"customerBgpPeeringIpv6"`

	// The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed.
	// If the session goes from Oracle to a customer's edge router,
	// the customer specifies this information. If the session goes from Oracle to
	// a provider's edge router, the provider specifies this.
	// There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses.
	// Example: `2001:db8::2/64`
	OracleBgpPeeringIpv6 *string `mandatory:"false" json:"oracleBgpPeeringIpv6"`

	// The number of the specific VLAN (on the cross-connect or cross-connect group)
	// that is assigned to this virtual circuit. Specified by the owner of the cross-connect
	// or cross-connect group (the customer if the customer is colocated with Oracle, or
	// the provider if the customer is connecting via provider).
	// Example: `200`
	Vlan *int `mandatory:"false" json:"vlan"`

	// The state of the Ipv4 BGP session.
	Ipv4BgpStatus CrossConnectMappingDetailsIpv4BgpStatusEnum `mandatory:"false" json:"ipv4BgpStatus,omitempty"`

	// The state of the Ipv6 BGP session.
	Ipv6BgpStatus CrossConnectMappingDetailsIpv6BgpStatusEnum `mandatory:"false" json:"ipv6BgpStatus,omitempty"`

	// The FastConnect device that terminates the logical connection.
	OciLogicalDeviceName *string `mandatory:"false" json:"ociLogicalDeviceName"`
}

CrossConnectMappingDetails For use with Oracle Cloud Infrastructure FastConnect. Each VirtualCircuit runs on one or more cross-connects or cross-connect groups. A `CrossConnectMappingDetails` contains the properties for an individual cross-connect or cross-connect group associated with a given virtual circuit. The details includes information about the cross-connect or cross-connect group, the VLAN, and the BGP peering session.

func (CrossConnectMappingDetails) String ¶

func (CrossConnectMappingDetails) ValidateEnumValue ¶

func (m CrossConnectMappingDetails) 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 CrossConnectMappingDetailsCollection ¶

type CrossConnectMappingDetailsCollection struct {

	// CrossConnectMappingDetails items
	Items []CrossConnectMappingDetails `mandatory:"true" json:"items"`
}

CrossConnectMappingDetailsCollection An array of CrossConnectMappingDetails

func (CrossConnectMappingDetailsCollection) String ¶

func (CrossConnectMappingDetailsCollection) ValidateEnumValue ¶

func (m CrossConnectMappingDetailsCollection) 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 CrossConnectMappingDetailsIpv4BgpStatusEnum ¶

type CrossConnectMappingDetailsIpv4BgpStatusEnum string

CrossConnectMappingDetailsIpv4BgpStatusEnum Enum with underlying type: string

const (
	CrossConnectMappingDetailsIpv4BgpStatusUp   CrossConnectMappingDetailsIpv4BgpStatusEnum = "UP"
	CrossConnectMappingDetailsIpv4BgpStatusDown CrossConnectMappingDetailsIpv4BgpStatusEnum = "DOWN"
)

Set of constants representing the allowable values for CrossConnectMappingDetailsIpv4BgpStatusEnum

func GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues ¶

func GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues() []CrossConnectMappingDetailsIpv4BgpStatusEnum

GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues Enumerates the set of values for CrossConnectMappingDetailsIpv4BgpStatusEnum

func GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum ¶

func GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum(val string) (CrossConnectMappingDetailsIpv4BgpStatusEnum, bool)

GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type CrossConnectMappingDetailsIpv6BgpStatusEnum ¶

type CrossConnectMappingDetailsIpv6BgpStatusEnum string

CrossConnectMappingDetailsIpv6BgpStatusEnum Enum with underlying type: string

const (
	CrossConnectMappingDetailsIpv6BgpStatusUp   CrossConnectMappingDetailsIpv6BgpStatusEnum = "UP"
	CrossConnectMappingDetailsIpv6BgpStatusDown CrossConnectMappingDetailsIpv6BgpStatusEnum = "DOWN"
)

Set of constants representing the allowable values for CrossConnectMappingDetailsIpv6BgpStatusEnum

func GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues ¶

func GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues() []CrossConnectMappingDetailsIpv6BgpStatusEnum

GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues Enumerates the set of values for CrossConnectMappingDetailsIpv6BgpStatusEnum

func GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum ¶

func GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum(val string) (CrossConnectMappingDetailsIpv6BgpStatusEnum, bool)

GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type CrossConnectPortSpeedShape ¶

type CrossConnectPortSpeedShape struct {

	// The name of the port speed shape.
	// Example: `10 Gbps`
	Name *string `mandatory:"true" json:"name"`

	// The port speed in Gbps.
	// Example: `10`
	PortSpeedInGbps *int `mandatory:"true" json:"portSpeedInGbps"`
}

CrossConnectPortSpeedShape An individual port speed level for cross-connects.

func (CrossConnectPortSpeedShape) String ¶

func (CrossConnectPortSpeedShape) ValidateEnumValue ¶

func (m CrossConnectPortSpeedShape) 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 CrossConnectStatus ¶

type CrossConnectStatus struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" json:"crossConnectId"`

	// Indicates whether Oracle's side of the interface is up or down.
	InterfaceState CrossConnectStatusInterfaceStateEnum `mandatory:"false" json:"interfaceState,omitempty"`

	// The light level of the cross-connect (in dBm).
	// Example: `14.0`
	LightLevelIndBm *float32 `mandatory:"false" json:"lightLevelIndBm"`

	// Status indicator corresponding to the light level.
	//   * **NO_LIGHT:** No measurable light
	//   * **LOW_WARN:** There's measurable light but it's too low
	//   * **HIGH_WARN:** Light level is too high
	//   * **BAD:** There's measurable light but the signal-to-noise ratio is bad
	//   * **GOOD:** Good light level
	LightLevelIndicator CrossConnectStatusLightLevelIndicatorEnum `mandatory:"false" json:"lightLevelIndicator,omitempty"`

	// Encryption status of this cross connect.
	// Possible values:
	// * **UP:** Traffic is encrypted over this cross-connect
	// * **DOWN:** Traffic is not encrypted over this cross-connect
	// * **CIPHER_MISMATCH:** The MACsec encryption cipher doesn't match the cipher on the CPE
	// * **CKN_MISMATCH:** The MACsec Connectivity association Key Name (CKN) doesn't match the CKN on the CPE
	// * **CAK_MISMATCH:** The MACsec Connectivity Association Key (CAK) doesn't match the CAK on the CPE
	EncryptionStatus CrossConnectStatusEncryptionStatusEnum `mandatory:"false" json:"encryptionStatus,omitempty"`

	// The light levels of the cross-connect (in dBm).
	// Example: `[14.0, -14.0, 2.1, -10.1]`
	LightLevelsInDBm []float32 `mandatory:"false" json:"lightLevelsInDBm"`
}

CrossConnectStatus The status of the cross-connect.

func (CrossConnectStatus) String ¶

func (m CrossConnectStatus) String() string

func (CrossConnectStatus) ValidateEnumValue ¶

func (m CrossConnectStatus) 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 CrossConnectStatusEncryptionStatusEnum ¶

type CrossConnectStatusEncryptionStatusEnum string

CrossConnectStatusEncryptionStatusEnum Enum with underlying type: string

const (
	CrossConnectStatusEncryptionStatusUp             CrossConnectStatusEncryptionStatusEnum = "UP"
	CrossConnectStatusEncryptionStatusDown           CrossConnectStatusEncryptionStatusEnum = "DOWN"
	CrossConnectStatusEncryptionStatusCipherMismatch CrossConnectStatusEncryptionStatusEnum = "CIPHER_MISMATCH"
	CrossConnectStatusEncryptionStatusCknMismatch    CrossConnectStatusEncryptionStatusEnum = "CKN_MISMATCH"
	CrossConnectStatusEncryptionStatusCakMismatch    CrossConnectStatusEncryptionStatusEnum = "CAK_MISMATCH"
)

Set of constants representing the allowable values for CrossConnectStatusEncryptionStatusEnum

func GetCrossConnectStatusEncryptionStatusEnumValues ¶

func GetCrossConnectStatusEncryptionStatusEnumValues() []CrossConnectStatusEncryptionStatusEnum

GetCrossConnectStatusEncryptionStatusEnumValues Enumerates the set of values for CrossConnectStatusEncryptionStatusEnum

func GetMappingCrossConnectStatusEncryptionStatusEnum ¶

func GetMappingCrossConnectStatusEncryptionStatusEnum(val string) (CrossConnectStatusEncryptionStatusEnum, bool)

GetMappingCrossConnectStatusEncryptionStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type CrossConnectStatusInterfaceStateEnum ¶

type CrossConnectStatusInterfaceStateEnum string

CrossConnectStatusInterfaceStateEnum Enum with underlying type: string

const (
	CrossConnectStatusInterfaceStateUp   CrossConnectStatusInterfaceStateEnum = "UP"
	CrossConnectStatusInterfaceStateDown CrossConnectStatusInterfaceStateEnum = "DOWN"
)

Set of constants representing the allowable values for CrossConnectStatusInterfaceStateEnum

func GetCrossConnectStatusInterfaceStateEnumValues ¶

func GetCrossConnectStatusInterfaceStateEnumValues() []CrossConnectStatusInterfaceStateEnum

GetCrossConnectStatusInterfaceStateEnumValues Enumerates the set of values for CrossConnectStatusInterfaceStateEnum

func GetMappingCrossConnectStatusInterfaceStateEnum ¶

func GetMappingCrossConnectStatusInterfaceStateEnum(val string) (CrossConnectStatusInterfaceStateEnum, bool)

GetMappingCrossConnectStatusInterfaceStateEnum performs case Insensitive comparison on enum value and return the desired enum

type CrossConnectStatusLightLevelIndicatorEnum ¶

type CrossConnectStatusLightLevelIndicatorEnum string

CrossConnectStatusLightLevelIndicatorEnum Enum with underlying type: string

const (
	CrossConnectStatusLightLevelIndicatorNoLight  CrossConnectStatusLightLevelIndicatorEnum = "NO_LIGHT"
	CrossConnectStatusLightLevelIndicatorLowWarn  CrossConnectStatusLightLevelIndicatorEnum = "LOW_WARN"
	CrossConnectStatusLightLevelIndicatorHighWarn CrossConnectStatusLightLevelIndicatorEnum = "HIGH_WARN"
	CrossConnectStatusLightLevelIndicatorBad      CrossConnectStatusLightLevelIndicatorEnum = "BAD"
	CrossConnectStatusLightLevelIndicatorGood     CrossConnectStatusLightLevelIndicatorEnum = "GOOD"
)

Set of constants representing the allowable values for CrossConnectStatusLightLevelIndicatorEnum

func GetCrossConnectStatusLightLevelIndicatorEnumValues ¶

func GetCrossConnectStatusLightLevelIndicatorEnumValues() []CrossConnectStatusLightLevelIndicatorEnum

GetCrossConnectStatusLightLevelIndicatorEnumValues Enumerates the set of values for CrossConnectStatusLightLevelIndicatorEnum

func GetMappingCrossConnectStatusLightLevelIndicatorEnum ¶

func GetMappingCrossConnectStatusLightLevelIndicatorEnum(val string) (CrossConnectStatusLightLevelIndicatorEnum, bool)

GetMappingCrossConnectStatusLightLevelIndicatorEnum performs case Insensitive comparison on enum value and return the desired enum

type DedicatedCapacitySource ¶ added in v65.53.0

type DedicatedCapacitySource struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this capacity source.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

DedicatedCapacitySource A capacity source of bare metal hosts that is dedicated to a user.

func (DedicatedCapacitySource) MarshalJSON ¶ added in v65.53.0

func (m DedicatedCapacitySource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DedicatedCapacitySource) String ¶ added in v65.53.0

func (m DedicatedCapacitySource) String() string

func (DedicatedCapacitySource) ValidateEnumValue ¶ added in v65.53.0

func (m DedicatedCapacitySource) 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 DedicatedVmHost ¶

type DedicatedVmHost struct {

	// The availability domain the dedicated virtual machine host is running in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the dedicated virtual machine host.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The dedicated virtual machine host shape. The shape determines the number of CPUs and
	// other resources available for VMs.
	DedicatedVmHostShape *string `mandatory:"true" json:"dedicatedVmHostShape"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the dedicated VM host.
	LifecycleState DedicatedVmHostLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the dedicated VM host was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The total OCPUs of the dedicated VM host.
	TotalOcpus *float32 `mandatory:"true" json:"totalOcpus"`

	// The available OCPUs of the dedicated VM host.
	RemainingOcpus *float32 `mandatory:"true" json:"remainingOcpus"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The fault domain for the dedicated virtual machine host's assigned instances.
	// For more information, see Fault Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault).
	// If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host,
	// delete it, and then create a new dedicated virtual machine host in the preferred fault domain.
	// To get a list of fault domains, use the `ListFaultDomains` operation in the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The total memory of the dedicated VM host, in GBs.
	TotalMemoryInGBs *float32 `mandatory:"false" json:"totalMemoryInGBs"`

	// The remaining memory of the dedicated VM host, in GBs.
	RemainingMemoryInGBs *float32 `mandatory:"false" json:"remainingMemoryInGBs"`
}

DedicatedVmHost A dedicated virtual machine host lets you host multiple VM instances on a dedicated server that is not shared with other tenancies.

func (DedicatedVmHost) String ¶

func (m DedicatedVmHost) String() string

func (DedicatedVmHost) ValidateEnumValue ¶

func (m DedicatedVmHost) 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 DedicatedVmHostInstanceShapeSummary ¶

type DedicatedVmHostInstanceShapeSummary struct {

	// The name of the virtual machine instance shapes that can be launched on a dedicated VM host.
	InstanceShapeName *string `mandatory:"true" json:"instanceShapeName"`

	// The shape's availability domain.
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
}

DedicatedVmHostInstanceShapeSummary The shape used to launch instances associated with the dedicated VM host.

func (DedicatedVmHostInstanceShapeSummary) String ¶

func (DedicatedVmHostInstanceShapeSummary) ValidateEnumValue ¶

func (m DedicatedVmHostInstanceShapeSummary) 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 DedicatedVmHostInstanceSummary ¶

type DedicatedVmHostInstanceSummary struct {

	// The availability domain the virtual machine instance is running in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the virtual machine instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the virtual machine instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The shape of the VM instance.
	Shape *string `mandatory:"true" json:"shape"`

	// The date and time the virtual machine instance was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

DedicatedVmHostInstanceSummary Condensed instance data when listing instances on a dedicated VM host.

func (DedicatedVmHostInstanceSummary) String ¶

func (DedicatedVmHostInstanceSummary) ValidateEnumValue ¶

func (m DedicatedVmHostInstanceSummary) 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 DedicatedVmHostLifecycleStateEnum ¶

type DedicatedVmHostLifecycleStateEnum string

DedicatedVmHostLifecycleStateEnum Enum with underlying type: string

const (
	DedicatedVmHostLifecycleStateCreating DedicatedVmHostLifecycleStateEnum = "CREATING"
	DedicatedVmHostLifecycleStateActive   DedicatedVmHostLifecycleStateEnum = "ACTIVE"
	DedicatedVmHostLifecycleStateUpdating DedicatedVmHostLifecycleStateEnum = "UPDATING"
	DedicatedVmHostLifecycleStateDeleting DedicatedVmHostLifecycleStateEnum = "DELETING"
	DedicatedVmHostLifecycleStateDeleted  DedicatedVmHostLifecycleStateEnum = "DELETED"
	DedicatedVmHostLifecycleStateFailed   DedicatedVmHostLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DedicatedVmHostLifecycleStateEnum

func GetDedicatedVmHostLifecycleStateEnumValues ¶

func GetDedicatedVmHostLifecycleStateEnumValues() []DedicatedVmHostLifecycleStateEnum

GetDedicatedVmHostLifecycleStateEnumValues Enumerates the set of values for DedicatedVmHostLifecycleStateEnum

func GetMappingDedicatedVmHostLifecycleStateEnum ¶

func GetMappingDedicatedVmHostLifecycleStateEnum(val string) (DedicatedVmHostLifecycleStateEnum, bool)

GetMappingDedicatedVmHostLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DedicatedVmHostShapeSummary ¶

type DedicatedVmHostShapeSummary struct {

	// The name of the dedicated VM host shape. You can enumerate all available shapes by calling
	// dedicatedVmHostShapes.
	DedicatedVmHostShape *string `mandatory:"true" json:"dedicatedVmHostShape"`

	// The shape's availability domain.
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
}

DedicatedVmHostShapeSummary The shape used to launch the dedicated virtual machine (VM) host.

func (DedicatedVmHostShapeSummary) String ¶

func (DedicatedVmHostShapeSummary) ValidateEnumValue ¶

func (m DedicatedVmHostShapeSummary) 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 DedicatedVmHostSummary ¶

type DedicatedVmHostSummary struct {

	// The availability domain the dedicated VM host is running in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the dedicated VM host.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The shape of the dedicated VM host. The shape determines the number of CPUs and
	// other resources available for VMs.
	DedicatedVmHostShape *string `mandatory:"true" json:"dedicatedVmHostShape"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the dedicated VM host.
	LifecycleState DedicatedVmHostSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the dedicated VM host was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current available OCPUs of the dedicated VM host.
	RemainingOcpus *float32 `mandatory:"true" json:"remainingOcpus"`

	// The current total OCPUs of the dedicated VM host.
	TotalOcpus *float32 `mandatory:"true" json:"totalOcpus"`

	// The fault domain for the dedicated VM host's assigned instances. For more information, see Fault Domains.
	// If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated VM host,
	// delete it and create a new dedicated VM host in the preferred fault domain.
	// To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The current total memory of the dedicated VM host, in GBs.
	TotalMemoryInGBs *float32 `mandatory:"false" json:"totalMemoryInGBs"`

	// The current available memory of the dedicated VM host, in GBs.
	RemainingMemoryInGBs *float32 `mandatory:"false" json:"remainingMemoryInGBs"`
}

DedicatedVmHostSummary A dedicated virtual machine (VM) host lets you host multiple instances on a dedicated server that is not shared with other tenancies.

func (DedicatedVmHostSummary) String ¶

func (m DedicatedVmHostSummary) String() string

func (DedicatedVmHostSummary) ValidateEnumValue ¶

func (m DedicatedVmHostSummary) 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 DedicatedVmHostSummaryLifecycleStateEnum ¶

type DedicatedVmHostSummaryLifecycleStateEnum string

DedicatedVmHostSummaryLifecycleStateEnum Enum with underlying type: string

const (
	DedicatedVmHostSummaryLifecycleStateCreating DedicatedVmHostSummaryLifecycleStateEnum = "CREATING"
	DedicatedVmHostSummaryLifecycleStateActive   DedicatedVmHostSummaryLifecycleStateEnum = "ACTIVE"
	DedicatedVmHostSummaryLifecycleStateUpdating DedicatedVmHostSummaryLifecycleStateEnum = "UPDATING"
	DedicatedVmHostSummaryLifecycleStateDeleting DedicatedVmHostSummaryLifecycleStateEnum = "DELETING"
	DedicatedVmHostSummaryLifecycleStateDeleted  DedicatedVmHostSummaryLifecycleStateEnum = "DELETED"
	DedicatedVmHostSummaryLifecycleStateFailed   DedicatedVmHostSummaryLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for DedicatedVmHostSummaryLifecycleStateEnum

func GetDedicatedVmHostSummaryLifecycleStateEnumValues ¶

func GetDedicatedVmHostSummaryLifecycleStateEnumValues() []DedicatedVmHostSummaryLifecycleStateEnum

GetDedicatedVmHostSummaryLifecycleStateEnumValues Enumerates the set of values for DedicatedVmHostSummaryLifecycleStateEnum

func GetMappingDedicatedVmHostSummaryLifecycleStateEnum ¶

func GetMappingDedicatedVmHostSummaryLifecycleStateEnum(val string) (DedicatedVmHostSummaryLifecycleStateEnum, bool)

GetMappingDedicatedVmHostSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DefaultDrgRouteTables ¶

type DefaultDrgRouteTables struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments
	// of type VCN on creation.
	Vcn *string `mandatory:"false" json:"vcn"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table assigned to DRG attachments
	// of type IPSEC_TUNNEL on creation.
	IpsecTunnel *string `mandatory:"false" json:"ipsecTunnel"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments
	// of type VIRTUAL_CIRCUIT on creation.
	VirtualCircuit *string `mandatory:"false" json:"virtualCircuit"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments
	// of type REMOTE_PEERING_CONNECTION on creation.
	RemotePeeringConnection *string `mandatory:"false" json:"remotePeeringConnection"`
}

DefaultDrgRouteTables The default DRG route table for this DRG. Each network type has a default DRG route table. You can update a network type to use a different DRG route table, but each network type must have a default DRG route table. You cannot delete a default DRG route table.

func (DefaultDrgRouteTables) String ¶

func (m DefaultDrgRouteTables) String() string

func (DefaultDrgRouteTables) ValidateEnumValue ¶

func (m DefaultDrgRouteTables) 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 DefaultPhaseOneParameters ¶

type DefaultPhaseOneParameters struct {

	// Default phase one encryption algorithms.
	DefaultEncryptionAlgorithms []string `mandatory:"false" json:"defaultEncryptionAlgorithms"`

	// Default phase one authentication algorithms.
	DefaultAuthenticationAlgorithms []string `mandatory:"false" json:"defaultAuthenticationAlgorithms"`

	// Default phase one Diffie-Hellman groups.
	DefaultDhGroups []string `mandatory:"false" json:"defaultDhGroups"`
}

DefaultPhaseOneParameters Default phase one parameters.

func (DefaultPhaseOneParameters) String ¶

func (m DefaultPhaseOneParameters) String() string

func (DefaultPhaseOneParameters) ValidateEnumValue ¶

func (m DefaultPhaseOneParameters) 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 DefaultPhaseTwoParameters ¶

type DefaultPhaseTwoParameters struct {

	// Default phase two encryption algorithms.
	DefaultEncryptionAlgorithms []string `mandatory:"false" json:"defaultEncryptionAlgorithms"`

	// Default phase two authentication algorithms.
	DefaultAuthenticationAlgorithms []string `mandatory:"false" json:"defaultAuthenticationAlgorithms"`

	// Default perfect forward secrecy Diffie-Hellman groups.
	DefaultPfsDhGroup *string `mandatory:"false" json:"defaultPfsDhGroup"`
}

DefaultPhaseTwoParameters Default phase two parameters.

func (DefaultPhaseTwoParameters) String ¶

func (m DefaultPhaseTwoParameters) String() string

func (DefaultPhaseTwoParameters) ValidateEnumValue ¶

func (m DefaultPhaseTwoParameters) 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 DeleteAppCatalogSubscriptionRequest ¶

type DeleteAppCatalogSubscriptionRequest struct {

	// The OCID of the listing.
	ListingId *string `mandatory:"true" contributesTo:"query" name:"listingId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Listing Resource Version.
	ResourceVersion *string `mandatory:"true" contributesTo:"query" name:"resourceVersion"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteAppCatalogSubscriptionRequest wrapper for the DeleteAppCatalogSubscription operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscriptionRequest.

func (DeleteAppCatalogSubscriptionRequest) BinaryRequestBody ¶

func (request DeleteAppCatalogSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteAppCatalogSubscriptionRequest) HTTPRequest ¶

func (request DeleteAppCatalogSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAppCatalogSubscriptionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAppCatalogSubscriptionRequest) String ¶

func (DeleteAppCatalogSubscriptionRequest) ValidateEnumValue ¶

func (request DeleteAppCatalogSubscriptionRequest) 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 DeleteAppCatalogSubscriptionResponse ¶

type DeleteAppCatalogSubscriptionResponse 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"`
}

DeleteAppCatalogSubscriptionResponse wrapper for the DeleteAppCatalogSubscription operation

func (DeleteAppCatalogSubscriptionResponse) HTTPResponse ¶

func (response DeleteAppCatalogSubscriptionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAppCatalogSubscriptionResponse) String ¶

func (response DeleteAppCatalogSubscriptionResponse) String() string

type DeleteBootVolumeBackupRequest ¶

type DeleteBootVolumeBackupRequest struct {

	// The OCID of the boot volume backup.
	BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteBootVolumeBackupRequest wrapper for the DeleteBootVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackupRequest.

func (DeleteBootVolumeBackupRequest) BinaryRequestBody ¶

func (request DeleteBootVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBootVolumeBackupRequest) HTTPRequest ¶

func (request DeleteBootVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBootVolumeBackupRequest) RetryPolicy ¶

func (request DeleteBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteBootVolumeBackupRequest) String ¶

func (request DeleteBootVolumeBackupRequest) String() string

func (DeleteBootVolumeBackupRequest) ValidateEnumValue ¶

func (request DeleteBootVolumeBackupRequest) 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 DeleteBootVolumeBackupResponse ¶

type DeleteBootVolumeBackupResponse 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"`
}

DeleteBootVolumeBackupResponse wrapper for the DeleteBootVolumeBackup operation

func (DeleteBootVolumeBackupResponse) HTTPResponse ¶

func (response DeleteBootVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteBootVolumeBackupResponse) String ¶

func (response DeleteBootVolumeBackupResponse) String() string

type DeleteBootVolumeKmsKeyRequest ¶

type DeleteBootVolumeKmsKeyRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteBootVolumeKmsKeyRequest wrapper for the DeleteBootVolumeKmsKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKeyRequest.

func (DeleteBootVolumeKmsKeyRequest) BinaryRequestBody ¶

func (request DeleteBootVolumeKmsKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBootVolumeKmsKeyRequest) HTTPRequest ¶

func (request DeleteBootVolumeKmsKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBootVolumeKmsKeyRequest) RetryPolicy ¶

func (request DeleteBootVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteBootVolumeKmsKeyRequest) String ¶

func (request DeleteBootVolumeKmsKeyRequest) String() string

func (DeleteBootVolumeKmsKeyRequest) ValidateEnumValue ¶

func (request DeleteBootVolumeKmsKeyRequest) 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 DeleteBootVolumeKmsKeyResponse ¶

type DeleteBootVolumeKmsKeyResponse 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"`
}

DeleteBootVolumeKmsKeyResponse wrapper for the DeleteBootVolumeKmsKey operation

func (DeleteBootVolumeKmsKeyResponse) HTTPResponse ¶

func (response DeleteBootVolumeKmsKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteBootVolumeKmsKeyResponse) String ¶

func (response DeleteBootVolumeKmsKeyResponse) String() string

type DeleteBootVolumeRequest ¶

type DeleteBootVolumeRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteBootVolumeRequest wrapper for the DeleteBootVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolumeRequest.

func (DeleteBootVolumeRequest) BinaryRequestBody ¶

func (request DeleteBootVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBootVolumeRequest) HTTPRequest ¶

func (request DeleteBootVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBootVolumeRequest) RetryPolicy ¶

func (request DeleteBootVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteBootVolumeRequest) String ¶

func (request DeleteBootVolumeRequest) String() string

func (DeleteBootVolumeRequest) ValidateEnumValue ¶

func (request DeleteBootVolumeRequest) 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 DeleteBootVolumeResponse ¶

type DeleteBootVolumeResponse 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"`
}

DeleteBootVolumeResponse wrapper for the DeleteBootVolume operation

func (DeleteBootVolumeResponse) HTTPResponse ¶

func (response DeleteBootVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteBootVolumeResponse) String ¶

func (response DeleteBootVolumeResponse) String() string

type DeleteByoipRangeRequest ¶

type DeleteByoipRangeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

DeleteByoipRangeRequest wrapper for the DeleteByoipRange operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRangeRequest.

func (DeleteByoipRangeRequest) BinaryRequestBody ¶

func (request DeleteByoipRangeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteByoipRangeRequest) HTTPRequest ¶

func (request DeleteByoipRangeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteByoipRangeRequest) RetryPolicy ¶

func (request DeleteByoipRangeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteByoipRangeRequest) String ¶

func (request DeleteByoipRangeRequest) String() string

func (DeleteByoipRangeRequest) ValidateEnumValue ¶

func (request DeleteByoipRangeRequest) 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 DeleteByoipRangeResponse ¶

type DeleteByoipRangeResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteByoipRangeResponse wrapper for the DeleteByoipRange operation

func (DeleteByoipRangeResponse) HTTPResponse ¶

func (response DeleteByoipRangeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteByoipRangeResponse) String ¶

func (response DeleteByoipRangeResponse) String() string

type DeleteCaptureFilterRequest ¶ added in v65.3.0

type DeleteCaptureFilterRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter.
	CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"`

	// 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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteCaptureFilterRequest wrapper for the DeleteCaptureFilter operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilterRequest.

func (DeleteCaptureFilterRequest) BinaryRequestBody ¶ added in v65.3.0

func (request DeleteCaptureFilterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCaptureFilterRequest) HTTPRequest ¶ added in v65.3.0

func (request DeleteCaptureFilterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCaptureFilterRequest) RetryPolicy ¶ added in v65.3.0

func (request DeleteCaptureFilterRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCaptureFilterRequest) String ¶ added in v65.3.0

func (request DeleteCaptureFilterRequest) String() string

func (DeleteCaptureFilterRequest) ValidateEnumValue ¶ added in v65.3.0

func (request DeleteCaptureFilterRequest) 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 DeleteCaptureFilterResponse ¶ added in v65.3.0

type DeleteCaptureFilterResponse 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"`
}

DeleteCaptureFilterResponse wrapper for the DeleteCaptureFilter operation

func (DeleteCaptureFilterResponse) HTTPResponse ¶ added in v65.3.0

func (response DeleteCaptureFilterResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCaptureFilterResponse) String ¶ added in v65.3.0

func (response DeleteCaptureFilterResponse) String() string

type DeleteComputeCapacityReservationRequest ¶

type DeleteComputeCapacityReservationRequest struct {

	// The OCID of the compute capacity reservation.
	CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

DeleteComputeCapacityReservationRequest wrapper for the DeleteComputeCapacityReservation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservationRequest.

func (DeleteComputeCapacityReservationRequest) BinaryRequestBody ¶

func (request DeleteComputeCapacityReservationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteComputeCapacityReservationRequest) HTTPRequest ¶

func (request DeleteComputeCapacityReservationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteComputeCapacityReservationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteComputeCapacityReservationRequest) String ¶

func (DeleteComputeCapacityReservationRequest) ValidateEnumValue ¶

func (request DeleteComputeCapacityReservationRequest) 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 DeleteComputeCapacityReservationResponse ¶

type DeleteComputeCapacityReservationResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteComputeCapacityReservationResponse wrapper for the DeleteComputeCapacityReservation operation

func (DeleteComputeCapacityReservationResponse) HTTPResponse ¶

func (response DeleteComputeCapacityReservationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteComputeCapacityReservationResponse) String ¶

type DeleteComputeCapacityTopologyRequest ¶ added in v65.53.0

type DeleteComputeCapacityTopologyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// 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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteComputeCapacityTopologyRequest wrapper for the DeleteComputeCapacityTopology operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityTopology.go.html to see an example of how to use DeleteComputeCapacityTopologyRequest.

func (DeleteComputeCapacityTopologyRequest) BinaryRequestBody ¶ added in v65.53.0

func (request DeleteComputeCapacityTopologyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteComputeCapacityTopologyRequest) HTTPRequest ¶ added in v65.53.0

func (request DeleteComputeCapacityTopologyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteComputeCapacityTopologyRequest) RetryPolicy ¶ added in v65.53.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteComputeCapacityTopologyRequest) String ¶ added in v65.53.0

func (DeleteComputeCapacityTopologyRequest) ValidateEnumValue ¶ added in v65.53.0

func (request DeleteComputeCapacityTopologyRequest) 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 DeleteComputeCapacityTopologyResponse ¶ added in v65.53.0

type DeleteComputeCapacityTopologyResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteComputeCapacityTopologyResponse wrapper for the DeleteComputeCapacityTopology operation

func (DeleteComputeCapacityTopologyResponse) HTTPResponse ¶ added in v65.53.0

func (response DeleteComputeCapacityTopologyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteComputeCapacityTopologyResponse) String ¶ added in v65.53.0

type DeleteComputeClusterRequest ¶ added in v65.33.1

type DeleteComputeClusterRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory
	// access (RDMA) network group.
	ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

DeleteComputeClusterRequest wrapper for the DeleteComputeCluster operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeClusterRequest.

func (DeleteComputeClusterRequest) BinaryRequestBody ¶ added in v65.33.1

func (request DeleteComputeClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteComputeClusterRequest) HTTPRequest ¶ added in v65.33.1

func (request DeleteComputeClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteComputeClusterRequest) RetryPolicy ¶ added in v65.33.1

func (request DeleteComputeClusterRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteComputeClusterRequest) String ¶ added in v65.33.1

func (request DeleteComputeClusterRequest) String() string

func (DeleteComputeClusterRequest) ValidateEnumValue ¶ added in v65.33.1

func (request DeleteComputeClusterRequest) 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 DeleteComputeClusterResponse ¶ added in v65.33.1

type DeleteComputeClusterResponse 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"`
}

DeleteComputeClusterResponse wrapper for the DeleteComputeCluster operation

func (DeleteComputeClusterResponse) HTTPResponse ¶ added in v65.33.1

func (response DeleteComputeClusterResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteComputeClusterResponse) String ¶ added in v65.33.1

func (response DeleteComputeClusterResponse) String() string

type DeleteComputeImageCapabilitySchemaRequest ¶

type DeleteComputeImageCapabilitySchemaRequest struct {

	// The id of the compute image capability schema or the image ocid
	ComputeImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeImageCapabilitySchemaId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteComputeImageCapabilitySchemaRequest wrapper for the DeleteComputeImageCapabilitySchema operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchemaRequest.

func (DeleteComputeImageCapabilitySchemaRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DeleteComputeImageCapabilitySchemaRequest) HTTPRequest ¶

func (request DeleteComputeImageCapabilitySchemaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteComputeImageCapabilitySchemaRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteComputeImageCapabilitySchemaRequest) String ¶

func (DeleteComputeImageCapabilitySchemaRequest) ValidateEnumValue ¶

func (request DeleteComputeImageCapabilitySchemaRequest) 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 DeleteComputeImageCapabilitySchemaResponse ¶

type DeleteComputeImageCapabilitySchemaResponse 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"`
}

DeleteComputeImageCapabilitySchemaResponse wrapper for the DeleteComputeImageCapabilitySchema operation

func (DeleteComputeImageCapabilitySchemaResponse) HTTPResponse ¶

func (response DeleteComputeImageCapabilitySchemaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteComputeImageCapabilitySchemaResponse) String ¶

type DeleteConsoleHistoryRequest ¶

type DeleteConsoleHistoryRequest struct {

	// The OCID of the console history.
	InstanceConsoleHistoryId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleHistoryId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteConsoleHistoryRequest wrapper for the DeleteConsoleHistory operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistoryRequest.

func (DeleteConsoleHistoryRequest) BinaryRequestBody ¶

func (request DeleteConsoleHistoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteConsoleHistoryRequest) HTTPRequest ¶

func (request DeleteConsoleHistoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteConsoleHistoryRequest) RetryPolicy ¶

func (request DeleteConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteConsoleHistoryRequest) String ¶

func (request DeleteConsoleHistoryRequest) String() string

func (DeleteConsoleHistoryRequest) ValidateEnumValue ¶

func (request DeleteConsoleHistoryRequest) 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 DeleteConsoleHistoryResponse ¶

type DeleteConsoleHistoryResponse 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"`
}

DeleteConsoleHistoryResponse wrapper for the DeleteConsoleHistory operation

func (DeleteConsoleHistoryResponse) HTTPResponse ¶

func (response DeleteConsoleHistoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteConsoleHistoryResponse) String ¶

func (response DeleteConsoleHistoryResponse) String() string

type DeleteCpeRequest ¶

type DeleteCpeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE.
	CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteCpeRequest wrapper for the DeleteCpe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpeRequest.

func (DeleteCpeRequest) BinaryRequestBody ¶

func (request DeleteCpeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCpeRequest) HTTPRequest ¶

func (request DeleteCpeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCpeRequest) RetryPolicy ¶

func (request DeleteCpeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCpeRequest) String ¶

func (request DeleteCpeRequest) String() string

func (DeleteCpeRequest) ValidateEnumValue ¶

func (request DeleteCpeRequest) 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 DeleteCpeResponse ¶

type DeleteCpeResponse 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"`
}

DeleteCpeResponse wrapper for the DeleteCpe operation

func (DeleteCpeResponse) HTTPResponse ¶

func (response DeleteCpeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCpeResponse) String ¶

func (response DeleteCpeResponse) String() string

type DeleteCrossConnectGroupRequest ¶

type DeleteCrossConnectGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group.
	CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteCrossConnectGroupRequest wrapper for the DeleteCrossConnectGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroupRequest.

func (DeleteCrossConnectGroupRequest) BinaryRequestBody ¶

func (request DeleteCrossConnectGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCrossConnectGroupRequest) HTTPRequest ¶

func (request DeleteCrossConnectGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCrossConnectGroupRequest) RetryPolicy ¶

func (request DeleteCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCrossConnectGroupRequest) String ¶

func (request DeleteCrossConnectGroupRequest) String() string

func (DeleteCrossConnectGroupRequest) ValidateEnumValue ¶

func (request DeleteCrossConnectGroupRequest) 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 DeleteCrossConnectGroupResponse ¶

type DeleteCrossConnectGroupResponse 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"`
}

DeleteCrossConnectGroupResponse wrapper for the DeleteCrossConnectGroup operation

func (DeleteCrossConnectGroupResponse) HTTPResponse ¶

func (response DeleteCrossConnectGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCrossConnectGroupResponse) String ¶

func (response DeleteCrossConnectGroupResponse) String() string

type DeleteCrossConnectRequest ¶

type DeleteCrossConnectRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteCrossConnectRequest wrapper for the DeleteCrossConnect operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnectRequest.

func (DeleteCrossConnectRequest) BinaryRequestBody ¶

func (request DeleteCrossConnectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteCrossConnectRequest) HTTPRequest ¶

func (request DeleteCrossConnectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCrossConnectRequest) RetryPolicy ¶

func (request DeleteCrossConnectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCrossConnectRequest) String ¶

func (request DeleteCrossConnectRequest) String() string

func (DeleteCrossConnectRequest) ValidateEnumValue ¶

func (request DeleteCrossConnectRequest) 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 DeleteCrossConnectResponse ¶

type DeleteCrossConnectResponse 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"`
}

DeleteCrossConnectResponse wrapper for the DeleteCrossConnect operation

func (DeleteCrossConnectResponse) HTTPResponse ¶

func (response DeleteCrossConnectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCrossConnectResponse) String ¶

func (response DeleteCrossConnectResponse) String() string

type DeleteDedicatedVmHostRequest ¶

type DeleteDedicatedVmHostRequest struct {

	// The OCID of the dedicated VM host.
	DedicatedVmHostId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVmHostId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteDedicatedVmHostRequest wrapper for the DeleteDedicatedVmHost operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHostRequest.

func (DeleteDedicatedVmHostRequest) BinaryRequestBody ¶

func (request DeleteDedicatedVmHostRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDedicatedVmHostRequest) HTTPRequest ¶

func (request DeleteDedicatedVmHostRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDedicatedVmHostRequest) RetryPolicy ¶

func (request DeleteDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDedicatedVmHostRequest) String ¶

func (request DeleteDedicatedVmHostRequest) String() string

func (DeleteDedicatedVmHostRequest) ValidateEnumValue ¶

func (request DeleteDedicatedVmHostRequest) 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 DeleteDedicatedVmHostResponse ¶

type DeleteDedicatedVmHostResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteDedicatedVmHostResponse wrapper for the DeleteDedicatedVmHost operation

func (DeleteDedicatedVmHostResponse) HTTPResponse ¶

func (response DeleteDedicatedVmHostResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDedicatedVmHostResponse) String ¶

func (response DeleteDedicatedVmHostResponse) String() string

type DeleteDhcpOptionsRequest ¶

type DeleteDhcpOptionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
	DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteDhcpOptionsRequest wrapper for the DeleteDhcpOptions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptionsRequest.

func (DeleteDhcpOptionsRequest) BinaryRequestBody ¶

func (request DeleteDhcpOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDhcpOptionsRequest) HTTPRequest ¶

func (request DeleteDhcpOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDhcpOptionsRequest) RetryPolicy ¶

func (request DeleteDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDhcpOptionsRequest) String ¶

func (request DeleteDhcpOptionsRequest) String() string

func (DeleteDhcpOptionsRequest) ValidateEnumValue ¶

func (request DeleteDhcpOptionsRequest) 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 DeleteDhcpOptionsResponse ¶

type DeleteDhcpOptionsResponse 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"`
}

DeleteDhcpOptionsResponse wrapper for the DeleteDhcpOptions operation

func (DeleteDhcpOptionsResponse) HTTPResponse ¶

func (response DeleteDhcpOptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDhcpOptionsResponse) String ¶

func (response DeleteDhcpOptionsResponse) String() string

type DeleteDrgAttachmentRequest ¶

type DeleteDrgAttachmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
	DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteDrgAttachmentRequest wrapper for the DeleteDrgAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachmentRequest.

func (DeleteDrgAttachmentRequest) BinaryRequestBody ¶

func (request DeleteDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrgAttachmentRequest) HTTPRequest ¶

func (request DeleteDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrgAttachmentRequest) RetryPolicy ¶

func (request DeleteDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrgAttachmentRequest) String ¶

func (request DeleteDrgAttachmentRequest) String() string

func (DeleteDrgAttachmentRequest) ValidateEnumValue ¶

func (request DeleteDrgAttachmentRequest) 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 DeleteDrgAttachmentResponse ¶

type DeleteDrgAttachmentResponse 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"`
}

DeleteDrgAttachmentResponse wrapper for the DeleteDrgAttachment operation

func (DeleteDrgAttachmentResponse) HTTPResponse ¶

func (response DeleteDrgAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrgAttachmentResponse) String ¶

func (response DeleteDrgAttachmentResponse) String() string

type DeleteDrgRequest ¶

type DeleteDrgRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteDrgRequest wrapper for the DeleteDrg operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrgRequest.

func (DeleteDrgRequest) BinaryRequestBody ¶

func (request DeleteDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrgRequest) HTTPRequest ¶

func (request DeleteDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrgRequest) RetryPolicy ¶

func (request DeleteDrgRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrgRequest) String ¶

func (request DeleteDrgRequest) String() string

func (DeleteDrgRequest) ValidateEnumValue ¶

func (request DeleteDrgRequest) 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 DeleteDrgResponse ¶

type DeleteDrgResponse 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"`
}

DeleteDrgResponse wrapper for the DeleteDrg operation

func (DeleteDrgResponse) HTTPResponse ¶

func (response DeleteDrgResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrgResponse) String ¶

func (response DeleteDrgResponse) String() string

type DeleteDrgRouteDistributionRequest ¶

type DeleteDrgRouteDistributionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteDrgRouteDistributionRequest wrapper for the DeleteDrgRouteDistribution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistributionRequest.

func (DeleteDrgRouteDistributionRequest) BinaryRequestBody ¶

func (request DeleteDrgRouteDistributionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrgRouteDistributionRequest) HTTPRequest ¶

func (request DeleteDrgRouteDistributionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrgRouteDistributionRequest) RetryPolicy ¶

func (request DeleteDrgRouteDistributionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrgRouteDistributionRequest) String ¶

func (request DeleteDrgRouteDistributionRequest) String() string

func (DeleteDrgRouteDistributionRequest) ValidateEnumValue ¶

func (request DeleteDrgRouteDistributionRequest) 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 DeleteDrgRouteDistributionResponse ¶

type DeleteDrgRouteDistributionResponse 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"`
}

DeleteDrgRouteDistributionResponse wrapper for the DeleteDrgRouteDistribution operation

func (DeleteDrgRouteDistributionResponse) HTTPResponse ¶

func (response DeleteDrgRouteDistributionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrgRouteDistributionResponse) String ¶

func (response DeleteDrgRouteDistributionResponse) String() string

type DeleteDrgRouteTableRequest ¶

type DeleteDrgRouteTableRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteDrgRouteTableRequest wrapper for the DeleteDrgRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTableRequest.

func (DeleteDrgRouteTableRequest) BinaryRequestBody ¶

func (request DeleteDrgRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDrgRouteTableRequest) HTTPRequest ¶

func (request DeleteDrgRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDrgRouteTableRequest) RetryPolicy ¶

func (request DeleteDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDrgRouteTableRequest) String ¶

func (request DeleteDrgRouteTableRequest) String() string

func (DeleteDrgRouteTableRequest) ValidateEnumValue ¶

func (request DeleteDrgRouteTableRequest) 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 DeleteDrgRouteTableResponse ¶

type DeleteDrgRouteTableResponse 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"`
}

DeleteDrgRouteTableResponse wrapper for the DeleteDrgRouteTable operation

func (DeleteDrgRouteTableResponse) HTTPResponse ¶

func (response DeleteDrgRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDrgRouteTableResponse) String ¶

func (response DeleteDrgRouteTableResponse) String() string

type DeleteIPSecConnectionRequest ¶

type DeleteIPSecConnectionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteIPSecConnectionRequest wrapper for the DeleteIPSecConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnectionRequest.

func (DeleteIPSecConnectionRequest) BinaryRequestBody ¶

func (request DeleteIPSecConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteIPSecConnectionRequest) HTTPRequest ¶

func (request DeleteIPSecConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteIPSecConnectionRequest) RetryPolicy ¶

func (request DeleteIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteIPSecConnectionRequest) String ¶

func (request DeleteIPSecConnectionRequest) String() string

func (DeleteIPSecConnectionRequest) ValidateEnumValue ¶

func (request DeleteIPSecConnectionRequest) 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 DeleteIPSecConnectionResponse ¶

type DeleteIPSecConnectionResponse 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"`
}

DeleteIPSecConnectionResponse wrapper for the DeleteIPSecConnection operation

func (DeleteIPSecConnectionResponse) HTTPResponse ¶

func (response DeleteIPSecConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteIPSecConnectionResponse) String ¶

func (response DeleteIPSecConnectionResponse) String() string

type DeleteImageRequest ¶

type DeleteImageRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteImageRequest wrapper for the DeleteImage operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImageRequest.

func (DeleteImageRequest) BinaryRequestBody ¶

func (request DeleteImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteImageRequest) HTTPRequest ¶

func (request DeleteImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteImageRequest) RetryPolicy ¶

func (request DeleteImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteImageRequest) String ¶

func (request DeleteImageRequest) String() string

func (DeleteImageRequest) ValidateEnumValue ¶

func (request DeleteImageRequest) 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 DeleteImageResponse ¶

type DeleteImageResponse 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"`
}

DeleteImageResponse wrapper for the DeleteImage operation

func (DeleteImageResponse) HTTPResponse ¶

func (response DeleteImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteImageResponse) String ¶

func (response DeleteImageResponse) String() string

type DeleteInstanceConfigurationRequest ¶

type DeleteInstanceConfigurationRequest struct {

	// The OCID of the instance configuration.
	InstanceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"instanceConfigurationId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteInstanceConfigurationRequest wrapper for the DeleteInstanceConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfigurationRequest.

func (DeleteInstanceConfigurationRequest) BinaryRequestBody ¶

func (request DeleteInstanceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteInstanceConfigurationRequest) HTTPRequest ¶

func (request DeleteInstanceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteInstanceConfigurationRequest) RetryPolicy ¶

func (request DeleteInstanceConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteInstanceConfigurationRequest) String ¶

func (request DeleteInstanceConfigurationRequest) String() string

func (DeleteInstanceConfigurationRequest) ValidateEnumValue ¶

func (request DeleteInstanceConfigurationRequest) 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 DeleteInstanceConfigurationResponse ¶

type DeleteInstanceConfigurationResponse 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"`
}

DeleteInstanceConfigurationResponse wrapper for the DeleteInstanceConfiguration operation

func (DeleteInstanceConfigurationResponse) HTTPResponse ¶

func (response DeleteInstanceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteInstanceConfigurationResponse) String ¶

func (response DeleteInstanceConfigurationResponse) String() string

type DeleteInstanceConsoleConnectionRequest ¶

type DeleteInstanceConsoleConnectionRequest struct {

	// The OCID of the instance console connection.
	InstanceConsoleConnectionId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleConnectionId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteInstanceConsoleConnectionRequest wrapper for the DeleteInstanceConsoleConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnectionRequest.

func (DeleteInstanceConsoleConnectionRequest) BinaryRequestBody ¶

func (request DeleteInstanceConsoleConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteInstanceConsoleConnectionRequest) HTTPRequest ¶

func (request DeleteInstanceConsoleConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteInstanceConsoleConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteInstanceConsoleConnectionRequest) String ¶

func (DeleteInstanceConsoleConnectionRequest) ValidateEnumValue ¶

func (request DeleteInstanceConsoleConnectionRequest) 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 DeleteInstanceConsoleConnectionResponse ¶

type DeleteInstanceConsoleConnectionResponse 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"`
}

DeleteInstanceConsoleConnectionResponse wrapper for the DeleteInstanceConsoleConnection operation

func (DeleteInstanceConsoleConnectionResponse) HTTPResponse ¶

func (response DeleteInstanceConsoleConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteInstanceConsoleConnectionResponse) String ¶

type DeleteInternetGatewayRequest ¶

type DeleteInternetGatewayRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway.
	IgId *string `mandatory:"true" contributesTo:"path" name:"igId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteInternetGatewayRequest wrapper for the DeleteInternetGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGatewayRequest.

func (DeleteInternetGatewayRequest) BinaryRequestBody ¶

func (request DeleteInternetGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteInternetGatewayRequest) HTTPRequest ¶

func (request DeleteInternetGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteInternetGatewayRequest) RetryPolicy ¶

func (request DeleteInternetGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteInternetGatewayRequest) String ¶

func (request DeleteInternetGatewayRequest) String() string

func (DeleteInternetGatewayRequest) ValidateEnumValue ¶

func (request DeleteInternetGatewayRequest) 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 DeleteInternetGatewayResponse ¶

type DeleteInternetGatewayResponse 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"`
}

DeleteInternetGatewayResponse wrapper for the DeleteInternetGateway operation

func (DeleteInternetGatewayResponse) HTTPResponse ¶

func (response DeleteInternetGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteInternetGatewayResponse) String ¶

func (response DeleteInternetGatewayResponse) String() string

type DeleteIpv6Request ¶

type DeleteIpv6Request struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6.
	Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"`

	// 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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteIpv6Request wrapper for the DeleteIpv6 operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6Request.

func (DeleteIpv6Request) BinaryRequestBody ¶

func (request DeleteIpv6Request) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteIpv6Request) HTTPRequest ¶

func (request DeleteIpv6Request) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteIpv6Request) RetryPolicy ¶

func (request DeleteIpv6Request) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteIpv6Request) String ¶

func (request DeleteIpv6Request) String() string

func (DeleteIpv6Request) ValidateEnumValue ¶

func (request DeleteIpv6Request) 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 DeleteIpv6Response ¶

type DeleteIpv6Response 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"`
}

DeleteIpv6Response wrapper for the DeleteIpv6 operation

func (DeleteIpv6Response) HTTPResponse ¶

func (response DeleteIpv6Response) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteIpv6Response) String ¶

func (response DeleteIpv6Response) String() string

type DeleteLocalPeeringGatewayRequest ¶

type DeleteLocalPeeringGatewayRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway.
	LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteLocalPeeringGatewayRequest wrapper for the DeleteLocalPeeringGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGatewayRequest.

func (DeleteLocalPeeringGatewayRequest) BinaryRequestBody ¶

func (request DeleteLocalPeeringGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteLocalPeeringGatewayRequest) HTTPRequest ¶

func (request DeleteLocalPeeringGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteLocalPeeringGatewayRequest) RetryPolicy ¶

func (request DeleteLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteLocalPeeringGatewayRequest) String ¶

func (request DeleteLocalPeeringGatewayRequest) String() string

func (DeleteLocalPeeringGatewayRequest) ValidateEnumValue ¶

func (request DeleteLocalPeeringGatewayRequest) 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 DeleteLocalPeeringGatewayResponse ¶

type DeleteLocalPeeringGatewayResponse 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"`
}

DeleteLocalPeeringGatewayResponse wrapper for the DeleteLocalPeeringGateway operation

func (DeleteLocalPeeringGatewayResponse) HTTPResponse ¶

func (response DeleteLocalPeeringGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteLocalPeeringGatewayResponse) String ¶

func (response DeleteLocalPeeringGatewayResponse) String() string

type DeleteNatGatewayRequest ¶

type DeleteNatGatewayRequest struct {

	// The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteNatGatewayRequest wrapper for the DeleteNatGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGatewayRequest.

func (DeleteNatGatewayRequest) BinaryRequestBody ¶

func (request DeleteNatGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteNatGatewayRequest) HTTPRequest ¶

func (request DeleteNatGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNatGatewayRequest) RetryPolicy ¶

func (request DeleteNatGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteNatGatewayRequest) String ¶

func (request DeleteNatGatewayRequest) String() string

func (DeleteNatGatewayRequest) ValidateEnumValue ¶

func (request DeleteNatGatewayRequest) 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 DeleteNatGatewayResponse ¶

type DeleteNatGatewayResponse 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"`
}

DeleteNatGatewayResponse wrapper for the DeleteNatGateway operation

func (DeleteNatGatewayResponse) HTTPResponse ¶

func (response DeleteNatGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteNatGatewayResponse) String ¶

func (response DeleteNatGatewayResponse) String() string

type DeleteNetworkSecurityGroupRequest ¶

type DeleteNetworkSecurityGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteNetworkSecurityGroupRequest wrapper for the DeleteNetworkSecurityGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroupRequest.

func (DeleteNetworkSecurityGroupRequest) BinaryRequestBody ¶

func (request DeleteNetworkSecurityGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkSecurityGroupRequest) HTTPRequest ¶

func (request DeleteNetworkSecurityGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkSecurityGroupRequest) RetryPolicy ¶

func (request DeleteNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteNetworkSecurityGroupRequest) String ¶

func (request DeleteNetworkSecurityGroupRequest) String() string

func (DeleteNetworkSecurityGroupRequest) ValidateEnumValue ¶

func (request DeleteNetworkSecurityGroupRequest) 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 DeleteNetworkSecurityGroupResponse ¶

type DeleteNetworkSecurityGroupResponse 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"`
}

DeleteNetworkSecurityGroupResponse wrapper for the DeleteNetworkSecurityGroup operation

func (DeleteNetworkSecurityGroupResponse) HTTPResponse ¶

func (response DeleteNetworkSecurityGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkSecurityGroupResponse) String ¶

func (response DeleteNetworkSecurityGroupResponse) String() string

type DeletePrivateIpRequest ¶

type DeletePrivateIpRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6.
	PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeletePrivateIpRequest wrapper for the DeletePrivateIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIpRequest.

func (DeletePrivateIpRequest) BinaryRequestBody ¶

func (request DeletePrivateIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeletePrivateIpRequest) HTTPRequest ¶

func (request DeletePrivateIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeletePrivateIpRequest) RetryPolicy ¶

func (request DeletePrivateIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeletePrivateIpRequest) String ¶

func (request DeletePrivateIpRequest) String() string

func (DeletePrivateIpRequest) ValidateEnumValue ¶

func (request DeletePrivateIpRequest) 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 DeletePrivateIpResponse ¶

type DeletePrivateIpResponse 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"`
}

DeletePrivateIpResponse wrapper for the DeletePrivateIp operation

func (DeletePrivateIpResponse) HTTPResponse ¶

func (response DeletePrivateIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeletePrivateIpResponse) String ¶

func (response DeletePrivateIpResponse) String() string

type DeletePublicIpPoolRequest ¶

type DeletePublicIpPoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

DeletePublicIpPoolRequest wrapper for the DeletePublicIpPool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPoolRequest.

func (DeletePublicIpPoolRequest) BinaryRequestBody ¶

func (request DeletePublicIpPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeletePublicIpPoolRequest) HTTPRequest ¶

func (request DeletePublicIpPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeletePublicIpPoolRequest) RetryPolicy ¶

func (request DeletePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeletePublicIpPoolRequest) String ¶

func (request DeletePublicIpPoolRequest) String() string

func (DeletePublicIpPoolRequest) ValidateEnumValue ¶

func (request DeletePublicIpPoolRequest) 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 DeletePublicIpPoolResponse ¶

type DeletePublicIpPoolResponse 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"`
}

DeletePublicIpPoolResponse wrapper for the DeletePublicIpPool operation

func (DeletePublicIpPoolResponse) HTTPResponse ¶

func (response DeletePublicIpPoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeletePublicIpPoolResponse) String ¶

func (response DeletePublicIpPoolResponse) String() string

type DeletePublicIpRequest ¶

type DeletePublicIpRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP.
	PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeletePublicIpRequest wrapper for the DeletePublicIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIpRequest.

func (DeletePublicIpRequest) BinaryRequestBody ¶

func (request DeletePublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeletePublicIpRequest) HTTPRequest ¶

func (request DeletePublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeletePublicIpRequest) RetryPolicy ¶

func (request DeletePublicIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeletePublicIpRequest) String ¶

func (request DeletePublicIpRequest) String() string

func (DeletePublicIpRequest) ValidateEnumValue ¶

func (request DeletePublicIpRequest) 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 DeletePublicIpResponse ¶

type DeletePublicIpResponse 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"`
}

DeletePublicIpResponse wrapper for the DeletePublicIp operation

func (DeletePublicIpResponse) HTTPResponse ¶

func (response DeletePublicIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeletePublicIpResponse) String ¶

func (response DeletePublicIpResponse) String() string

type DeleteRemotePeeringConnectionRequest ¶

type DeleteRemotePeeringConnectionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
	RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteRemotePeeringConnectionRequest wrapper for the DeleteRemotePeeringConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnectionRequest.

func (DeleteRemotePeeringConnectionRequest) BinaryRequestBody ¶

func (request DeleteRemotePeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRemotePeeringConnectionRequest) HTTPRequest ¶

func (request DeleteRemotePeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteRemotePeeringConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRemotePeeringConnectionRequest) String ¶

func (DeleteRemotePeeringConnectionRequest) ValidateEnumValue ¶

func (request DeleteRemotePeeringConnectionRequest) 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 DeleteRemotePeeringConnectionResponse ¶

type DeleteRemotePeeringConnectionResponse 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"`
}

DeleteRemotePeeringConnectionResponse wrapper for the DeleteRemotePeeringConnection operation

func (DeleteRemotePeeringConnectionResponse) HTTPResponse ¶

func (response DeleteRemotePeeringConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRemotePeeringConnectionResponse) String ¶

type DeleteRouteTableRequest ¶

type DeleteRouteTableRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table.
	RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteRouteTableRequest wrapper for the DeleteRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTableRequest.

func (DeleteRouteTableRequest) BinaryRequestBody ¶

func (request DeleteRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRouteTableRequest) HTTPRequest ¶

func (request DeleteRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteRouteTableRequest) RetryPolicy ¶

func (request DeleteRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRouteTableRequest) String ¶

func (request DeleteRouteTableRequest) String() string

func (DeleteRouteTableRequest) ValidateEnumValue ¶

func (request DeleteRouteTableRequest) 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 DeleteRouteTableResponse ¶

type DeleteRouteTableResponse 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"`
}

DeleteRouteTableResponse wrapper for the DeleteRouteTable operation

func (DeleteRouteTableResponse) HTTPResponse ¶

func (response DeleteRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRouteTableResponse) String ¶

func (response DeleteRouteTableResponse) String() string

type DeleteSecurityListRequest ¶

type DeleteSecurityListRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list.
	SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteSecurityListRequest wrapper for the DeleteSecurityList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityListRequest.

func (DeleteSecurityListRequest) BinaryRequestBody ¶

func (request DeleteSecurityListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSecurityListRequest) HTTPRequest ¶

func (request DeleteSecurityListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSecurityListRequest) RetryPolicy ¶

func (request DeleteSecurityListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSecurityListRequest) String ¶

func (request DeleteSecurityListRequest) String() string

func (DeleteSecurityListRequest) ValidateEnumValue ¶

func (request DeleteSecurityListRequest) 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 DeleteSecurityListResponse ¶

type DeleteSecurityListResponse 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"`
}

DeleteSecurityListResponse wrapper for the DeleteSecurityList operation

func (DeleteSecurityListResponse) HTTPResponse ¶

func (response DeleteSecurityListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSecurityListResponse) String ¶

func (response DeleteSecurityListResponse) String() string

type DeleteServiceGatewayRequest ¶

type DeleteServiceGatewayRequest struct {

	// The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteServiceGatewayRequest wrapper for the DeleteServiceGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGatewayRequest.

func (DeleteServiceGatewayRequest) BinaryRequestBody ¶

func (request DeleteServiceGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteServiceGatewayRequest) HTTPRequest ¶

func (request DeleteServiceGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteServiceGatewayRequest) RetryPolicy ¶

func (request DeleteServiceGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteServiceGatewayRequest) String ¶

func (request DeleteServiceGatewayRequest) String() string

func (DeleteServiceGatewayRequest) ValidateEnumValue ¶

func (request DeleteServiceGatewayRequest) 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 DeleteServiceGatewayResponse ¶

type DeleteServiceGatewayResponse 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"`
}

DeleteServiceGatewayResponse wrapper for the DeleteServiceGateway operation

func (DeleteServiceGatewayResponse) HTTPResponse ¶

func (response DeleteServiceGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteServiceGatewayResponse) String ¶

func (response DeleteServiceGatewayResponse) String() string

type DeleteSubnetRequest ¶

type DeleteSubnetRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteSubnetRequest wrapper for the DeleteSubnet operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnetRequest.

func (DeleteSubnetRequest) BinaryRequestBody ¶

func (request DeleteSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSubnetRequest) HTTPRequest ¶

func (request DeleteSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSubnetRequest) RetryPolicy ¶

func (request DeleteSubnetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSubnetRequest) String ¶

func (request DeleteSubnetRequest) String() string

func (DeleteSubnetRequest) ValidateEnumValue ¶

func (request DeleteSubnetRequest) 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 DeleteSubnetResponse ¶

type DeleteSubnetResponse 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"`
}

DeleteSubnetResponse wrapper for the DeleteSubnet operation

func (DeleteSubnetResponse) HTTPResponse ¶

func (response DeleteSubnetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSubnetResponse) String ¶

func (response DeleteSubnetResponse) String() string

type DeleteVcnRequest ¶

type DeleteVcnRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVcnRequest wrapper for the DeleteVcn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcnRequest.

func (DeleteVcnRequest) BinaryRequestBody ¶

func (request DeleteVcnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVcnRequest) HTTPRequest ¶

func (request DeleteVcnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVcnRequest) RetryPolicy ¶

func (request DeleteVcnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVcnRequest) String ¶

func (request DeleteVcnRequest) String() string

func (DeleteVcnRequest) ValidateEnumValue ¶

func (request DeleteVcnRequest) 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 DeleteVcnResponse ¶

type DeleteVcnResponse 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"`
}

DeleteVcnResponse wrapper for the DeleteVcn operation

func (DeleteVcnResponse) HTTPResponse ¶

func (response DeleteVcnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVcnResponse) String ¶

func (response DeleteVcnResponse) String() string

type DeleteVirtualCircuitPublicPrefixDetails ¶

type DeleteVirtualCircuitPublicPrefixDetails struct {

	// An individual public IP prefix (CIDR) to remove from the public virtual circuit.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

DeleteVirtualCircuitPublicPrefixDetails The representation of DeleteVirtualCircuitPublicPrefixDetails

func (DeleteVirtualCircuitPublicPrefixDetails) String ¶

func (DeleteVirtualCircuitPublicPrefixDetails) ValidateEnumValue ¶

func (m DeleteVirtualCircuitPublicPrefixDetails) 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 DeleteVirtualCircuitRequest ¶

type DeleteVirtualCircuitRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVirtualCircuitRequest wrapper for the DeleteVirtualCircuit operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuitRequest.

func (DeleteVirtualCircuitRequest) BinaryRequestBody ¶

func (request DeleteVirtualCircuitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVirtualCircuitRequest) HTTPRequest ¶

func (request DeleteVirtualCircuitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVirtualCircuitRequest) RetryPolicy ¶

func (request DeleteVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVirtualCircuitRequest) String ¶

func (request DeleteVirtualCircuitRequest) String() string

func (DeleteVirtualCircuitRequest) ValidateEnumValue ¶

func (request DeleteVirtualCircuitRequest) 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 DeleteVirtualCircuitResponse ¶

type DeleteVirtualCircuitResponse 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"`
}

DeleteVirtualCircuitResponse wrapper for the DeleteVirtualCircuit operation

func (DeleteVirtualCircuitResponse) HTTPResponse ¶

func (response DeleteVirtualCircuitResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVirtualCircuitResponse) String ¶

func (response DeleteVirtualCircuitResponse) String() string

type DeleteVlanRequest ¶

type DeleteVlanRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"`

	// 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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVlanRequest wrapper for the DeleteVlan operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlanRequest.

func (DeleteVlanRequest) BinaryRequestBody ¶

func (request DeleteVlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVlanRequest) HTTPRequest ¶

func (request DeleteVlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVlanRequest) RetryPolicy ¶

func (request DeleteVlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVlanRequest) String ¶

func (request DeleteVlanRequest) String() string

func (DeleteVlanRequest) ValidateEnumValue ¶

func (request DeleteVlanRequest) 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 DeleteVlanResponse ¶

type DeleteVlanResponse 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"`
}

DeleteVlanResponse wrapper for the DeleteVlan operation

func (DeleteVlanResponse) HTTPResponse ¶

func (response DeleteVlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVlanResponse) String ¶

func (response DeleteVlanResponse) String() string

type DeleteVolumeBackupPolicyAssignmentRequest ¶

type DeleteVolumeBackupPolicyAssignmentRequest struct {

	// The OCID of the volume backup policy assignment.
	PolicyAssignmentId *string `mandatory:"true" contributesTo:"path" name:"policyAssignmentId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVolumeBackupPolicyAssignmentRequest wrapper for the DeleteVolumeBackupPolicyAssignment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignmentRequest.

func (DeleteVolumeBackupPolicyAssignmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeBackupPolicyAssignmentRequest) HTTPRequest ¶

func (request DeleteVolumeBackupPolicyAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeBackupPolicyAssignmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeBackupPolicyAssignmentRequest) String ¶

func (DeleteVolumeBackupPolicyAssignmentRequest) ValidateEnumValue ¶

func (request DeleteVolumeBackupPolicyAssignmentRequest) 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 DeleteVolumeBackupPolicyAssignmentResponse ¶

type DeleteVolumeBackupPolicyAssignmentResponse 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"`
}

DeleteVolumeBackupPolicyAssignmentResponse wrapper for the DeleteVolumeBackupPolicyAssignment operation

func (DeleteVolumeBackupPolicyAssignmentResponse) HTTPResponse ¶

func (response DeleteVolumeBackupPolicyAssignmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeBackupPolicyAssignmentResponse) String ¶

type DeleteVolumeBackupPolicyRequest ¶

type DeleteVolumeBackupPolicyRequest struct {

	// The OCID of the volume backup policy.
	PolicyId *string `mandatory:"true" contributesTo:"path" name:"policyId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

DeleteVolumeBackupPolicyRequest wrapper for the DeleteVolumeBackupPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicyRequest.

func (DeleteVolumeBackupPolicyRequest) BinaryRequestBody ¶

func (request DeleteVolumeBackupPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeBackupPolicyRequest) HTTPRequest ¶

func (request DeleteVolumeBackupPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeBackupPolicyRequest) RetryPolicy ¶

func (request DeleteVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeBackupPolicyRequest) String ¶

func (request DeleteVolumeBackupPolicyRequest) String() string

func (DeleteVolumeBackupPolicyRequest) ValidateEnumValue ¶

func (request DeleteVolumeBackupPolicyRequest) 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 DeleteVolumeBackupPolicyResponse ¶

type DeleteVolumeBackupPolicyResponse 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"`
}

DeleteVolumeBackupPolicyResponse wrapper for the DeleteVolumeBackupPolicy operation

func (DeleteVolumeBackupPolicyResponse) HTTPResponse ¶

func (response DeleteVolumeBackupPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeBackupPolicyResponse) String ¶

func (response DeleteVolumeBackupPolicyResponse) String() string

type DeleteVolumeBackupRequest ¶

type DeleteVolumeBackupRequest struct {

	// The OCID of the volume backup.
	VolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeBackupId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVolumeBackupRequest wrapper for the DeleteVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackupRequest.

func (DeleteVolumeBackupRequest) BinaryRequestBody ¶

func (request DeleteVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeBackupRequest) HTTPRequest ¶

func (request DeleteVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeBackupRequest) RetryPolicy ¶

func (request DeleteVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeBackupRequest) String ¶

func (request DeleteVolumeBackupRequest) String() string

func (DeleteVolumeBackupRequest) ValidateEnumValue ¶

func (request DeleteVolumeBackupRequest) 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 DeleteVolumeBackupResponse ¶

type DeleteVolumeBackupResponse 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"`
}

DeleteVolumeBackupResponse wrapper for the DeleteVolumeBackup operation

func (DeleteVolumeBackupResponse) HTTPResponse ¶

func (response DeleteVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeBackupResponse) String ¶

func (response DeleteVolumeBackupResponse) String() string

type DeleteVolumeGroupBackupRequest ¶

type DeleteVolumeGroupBackupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
	VolumeGroupBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupBackupId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVolumeGroupBackupRequest wrapper for the DeleteVolumeGroupBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackupRequest.

func (DeleteVolumeGroupBackupRequest) BinaryRequestBody ¶

func (request DeleteVolumeGroupBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeGroupBackupRequest) HTTPRequest ¶

func (request DeleteVolumeGroupBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeGroupBackupRequest) RetryPolicy ¶

func (request DeleteVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeGroupBackupRequest) String ¶

func (request DeleteVolumeGroupBackupRequest) String() string

func (DeleteVolumeGroupBackupRequest) ValidateEnumValue ¶

func (request DeleteVolumeGroupBackupRequest) 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 DeleteVolumeGroupBackupResponse ¶

type DeleteVolumeGroupBackupResponse 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"`
}

DeleteVolumeGroupBackupResponse wrapper for the DeleteVolumeGroupBackup operation

func (DeleteVolumeGroupBackupResponse) HTTPResponse ¶

func (response DeleteVolumeGroupBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeGroupBackupResponse) String ¶

func (response DeleteVolumeGroupBackupResponse) String() string

type DeleteVolumeGroupRequest ¶

type DeleteVolumeGroupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
	VolumeGroupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVolumeGroupRequest wrapper for the DeleteVolumeGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroupRequest.

func (DeleteVolumeGroupRequest) BinaryRequestBody ¶

func (request DeleteVolumeGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeGroupRequest) HTTPRequest ¶

func (request DeleteVolumeGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeGroupRequest) RetryPolicy ¶

func (request DeleteVolumeGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeGroupRequest) String ¶

func (request DeleteVolumeGroupRequest) String() string

func (DeleteVolumeGroupRequest) ValidateEnumValue ¶

func (request DeleteVolumeGroupRequest) 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 DeleteVolumeGroupResponse ¶

type DeleteVolumeGroupResponse 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"`
}

DeleteVolumeGroupResponse wrapper for the DeleteVolumeGroup operation

func (DeleteVolumeGroupResponse) HTTPResponse ¶

func (response DeleteVolumeGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeGroupResponse) String ¶

func (response DeleteVolumeGroupResponse) String() string

type DeleteVolumeKmsKeyRequest ¶

type DeleteVolumeKmsKeyRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVolumeKmsKeyRequest wrapper for the DeleteVolumeKmsKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKeyRequest.

func (DeleteVolumeKmsKeyRequest) BinaryRequestBody ¶

func (request DeleteVolumeKmsKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeKmsKeyRequest) HTTPRequest ¶

func (request DeleteVolumeKmsKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeKmsKeyRequest) RetryPolicy ¶

func (request DeleteVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeKmsKeyRequest) String ¶

func (request DeleteVolumeKmsKeyRequest) String() string

func (DeleteVolumeKmsKeyRequest) ValidateEnumValue ¶

func (request DeleteVolumeKmsKeyRequest) 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 DeleteVolumeKmsKeyResponse ¶

type DeleteVolumeKmsKeyResponse 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"`
}

DeleteVolumeKmsKeyResponse wrapper for the DeleteVolumeKmsKey operation

func (DeleteVolumeKmsKeyResponse) HTTPResponse ¶

func (response DeleteVolumeKmsKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeKmsKeyResponse) String ¶

func (response DeleteVolumeKmsKeyResponse) String() string

type DeleteVolumeRequest ¶

type DeleteVolumeRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVolumeRequest wrapper for the DeleteVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolumeRequest.

func (DeleteVolumeRequest) BinaryRequestBody ¶

func (request DeleteVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVolumeRequest) HTTPRequest ¶

func (request DeleteVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVolumeRequest) RetryPolicy ¶

func (request DeleteVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVolumeRequest) String ¶

func (request DeleteVolumeRequest) String() string

func (DeleteVolumeRequest) ValidateEnumValue ¶

func (request DeleteVolumeRequest) 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 DeleteVolumeResponse ¶

type DeleteVolumeResponse 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"`
}

DeleteVolumeResponse wrapper for the DeleteVolume operation

func (DeleteVolumeResponse) HTTPResponse ¶

func (response DeleteVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVolumeResponse) String ¶

func (response DeleteVolumeResponse) String() string

type DeleteVtapRequest ¶ added in v65.3.0

type DeleteVtapRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP.
	VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"`

	// 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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DeleteVtapRequest wrapper for the DeleteVtap operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtapRequest.

func (DeleteVtapRequest) BinaryRequestBody ¶ added in v65.3.0

func (request DeleteVtapRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteVtapRequest) HTTPRequest ¶ added in v65.3.0

func (request DeleteVtapRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteVtapRequest) RetryPolicy ¶ added in v65.3.0

func (request DeleteVtapRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteVtapRequest) String ¶ added in v65.3.0

func (request DeleteVtapRequest) String() string

func (DeleteVtapRequest) ValidateEnumValue ¶ added in v65.3.0

func (request DeleteVtapRequest) 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 DeleteVtapResponse ¶ added in v65.3.0

type DeleteVtapResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteVtapResponse wrapper for the DeleteVtap operation

func (DeleteVtapResponse) HTTPResponse ¶ added in v65.3.0

func (response DeleteVtapResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteVtapResponse) String ¶ added in v65.3.0

func (response DeleteVtapResponse) String() string

type DetachBootVolumeRequest ¶

type DetachBootVolumeRequest struct {

	// The OCID of the boot volume attachment.
	BootVolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeAttachmentId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DetachBootVolumeRequest wrapper for the DetachBootVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolumeRequest.

func (DetachBootVolumeRequest) BinaryRequestBody ¶

func (request DetachBootVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetachBootVolumeRequest) HTTPRequest ¶

func (request DetachBootVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetachBootVolumeRequest) RetryPolicy ¶

func (request DetachBootVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetachBootVolumeRequest) String ¶

func (request DetachBootVolumeRequest) String() string

func (DetachBootVolumeRequest) ValidateEnumValue ¶

func (request DetachBootVolumeRequest) 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 DetachBootVolumeResponse ¶

type DetachBootVolumeResponse 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"`
}

DetachBootVolumeResponse wrapper for the DetachBootVolume operation

func (DetachBootVolumeResponse) HTTPResponse ¶

func (response DetachBootVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetachBootVolumeResponse) String ¶

func (response DetachBootVolumeResponse) String() string

type DetachInstancePoolInstanceDetails ¶

type DetachInstancePoolInstanceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// Whether to decrease the size of the instance pool when the instance is detached. If `true`, the
	// pool size is decreased. If `false`, the pool will provision a new, replacement instance
	// using the pool's instance configuration as a template. Default is `true`.
	IsDecrementSize *bool `mandatory:"false" json:"isDecrementSize"`

	// Whether to permanently terminate (delete) the instance and its attached boot volume
	// when detaching it from the instance pool. Default is `false`.
	IsAutoTerminate *bool `mandatory:"false" json:"isAutoTerminate"`
}

DetachInstancePoolInstanceDetails An instance that is to be detached from an instance pool.

func (DetachInstancePoolInstanceDetails) String ¶

func (DetachInstancePoolInstanceDetails) ValidateEnumValue ¶

func (m DetachInstancePoolInstanceDetails) 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 DetachInstancePoolInstanceRequest ¶

type DetachInstancePoolInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Instance being detached
	DetachInstancePoolInstanceDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DetachInstancePoolInstanceRequest wrapper for the DetachInstancePoolInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstanceRequest.

func (DetachInstancePoolInstanceRequest) BinaryRequestBody ¶

func (request DetachInstancePoolInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetachInstancePoolInstanceRequest) HTTPRequest ¶

func (request DetachInstancePoolInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetachInstancePoolInstanceRequest) RetryPolicy ¶

func (request DetachInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetachInstancePoolInstanceRequest) String ¶

func (request DetachInstancePoolInstanceRequest) String() string

func (DetachInstancePoolInstanceRequest) ValidateEnumValue ¶

func (request DetachInstancePoolInstanceRequest) 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 DetachInstancePoolInstanceResponse ¶

type DetachInstancePoolInstanceResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DetachInstancePoolInstanceResponse wrapper for the DetachInstancePoolInstance operation

func (DetachInstancePoolInstanceResponse) HTTPResponse ¶

func (response DetachInstancePoolInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetachInstancePoolInstanceResponse) String ¶

func (response DetachInstancePoolInstanceResponse) String() string

type DetachLoadBalancerDetails ¶

type DetachLoadBalancerDetails struct {

	// The OCID of the load balancer to detach from the instance pool.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// The name of the backend set on the load balancer to detach from the instance pool.
	BackendSetName *string `mandatory:"true" json:"backendSetName"`
}

DetachLoadBalancerDetails Represents a load balancer that is to be detached from an instance pool.

func (DetachLoadBalancerDetails) String ¶

func (m DetachLoadBalancerDetails) String() string

func (DetachLoadBalancerDetails) ValidateEnumValue ¶

func (m DetachLoadBalancerDetails) 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 DetachLoadBalancerRequest ¶

type DetachLoadBalancerRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Load balancer being detached
	DetachLoadBalancerDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DetachLoadBalancerRequest wrapper for the DetachLoadBalancer operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancerRequest.

func (DetachLoadBalancerRequest) BinaryRequestBody ¶

func (request DetachLoadBalancerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetachLoadBalancerRequest) HTTPRequest ¶

func (request DetachLoadBalancerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetachLoadBalancerRequest) RetryPolicy ¶

func (request DetachLoadBalancerRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetachLoadBalancerRequest) String ¶

func (request DetachLoadBalancerRequest) String() string

func (DetachLoadBalancerRequest) ValidateEnumValue ¶

func (request DetachLoadBalancerRequest) 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 DetachLoadBalancerResponse ¶

type DetachLoadBalancerResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

DetachLoadBalancerResponse wrapper for the DetachLoadBalancer operation

func (DetachLoadBalancerResponse) HTTPResponse ¶

func (response DetachLoadBalancerResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetachLoadBalancerResponse) String ¶

func (response DetachLoadBalancerResponse) String() string

type DetachServiceIdRequest ¶

type DetachServiceIdRequest struct {

	// The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

	// ServiceId of Service to be detached from a service gateway.
	DetachServiceDetails ServiceIdRequestDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DetachServiceIdRequest wrapper for the DetachServiceId operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceIdRequest.

func (DetachServiceIdRequest) BinaryRequestBody ¶

func (request DetachServiceIdRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetachServiceIdRequest) HTTPRequest ¶

func (request DetachServiceIdRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetachServiceIdRequest) RetryPolicy ¶

func (request DetachServiceIdRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetachServiceIdRequest) String ¶

func (request DetachServiceIdRequest) String() string

func (DetachServiceIdRequest) ValidateEnumValue ¶

func (request DetachServiceIdRequest) 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 DetachServiceIdResponse ¶

type DetachServiceIdResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ServiceGateway instance
	ServiceGateway `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"`
}

DetachServiceIdResponse wrapper for the DetachServiceId operation

func (DetachServiceIdResponse) HTTPResponse ¶

func (response DetachServiceIdResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetachServiceIdResponse) String ¶

func (response DetachServiceIdResponse) String() string

type DetachVnicRequest ¶

type DetachVnicRequest struct {

	// The OCID of the VNIC attachment.
	VnicAttachmentId *string `mandatory:"true" contributesTo:"path" name:"vnicAttachmentId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DetachVnicRequest wrapper for the DetachVnic operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnicRequest.

func (DetachVnicRequest) BinaryRequestBody ¶

func (request DetachVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetachVnicRequest) HTTPRequest ¶

func (request DetachVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetachVnicRequest) RetryPolicy ¶

func (request DetachVnicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetachVnicRequest) String ¶

func (request DetachVnicRequest) String() string

func (DetachVnicRequest) ValidateEnumValue ¶

func (request DetachVnicRequest) 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 DetachVnicResponse ¶

type DetachVnicResponse 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"`
}

DetachVnicResponse wrapper for the DetachVnic operation

func (DetachVnicResponse) HTTPResponse ¶

func (response DetachVnicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetachVnicResponse) String ¶

func (response DetachVnicResponse) String() string

type DetachVolumeRequest ¶

type DetachVolumeRequest struct {

	// The OCID of the volume attachment.
	VolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"volumeAttachmentId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

DetachVolumeRequest wrapper for the DetachVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolumeRequest.

func (DetachVolumeRequest) BinaryRequestBody ¶

func (request DetachVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DetachVolumeRequest) HTTPRequest ¶

func (request DetachVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DetachVolumeRequest) RetryPolicy ¶

func (request DetachVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DetachVolumeRequest) String ¶

func (request DetachVolumeRequest) String() string

func (DetachVolumeRequest) ValidateEnumValue ¶

func (request DetachVolumeRequest) 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 DetachVolumeResponse ¶

type DetachVolumeResponse 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"`
}

DetachVolumeResponse wrapper for the DetachVolume operation

func (DetachVolumeResponse) HTTPResponse ¶

func (response DetachVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DetachVolumeResponse) String ¶

func (response DetachVolumeResponse) String() string

type DetachedVolumeAutotunePolicy ¶ added in v65.18.1

type DetachedVolumeAutotunePolicy struct {
}

DetachedVolumeAutotunePolicy Volume's performace will be tuned to the lower cost settings once detached.

func (DetachedVolumeAutotunePolicy) MarshalJSON ¶ added in v65.18.1

func (m DetachedVolumeAutotunePolicy) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DetachedVolumeAutotunePolicy) String ¶ added in v65.18.1

func (DetachedVolumeAutotunePolicy) ValidateEnumValue ¶ added in v65.18.1

func (m DetachedVolumeAutotunePolicy) 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 Device ¶

type Device struct {

	// The device name.
	Name *string `mandatory:"true" json:"name"`

	// The flag denoting whether device is available.
	IsAvailable *bool `mandatory:"true" json:"isAvailable"`
}

Device Device Path corresponding to the block devices attached to instances having a name and isAvailable flag.

func (Device) String ¶

func (m Device) String() string

func (Device) ValidateEnumValue ¶

func (m Device) 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 DhcpDnsOption ¶

type DhcpDnsOption struct {

	// If you set `serverType` to `CustomDnsServer`, specify the
	// IP address of at least one DNS server of your choice (three maximum).
	CustomDnsServers []string `mandatory:"false" json:"customDnsServers"`

	// * **VcnLocal:** Reserved for future use.
	// * **VcnLocalPlusInternet:** Also referred to as "Internet and VCN Resolver".
	// Instances can resolve internet hostnames (no internet gateway is required),
	// and can resolve hostnames of instances in the VCN. This is the default
	// value in the default set of DHCP options in the VCN. For the Internet and
	// VCN Resolver to work across the VCN, there must also be a DNS label set for
	// the VCN, a DNS label set for each subnet, and a hostname for each instance.
	// The Internet and VCN Resolver also enables reverse DNS lookup, which lets
	// you determine the hostname corresponding to the private IP address. For more
	// information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// * **CustomDnsServer:** Instances use a DNS server of your choice (three
	// maximum).
	ServerType DhcpDnsOptionServerTypeEnum `mandatory:"true" json:"serverType"`
}

DhcpDnsOption DHCP option for specifying how DNS (hostname resolution) is handled in the subnets in the VCN. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).

func (DhcpDnsOption) MarshalJSON ¶

func (m DhcpDnsOption) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DhcpDnsOption) String ¶

func (m DhcpDnsOption) String() string

func (DhcpDnsOption) ValidateEnumValue ¶

func (m DhcpDnsOption) 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 DhcpDnsOptionServerTypeEnum ¶

type DhcpDnsOptionServerTypeEnum string

DhcpDnsOptionServerTypeEnum Enum with underlying type: string

const (
	DhcpDnsOptionServerTypeVcnlocal             DhcpDnsOptionServerTypeEnum = "VcnLocal"
	DhcpDnsOptionServerTypeVcnlocalplusinternet DhcpDnsOptionServerTypeEnum = "VcnLocalPlusInternet"
	DhcpDnsOptionServerTypeCustomdnsserver      DhcpDnsOptionServerTypeEnum = "CustomDnsServer"
)

Set of constants representing the allowable values for DhcpDnsOptionServerTypeEnum

func GetDhcpDnsOptionServerTypeEnumValues ¶

func GetDhcpDnsOptionServerTypeEnumValues() []DhcpDnsOptionServerTypeEnum

GetDhcpDnsOptionServerTypeEnumValues Enumerates the set of values for DhcpDnsOptionServerTypeEnum

func GetMappingDhcpDnsOptionServerTypeEnum ¶

func GetMappingDhcpDnsOptionServerTypeEnum(val string) (DhcpDnsOptionServerTypeEnum, bool)

GetMappingDhcpDnsOptionServerTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DhcpOption ¶

type DhcpOption interface {
}

DhcpOption A single DHCP option according to RFC 1533 (https://tools.ietf.org/html/rfc1533). The two options available to use are DhcpDnsOption and DhcpSearchDomainOption. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) and DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm).

type DhcpOptions ¶

type DhcpOptions struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the set of DHCP options.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the set of DHCP options.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the set of DHCP options.
	LifecycleState DhcpOptionsLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The collection of individual DHCP options.
	Options []DhcpOption `mandatory:"true" json:"options"`

	// Date and time the set of DHCP options was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The search domain name type of DHCP options
	DomainNameType DhcpOptionsDomainNameTypeEnum `mandatory:"false" json:"domainNameType,omitempty"`
}

DhcpOptions A set of DHCP options. Used by the VCN to automatically provide configuration information to the instances when they boot up. There are two options you can set: - DhcpDnsOption: Lets you specify how DNS (hostname resolution) is handled in the subnets in your VCN. - DhcpSearchDomainOption: Lets you specify a search domain name to use for DNS queries. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) and DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (DhcpOptions) String ¶

func (m DhcpOptions) String() string

func (*DhcpOptions) UnmarshalJSON ¶

func (m *DhcpOptions) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DhcpOptions) ValidateEnumValue ¶

func (m DhcpOptions) 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 DhcpOptionsDomainNameTypeEnum ¶

type DhcpOptionsDomainNameTypeEnum string

DhcpOptionsDomainNameTypeEnum Enum with underlying type: string

const (
	DhcpOptionsDomainNameTypeSubnetDomain DhcpOptionsDomainNameTypeEnum = "SUBNET_DOMAIN"
	DhcpOptionsDomainNameTypeVcnDomain    DhcpOptionsDomainNameTypeEnum = "VCN_DOMAIN"
	DhcpOptionsDomainNameTypeCustomDomain DhcpOptionsDomainNameTypeEnum = "CUSTOM_DOMAIN"
)

Set of constants representing the allowable values for DhcpOptionsDomainNameTypeEnum

func GetDhcpOptionsDomainNameTypeEnumValues ¶

func GetDhcpOptionsDomainNameTypeEnumValues() []DhcpOptionsDomainNameTypeEnum

GetDhcpOptionsDomainNameTypeEnumValues Enumerates the set of values for DhcpOptionsDomainNameTypeEnum

func GetMappingDhcpOptionsDomainNameTypeEnum ¶

func GetMappingDhcpOptionsDomainNameTypeEnum(val string) (DhcpOptionsDomainNameTypeEnum, bool)

GetMappingDhcpOptionsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DhcpOptionsLifecycleStateEnum ¶

type DhcpOptionsLifecycleStateEnum string

DhcpOptionsLifecycleStateEnum Enum with underlying type: string

const (
	DhcpOptionsLifecycleStateProvisioning DhcpOptionsLifecycleStateEnum = "PROVISIONING"
	DhcpOptionsLifecycleStateAvailable    DhcpOptionsLifecycleStateEnum = "AVAILABLE"
	DhcpOptionsLifecycleStateTerminating  DhcpOptionsLifecycleStateEnum = "TERMINATING"
	DhcpOptionsLifecycleStateTerminated   DhcpOptionsLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DhcpOptionsLifecycleStateEnum

func GetDhcpOptionsLifecycleStateEnumValues ¶

func GetDhcpOptionsLifecycleStateEnumValues() []DhcpOptionsLifecycleStateEnum

GetDhcpOptionsLifecycleStateEnumValues Enumerates the set of values for DhcpOptionsLifecycleStateEnum

func GetMappingDhcpOptionsLifecycleStateEnum ¶

func GetMappingDhcpOptionsLifecycleStateEnum(val string) (DhcpOptionsLifecycleStateEnum, bool)

GetMappingDhcpOptionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DhcpSearchDomainOption ¶

type DhcpSearchDomainOption struct {

	// A single search domain name according to RFC 952 (https://tools.ietf.org/html/rfc952)
	// and RFC 1123 (https://tools.ietf.org/html/rfc1123). During a DNS query,
	// the OS will append this search domain name to the value being queried.
	// If you set DhcpDnsOption to `VcnLocalPlusInternet`,
	// and you assign a DNS label to the VCN during creation, the search domain name in the
	// VCN's default set of DHCP options is automatically set to the VCN domain
	// (for example, `vcn1.oraclevcn.com`).
	// If you don't want to use a search domain name, omit this option from the
	// set of DHCP options. Do not include this option with an empty list
	// of search domain names, or with an empty string as the value for any search
	// domain name.
	SearchDomainNames []string `mandatory:"true" json:"searchDomainNames"`
}

DhcpSearchDomainOption DHCP option for specifying a search domain name for DNS queries. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).

func (DhcpSearchDomainOption) MarshalJSON ¶

func (m DhcpSearchDomainOption) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DhcpSearchDomainOption) String ¶

func (m DhcpSearchDomainOption) String() string

func (DhcpSearchDomainOption) ValidateEnumValue ¶

func (m DhcpSearchDomainOption) 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 DpdConfig ¶

type DpdConfig struct {

	// This option defines whether DPD can be initiated from the Oracle side of the connection.
	DpdMode DpdConfigDpdModeEnum `mandatory:"false" json:"dpdMode,omitempty"`

	// DPD timeout in seconds. This sets the longest interval between CPE device health messages before the IPSec connection indicates it has lost contact with the CPE. The default is 20 seconds.
	DpdTimeoutInSec *int `mandatory:"false" json:"dpdTimeoutInSec"`
}

DpdConfig These configuration details are used for dead peer detection (DPD). DPD periodically checks the stability of the connection to the customer premises (CPE), and may be used to detect that the link to the CPE has gone down.

func (DpdConfig) String ¶

func (m DpdConfig) String() string

func (DpdConfig) ValidateEnumValue ¶

func (m DpdConfig) 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 DpdConfigDpdModeEnum ¶

type DpdConfigDpdModeEnum string

DpdConfigDpdModeEnum Enum with underlying type: string

const (
	DpdConfigDpdModeInitiateAndRespond DpdConfigDpdModeEnum = "INITIATE_AND_RESPOND"
	DpdConfigDpdModeRespondOnly        DpdConfigDpdModeEnum = "RESPOND_ONLY"
)

Set of constants representing the allowable values for DpdConfigDpdModeEnum

func GetDpdConfigDpdModeEnumValues ¶

func GetDpdConfigDpdModeEnumValues() []DpdConfigDpdModeEnum

GetDpdConfigDpdModeEnumValues Enumerates the set of values for DpdConfigDpdModeEnum

func GetMappingDpdConfigDpdModeEnum ¶

func GetMappingDpdConfigDpdModeEnum(val string) (DpdConfigDpdModeEnum, bool)

GetMappingDpdConfigDpdModeEnum performs case Insensitive comparison on enum value and return the desired enum

type Drg ¶

type Drg struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The DRG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The DRG's current state.
	LifecycleState DrgLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The date and time the DRG was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	DefaultDrgRouteTables *DefaultDrgRouteTables `mandatory:"false" json:"defaultDrgRouteTables"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DRG's default export route distribution for the DRG attachments.
	DefaultExportDrgRouteDistributionId *string `mandatory:"false" json:"defaultExportDrgRouteDistributionId"`
}

Drg A dynamic routing gateway (DRG) is a virtual router that provides a path for private network traffic between networks. You use it with other Networking Service components to create a connection to your on-premises network using Site-to-Site VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm) or a connection that uses FastConnect (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For more information, see Networking Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Drg) String ¶

func (m Drg) String() string

func (Drg) ValidateEnumValue ¶

func (m Drg) 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 DrgAttachment ¶

type DrgAttachment struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG attachment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The DRG attachment's current state.
	LifecycleState DrgAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The date and time the DRG attachment was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment.
	// The DRG route table manages traffic inside the DRG.
	DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`

	NetworkDetails DrgAttachmentNetworkDetails `mandatory:"false" json:"networkDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	// This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	// This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource.
	VcnId *string `mandatory:"false" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table
	// are advertised to the attachment.
	// If this value is null, no routes are advertised through this attachment.
	ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"`

	// Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.
	// Example: `false`
	IsCrossTenancy *bool `mandatory:"false" json:"isCrossTenancy"`
}

DrgAttachment A DRG attachment serves as a link between a DRG and a network resource. A DRG can be attached to a VCN, IPSec tunnel, remote peering connection, or virtual circuit. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm).

func (DrgAttachment) String ¶

func (m DrgAttachment) String() string

func (*DrgAttachment) UnmarshalJSON ¶

func (m *DrgAttachment) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DrgAttachment) ValidateEnumValue ¶

func (m DrgAttachment) 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 DrgAttachmentIdDrgRouteDistributionMatchCriteria ¶

type DrgAttachmentIdDrgRouteDistributionMatchCriteria struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
	DrgAttachmentId *string `mandatory:"true" json:"drgAttachmentId"`
}

DrgAttachmentIdDrgRouteDistributionMatchCriteria The criteria by which a specific attachment will import routes to the DRG.

func (DrgAttachmentIdDrgRouteDistributionMatchCriteria) MarshalJSON ¶

func (m DrgAttachmentIdDrgRouteDistributionMatchCriteria) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DrgAttachmentIdDrgRouteDistributionMatchCriteria) String ¶

func (DrgAttachmentIdDrgRouteDistributionMatchCriteria) ValidateEnumValue ¶

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 DrgAttachmentInfo ¶

type DrgAttachmentInfo struct {

	// The Oracle-assigned ID of the DRG attachment
	Id *string `mandatory:"true" json:"id"`
}

DrgAttachmentInfo The `DrgAttachmentInfo` resource contains the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.

func (DrgAttachmentInfo) String ¶

func (m DrgAttachmentInfo) String() string

func (DrgAttachmentInfo) ValidateEnumValue ¶

func (m DrgAttachmentInfo) 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 DrgAttachmentLifecycleStateEnum ¶

type DrgAttachmentLifecycleStateEnum string

DrgAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	DrgAttachmentLifecycleStateAttaching DrgAttachmentLifecycleStateEnum = "ATTACHING"
	DrgAttachmentLifecycleStateAttached  DrgAttachmentLifecycleStateEnum = "ATTACHED"
	DrgAttachmentLifecycleStateDetaching DrgAttachmentLifecycleStateEnum = "DETACHING"
	DrgAttachmentLifecycleStateDetached  DrgAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for DrgAttachmentLifecycleStateEnum

func GetDrgAttachmentLifecycleStateEnumValues ¶

func GetDrgAttachmentLifecycleStateEnumValues() []DrgAttachmentLifecycleStateEnum

GetDrgAttachmentLifecycleStateEnumValues Enumerates the set of values for DrgAttachmentLifecycleStateEnum

func GetMappingDrgAttachmentLifecycleStateEnum ¶

func GetMappingDrgAttachmentLifecycleStateEnum(val string) (DrgAttachmentLifecycleStateEnum, bool)

GetMappingDrgAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria ¶

type DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria struct {
}

DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria All routes are imported or exported.

func (DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria) MarshalJSON ¶

MarshalJSON marshals to json representation

func (DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria) String ¶

func (DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria) ValidateEnumValue ¶

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 DrgAttachmentNetworkCreateDetails ¶

type DrgAttachmentNetworkCreateDetails interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	GetId() *string
}

DrgAttachmentNetworkCreateDetails The representation of DrgAttachmentNetworkCreateDetails

type DrgAttachmentNetworkCreateDetailsTypeEnum ¶

type DrgAttachmentNetworkCreateDetailsTypeEnum string

DrgAttachmentNetworkCreateDetailsTypeEnum Enum with underlying type: string

const (
	DrgAttachmentNetworkCreateDetailsTypeVcn DrgAttachmentNetworkCreateDetailsTypeEnum = "VCN"
)

Set of constants representing the allowable values for DrgAttachmentNetworkCreateDetailsTypeEnum

func GetDrgAttachmentNetworkCreateDetailsTypeEnumValues ¶

func GetDrgAttachmentNetworkCreateDetailsTypeEnumValues() []DrgAttachmentNetworkCreateDetailsTypeEnum

GetDrgAttachmentNetworkCreateDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkCreateDetailsTypeEnum

func GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum ¶

func GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum(val string) (DrgAttachmentNetworkCreateDetailsTypeEnum, bool)

GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgAttachmentNetworkDetails ¶

type DrgAttachmentNetworkDetails interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	GetId() *string
}

DrgAttachmentNetworkDetails The representation of DrgAttachmentNetworkDetails

type DrgAttachmentNetworkDetailsTypeEnum ¶

type DrgAttachmentNetworkDetailsTypeEnum string

DrgAttachmentNetworkDetailsTypeEnum Enum with underlying type: string

const (
	DrgAttachmentNetworkDetailsTypeVcn                     DrgAttachmentNetworkDetailsTypeEnum = "VCN"
	DrgAttachmentNetworkDetailsTypeIpsecTunnel             DrgAttachmentNetworkDetailsTypeEnum = "IPSEC_TUNNEL"
	DrgAttachmentNetworkDetailsTypeVirtualCircuit          DrgAttachmentNetworkDetailsTypeEnum = "VIRTUAL_CIRCUIT"
	DrgAttachmentNetworkDetailsTypeRemotePeeringConnection DrgAttachmentNetworkDetailsTypeEnum = "REMOTE_PEERING_CONNECTION"
)

Set of constants representing the allowable values for DrgAttachmentNetworkDetailsTypeEnum

func GetDrgAttachmentNetworkDetailsTypeEnumValues ¶

func GetDrgAttachmentNetworkDetailsTypeEnumValues() []DrgAttachmentNetworkDetailsTypeEnum

GetDrgAttachmentNetworkDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkDetailsTypeEnum

func GetMappingDrgAttachmentNetworkDetailsTypeEnum ¶

func GetMappingDrgAttachmentNetworkDetailsTypeEnum(val string) (DrgAttachmentNetworkDetailsTypeEnum, bool)

GetMappingDrgAttachmentNetworkDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgAttachmentNetworkUpdateDetails ¶

type DrgAttachmentNetworkUpdateDetails interface {
}

DrgAttachmentNetworkUpdateDetails The representation of DrgAttachmentNetworkUpdateDetails

type DrgAttachmentNetworkUpdateDetailsTypeEnum ¶

type DrgAttachmentNetworkUpdateDetailsTypeEnum string

DrgAttachmentNetworkUpdateDetailsTypeEnum Enum with underlying type: string

const (
	DrgAttachmentNetworkUpdateDetailsTypeVcn DrgAttachmentNetworkUpdateDetailsTypeEnum = "VCN"
)

Set of constants representing the allowable values for DrgAttachmentNetworkUpdateDetailsTypeEnum

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues ¶

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues() []DrgAttachmentNetworkUpdateDetailsTypeEnum

GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkUpdateDetailsTypeEnum

func GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum ¶

func GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum(val string) (DrgAttachmentNetworkUpdateDetailsTypeEnum, bool)

GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgAttachmentTypeDrgRouteDistributionMatchCriteria ¶

type DrgAttachmentTypeDrgRouteDistributionMatchCriteria struct {

	// The type of the network resource to be included in this match. A match for a network type implies that all
	// DRG attachments of that type insert routes into the table.
	AttachmentType DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum `mandatory:"true" json:"attachmentType"`
}

DrgAttachmentTypeDrgRouteDistributionMatchCriteria The attachment type from which the DRG will import routes. Routes will be imported from all attachments of this type.

func (DrgAttachmentTypeDrgRouteDistributionMatchCriteria) MarshalJSON ¶

MarshalJSON marshals to json representation

func (DrgAttachmentTypeDrgRouteDistributionMatchCriteria) String ¶

func (DrgAttachmentTypeDrgRouteDistributionMatchCriteria) ValidateEnumValue ¶

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 DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum ¶

type DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum string

DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum Enum with underlying type: string

const (
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeVcn                     DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "VCN"
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeVirtualCircuit          DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "VIRTUAL_CIRCUIT"
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeRemotePeeringConnection DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "REMOTE_PEERING_CONNECTION"
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeIpsecTunnel             DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "IPSEC_TUNNEL"
)

Set of constants representing the allowable values for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues ¶

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues() []DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues Enumerates the set of values for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

func GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum ¶

func GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum(val string) (DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum, bool)

GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgLifecycleStateEnum ¶

type DrgLifecycleStateEnum string

DrgLifecycleStateEnum Enum with underlying type: string

const (
	DrgLifecycleStateProvisioning DrgLifecycleStateEnum = "PROVISIONING"
	DrgLifecycleStateAvailable    DrgLifecycleStateEnum = "AVAILABLE"
	DrgLifecycleStateTerminating  DrgLifecycleStateEnum = "TERMINATING"
	DrgLifecycleStateTerminated   DrgLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DrgLifecycleStateEnum

func GetDrgLifecycleStateEnumValues ¶

func GetDrgLifecycleStateEnumValues() []DrgLifecycleStateEnum

GetDrgLifecycleStateEnumValues Enumerates the set of values for DrgLifecycleStateEnum

func GetMappingDrgLifecycleStateEnum ¶

func GetMappingDrgLifecycleStateEnum(val string) (DrgLifecycleStateEnum, bool)

GetMappingDrgLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRedundancyStatus ¶

type DrgRedundancyStatus struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	Id *string `mandatory:"false" json:"id"`

	// The redundancy status of the DRG.
	Status DrgRedundancyStatusStatusEnum `mandatory:"false" json:"status,omitempty"`
}

DrgRedundancyStatus The redundancy status of the DRG. For more information, see Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm).

func (DrgRedundancyStatus) String ¶

func (m DrgRedundancyStatus) String() string

func (DrgRedundancyStatus) ValidateEnumValue ¶

func (m DrgRedundancyStatus) 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 DrgRedundancyStatusStatusEnum ¶

type DrgRedundancyStatusStatusEnum string

DrgRedundancyStatusStatusEnum Enum with underlying type: string

const (
	DrgRedundancyStatusStatusNotAvailable                        DrgRedundancyStatusStatusEnum = "NOT_AVAILABLE"
	DrgRedundancyStatusStatusRedundant                           DrgRedundancyStatusStatusEnum = "REDUNDANT"
	DrgRedundancyStatusStatusNotRedundantSingleIpsec             DrgRedundancyStatusStatusEnum = "NOT_REDUNDANT_SINGLE_IPSEC"
	DrgRedundancyStatusStatusNotRedundantSingleVirtualcircuit    DrgRedundancyStatusStatusEnum = "NOT_REDUNDANT_SINGLE_VIRTUALCIRCUIT"
	DrgRedundancyStatusStatusNotRedundantMultipleIpsecs          DrgRedundancyStatusStatusEnum = "NOT_REDUNDANT_MULTIPLE_IPSECS"
	DrgRedundancyStatusStatusNotRedundantMultipleVirtualcircuits DrgRedundancyStatusStatusEnum = "NOT_REDUNDANT_MULTIPLE_VIRTUALCIRCUITS"
	DrgRedundancyStatusStatusNotRedundantMixConnections          DrgRedundancyStatusStatusEnum = "NOT_REDUNDANT_MIX_CONNECTIONS"
	DrgRedundancyStatusStatusNotRedundantNoConnection            DrgRedundancyStatusStatusEnum = "NOT_REDUNDANT_NO_CONNECTION"
)

Set of constants representing the allowable values for DrgRedundancyStatusStatusEnum

func GetDrgRedundancyStatusStatusEnumValues ¶

func GetDrgRedundancyStatusStatusEnumValues() []DrgRedundancyStatusStatusEnum

GetDrgRedundancyStatusStatusEnumValues Enumerates the set of values for DrgRedundancyStatusStatusEnum

func GetMappingDrgRedundancyStatusStatusEnum ¶

func GetMappingDrgRedundancyStatusStatusEnum(val string) (DrgRedundancyStatusStatusEnum, bool)

GetMappingDrgRedundancyStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteDistribution ¶

type DrgRouteDistribution struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that contains this route distribution.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route distribution.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The route distribution's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The route distribution's current state.
	LifecycleState DrgRouteDistributionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the route distribution was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
	DistributionType DrgRouteDistributionDistributionTypeEnum `mandatory:"true" json:"distributionType"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

DrgRouteDistribution A route distribution establishes how routes get imported into DRG route tables and exported through the DRG attachments. A route distribution is a list of statements. Each statement consists of a set of matches, all of which must be `True` in order for the statement's action to take place. Each statement determines which routes are propagated. You can assign a route distribution as a route table's import distribution. The statements in an import route distribution specify how how incoming route advertisements through a referenced attachment or all attachments of a certain type are inserted into the route table. You can assign a route distribution as a DRG attachment's export distribution unless the attachment has the type VCN. Exporting routes through a VCN attachment is unsupported. Export route distribution statements specify how routes in a DRG attachment's assigned table are advertised out through the attachment. When a DRG is created, a route distribution is created with a single ACCEPT statement with match criteria MATCH_ALL. By default, all DRG attachments (except for those of type VCN), are assigned this distribution.

The two auto-generated DRG route tables (one as the default for VCN attachments, and the other for all other types of attachments) are each assigned an auto generated import route distribution. The default VCN table's import distribution has a single statement with match criteria MATCH_ALL to import routes from each DRG attachment type. The other table's import distribution has a statement to import routes from attachments with the VCN type. The route distribution is always in the same compartment as the DRG.

func (DrgRouteDistribution) String ¶

func (m DrgRouteDistribution) String() string

func (DrgRouteDistribution) ValidateEnumValue ¶

func (m DrgRouteDistribution) 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 DrgRouteDistributionDistributionTypeEnum ¶

type DrgRouteDistributionDistributionTypeEnum string

DrgRouteDistributionDistributionTypeEnum Enum with underlying type: string

const (
	DrgRouteDistributionDistributionTypeImport DrgRouteDistributionDistributionTypeEnum = "IMPORT"
	DrgRouteDistributionDistributionTypeExport DrgRouteDistributionDistributionTypeEnum = "EXPORT"
)

Set of constants representing the allowable values for DrgRouteDistributionDistributionTypeEnum

func GetDrgRouteDistributionDistributionTypeEnumValues ¶

func GetDrgRouteDistributionDistributionTypeEnumValues() []DrgRouteDistributionDistributionTypeEnum

GetDrgRouteDistributionDistributionTypeEnumValues Enumerates the set of values for DrgRouteDistributionDistributionTypeEnum

func GetMappingDrgRouteDistributionDistributionTypeEnum ¶

func GetMappingDrgRouteDistributionDistributionTypeEnum(val string) (DrgRouteDistributionDistributionTypeEnum, bool)

GetMappingDrgRouteDistributionDistributionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteDistributionLifecycleStateEnum ¶

type DrgRouteDistributionLifecycleStateEnum string

DrgRouteDistributionLifecycleStateEnum Enum with underlying type: string

const (
	DrgRouteDistributionLifecycleStateProvisioning DrgRouteDistributionLifecycleStateEnum = "PROVISIONING"
	DrgRouteDistributionLifecycleStateAvailable    DrgRouteDistributionLifecycleStateEnum = "AVAILABLE"
	DrgRouteDistributionLifecycleStateTerminating  DrgRouteDistributionLifecycleStateEnum = "TERMINATING"
	DrgRouteDistributionLifecycleStateTerminated   DrgRouteDistributionLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DrgRouteDistributionLifecycleStateEnum

func GetDrgRouteDistributionLifecycleStateEnumValues ¶

func GetDrgRouteDistributionLifecycleStateEnumValues() []DrgRouteDistributionLifecycleStateEnum

GetDrgRouteDistributionLifecycleStateEnumValues Enumerates the set of values for DrgRouteDistributionLifecycleStateEnum

func GetMappingDrgRouteDistributionLifecycleStateEnum ¶

func GetMappingDrgRouteDistributionLifecycleStateEnum(val string) (DrgRouteDistributionLifecycleStateEnum, bool)

GetMappingDrgRouteDistributionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteDistributionMatchCriteria ¶

type DrgRouteDistributionMatchCriteria interface {
}

DrgRouteDistributionMatchCriteria The match criteria in a route distribution statement. The match criteria outlines which routes should be imported or exported.

type DrgRouteDistributionMatchCriteriaMatchTypeEnum ¶

type DrgRouteDistributionMatchCriteriaMatchTypeEnum string

DrgRouteDistributionMatchCriteriaMatchTypeEnum Enum with underlying type: string

const (
	DrgRouteDistributionMatchCriteriaMatchTypeDrgAttachmentType DrgRouteDistributionMatchCriteriaMatchTypeEnum = "DRG_ATTACHMENT_TYPE"
	DrgRouteDistributionMatchCriteriaMatchTypeDrgAttachmentId   DrgRouteDistributionMatchCriteriaMatchTypeEnum = "DRG_ATTACHMENT_ID"
	DrgRouteDistributionMatchCriteriaMatchTypeMatchAll          DrgRouteDistributionMatchCriteriaMatchTypeEnum = "MATCH_ALL"
)

Set of constants representing the allowable values for DrgRouteDistributionMatchCriteriaMatchTypeEnum

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues ¶

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues() []DrgRouteDistributionMatchCriteriaMatchTypeEnum

GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues Enumerates the set of values for DrgRouteDistributionMatchCriteriaMatchTypeEnum

func GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum ¶

func GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum(val string) (DrgRouteDistributionMatchCriteriaMatchTypeEnum, bool)

GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteDistributionStatement ¶

type DrgRouteDistributionStatement struct {

	// The action is applied only if all of the match criteria is met.
	// If there are no match criteria in a statement, any input is considered a match and the action is applied.
	MatchCriteria []DrgRouteDistributionMatchCriteria `mandatory:"true" json:"matchCriteria"`

	// `ACCEPT` indicates the route should be imported or exported as-is.
	Action DrgRouteDistributionStatementActionEnum `mandatory:"true" json:"action"`

	// This field specifies the priority of each statement in a route distribution.
	// Priorities must be unique within a particular route distribution.
	// The priority will be represented as a number between 0 and 65535 where a lower number
	// indicates a higher priority. When a route is processed, statements are applied in the order
	// defined by their priority. The first matching rule dictates the action that will be taken
	// on the route.
	Priority *int `mandatory:"true" json:"priority"`

	// The Oracle-assigned ID of the route distribution statement.
	Id *string `mandatory:"true" json:"id"`
}

DrgRouteDistributionStatement A single statement within a route distribution. All match criteria in a statement must be met for the action to take place.

func (DrgRouteDistributionStatement) String ¶

func (*DrgRouteDistributionStatement) UnmarshalJSON ¶

func (m *DrgRouteDistributionStatement) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (DrgRouteDistributionStatement) ValidateEnumValue ¶

func (m DrgRouteDistributionStatement) 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 DrgRouteDistributionStatementActionEnum ¶

type DrgRouteDistributionStatementActionEnum string

DrgRouteDistributionStatementActionEnum Enum with underlying type: string

const (
	DrgRouteDistributionStatementActionAccept DrgRouteDistributionStatementActionEnum = "ACCEPT"
)

Set of constants representing the allowable values for DrgRouteDistributionStatementActionEnum

func GetDrgRouteDistributionStatementActionEnumValues ¶

func GetDrgRouteDistributionStatementActionEnumValues() []DrgRouteDistributionStatementActionEnum

GetDrgRouteDistributionStatementActionEnumValues Enumerates the set of values for DrgRouteDistributionStatementActionEnum

func GetMappingDrgRouteDistributionStatementActionEnum ¶

func GetMappingDrgRouteDistributionStatementActionEnum(val string) (DrgRouteDistributionStatementActionEnum, bool)

GetMappingDrgRouteDistributionStatementActionEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteRule ¶

type DrgRouteRule struct {

	// Represents the range of IP addresses to match against when routing traffic.
	// Potential values:
	//   * An IP address range (IPv4 or IPv6) in CIDR notation. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`.
	//   * When you're setting up a security rule for traffic destined for a particular `Service` through
	//   a service gateway, this is the `cidrBlock` value associated with that Service. For example: `oci-phx-objectstorage`.
	Destination *string `mandatory:"true" json:"destination"`

	// The type of destination for the rule.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	DestinationType DrgRouteRuleDestinationTypeEnum `mandatory:"true" json:"destinationType"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment responsible
	// for reaching the network destination.
	// A value of `BLACKHOLE` means traffic for this route is discarded without notification.
	NextHopDrgAttachmentId *string `mandatory:"true" json:"nextHopDrgAttachmentId"`

	// The Oracle-assigned ID of the DRG route rule.
	Id *string `mandatory:"true" json:"id"`

	// The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment,
	// and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains `IPSEC_TUNNEL`,
	// because that is the earliest origin.
	// No routes with a provenance `IPSEC_TUNNEL` or `VIRTUAL_CIRCUIT` will be exported to IPsec tunnel or virtual circuit attachments,
	// regardless of the attachment's export distribution.
	RouteProvenance DrgRouteRuleRouteProvenanceEnum `mandatory:"true" json:"routeProvenance"`

	// You can specify static routes for the DRG route table using the API.
	// The DRG learns dynamic routes from the DRG attachments using various routing protocols.
	RouteType DrgRouteRuleRouteTypeEnum `mandatory:"false" json:"routeType,omitempty"`

	// Indicates that the route was not imported due to a conflict between route rules.
	IsConflict *bool `mandatory:"false" json:"isConflict"`

	// Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
	IsBlackhole *bool `mandatory:"false" json:"isBlackhole"`

	// Additional properties for the route, computed by the service.
	Attributes *interface{} `mandatory:"false" json:"attributes"`
}

DrgRouteRule A DRG route rule is a mapping between a destination IP address range and a DRG attachment. The map is used to route matching packets. Traffic will be routed across the attachments using Equal-cost multi-path routing (ECMP) if there are multiple rules with identical destinations and none of the rules conflict.

func (DrgRouteRule) String ¶

func (m DrgRouteRule) String() string

func (DrgRouteRule) ValidateEnumValue ¶

func (m DrgRouteRule) 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 DrgRouteRuleDestinationTypeEnum ¶

type DrgRouteRuleDestinationTypeEnum string

DrgRouteRuleDestinationTypeEnum Enum with underlying type: string

const (
	DrgRouteRuleDestinationTypeCidrBlock        DrgRouteRuleDestinationTypeEnum = "CIDR_BLOCK"
	DrgRouteRuleDestinationTypeServiceCidrBlock DrgRouteRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for DrgRouteRuleDestinationTypeEnum

func GetDrgRouteRuleDestinationTypeEnumValues ¶

func GetDrgRouteRuleDestinationTypeEnumValues() []DrgRouteRuleDestinationTypeEnum

GetDrgRouteRuleDestinationTypeEnumValues Enumerates the set of values for DrgRouteRuleDestinationTypeEnum

func GetMappingDrgRouteRuleDestinationTypeEnum ¶

func GetMappingDrgRouteRuleDestinationTypeEnum(val string) (DrgRouteRuleDestinationTypeEnum, bool)

GetMappingDrgRouteRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteRuleRouteProvenanceEnum ¶

type DrgRouteRuleRouteProvenanceEnum string

DrgRouteRuleRouteProvenanceEnum Enum with underlying type: string

const (
	DrgRouteRuleRouteProvenanceStatic         DrgRouteRuleRouteProvenanceEnum = "STATIC"
	DrgRouteRuleRouteProvenanceVcn            DrgRouteRuleRouteProvenanceEnum = "VCN"
	DrgRouteRuleRouteProvenanceVirtualCircuit DrgRouteRuleRouteProvenanceEnum = "VIRTUAL_CIRCUIT"
	DrgRouteRuleRouteProvenanceIpsecTunnel    DrgRouteRuleRouteProvenanceEnum = "IPSEC_TUNNEL"
)

Set of constants representing the allowable values for DrgRouteRuleRouteProvenanceEnum

func GetDrgRouteRuleRouteProvenanceEnumValues ¶

func GetDrgRouteRuleRouteProvenanceEnumValues() []DrgRouteRuleRouteProvenanceEnum

GetDrgRouteRuleRouteProvenanceEnumValues Enumerates the set of values for DrgRouteRuleRouteProvenanceEnum

func GetMappingDrgRouteRuleRouteProvenanceEnum ¶

func GetMappingDrgRouteRuleRouteProvenanceEnum(val string) (DrgRouteRuleRouteProvenanceEnum, bool)

GetMappingDrgRouteRuleRouteProvenanceEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteRuleRouteTypeEnum ¶

type DrgRouteRuleRouteTypeEnum string

DrgRouteRuleRouteTypeEnum Enum with underlying type: string

const (
	DrgRouteRuleRouteTypeStatic  DrgRouteRuleRouteTypeEnum = "STATIC"
	DrgRouteRuleRouteTypeDynamic DrgRouteRuleRouteTypeEnum = "DYNAMIC"
)

Set of constants representing the allowable values for DrgRouteRuleRouteTypeEnum

func GetDrgRouteRuleRouteTypeEnumValues ¶

func GetDrgRouteRuleRouteTypeEnumValues() []DrgRouteRuleRouteTypeEnum

GetDrgRouteRuleRouteTypeEnumValues Enumerates the set of values for DrgRouteRuleRouteTypeEnum

func GetMappingDrgRouteRuleRouteTypeEnum ¶

func GetMappingDrgRouteRuleRouteTypeEnum(val string) (DrgRouteRuleRouteTypeEnum, bool)

GetMappingDrgRouteRuleRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DrgRouteTable ¶

type DrgRouteTable struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
	// DRG route table.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DRG is in. The DRG route table
	// is always in the same compartment as the DRG.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The date and time the DRG route table was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The DRG route table's current state.
	LifecycleState DrgRouteTableLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to
	// your on-premises network, enable ECMP on the DRG route table to which these attachments
	// import routes.
	IsEcmpEnabled *bool `mandatory:"true" json:"isEcmpEnabled"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements from
	// referenced attachments are inserted into the DRG route table.
	ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"`
}

DrgRouteTable All routing inside the DRG is driven by the contents of DRG route tables. DRG route tables contain rules which route packets to a particular network destination, represented as a DRG attachment. The routing decision for a packet entering a DRG is determined by the rules in the DRG route table assigned to the attachment-of-entry. Each DRG attachment can inject routes in any DRG route table, provided there is a statement corresponding to the attachment in the route table's `importDrgRouteDistribution`. You can also insert static routes into the DRG route tables. The DRG route table is always in the same compartment as the DRG. There must always be a default DRG route table for each attachment type.

func (DrgRouteTable) String ¶

func (m DrgRouteTable) String() string

func (DrgRouteTable) ValidateEnumValue ¶

func (m DrgRouteTable) 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 DrgRouteTableLifecycleStateEnum ¶

type DrgRouteTableLifecycleStateEnum string

DrgRouteTableLifecycleStateEnum Enum with underlying type: string

const (
	DrgRouteTableLifecycleStateProvisioning DrgRouteTableLifecycleStateEnum = "PROVISIONING"
	DrgRouteTableLifecycleStateAvailable    DrgRouteTableLifecycleStateEnum = "AVAILABLE"
	DrgRouteTableLifecycleStateTerminating  DrgRouteTableLifecycleStateEnum = "TERMINATING"
	DrgRouteTableLifecycleStateTerminated   DrgRouteTableLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DrgRouteTableLifecycleStateEnum

func GetDrgRouteTableLifecycleStateEnumValues ¶

func GetDrgRouteTableLifecycleStateEnumValues() []DrgRouteTableLifecycleStateEnum

GetDrgRouteTableLifecycleStateEnumValues Enumerates the set of values for DrgRouteTableLifecycleStateEnum

func GetMappingDrgRouteTableLifecycleStateEnum ¶

func GetMappingDrgRouteTableLifecycleStateEnum(val string) (DrgRouteTableLifecycleStateEnum, bool)

GetMappingDrgRouteTableLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type EgressSecurityRule ¶

type EgressSecurityRule struct {

	// Conceptually, this is the range of IP addresses that a packet originating from the instance
	// can go to.
	// Allowed values:
	//   * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     Note that IPv6 addressing is currently supported only in certain regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security list rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	Destination *string `mandatory:"true" json:"destination"`

	// The transport protocol. Specify either `all` or an IPv4 protocol number as
	// defined in
	// Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
	// Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
	Protocol *string `mandatory:"true" json:"protocol"`

	// Type of destination for the rule. The default is `CIDR_BLOCK`.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	DestinationType EgressSecurityRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	// A stateless rule allows traffic in one direction. Remember to add a corresponding
	// stateless rule in the other direction if you need to support bidirectional traffic. For
	// example, if egress traffic allows TCP destination port 80, there should be an ingress
	// rule to allow TCP source port 80. Defaults to false, which means the rule is stateful
	// and a corresponding rule is not necessary for bidirectional traffic.
	IsStateless *bool `mandatory:"false" json:"isStateless"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`

	// An optional description of your choice for the rule.
	Description *string `mandatory:"false" json:"description"`
}

EgressSecurityRule A rule for allowing outbound IP packets.

func (EgressSecurityRule) String ¶

func (m EgressSecurityRule) String() string

func (EgressSecurityRule) ValidateEnumValue ¶

func (m EgressSecurityRule) 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 EgressSecurityRuleDestinationTypeEnum ¶

type EgressSecurityRuleDestinationTypeEnum string

EgressSecurityRuleDestinationTypeEnum Enum with underlying type: string

const (
	EgressSecurityRuleDestinationTypeCidrBlock        EgressSecurityRuleDestinationTypeEnum = "CIDR_BLOCK"
	EgressSecurityRuleDestinationTypeServiceCidrBlock EgressSecurityRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for EgressSecurityRuleDestinationTypeEnum

func GetEgressSecurityRuleDestinationTypeEnumValues ¶

func GetEgressSecurityRuleDestinationTypeEnumValues() []EgressSecurityRuleDestinationTypeEnum

GetEgressSecurityRuleDestinationTypeEnumValues Enumerates the set of values for EgressSecurityRuleDestinationTypeEnum

func GetMappingEgressSecurityRuleDestinationTypeEnum ¶

func GetMappingEgressSecurityRuleDestinationTypeEnum(val string) (EgressSecurityRuleDestinationTypeEnum, bool)

GetMappingEgressSecurityRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type EmulatedVolumeAttachment ¶

type EmulatedVolumeAttachment struct {

	// The availability domain of an instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the volume attachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the instance the volume is attached to.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The date and time the volume was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The device name.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
	IsMultipath *bool `mandatory:"false" json:"isMultipath"`

	// Flag indicating if this volume was created for the customer as part of a simplified launch.
	// Used to determine whether the volume requires deletion on instance termination.
	IsVolumeCreatedDuringLaunch *bool `mandatory:"false" json:"isVolumeCreatedDuringLaunch"`

	// The current state of the volume attachment.
	LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The iscsi login state of the volume attachment. For a Iscsi volume attachment,
	// all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
	IscsiLoginState VolumeAttachmentIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"`
}

EmulatedVolumeAttachment An Emulated volume attachment.

func (EmulatedVolumeAttachment) GetAvailabilityDomain ¶

func (m EmulatedVolumeAttachment) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (EmulatedVolumeAttachment) GetCompartmentId ¶

func (m EmulatedVolumeAttachment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (EmulatedVolumeAttachment) GetDevice ¶

func (m EmulatedVolumeAttachment) GetDevice() *string

GetDevice returns Device

func (EmulatedVolumeAttachment) GetDisplayName ¶

func (m EmulatedVolumeAttachment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (EmulatedVolumeAttachment) GetId ¶

func (m EmulatedVolumeAttachment) GetId() *string

GetId returns Id

func (EmulatedVolumeAttachment) GetInstanceId ¶

func (m EmulatedVolumeAttachment) GetInstanceId() *string

GetInstanceId returns InstanceId

func (EmulatedVolumeAttachment) GetIsMultipath ¶

func (m EmulatedVolumeAttachment) GetIsMultipath() *bool

GetIsMultipath returns IsMultipath

func (EmulatedVolumeAttachment) GetIsPvEncryptionInTransitEnabled ¶

func (m EmulatedVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool

GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled

func (EmulatedVolumeAttachment) GetIsReadOnly ¶

func (m EmulatedVolumeAttachment) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (EmulatedVolumeAttachment) GetIsShareable ¶

func (m EmulatedVolumeAttachment) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (EmulatedVolumeAttachment) GetIsVolumeCreatedDuringLaunch ¶ added in v65.61.0

func (m EmulatedVolumeAttachment) GetIsVolumeCreatedDuringLaunch() *bool

GetIsVolumeCreatedDuringLaunch returns IsVolumeCreatedDuringLaunch

func (EmulatedVolumeAttachment) GetIscsiLoginState ¶

GetIscsiLoginState returns IscsiLoginState

func (EmulatedVolumeAttachment) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (EmulatedVolumeAttachment) GetTimeCreated ¶

func (m EmulatedVolumeAttachment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (EmulatedVolumeAttachment) GetVolumeId ¶

func (m EmulatedVolumeAttachment) GetVolumeId() *string

GetVolumeId returns VolumeId

func (EmulatedVolumeAttachment) MarshalJSON ¶

func (m EmulatedVolumeAttachment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (EmulatedVolumeAttachment) String ¶

func (m EmulatedVolumeAttachment) String() string

func (EmulatedVolumeAttachment) ValidateEnumValue ¶

func (m EmulatedVolumeAttachment) 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 EncryptionDomainConfig ¶

type EncryptionDomainConfig struct {

	// Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
	OracleTrafficSelector []string `mandatory:"false" json:"oracleTrafficSelector"`

	// Lists IPv4 or IPv6-enabled subnets in your on-premises network.
	CpeTrafficSelector []string `mandatory:"false" json:"cpeTrafficSelector"`
}

EncryptionDomainConfig Configuration information used by the encryption domain policy.

func (EncryptionDomainConfig) String ¶

func (m EncryptionDomainConfig) String() string

func (EncryptionDomainConfig) ValidateEnumValue ¶

func (m EncryptionDomainConfig) 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 EncryptionInTransitTypeEnum ¶

type EncryptionInTransitTypeEnum string

EncryptionInTransitTypeEnum Enum with underlying type: string

const (
	EncryptionInTransitTypeNone                  EncryptionInTransitTypeEnum = "NONE"
	EncryptionInTransitTypeBmEncryptionInTransit EncryptionInTransitTypeEnum = "BM_ENCRYPTION_IN_TRANSIT"
)

Set of constants representing the allowable values for EncryptionInTransitTypeEnum

func GetEncryptionInTransitTypeEnumValues ¶

func GetEncryptionInTransitTypeEnumValues() []EncryptionInTransitTypeEnum

GetEncryptionInTransitTypeEnumValues Enumerates the set of values for EncryptionInTransitTypeEnum

func GetMappingEncryptionInTransitTypeEnum ¶

func GetMappingEncryptionInTransitTypeEnum(val string) (EncryptionInTransitTypeEnum, bool)

GetMappingEncryptionInTransitTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type EnumIntegerImageCapabilityDescriptor ¶

type EnumIntegerImageCapabilityDescriptor struct {

	// the list of values for the enum
	Values []int `mandatory:"true" json:"values"`

	// the default value
	DefaultValue *int `mandatory:"false" json:"defaultValue"`

	Source ImageCapabilitySchemaDescriptorSourceEnum `mandatory:"true" json:"source"`
}

EnumIntegerImageCapabilityDescriptor Enum Integer type CapabilityDescriptor

func (EnumIntegerImageCapabilityDescriptor) GetSource ¶

GetSource returns Source

func (EnumIntegerImageCapabilityDescriptor) MarshalJSON ¶

func (m EnumIntegerImageCapabilityDescriptor) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (EnumIntegerImageCapabilityDescriptor) String ¶

func (EnumIntegerImageCapabilityDescriptor) ValidateEnumValue ¶

func (m EnumIntegerImageCapabilityDescriptor) 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 EnumStringImageCapabilitySchemaDescriptor ¶

type EnumStringImageCapabilitySchemaDescriptor struct {

	// the list of values for the enum
	Values []string `mandatory:"true" json:"values"`

	// the default value
	DefaultValue *string `mandatory:"false" json:"defaultValue"`

	Source ImageCapabilitySchemaDescriptorSourceEnum `mandatory:"true" json:"source"`
}

EnumStringImageCapabilitySchemaDescriptor Enum String type of ImageCapabilitySchemaDescriptor

func (EnumStringImageCapabilitySchemaDescriptor) GetSource ¶

GetSource returns Source

func (EnumStringImageCapabilitySchemaDescriptor) MarshalJSON ¶

func (m EnumStringImageCapabilitySchemaDescriptor) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (EnumStringImageCapabilitySchemaDescriptor) String ¶

func (EnumStringImageCapabilitySchemaDescriptor) ValidateEnumValue ¶

func (m EnumStringImageCapabilitySchemaDescriptor) 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 ExportImageDetails ¶

type ExportImageDetails interface {

	// The format to export the image to. The default value is `OCI`.
	// The following image formats are available:
	// - `OCI` - Oracle Cloud Infrastructure file with a QCOW2 image and Oracle Cloud Infrastructure metadata (.oci).
	// Use this format to export a custom image that you want to import into other tenancies or regions.
	// - `QCOW2` - QEMU Copy On Write (.qcow2)
	// - `VDI` - Virtual Disk Image (.vdi) for Oracle VM VirtualBox
	// - `VHD` - Virtual Hard Disk (.vhd) for Hyper-V
	// - `VMDK` - Virtual Machine Disk (.vmdk)
	GetExportFormat() ExportImageDetailsExportFormatEnum
}

ExportImageDetails The destination details for the image export. Set `destinationType` to `objectStorageTuple` and use ExportImageViaObjectStorageTupleDetails when specifying the namespace, bucket name, and object name. Set `destinationType` to `objectStorageUri` and use ExportImageViaObjectStorageUriDetails when specifying the Object Storage URL.

type ExportImageDetailsExportFormatEnum ¶

type ExportImageDetailsExportFormatEnum string

ExportImageDetailsExportFormatEnum Enum with underlying type: string

const (
	ExportImageDetailsExportFormatQcow2 ExportImageDetailsExportFormatEnum = "QCOW2"
	ExportImageDetailsExportFormatVmdk  ExportImageDetailsExportFormatEnum = "VMDK"
	ExportImageDetailsExportFormatOci   ExportImageDetailsExportFormatEnum = "OCI"
	ExportImageDetailsExportFormatVhd   ExportImageDetailsExportFormatEnum = "VHD"
	ExportImageDetailsExportFormatVdi   ExportImageDetailsExportFormatEnum = "VDI"
)

Set of constants representing the allowable values for ExportImageDetailsExportFormatEnum

func GetExportImageDetailsExportFormatEnumValues ¶

func GetExportImageDetailsExportFormatEnumValues() []ExportImageDetailsExportFormatEnum

GetExportImageDetailsExportFormatEnumValues Enumerates the set of values for ExportImageDetailsExportFormatEnum

func GetMappingExportImageDetailsExportFormatEnum ¶

func GetMappingExportImageDetailsExportFormatEnum(val string) (ExportImageDetailsExportFormatEnum, bool)

GetMappingExportImageDetailsExportFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type ExportImageRequest ¶

type ExportImageRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Details for the image export.
	ExportImageDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ExportImageRequest wrapper for the ExportImage operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImageRequest.

func (ExportImageRequest) BinaryRequestBody ¶

func (request ExportImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ExportImageRequest) HTTPRequest ¶

func (request ExportImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExportImageRequest) RetryPolicy ¶

func (request ExportImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ExportImageRequest) String ¶

func (request ExportImageRequest) String() string

func (ExportImageRequest) ValidateEnumValue ¶

func (request ExportImageRequest) 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 ExportImageResponse ¶

type ExportImageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Image instance
	Image `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ExportImageResponse wrapper for the ExportImage operation

func (ExportImageResponse) HTTPResponse ¶

func (response ExportImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ExportImageResponse) String ¶

func (response ExportImageResponse) String() string

type ExportImageViaObjectStorageTupleDetails ¶

type ExportImageViaObjectStorageTupleDetails struct {

	// The Object Storage bucket to export the image to.
	BucketName *string `mandatory:"true" json:"bucketName"`

	// The Object Storage namespace to export the image to.
	NamespaceName *string `mandatory:"true" json:"namespaceName"`

	// The Object Storage object name for the exported image.
	ObjectName *string `mandatory:"true" json:"objectName"`

	// The format to export the image to. The default value is `OCI`.
	// The following image formats are available:
	// - `OCI` - Oracle Cloud Infrastructure file with a QCOW2 image and Oracle Cloud Infrastructure metadata (.oci).
	// Use this format to export a custom image that you want to import into other tenancies or regions.
	// - `QCOW2` - QEMU Copy On Write (.qcow2)
	// - `VDI` - Virtual Disk Image (.vdi) for Oracle VM VirtualBox
	// - `VHD` - Virtual Hard Disk (.vhd) for Hyper-V
	// - `VMDK` - Virtual Machine Disk (.vmdk)
	ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"`
}

ExportImageViaObjectStorageTupleDetails The representation of ExportImageViaObjectStorageTupleDetails

func (ExportImageViaObjectStorageTupleDetails) GetExportFormat ¶

GetExportFormat returns ExportFormat

func (ExportImageViaObjectStorageTupleDetails) MarshalJSON ¶

func (m ExportImageViaObjectStorageTupleDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ExportImageViaObjectStorageTupleDetails) String ¶

func (ExportImageViaObjectStorageTupleDetails) ValidateEnumValue ¶

func (m ExportImageViaObjectStorageTupleDetails) 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 ExportImageViaObjectStorageUriDetails ¶

type ExportImageViaObjectStorageUriDetails struct {

	// The Object Storage URL to export the image to. See Object
	// Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs)
	// and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm)
	// for constructing URLs for image import/export.
	DestinationUri *string `mandatory:"true" json:"destinationUri"`

	// The format to export the image to. The default value is `OCI`.
	// The following image formats are available:
	// - `OCI` - Oracle Cloud Infrastructure file with a QCOW2 image and Oracle Cloud Infrastructure metadata (.oci).
	// Use this format to export a custom image that you want to import into other tenancies or regions.
	// - `QCOW2` - QEMU Copy On Write (.qcow2)
	// - `VDI` - Virtual Disk Image (.vdi) for Oracle VM VirtualBox
	// - `VHD` - Virtual Hard Disk (.vhd) for Hyper-V
	// - `VMDK` - Virtual Machine Disk (.vmdk)
	ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"`
}

ExportImageViaObjectStorageUriDetails The representation of ExportImageViaObjectStorageUriDetails

func (ExportImageViaObjectStorageUriDetails) GetExportFormat ¶

GetExportFormat returns ExportFormat

func (ExportImageViaObjectStorageUriDetails) MarshalJSON ¶

func (m ExportImageViaObjectStorageUriDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ExportImageViaObjectStorageUriDetails) String ¶

func (ExportImageViaObjectStorageUriDetails) ValidateEnumValue ¶

func (m ExportImageViaObjectStorageUriDetails) 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 FastConnectProviderService ¶

type FastConnectProviderService struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider.
	Id *string `mandatory:"true" json:"id"`

	// Who is responsible for managing the private peering BGP information.
	PrivatePeeringBgpManagement FastConnectProviderServicePrivatePeeringBgpManagementEnum `mandatory:"true" json:"privatePeeringBgpManagement"`

	// The name of the provider.
	ProviderName *string `mandatory:"true" json:"providerName"`

	// The name of the service offered by the provider.
	ProviderServiceName *string `mandatory:"true" json:"providerServiceName"`

	// Who is responsible for managing the public peering BGP information.
	PublicPeeringBgpManagement FastConnectProviderServicePublicPeeringBgpManagementEnum `mandatory:"true" json:"publicPeeringBgpManagement"`

	// Who is responsible for managing the ASN information for the network at the other end
	// of the connection from Oracle.
	CustomerAsnManagement FastConnectProviderServiceCustomerAsnManagementEnum `mandatory:"true" json:"customerAsnManagement"`

	// Who is responsible for managing the provider service key.
	ProviderServiceKeyManagement FastConnectProviderServiceProviderServiceKeyManagementEnum `mandatory:"true" json:"providerServiceKeyManagement"`

	// Who is responsible for managing the virtual circuit bandwidth.
	BandwithShapeManagement FastConnectProviderServiceBandwithShapeManagementEnum `mandatory:"true" json:"bandwithShapeManagement"`

	// Total number of cross-connect or cross-connect groups required for the virtual circuit.
	RequiredTotalCrossConnects *int `mandatory:"true" json:"requiredTotalCrossConnects"`

	// Provider service type.
	Type FastConnectProviderServiceTypeEnum `mandatory:"true" json:"type"`

	// The location of the provider's website or portal. This portal is where you can get information
	// about the provider service, create a virtual circuit connection from the provider to Oracle
	// Cloud Infrastructure, and retrieve your provider service key for that virtual circuit connection.
	// Example: `https://example.com`
	Description *string `mandatory:"false" json:"description"`

	// An array of virtual circuit types supported by this service.
	SupportedVirtualCircuitTypes []FastConnectProviderServiceSupportedVirtualCircuitTypesEnum `mandatory:"false" json:"supportedVirtualCircuitTypes,omitempty"`
}

FastConnectProviderService A service offering from a supported provider. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

func (FastConnectProviderService) String ¶

func (FastConnectProviderService) ValidateEnumValue ¶

func (m FastConnectProviderService) 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 FastConnectProviderServiceBandwithShapeManagementEnum ¶

type FastConnectProviderServiceBandwithShapeManagementEnum string

FastConnectProviderServiceBandwithShapeManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServiceBandwithShapeManagementCustomerManaged FastConnectProviderServiceBandwithShapeManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServiceBandwithShapeManagementProviderManaged FastConnectProviderServiceBandwithShapeManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServiceBandwithShapeManagementOracleManaged   FastConnectProviderServiceBandwithShapeManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServiceBandwithShapeManagementEnum

func GetFastConnectProviderServiceBandwithShapeManagementEnumValues ¶

func GetFastConnectProviderServiceBandwithShapeManagementEnumValues() []FastConnectProviderServiceBandwithShapeManagementEnum

GetFastConnectProviderServiceBandwithShapeManagementEnumValues Enumerates the set of values for FastConnectProviderServiceBandwithShapeManagementEnum

func GetMappingFastConnectProviderServiceBandwithShapeManagementEnum ¶

func GetMappingFastConnectProviderServiceBandwithShapeManagementEnum(val string) (FastConnectProviderServiceBandwithShapeManagementEnum, bool)

GetMappingFastConnectProviderServiceBandwithShapeManagementEnum performs case Insensitive comparison on enum value and return the desired enum

type FastConnectProviderServiceCustomerAsnManagementEnum ¶

type FastConnectProviderServiceCustomerAsnManagementEnum string

FastConnectProviderServiceCustomerAsnManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServiceCustomerAsnManagementCustomerManaged FastConnectProviderServiceCustomerAsnManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServiceCustomerAsnManagementProviderManaged FastConnectProviderServiceCustomerAsnManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServiceCustomerAsnManagementOracleManaged   FastConnectProviderServiceCustomerAsnManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServiceCustomerAsnManagementEnum

func GetFastConnectProviderServiceCustomerAsnManagementEnumValues ¶

func GetFastConnectProviderServiceCustomerAsnManagementEnumValues() []FastConnectProviderServiceCustomerAsnManagementEnum

GetFastConnectProviderServiceCustomerAsnManagementEnumValues Enumerates the set of values for FastConnectProviderServiceCustomerAsnManagementEnum

func GetMappingFastConnectProviderServiceCustomerAsnManagementEnum ¶

func GetMappingFastConnectProviderServiceCustomerAsnManagementEnum(val string) (FastConnectProviderServiceCustomerAsnManagementEnum, bool)

GetMappingFastConnectProviderServiceCustomerAsnManagementEnum performs case Insensitive comparison on enum value and return the desired enum

type FastConnectProviderServiceKey ¶

type FastConnectProviderServiceKey struct {

	// The service key that the provider gives you when you set up a virtual circuit connection
	// from the provider to Oracle Cloud Infrastructure. Use this value as the `providerServiceKeyName`
	// query parameter for
	// GetFastConnectProviderServiceKey.
	Name *string `mandatory:"true" json:"name"`

	// The provisioned data rate of the connection. To get a list of the
	// available bandwidth levels (that is, shapes), see
	// ListFastConnectProviderVirtualCircuitBandwidthShapes.
	// Example: `10 Gbps`
	BandwidthShapeName *string `mandatory:"false" json:"bandwidthShapeName"`

	// The provider's peering location.
	PeeringLocation *string `mandatory:"false" json:"peeringLocation"`
}

FastConnectProviderServiceKey A provider service key and its details. A provider service key is an identifier for a provider's virtual circuit.

func (FastConnectProviderServiceKey) String ¶

func (FastConnectProviderServiceKey) ValidateEnumValue ¶

func (m FastConnectProviderServiceKey) 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 FastConnectProviderServicePrivatePeeringBgpManagementEnum ¶

type FastConnectProviderServicePrivatePeeringBgpManagementEnum string

FastConnectProviderServicePrivatePeeringBgpManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServicePrivatePeeringBgpManagementCustomerManaged FastConnectProviderServicePrivatePeeringBgpManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServicePrivatePeeringBgpManagementProviderManaged FastConnectProviderServicePrivatePeeringBgpManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServicePrivatePeeringBgpManagementOracleManaged   FastConnectProviderServicePrivatePeeringBgpManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServicePrivatePeeringBgpManagementEnum

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues ¶

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues() []FastConnectProviderServicePrivatePeeringBgpManagementEnum

GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues Enumerates the set of values for FastConnectProviderServicePrivatePeeringBgpManagementEnum

func GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum ¶

func GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum(val string) (FastConnectProviderServicePrivatePeeringBgpManagementEnum, bool)

GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum

type FastConnectProviderServiceProviderServiceKeyManagementEnum ¶

type FastConnectProviderServiceProviderServiceKeyManagementEnum string

FastConnectProviderServiceProviderServiceKeyManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServiceProviderServiceKeyManagementCustomerManaged FastConnectProviderServiceProviderServiceKeyManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServiceProviderServiceKeyManagementProviderManaged FastConnectProviderServiceProviderServiceKeyManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServiceProviderServiceKeyManagementOracleManaged   FastConnectProviderServiceProviderServiceKeyManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServiceProviderServiceKeyManagementEnum

func GetFastConnectProviderServiceProviderServiceKeyManagementEnumValues ¶

func GetFastConnectProviderServiceProviderServiceKeyManagementEnumValues() []FastConnectProviderServiceProviderServiceKeyManagementEnum

GetFastConnectProviderServiceProviderServiceKeyManagementEnumValues Enumerates the set of values for FastConnectProviderServiceProviderServiceKeyManagementEnum

func GetMappingFastConnectProviderServiceProviderServiceKeyManagementEnum ¶

func GetMappingFastConnectProviderServiceProviderServiceKeyManagementEnum(val string) (FastConnectProviderServiceProviderServiceKeyManagementEnum, bool)

GetMappingFastConnectProviderServiceProviderServiceKeyManagementEnum performs case Insensitive comparison on enum value and return the desired enum

type FastConnectProviderServicePublicPeeringBgpManagementEnum ¶

type FastConnectProviderServicePublicPeeringBgpManagementEnum string

FastConnectProviderServicePublicPeeringBgpManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServicePublicPeeringBgpManagementCustomerManaged FastConnectProviderServicePublicPeeringBgpManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServicePublicPeeringBgpManagementProviderManaged FastConnectProviderServicePublicPeeringBgpManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServicePublicPeeringBgpManagementOracleManaged   FastConnectProviderServicePublicPeeringBgpManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServicePublicPeeringBgpManagementEnum

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues ¶

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues() []FastConnectProviderServicePublicPeeringBgpManagementEnum

GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues Enumerates the set of values for FastConnectProviderServicePublicPeeringBgpManagementEnum

func GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum ¶

func GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum(val string) (FastConnectProviderServicePublicPeeringBgpManagementEnum, bool)

GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum

type FastConnectProviderServiceSupportedVirtualCircuitTypesEnum ¶

type FastConnectProviderServiceSupportedVirtualCircuitTypesEnum string

FastConnectProviderServiceSupportedVirtualCircuitTypesEnum Enum with underlying type: string

const (
	FastConnectProviderServiceSupportedVirtualCircuitTypesPublic  FastConnectProviderServiceSupportedVirtualCircuitTypesEnum = "PUBLIC"
	FastConnectProviderServiceSupportedVirtualCircuitTypesPrivate FastConnectProviderServiceSupportedVirtualCircuitTypesEnum = "PRIVATE"
)

Set of constants representing the allowable values for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues ¶

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues() []FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues Enumerates the set of values for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

func GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum ¶

func GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum(val string) (FastConnectProviderServiceSupportedVirtualCircuitTypesEnum, bool)

GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type FastConnectProviderServiceTypeEnum ¶

type FastConnectProviderServiceTypeEnum string

FastConnectProviderServiceTypeEnum Enum with underlying type: string

const (
	FastConnectProviderServiceTypeLayer2 FastConnectProviderServiceTypeEnum = "LAYER2"
	FastConnectProviderServiceTypeLayer3 FastConnectProviderServiceTypeEnum = "LAYER3"
)

Set of constants representing the allowable values for FastConnectProviderServiceTypeEnum

func GetFastConnectProviderServiceTypeEnumValues ¶

func GetFastConnectProviderServiceTypeEnumValues() []FastConnectProviderServiceTypeEnum

GetFastConnectProviderServiceTypeEnumValues Enumerates the set of values for FastConnectProviderServiceTypeEnum

func GetMappingFastConnectProviderServiceTypeEnum ¶

func GetMappingFastConnectProviderServiceTypeEnum(val string) (FastConnectProviderServiceTypeEnum, bool)

GetMappingFastConnectProviderServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type FlowLogCaptureFilterRuleDetails ¶ added in v65.49.4

type FlowLogCaptureFilterRuleDetails struct {

	// Indicates whether a VCN flow log capture filter rule is enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.
	Priority *int `mandatory:"false" json:"priority"`

	// Sampling interval as `1` of `X`, where `X` is an integer not greater than `100000`.
	SamplingRate *int `mandatory:"false" json:"samplingRate"`

	// Traffic from this CIDR will be captured in the VCN flow log.
	SourceCidr *string `mandatory:"false" json:"sourceCidr"`

	// Traffic to this CIDR will be captured in the VCN flow log.
	DestinationCidr *string `mandatory:"false" json:"destinationCidr"`

	// The transport protocol the filter uses.
	Protocol *string `mandatory:"false" json:"protocol"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`

	// Type or types of VCN flow logs to store. `ALL` includes records for both accepted traffic and
	// rejected traffic.
	FlowLogType FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum `mandatory:"false" json:"flowLogType,omitempty"`

	// Include or exclude a `ruleAction` object.
	RuleAction FlowLogCaptureFilterRuleDetailsRuleActionEnum `mandatory:"false" json:"ruleAction,omitempty"`
}

FlowLogCaptureFilterRuleDetails The set of rules governing what traffic the VCN flow log collects.

func (FlowLogCaptureFilterRuleDetails) String ¶ added in v65.49.4

func (FlowLogCaptureFilterRuleDetails) ValidateEnumValue ¶ added in v65.49.4

func (m FlowLogCaptureFilterRuleDetails) 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 FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum ¶ added in v65.49.4

type FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum string

FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum Enum with underlying type: string

const (
	FlowLogCaptureFilterRuleDetailsFlowLogTypeAll    FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum = "ALL"
	FlowLogCaptureFilterRuleDetailsFlowLogTypeReject FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum = "REJECT"
	FlowLogCaptureFilterRuleDetailsFlowLogTypeAccept FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum = "ACCEPT"
)

Set of constants representing the allowable values for FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum

func GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumValues ¶ added in v65.49.4

func GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumValues() []FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum

GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumValues Enumerates the set of values for FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum

func GetMappingFlowLogCaptureFilterRuleDetailsFlowLogTypeEnum ¶ added in v65.49.4

func GetMappingFlowLogCaptureFilterRuleDetailsFlowLogTypeEnum(val string) (FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum, bool)

GetMappingFlowLogCaptureFilterRuleDetailsFlowLogTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type FlowLogCaptureFilterRuleDetailsRuleActionEnum ¶ added in v65.49.4

type FlowLogCaptureFilterRuleDetailsRuleActionEnum string

FlowLogCaptureFilterRuleDetailsRuleActionEnum Enum with underlying type: string

const (
	FlowLogCaptureFilterRuleDetailsRuleActionInclude FlowLogCaptureFilterRuleDetailsRuleActionEnum = "INCLUDE"
	FlowLogCaptureFilterRuleDetailsRuleActionExclude FlowLogCaptureFilterRuleDetailsRuleActionEnum = "EXCLUDE"
)

Set of constants representing the allowable values for FlowLogCaptureFilterRuleDetailsRuleActionEnum

func GetFlowLogCaptureFilterRuleDetailsRuleActionEnumValues ¶ added in v65.49.4

func GetFlowLogCaptureFilterRuleDetailsRuleActionEnumValues() []FlowLogCaptureFilterRuleDetailsRuleActionEnum

GetFlowLogCaptureFilterRuleDetailsRuleActionEnumValues Enumerates the set of values for FlowLogCaptureFilterRuleDetailsRuleActionEnum

func GetMappingFlowLogCaptureFilterRuleDetailsRuleActionEnum ¶ added in v65.49.4

func GetMappingFlowLogCaptureFilterRuleDetailsRuleActionEnum(val string) (FlowLogCaptureFilterRuleDetailsRuleActionEnum, bool)

GetMappingFlowLogCaptureFilterRuleDetailsRuleActionEnum performs case Insensitive comparison on enum value and return the desired enum

type GenericBmLaunchInstancePlatformConfig ¶ added in v65.48.0

type GenericBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

GenericBmLaunchInstancePlatformConfig The standard platform configuration to be used when launching a bare metal instance.

func (GenericBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.48.0

func (m GenericBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (GenericBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.48.0

func (m GenericBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (GenericBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.48.0

func (m GenericBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (GenericBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.48.0

func (m GenericBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (GenericBmLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.48.0

func (m GenericBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (GenericBmLaunchInstancePlatformConfig) String ¶ added in v65.48.0

func (GenericBmLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.48.0

func (m GenericBmLaunchInstancePlatformConfig) 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 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

type GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.48.0

func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

func GetMappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type GenericBmPlatformConfig ¶ added in v65.48.0

type GenericBmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket GenericBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

GenericBmPlatformConfig The standard platform configuration of a bare metal instance.

func (GenericBmPlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.48.0

func (m GenericBmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (GenericBmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.48.0

func (m GenericBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (GenericBmPlatformConfig) GetIsSecureBootEnabled ¶ added in v65.48.0

func (m GenericBmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (GenericBmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.48.0

func (m GenericBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (GenericBmPlatformConfig) MarshalJSON ¶ added in v65.48.0

func (m GenericBmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (GenericBmPlatformConfig) String ¶ added in v65.48.0

func (m GenericBmPlatformConfig) String() string

func (GenericBmPlatformConfig) ValidateEnumValue ¶ added in v65.48.0

func (m GenericBmPlatformConfig) 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 GenericBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

type GenericBmPlatformConfigNumaNodesPerSocketEnum string

GenericBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	GenericBmPlatformConfigNumaNodesPerSocketNps0 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS0"
	GenericBmPlatformConfigNumaNodesPerSocketNps1 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	GenericBmPlatformConfigNumaNodesPerSocketNps2 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
	GenericBmPlatformConfigNumaNodesPerSocketNps4 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for GenericBmPlatformConfigNumaNodesPerSocketEnum

func GetGenericBmPlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.48.0

func GetGenericBmPlatformConfigNumaNodesPerSocketEnumValues() []GenericBmPlatformConfigNumaNodesPerSocketEnum

GetGenericBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for GenericBmPlatformConfigNumaNodesPerSocketEnum

func GetMappingGenericBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

func GetMappingGenericBmPlatformConfigNumaNodesPerSocketEnum(val string) (GenericBmPlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingGenericBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type GetAllDrgAttachmentsAttachmentTypeEnum ¶

type GetAllDrgAttachmentsAttachmentTypeEnum string

GetAllDrgAttachmentsAttachmentTypeEnum Enum with underlying type: string

const (
	GetAllDrgAttachmentsAttachmentTypeVcn                     GetAllDrgAttachmentsAttachmentTypeEnum = "VCN"
	GetAllDrgAttachmentsAttachmentTypeVirtualCircuit          GetAllDrgAttachmentsAttachmentTypeEnum = "VIRTUAL_CIRCUIT"
	GetAllDrgAttachmentsAttachmentTypeRemotePeeringConnection GetAllDrgAttachmentsAttachmentTypeEnum = "REMOTE_PEERING_CONNECTION"
	GetAllDrgAttachmentsAttachmentTypeIpsecTunnel             GetAllDrgAttachmentsAttachmentTypeEnum = "IPSEC_TUNNEL"
	GetAllDrgAttachmentsAttachmentTypeAll                     GetAllDrgAttachmentsAttachmentTypeEnum = "ALL"
)

Set of constants representing the allowable values for GetAllDrgAttachmentsAttachmentTypeEnum

func GetGetAllDrgAttachmentsAttachmentTypeEnumValues ¶

func GetGetAllDrgAttachmentsAttachmentTypeEnumValues() []GetAllDrgAttachmentsAttachmentTypeEnum

GetGetAllDrgAttachmentsAttachmentTypeEnumValues Enumerates the set of values for GetAllDrgAttachmentsAttachmentTypeEnum

func GetMappingGetAllDrgAttachmentsAttachmentTypeEnum ¶

func GetMappingGetAllDrgAttachmentsAttachmentTypeEnum(val string) (GetAllDrgAttachmentsAttachmentTypeEnum, bool)

GetMappingGetAllDrgAttachmentsAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GetAllDrgAttachmentsRequest ¶

type GetAllDrgAttachmentsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The type for the network resource attached to the DRG.
	AttachmentType GetAllDrgAttachmentsAttachmentTypeEnum `mandatory:"false" contributesTo:"query" name:"attachmentType" omitEmpty:"true"`

	// Whether the DRG attachment lives in a different tenancy than the DRG.
	IsCrossTenancy *bool `mandatory:"false" contributesTo:"query" name:"isCrossTenancy"`

	// 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
}

GetAllDrgAttachmentsRequest wrapper for the GetAllDrgAttachments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachmentsRequest.

func (GetAllDrgAttachmentsRequest) BinaryRequestBody ¶

func (request GetAllDrgAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAllDrgAttachmentsRequest) HTTPRequest ¶

func (request GetAllDrgAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAllDrgAttachmentsRequest) RetryPolicy ¶

func (request GetAllDrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAllDrgAttachmentsRequest) String ¶

func (request GetAllDrgAttachmentsRequest) String() string

func (GetAllDrgAttachmentsRequest) ValidateEnumValue ¶

func (request GetAllDrgAttachmentsRequest) 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 GetAllDrgAttachmentsResponse ¶

type GetAllDrgAttachmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DrgAttachmentInfo instances
	Items []DrgAttachmentInfo `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

GetAllDrgAttachmentsResponse wrapper for the GetAllDrgAttachments operation

func (GetAllDrgAttachmentsResponse) HTTPResponse ¶

func (response GetAllDrgAttachmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAllDrgAttachmentsResponse) String ¶

func (response GetAllDrgAttachmentsResponse) String() string

type GetAllowedIkeIPSecParametersRequest ¶

type GetAllowedIkeIPSecParametersRequest struct {

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetAllowedIkeIPSecParametersRequest wrapper for the GetAllowedIkeIPSecParameters operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParametersRequest.

func (GetAllowedIkeIPSecParametersRequest) BinaryRequestBody ¶

func (request GetAllowedIkeIPSecParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAllowedIkeIPSecParametersRequest) HTTPRequest ¶

func (request GetAllowedIkeIPSecParametersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAllowedIkeIPSecParametersRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAllowedIkeIPSecParametersRequest) String ¶

func (GetAllowedIkeIPSecParametersRequest) ValidateEnumValue ¶

func (request GetAllowedIkeIPSecParametersRequest) 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 GetAllowedIkeIPSecParametersResponse ¶

type GetAllowedIkeIPSecParametersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AllowedIkeIpSecParameters instance
	AllowedIkeIpSecParameters `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"`
}

GetAllowedIkeIPSecParametersResponse wrapper for the GetAllowedIkeIPSecParameters operation

func (GetAllowedIkeIPSecParametersResponse) HTTPResponse ¶

func (response GetAllowedIkeIPSecParametersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAllowedIkeIPSecParametersResponse) String ¶

func (response GetAllowedIkeIPSecParametersResponse) String() string

type GetAppCatalogListingAgreementsRequest ¶

type GetAppCatalogListingAgreementsRequest struct {

	// The OCID of the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// Listing Resource Version.
	ResourceVersion *string `mandatory:"true" contributesTo:"path" name:"resourceVersion"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetAppCatalogListingAgreementsRequest wrapper for the GetAppCatalogListingAgreements operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreementsRequest.

func (GetAppCatalogListingAgreementsRequest) BinaryRequestBody ¶

func (request GetAppCatalogListingAgreementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAppCatalogListingAgreementsRequest) HTTPRequest ¶

func (request GetAppCatalogListingAgreementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAppCatalogListingAgreementsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAppCatalogListingAgreementsRequest) String ¶

func (GetAppCatalogListingAgreementsRequest) ValidateEnumValue ¶

func (request GetAppCatalogListingAgreementsRequest) 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 GetAppCatalogListingAgreementsResponse ¶

type GetAppCatalogListingAgreementsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AppCatalogListingResourceVersionAgreements instance
	AppCatalogListingResourceVersionAgreements `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"`
}

GetAppCatalogListingAgreementsResponse wrapper for the GetAppCatalogListingAgreements operation

func (GetAppCatalogListingAgreementsResponse) HTTPResponse ¶

func (response GetAppCatalogListingAgreementsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAppCatalogListingAgreementsResponse) String ¶

type GetAppCatalogListingRequest ¶

type GetAppCatalogListingRequest struct {

	// The OCID of the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetAppCatalogListingRequest wrapper for the GetAppCatalogListing operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListingRequest.

func (GetAppCatalogListingRequest) BinaryRequestBody ¶

func (request GetAppCatalogListingRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetAppCatalogListingRequest) HTTPRequest ¶

func (request GetAppCatalogListingRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAppCatalogListingRequest) RetryPolicy ¶

func (request GetAppCatalogListingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAppCatalogListingRequest) String ¶

func (request GetAppCatalogListingRequest) String() string

func (GetAppCatalogListingRequest) ValidateEnumValue ¶

func (request GetAppCatalogListingRequest) 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 GetAppCatalogListingResourceVersionRequest ¶

type GetAppCatalogListingResourceVersionRequest struct {

	// The OCID of the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// Listing Resource Version.
	ResourceVersion *string `mandatory:"true" contributesTo:"path" name:"resourceVersion"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetAppCatalogListingResourceVersionRequest wrapper for the GetAppCatalogListingResourceVersion operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersionRequest.

func (GetAppCatalogListingResourceVersionRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetAppCatalogListingResourceVersionRequest) HTTPRequest ¶

func (request GetAppCatalogListingResourceVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAppCatalogListingResourceVersionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAppCatalogListingResourceVersionRequest) String ¶

func (GetAppCatalogListingResourceVersionRequest) ValidateEnumValue ¶

func (request GetAppCatalogListingResourceVersionRequest) 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 GetAppCatalogListingResourceVersionResponse ¶

type GetAppCatalogListingResourceVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AppCatalogListingResourceVersion instance
	AppCatalogListingResourceVersion `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"`
}

GetAppCatalogListingResourceVersionResponse wrapper for the GetAppCatalogListingResourceVersion operation

func (GetAppCatalogListingResourceVersionResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetAppCatalogListingResourceVersionResponse) String ¶

type GetAppCatalogListingResponse ¶

type GetAppCatalogListingResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AppCatalogListing instance
	AppCatalogListing `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"`
}

GetAppCatalogListingResponse wrapper for the GetAppCatalogListing operation

func (GetAppCatalogListingResponse) HTTPResponse ¶

func (response GetAppCatalogListingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAppCatalogListingResponse) String ¶

func (response GetAppCatalogListingResponse) String() string

type GetBlockVolumeReplicaRequest ¶

type GetBlockVolumeReplicaRequest struct {

	// The OCID of the block volume replica.
	BlockVolumeReplicaId *string `mandatory:"true" contributesTo:"path" name:"blockVolumeReplicaId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetBlockVolumeReplicaRequest wrapper for the GetBlockVolumeReplica operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplicaRequest.

func (GetBlockVolumeReplicaRequest) BinaryRequestBody ¶

func (request GetBlockVolumeReplicaRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBlockVolumeReplicaRequest) HTTPRequest ¶

func (request GetBlockVolumeReplicaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBlockVolumeReplicaRequest) RetryPolicy ¶

func (request GetBlockVolumeReplicaRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBlockVolumeReplicaRequest) String ¶

func (request GetBlockVolumeReplicaRequest) String() string

func (GetBlockVolumeReplicaRequest) ValidateEnumValue ¶

func (request GetBlockVolumeReplicaRequest) 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 GetBlockVolumeReplicaResponse ¶

type GetBlockVolumeReplicaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BlockVolumeReplica instance
	BlockVolumeReplica `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"`
}

GetBlockVolumeReplicaResponse wrapper for the GetBlockVolumeReplica operation

func (GetBlockVolumeReplicaResponse) HTTPResponse ¶

func (response GetBlockVolumeReplicaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBlockVolumeReplicaResponse) String ¶

func (response GetBlockVolumeReplicaResponse) String() string

type GetBootVolumeAttachmentRequest ¶

type GetBootVolumeAttachmentRequest struct {

	// The OCID of the boot volume attachment.
	BootVolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeAttachmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetBootVolumeAttachmentRequest wrapper for the GetBootVolumeAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachmentRequest.

func (GetBootVolumeAttachmentRequest) BinaryRequestBody ¶

func (request GetBootVolumeAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBootVolumeAttachmentRequest) HTTPRequest ¶

func (request GetBootVolumeAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBootVolumeAttachmentRequest) RetryPolicy ¶

func (request GetBootVolumeAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBootVolumeAttachmentRequest) String ¶

func (request GetBootVolumeAttachmentRequest) String() string

func (GetBootVolumeAttachmentRequest) ValidateEnumValue ¶

func (request GetBootVolumeAttachmentRequest) 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 GetBootVolumeAttachmentResponse ¶

type GetBootVolumeAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeAttachment instance
	BootVolumeAttachment `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"`
}

GetBootVolumeAttachmentResponse wrapper for the GetBootVolumeAttachment operation

func (GetBootVolumeAttachmentResponse) HTTPResponse ¶

func (response GetBootVolumeAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBootVolumeAttachmentResponse) String ¶

func (response GetBootVolumeAttachmentResponse) String() string

type GetBootVolumeBackupRequest ¶

type GetBootVolumeBackupRequest struct {

	// The OCID of the boot volume backup.
	BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetBootVolumeBackupRequest wrapper for the GetBootVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackupRequest.

func (GetBootVolumeBackupRequest) BinaryRequestBody ¶

func (request GetBootVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBootVolumeBackupRequest) HTTPRequest ¶

func (request GetBootVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBootVolumeBackupRequest) RetryPolicy ¶

func (request GetBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBootVolumeBackupRequest) String ¶

func (request GetBootVolumeBackupRequest) String() string

func (GetBootVolumeBackupRequest) ValidateEnumValue ¶

func (request GetBootVolumeBackupRequest) 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 GetBootVolumeBackupResponse ¶

type GetBootVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeBackup instance
	BootVolumeBackup `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"`
}

GetBootVolumeBackupResponse wrapper for the GetBootVolumeBackup operation

func (GetBootVolumeBackupResponse) HTTPResponse ¶

func (response GetBootVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBootVolumeBackupResponse) String ¶

func (response GetBootVolumeBackupResponse) String() string

type GetBootVolumeKmsKeyRequest ¶

type GetBootVolumeKmsKeyRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetBootVolumeKmsKeyRequest wrapper for the GetBootVolumeKmsKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKeyRequest.

func (GetBootVolumeKmsKeyRequest) BinaryRequestBody ¶

func (request GetBootVolumeKmsKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBootVolumeKmsKeyRequest) HTTPRequest ¶

func (request GetBootVolumeKmsKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBootVolumeKmsKeyRequest) RetryPolicy ¶

func (request GetBootVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBootVolumeKmsKeyRequest) String ¶

func (request GetBootVolumeKmsKeyRequest) String() string

func (GetBootVolumeKmsKeyRequest) ValidateEnumValue ¶

func (request GetBootVolumeKmsKeyRequest) 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 GetBootVolumeKmsKeyResponse ¶

type GetBootVolumeKmsKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeKmsKey instance
	BootVolumeKmsKey `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"`
}

GetBootVolumeKmsKeyResponse wrapper for the GetBootVolumeKmsKey operation

func (GetBootVolumeKmsKeyResponse) HTTPResponse ¶

func (response GetBootVolumeKmsKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBootVolumeKmsKeyResponse) String ¶

func (response GetBootVolumeKmsKeyResponse) String() string

type GetBootVolumeReplicaRequest ¶

type GetBootVolumeReplicaRequest struct {

	// The OCID of the boot volume replica.
	BootVolumeReplicaId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeReplicaId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetBootVolumeReplicaRequest wrapper for the GetBootVolumeReplica operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplicaRequest.

func (GetBootVolumeReplicaRequest) BinaryRequestBody ¶

func (request GetBootVolumeReplicaRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBootVolumeReplicaRequest) HTTPRequest ¶

func (request GetBootVolumeReplicaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBootVolumeReplicaRequest) RetryPolicy ¶

func (request GetBootVolumeReplicaRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBootVolumeReplicaRequest) String ¶

func (request GetBootVolumeReplicaRequest) String() string

func (GetBootVolumeReplicaRequest) ValidateEnumValue ¶

func (request GetBootVolumeReplicaRequest) 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 GetBootVolumeReplicaResponse ¶

type GetBootVolumeReplicaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeReplica instance
	BootVolumeReplica `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"`
}

GetBootVolumeReplicaResponse wrapper for the GetBootVolumeReplica operation

func (GetBootVolumeReplicaResponse) HTTPResponse ¶

func (response GetBootVolumeReplicaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBootVolumeReplicaResponse) String ¶

func (response GetBootVolumeReplicaResponse) String() string

type GetBootVolumeRequest ¶

type GetBootVolumeRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetBootVolumeRequest wrapper for the GetBootVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolumeRequest.

func (GetBootVolumeRequest) BinaryRequestBody ¶

func (request GetBootVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBootVolumeRequest) HTTPRequest ¶

func (request GetBootVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBootVolumeRequest) RetryPolicy ¶

func (request GetBootVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBootVolumeRequest) String ¶

func (request GetBootVolumeRequest) String() string

func (GetBootVolumeRequest) ValidateEnumValue ¶

func (request GetBootVolumeRequest) 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 GetBootVolumeResponse ¶

type GetBootVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolume instance
	BootVolume `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"`
}

GetBootVolumeResponse wrapper for the GetBootVolume operation

func (GetBootVolumeResponse) HTTPResponse ¶

func (response GetBootVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBootVolumeResponse) String ¶

func (response GetBootVolumeResponse) String() string

type GetByoipRangeRequest ¶

type GetByoipRangeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetByoipRangeRequest wrapper for the GetByoipRange operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRangeRequest.

func (GetByoipRangeRequest) BinaryRequestBody ¶

func (request GetByoipRangeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetByoipRangeRequest) HTTPRequest ¶

func (request GetByoipRangeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetByoipRangeRequest) RetryPolicy ¶

func (request GetByoipRangeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetByoipRangeRequest) String ¶

func (request GetByoipRangeRequest) String() string

func (GetByoipRangeRequest) ValidateEnumValue ¶

func (request GetByoipRangeRequest) 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 GetByoipRangeResponse ¶

type GetByoipRangeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ByoipRange instance
	ByoipRange `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"`
}

GetByoipRangeResponse wrapper for the GetByoipRange operation

func (GetByoipRangeResponse) HTTPResponse ¶

func (response GetByoipRangeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetByoipRangeResponse) String ¶

func (response GetByoipRangeResponse) String() string

type GetCaptureFilterRequest ¶ added in v65.3.0

type GetCaptureFilterRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter.
	CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCaptureFilterRequest wrapper for the GetCaptureFilter operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilterRequest.

func (GetCaptureFilterRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetCaptureFilterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCaptureFilterRequest) HTTPRequest ¶ added in v65.3.0

func (request GetCaptureFilterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCaptureFilterRequest) RetryPolicy ¶ added in v65.3.0

func (request GetCaptureFilterRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCaptureFilterRequest) String ¶ added in v65.3.0

func (request GetCaptureFilterRequest) String() string

func (GetCaptureFilterRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetCaptureFilterRequest) 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 GetCaptureFilterResponse ¶ added in v65.3.0

type GetCaptureFilterResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CaptureFilter instance
	CaptureFilter `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"`
}

GetCaptureFilterResponse wrapper for the GetCaptureFilter operation

func (GetCaptureFilterResponse) HTTPResponse ¶ added in v65.3.0

func (response GetCaptureFilterResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCaptureFilterResponse) String ¶ added in v65.3.0

func (response GetCaptureFilterResponse) String() string

type GetClusterNetworkRequest ¶

type GetClusterNetworkRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetClusterNetworkRequest wrapper for the GetClusterNetwork operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetworkRequest.

func (GetClusterNetworkRequest) BinaryRequestBody ¶

func (request GetClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetClusterNetworkRequest) HTTPRequest ¶

func (request GetClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetClusterNetworkRequest) RetryPolicy ¶

func (request GetClusterNetworkRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetClusterNetworkRequest) String ¶

func (request GetClusterNetworkRequest) String() string

func (GetClusterNetworkRequest) ValidateEnumValue ¶

func (request GetClusterNetworkRequest) 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 GetClusterNetworkResponse ¶

type GetClusterNetworkResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ClusterNetwork instance
	ClusterNetwork `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"`
}

GetClusterNetworkResponse wrapper for the GetClusterNetwork operation

func (GetClusterNetworkResponse) HTTPResponse ¶

func (response GetClusterNetworkResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetClusterNetworkResponse) String ¶

func (response GetClusterNetworkResponse) String() string

type GetComputeCapacityReservationRequest ¶

type GetComputeCapacityReservationRequest struct {

	// The OCID of the compute capacity reservation.
	CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetComputeCapacityReservationRequest wrapper for the GetComputeCapacityReservation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservationRequest.

func (GetComputeCapacityReservationRequest) BinaryRequestBody ¶

func (request GetComputeCapacityReservationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetComputeCapacityReservationRequest) HTTPRequest ¶

func (request GetComputeCapacityReservationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetComputeCapacityReservationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetComputeCapacityReservationRequest) String ¶

func (GetComputeCapacityReservationRequest) ValidateEnumValue ¶

func (request GetComputeCapacityReservationRequest) 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 GetComputeCapacityReservationResponse ¶

type GetComputeCapacityReservationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCapacityReservation instance
	ComputeCapacityReservation `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"`
}

GetComputeCapacityReservationResponse wrapper for the GetComputeCapacityReservation operation

func (GetComputeCapacityReservationResponse) HTTPResponse ¶

func (response GetComputeCapacityReservationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetComputeCapacityReservationResponse) String ¶

type GetComputeCapacityTopologyRequest ¶ added in v65.53.0

type GetComputeCapacityTopologyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetComputeCapacityTopologyRequest wrapper for the GetComputeCapacityTopology operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityTopology.go.html to see an example of how to use GetComputeCapacityTopologyRequest.

func (GetComputeCapacityTopologyRequest) BinaryRequestBody ¶ added in v65.53.0

func (request GetComputeCapacityTopologyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetComputeCapacityTopologyRequest) HTTPRequest ¶ added in v65.53.0

func (request GetComputeCapacityTopologyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetComputeCapacityTopologyRequest) RetryPolicy ¶ added in v65.53.0

func (request GetComputeCapacityTopologyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetComputeCapacityTopologyRequest) String ¶ added in v65.53.0

func (request GetComputeCapacityTopologyRequest) String() string

func (GetComputeCapacityTopologyRequest) ValidateEnumValue ¶ added in v65.53.0

func (request GetComputeCapacityTopologyRequest) 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 GetComputeCapacityTopologyResponse ¶ added in v65.53.0

type GetComputeCapacityTopologyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCapacityTopology instance
	ComputeCapacityTopology `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"`
}

GetComputeCapacityTopologyResponse wrapper for the GetComputeCapacityTopology operation

func (GetComputeCapacityTopologyResponse) HTTPResponse ¶ added in v65.53.0

func (response GetComputeCapacityTopologyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetComputeCapacityTopologyResponse) String ¶ added in v65.53.0

func (response GetComputeCapacityTopologyResponse) String() string

type GetComputeClusterRequest ¶ added in v65.33.1

type GetComputeClusterRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory
	// access (RDMA) network group.
	ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetComputeClusterRequest wrapper for the GetComputeCluster operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeClusterRequest.

func (GetComputeClusterRequest) BinaryRequestBody ¶ added in v65.33.1

func (request GetComputeClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetComputeClusterRequest) HTTPRequest ¶ added in v65.33.1

func (request GetComputeClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetComputeClusterRequest) RetryPolicy ¶ added in v65.33.1

func (request GetComputeClusterRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetComputeClusterRequest) String ¶ added in v65.33.1

func (request GetComputeClusterRequest) String() string

func (GetComputeClusterRequest) ValidateEnumValue ¶ added in v65.33.1

func (request GetComputeClusterRequest) 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 GetComputeClusterResponse ¶ added in v65.33.1

type GetComputeClusterResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCluster instance
	ComputeCluster `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"`
}

GetComputeClusterResponse wrapper for the GetComputeCluster operation

func (GetComputeClusterResponse) HTTPResponse ¶ added in v65.33.1

func (response GetComputeClusterResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetComputeClusterResponse) String ¶ added in v65.33.1

func (response GetComputeClusterResponse) String() string

type GetComputeGlobalImageCapabilitySchemaRequest ¶

type GetComputeGlobalImageCapabilitySchemaRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema
	ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetComputeGlobalImageCapabilitySchemaRequest wrapper for the GetComputeGlobalImageCapabilitySchema operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaRequest.

func (GetComputeGlobalImageCapabilitySchemaRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetComputeGlobalImageCapabilitySchemaRequest) HTTPRequest ¶

func (request GetComputeGlobalImageCapabilitySchemaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetComputeGlobalImageCapabilitySchemaRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetComputeGlobalImageCapabilitySchemaRequest) String ¶

func (GetComputeGlobalImageCapabilitySchemaRequest) ValidateEnumValue ¶

func (request GetComputeGlobalImageCapabilitySchemaRequest) 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 GetComputeGlobalImageCapabilitySchemaResponse ¶

type GetComputeGlobalImageCapabilitySchemaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeGlobalImageCapabilitySchema instance
	ComputeGlobalImageCapabilitySchema `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"`
}

GetComputeGlobalImageCapabilitySchemaResponse wrapper for the GetComputeGlobalImageCapabilitySchema operation

func (GetComputeGlobalImageCapabilitySchemaResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetComputeGlobalImageCapabilitySchemaResponse) String ¶

type GetComputeGlobalImageCapabilitySchemaVersionRequest ¶

type GetComputeGlobalImageCapabilitySchemaVersionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema
	ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaId"`

	// The name of the compute global image capability schema version
	ComputeGlobalImageCapabilitySchemaVersionName *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaVersionName"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetComputeGlobalImageCapabilitySchemaVersionRequest wrapper for the GetComputeGlobalImageCapabilitySchemaVersion operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersionRequest.

func (GetComputeGlobalImageCapabilitySchemaVersionRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetComputeGlobalImageCapabilitySchemaVersionRequest) HTTPRequest ¶

func (request GetComputeGlobalImageCapabilitySchemaVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetComputeGlobalImageCapabilitySchemaVersionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetComputeGlobalImageCapabilitySchemaVersionRequest) String ¶

func (GetComputeGlobalImageCapabilitySchemaVersionRequest) ValidateEnumValue ¶

func (request GetComputeGlobalImageCapabilitySchemaVersionRequest) 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 GetComputeGlobalImageCapabilitySchemaVersionResponse ¶

type GetComputeGlobalImageCapabilitySchemaVersionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeGlobalImageCapabilitySchemaVersion instance
	ComputeGlobalImageCapabilitySchemaVersion `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"`
}

GetComputeGlobalImageCapabilitySchemaVersionResponse wrapper for the GetComputeGlobalImageCapabilitySchemaVersion operation

func (GetComputeGlobalImageCapabilitySchemaVersionResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetComputeGlobalImageCapabilitySchemaVersionResponse) String ¶

type GetComputeImageCapabilitySchemaRequest ¶

type GetComputeImageCapabilitySchemaRequest struct {

	// The id of the compute image capability schema or the image ocid
	ComputeImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeImageCapabilitySchemaId"`

	// Merge the image capability schema with the global image capability schema
	IsMergeEnabled *bool `mandatory:"false" contributesTo:"query" name:"isMergeEnabled"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetComputeImageCapabilitySchemaRequest wrapper for the GetComputeImageCapabilitySchema operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchemaRequest.

func (GetComputeImageCapabilitySchemaRequest) BinaryRequestBody ¶

func (request GetComputeImageCapabilitySchemaRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetComputeImageCapabilitySchemaRequest) HTTPRequest ¶

func (request GetComputeImageCapabilitySchemaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetComputeImageCapabilitySchemaRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetComputeImageCapabilitySchemaRequest) String ¶

func (GetComputeImageCapabilitySchemaRequest) ValidateEnumValue ¶

func (request GetComputeImageCapabilitySchemaRequest) 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 GetComputeImageCapabilitySchemaResponse ¶

type GetComputeImageCapabilitySchemaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeImageCapabilitySchema instance
	ComputeImageCapabilitySchema `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"`
}

GetComputeImageCapabilitySchemaResponse wrapper for the GetComputeImageCapabilitySchema operation

func (GetComputeImageCapabilitySchemaResponse) HTTPResponse ¶

func (response GetComputeImageCapabilitySchemaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetComputeImageCapabilitySchemaResponse) String ¶

type GetConsoleHistoryContentRequest ¶

type GetConsoleHistoryContentRequest struct {

	// The OCID of the console history.
	InstanceConsoleHistoryId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleHistoryId"`

	// Offset of the snapshot data to retrieve.
	Offset *int `mandatory:"false" contributesTo:"query" name:"offset"`

	// Length of the snapshot data to retrieve.
	Length *int `mandatory:"false" contributesTo:"query" name:"length"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetConsoleHistoryContentRequest wrapper for the GetConsoleHistoryContent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContentRequest.

func (GetConsoleHistoryContentRequest) BinaryRequestBody ¶

func (request GetConsoleHistoryContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConsoleHistoryContentRequest) HTTPRequest ¶

func (request GetConsoleHistoryContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConsoleHistoryContentRequest) RetryPolicy ¶

func (request GetConsoleHistoryContentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConsoleHistoryContentRequest) String ¶

func (request GetConsoleHistoryContentRequest) String() string

func (GetConsoleHistoryContentRequest) ValidateEnumValue ¶

func (request GetConsoleHistoryContentRequest) 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 GetConsoleHistoryContentResponse ¶

type GetConsoleHistoryContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The string instance
	Value *string `presentIn:"body" encoding:"plain-text"`

	// The number of bytes remaining in the snapshot.
	OpcBytesRemaining *int `presentIn:"header" name:"opc-bytes-remaining"`

	// 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"`
}

GetConsoleHistoryContentResponse wrapper for the GetConsoleHistoryContent operation

func (GetConsoleHistoryContentResponse) HTTPResponse ¶

func (response GetConsoleHistoryContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConsoleHistoryContentResponse) String ¶

func (response GetConsoleHistoryContentResponse) String() string

type GetConsoleHistoryRequest ¶

type GetConsoleHistoryRequest struct {

	// The OCID of the console history.
	InstanceConsoleHistoryId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleHistoryId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetConsoleHistoryRequest wrapper for the GetConsoleHistory operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistoryRequest.

func (GetConsoleHistoryRequest) BinaryRequestBody ¶

func (request GetConsoleHistoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetConsoleHistoryRequest) HTTPRequest ¶

func (request GetConsoleHistoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetConsoleHistoryRequest) RetryPolicy ¶

func (request GetConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetConsoleHistoryRequest) String ¶

func (request GetConsoleHistoryRequest) String() string

func (GetConsoleHistoryRequest) ValidateEnumValue ¶

func (request GetConsoleHistoryRequest) 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 GetConsoleHistoryResponse ¶

type GetConsoleHistoryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ConsoleHistory instance
	ConsoleHistory `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"`
}

GetConsoleHistoryResponse wrapper for the GetConsoleHistory operation

func (GetConsoleHistoryResponse) HTTPResponse ¶

func (response GetConsoleHistoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetConsoleHistoryResponse) String ¶

func (response GetConsoleHistoryResponse) String() string

type GetCpeDeviceConfigContentRequest ¶

type GetCpeDeviceConfigContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE.
	CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCpeDeviceConfigContentRequest wrapper for the GetCpeDeviceConfigContent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContentRequest.

func (GetCpeDeviceConfigContentRequest) BinaryRequestBody ¶

func (request GetCpeDeviceConfigContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCpeDeviceConfigContentRequest) HTTPRequest ¶

func (request GetCpeDeviceConfigContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCpeDeviceConfigContentRequest) RetryPolicy ¶

func (request GetCpeDeviceConfigContentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCpeDeviceConfigContentRequest) String ¶

func (request GetCpeDeviceConfigContentRequest) String() string

func (GetCpeDeviceConfigContentRequest) ValidateEnumValue ¶

func (request GetCpeDeviceConfigContentRequest) 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 GetCpeDeviceConfigContentResponse ¶

type GetCpeDeviceConfigContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// 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"`
}

GetCpeDeviceConfigContentResponse wrapper for the GetCpeDeviceConfigContent operation

func (GetCpeDeviceConfigContentResponse) HTTPResponse ¶

func (response GetCpeDeviceConfigContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCpeDeviceConfigContentResponse) String ¶

func (response GetCpeDeviceConfigContentResponse) String() string

type GetCpeDeviceShapeRequest ¶

type GetCpeDeviceShapeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape.
	CpeDeviceShapeId *string `mandatory:"true" contributesTo:"path" name:"cpeDeviceShapeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCpeDeviceShapeRequest wrapper for the GetCpeDeviceShape operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShapeRequest.

func (GetCpeDeviceShapeRequest) BinaryRequestBody ¶

func (request GetCpeDeviceShapeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCpeDeviceShapeRequest) HTTPRequest ¶

func (request GetCpeDeviceShapeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCpeDeviceShapeRequest) RetryPolicy ¶

func (request GetCpeDeviceShapeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCpeDeviceShapeRequest) String ¶

func (request GetCpeDeviceShapeRequest) String() string

func (GetCpeDeviceShapeRequest) ValidateEnumValue ¶

func (request GetCpeDeviceShapeRequest) 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 GetCpeDeviceShapeResponse ¶

type GetCpeDeviceShapeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CpeDeviceShapeDetail instance
	CpeDeviceShapeDetail `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"`
}

GetCpeDeviceShapeResponse wrapper for the GetCpeDeviceShape operation

func (GetCpeDeviceShapeResponse) HTTPResponse ¶

func (response GetCpeDeviceShapeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCpeDeviceShapeResponse) String ¶

func (response GetCpeDeviceShapeResponse) String() string

type GetCpeRequest ¶

type GetCpeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE.
	CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCpeRequest wrapper for the GetCpe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpeRequest.

func (GetCpeRequest) BinaryRequestBody ¶

func (request GetCpeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCpeRequest) HTTPRequest ¶

func (request GetCpeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCpeRequest) RetryPolicy ¶

func (request GetCpeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCpeRequest) String ¶

func (request GetCpeRequest) String() string

func (GetCpeRequest) ValidateEnumValue ¶

func (request GetCpeRequest) 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 GetCpeResponse ¶

type GetCpeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Cpe instance
	Cpe `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"`
}

GetCpeResponse wrapper for the GetCpe operation

func (GetCpeResponse) HTTPResponse ¶

func (response GetCpeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCpeResponse) String ¶

func (response GetCpeResponse) String() string

type GetCrossConnectGroupRequest ¶

type GetCrossConnectGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group.
	CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCrossConnectGroupRequest wrapper for the GetCrossConnectGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroupRequest.

func (GetCrossConnectGroupRequest) BinaryRequestBody ¶

func (request GetCrossConnectGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCrossConnectGroupRequest) HTTPRequest ¶

func (request GetCrossConnectGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCrossConnectGroupRequest) RetryPolicy ¶

func (request GetCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCrossConnectGroupRequest) String ¶

func (request GetCrossConnectGroupRequest) String() string

func (GetCrossConnectGroupRequest) ValidateEnumValue ¶

func (request GetCrossConnectGroupRequest) 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 GetCrossConnectGroupResponse ¶

type GetCrossConnectGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnectGroup instance
	CrossConnectGroup `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"`
}

GetCrossConnectGroupResponse wrapper for the GetCrossConnectGroup operation

func (GetCrossConnectGroupResponse) HTTPResponse ¶

func (response GetCrossConnectGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCrossConnectGroupResponse) String ¶

func (response GetCrossConnectGroupResponse) String() string

type GetCrossConnectLetterOfAuthorityRequest ¶

type GetCrossConnectLetterOfAuthorityRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCrossConnectLetterOfAuthorityRequest wrapper for the GetCrossConnectLetterOfAuthority operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthorityRequest.

func (GetCrossConnectLetterOfAuthorityRequest) BinaryRequestBody ¶

func (request GetCrossConnectLetterOfAuthorityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCrossConnectLetterOfAuthorityRequest) HTTPRequest ¶

func (request GetCrossConnectLetterOfAuthorityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCrossConnectLetterOfAuthorityRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCrossConnectLetterOfAuthorityRequest) String ¶

func (GetCrossConnectLetterOfAuthorityRequest) ValidateEnumValue ¶

func (request GetCrossConnectLetterOfAuthorityRequest) 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 GetCrossConnectLetterOfAuthorityResponse ¶

type GetCrossConnectLetterOfAuthorityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LetterOfAuthority instance
	LetterOfAuthority `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"`
}

GetCrossConnectLetterOfAuthorityResponse wrapper for the GetCrossConnectLetterOfAuthority operation

func (GetCrossConnectLetterOfAuthorityResponse) HTTPResponse ¶

func (response GetCrossConnectLetterOfAuthorityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCrossConnectLetterOfAuthorityResponse) String ¶

type GetCrossConnectRequest ¶

type GetCrossConnectRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCrossConnectRequest wrapper for the GetCrossConnect operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnectRequest.

func (GetCrossConnectRequest) BinaryRequestBody ¶

func (request GetCrossConnectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCrossConnectRequest) HTTPRequest ¶

func (request GetCrossConnectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCrossConnectRequest) RetryPolicy ¶

func (request GetCrossConnectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCrossConnectRequest) String ¶

func (request GetCrossConnectRequest) String() string

func (GetCrossConnectRequest) ValidateEnumValue ¶

func (request GetCrossConnectRequest) 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 GetCrossConnectResponse ¶

type GetCrossConnectResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnect instance
	CrossConnect `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"`
}

GetCrossConnectResponse wrapper for the GetCrossConnect operation

func (GetCrossConnectResponse) HTTPResponse ¶

func (response GetCrossConnectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCrossConnectResponse) String ¶

func (response GetCrossConnectResponse) String() string

type GetCrossConnectStatusRequest ¶

type GetCrossConnectStatusRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetCrossConnectStatusRequest wrapper for the GetCrossConnectStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatusRequest.

func (GetCrossConnectStatusRequest) BinaryRequestBody ¶

func (request GetCrossConnectStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetCrossConnectStatusRequest) HTTPRequest ¶

func (request GetCrossConnectStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCrossConnectStatusRequest) RetryPolicy ¶

func (request GetCrossConnectStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCrossConnectStatusRequest) String ¶

func (request GetCrossConnectStatusRequest) String() string

func (GetCrossConnectStatusRequest) ValidateEnumValue ¶

func (request GetCrossConnectStatusRequest) 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 GetCrossConnectStatusResponse ¶

type GetCrossConnectStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnectStatus instance
	CrossConnectStatus `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"`
}

GetCrossConnectStatusResponse wrapper for the GetCrossConnectStatus operation

func (GetCrossConnectStatusResponse) HTTPResponse ¶

func (response GetCrossConnectStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCrossConnectStatusResponse) String ¶

func (response GetCrossConnectStatusResponse) String() string

type GetDedicatedVmHostRequest ¶

type GetDedicatedVmHostRequest struct {

	// The OCID of the dedicated VM host.
	DedicatedVmHostId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVmHostId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDedicatedVmHostRequest wrapper for the GetDedicatedVmHost operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHostRequest.

func (GetDedicatedVmHostRequest) BinaryRequestBody ¶

func (request GetDedicatedVmHostRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDedicatedVmHostRequest) HTTPRequest ¶

func (request GetDedicatedVmHostRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDedicatedVmHostRequest) RetryPolicy ¶

func (request GetDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDedicatedVmHostRequest) String ¶

func (request GetDedicatedVmHostRequest) String() string

func (GetDedicatedVmHostRequest) ValidateEnumValue ¶

func (request GetDedicatedVmHostRequest) 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 GetDedicatedVmHostResponse ¶

type GetDedicatedVmHostResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DedicatedVmHost instance
	DedicatedVmHost `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"`
}

GetDedicatedVmHostResponse wrapper for the GetDedicatedVmHost operation

func (GetDedicatedVmHostResponse) HTTPResponse ¶

func (response GetDedicatedVmHostResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDedicatedVmHostResponse) String ¶

func (response GetDedicatedVmHostResponse) String() string

type GetDhcpOptionsRequest ¶

type GetDhcpOptionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
	DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDhcpOptionsRequest wrapper for the GetDhcpOptions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptionsRequest.

func (GetDhcpOptionsRequest) BinaryRequestBody ¶

func (request GetDhcpOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDhcpOptionsRequest) HTTPRequest ¶

func (request GetDhcpOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDhcpOptionsRequest) RetryPolicy ¶

func (request GetDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDhcpOptionsRequest) String ¶

func (request GetDhcpOptionsRequest) String() string

func (GetDhcpOptionsRequest) ValidateEnumValue ¶

func (request GetDhcpOptionsRequest) 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 GetDhcpOptionsResponse ¶

type GetDhcpOptionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DhcpOptions instance
	DhcpOptions `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"`
}

GetDhcpOptionsResponse wrapper for the GetDhcpOptions operation

func (GetDhcpOptionsResponse) HTTPResponse ¶

func (response GetDhcpOptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDhcpOptionsResponse) String ¶

func (response GetDhcpOptionsResponse) String() string

type GetDrgAttachmentRequest ¶

type GetDrgAttachmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
	DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDrgAttachmentRequest wrapper for the GetDrgAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachmentRequest.

func (GetDrgAttachmentRequest) BinaryRequestBody ¶

func (request GetDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrgAttachmentRequest) HTTPRequest ¶

func (request GetDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrgAttachmentRequest) RetryPolicy ¶

func (request GetDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrgAttachmentRequest) String ¶

func (request GetDrgAttachmentRequest) String() string

func (GetDrgAttachmentRequest) ValidateEnumValue ¶

func (request GetDrgAttachmentRequest) 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 GetDrgAttachmentResponse ¶

type GetDrgAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgAttachment instance
	DrgAttachment `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"`
}

GetDrgAttachmentResponse wrapper for the GetDrgAttachment operation

func (GetDrgAttachmentResponse) HTTPResponse ¶

func (response GetDrgAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrgAttachmentResponse) String ¶

func (response GetDrgAttachmentResponse) String() string

type GetDrgRedundancyStatusRequest ¶

type GetDrgRedundancyStatusRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDrgRedundancyStatusRequest wrapper for the GetDrgRedundancyStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatusRequest.

func (GetDrgRedundancyStatusRequest) BinaryRequestBody ¶

func (request GetDrgRedundancyStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrgRedundancyStatusRequest) HTTPRequest ¶

func (request GetDrgRedundancyStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrgRedundancyStatusRequest) RetryPolicy ¶

func (request GetDrgRedundancyStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrgRedundancyStatusRequest) String ¶

func (request GetDrgRedundancyStatusRequest) String() string

func (GetDrgRedundancyStatusRequest) ValidateEnumValue ¶

func (request GetDrgRedundancyStatusRequest) 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 GetDrgRedundancyStatusResponse ¶

type GetDrgRedundancyStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRedundancyStatus instance
	DrgRedundancyStatus `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"`
}

GetDrgRedundancyStatusResponse wrapper for the GetDrgRedundancyStatus operation

func (GetDrgRedundancyStatusResponse) HTTPResponse ¶

func (response GetDrgRedundancyStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrgRedundancyStatusResponse) String ¶

func (response GetDrgRedundancyStatusResponse) String() string

type GetDrgRequest ¶

type GetDrgRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDrgRequest wrapper for the GetDrg operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrgRequest.

func (GetDrgRequest) BinaryRequestBody ¶

func (request GetDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrgRequest) HTTPRequest ¶

func (request GetDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrgRequest) RetryPolicy ¶

func (request GetDrgRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrgRequest) String ¶

func (request GetDrgRequest) String() string

func (GetDrgRequest) ValidateEnumValue ¶

func (request GetDrgRequest) 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 GetDrgResponse ¶

type GetDrgResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Drg instance
	Drg `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"`
}

GetDrgResponse wrapper for the GetDrg operation

func (GetDrgResponse) HTTPResponse ¶

func (response GetDrgResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrgResponse) String ¶

func (response GetDrgResponse) String() string

type GetDrgRouteDistributionRequest ¶

type GetDrgRouteDistributionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDrgRouteDistributionRequest wrapper for the GetDrgRouteDistribution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistributionRequest.

func (GetDrgRouteDistributionRequest) BinaryRequestBody ¶

func (request GetDrgRouteDistributionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrgRouteDistributionRequest) HTTPRequest ¶

func (request GetDrgRouteDistributionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrgRouteDistributionRequest) RetryPolicy ¶

func (request GetDrgRouteDistributionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrgRouteDistributionRequest) String ¶

func (request GetDrgRouteDistributionRequest) String() string

func (GetDrgRouteDistributionRequest) ValidateEnumValue ¶

func (request GetDrgRouteDistributionRequest) 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 GetDrgRouteDistributionResponse ¶

type GetDrgRouteDistributionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteDistribution instance
	DrgRouteDistribution `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"`
}

GetDrgRouteDistributionResponse wrapper for the GetDrgRouteDistribution operation

func (GetDrgRouteDistributionResponse) HTTPResponse ¶

func (response GetDrgRouteDistributionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrgRouteDistributionResponse) String ¶

func (response GetDrgRouteDistributionResponse) String() string

type GetDrgRouteTableRequest ¶

type GetDrgRouteTableRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetDrgRouteTableRequest wrapper for the GetDrgRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTableRequest.

func (GetDrgRouteTableRequest) BinaryRequestBody ¶

func (request GetDrgRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDrgRouteTableRequest) HTTPRequest ¶

func (request GetDrgRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDrgRouteTableRequest) RetryPolicy ¶

func (request GetDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDrgRouteTableRequest) String ¶

func (request GetDrgRouteTableRequest) String() string

func (GetDrgRouteTableRequest) ValidateEnumValue ¶

func (request GetDrgRouteTableRequest) 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 GetDrgRouteTableResponse ¶

type GetDrgRouteTableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteTable instance
	DrgRouteTable `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"`
}

GetDrgRouteTableResponse wrapper for the GetDrgRouteTable operation

func (GetDrgRouteTableResponse) HTTPResponse ¶

func (response GetDrgRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDrgRouteTableResponse) String ¶

func (response GetDrgRouteTableResponse) String() string

type GetFastConnectProviderServiceKeyRequest ¶

type GetFastConnectProviderServiceKeyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service.
	ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"`

	// The provider service key that the provider gives you when you set up a virtual circuit connection
	// from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your
	// provider service key at the provider's website or portal. For the portal location, see the `description`
	// attribute of the FastConnectProviderService.
	ProviderServiceKeyName *string `mandatory:"true" contributesTo:"path" name:"providerServiceKeyName"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetFastConnectProviderServiceKeyRequest wrapper for the GetFastConnectProviderServiceKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKeyRequest.

func (GetFastConnectProviderServiceKeyRequest) BinaryRequestBody ¶

func (request GetFastConnectProviderServiceKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetFastConnectProviderServiceKeyRequest) HTTPRequest ¶

func (request GetFastConnectProviderServiceKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetFastConnectProviderServiceKeyRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetFastConnectProviderServiceKeyRequest) String ¶

func (GetFastConnectProviderServiceKeyRequest) ValidateEnumValue ¶

func (request GetFastConnectProviderServiceKeyRequest) 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 GetFastConnectProviderServiceKeyResponse ¶

type GetFastConnectProviderServiceKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FastConnectProviderServiceKey instance
	FastConnectProviderServiceKey `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"`
}

GetFastConnectProviderServiceKeyResponse wrapper for the GetFastConnectProviderServiceKey operation

func (GetFastConnectProviderServiceKeyResponse) HTTPResponse ¶

func (response GetFastConnectProviderServiceKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetFastConnectProviderServiceKeyResponse) String ¶

type GetFastConnectProviderServiceRequest ¶

type GetFastConnectProviderServiceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service.
	ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetFastConnectProviderServiceRequest wrapper for the GetFastConnectProviderService operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderServiceRequest.

func (GetFastConnectProviderServiceRequest) BinaryRequestBody ¶

func (request GetFastConnectProviderServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetFastConnectProviderServiceRequest) HTTPRequest ¶

func (request GetFastConnectProviderServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetFastConnectProviderServiceRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetFastConnectProviderServiceRequest) String ¶

func (GetFastConnectProviderServiceRequest) ValidateEnumValue ¶

func (request GetFastConnectProviderServiceRequest) 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 GetFastConnectProviderServiceResponse ¶

type GetFastConnectProviderServiceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The FastConnectProviderService instance
	FastConnectProviderService `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"`
}

GetFastConnectProviderServiceResponse wrapper for the GetFastConnectProviderService operation

func (GetFastConnectProviderServiceResponse) HTTPResponse ¶

func (response GetFastConnectProviderServiceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetFastConnectProviderServiceResponse) String ¶

type GetIPSecConnectionDeviceConfigRequest ¶

type GetIPSecConnectionDeviceConfigRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIPSecConnectionDeviceConfigRequest wrapper for the GetIPSecConnectionDeviceConfig operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfigRequest.

func (GetIPSecConnectionDeviceConfigRequest) BinaryRequestBody ¶

func (request GetIPSecConnectionDeviceConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIPSecConnectionDeviceConfigRequest) HTTPRequest ¶

func (request GetIPSecConnectionDeviceConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIPSecConnectionDeviceConfigRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIPSecConnectionDeviceConfigRequest) String ¶

func (GetIPSecConnectionDeviceConfigRequest) ValidateEnumValue ¶

func (request GetIPSecConnectionDeviceConfigRequest) 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 GetIPSecConnectionDeviceConfigResponse ¶

type GetIPSecConnectionDeviceConfigResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionDeviceConfig instance
	IpSecConnectionDeviceConfig `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"`
}

GetIPSecConnectionDeviceConfigResponse wrapper for the GetIPSecConnectionDeviceConfig operation

func (GetIPSecConnectionDeviceConfigResponse) HTTPResponse ¶

func (response GetIPSecConnectionDeviceConfigResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIPSecConnectionDeviceConfigResponse) String ¶

type GetIPSecConnectionDeviceStatusRequest ¶

type GetIPSecConnectionDeviceStatusRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIPSecConnectionDeviceStatusRequest wrapper for the GetIPSecConnectionDeviceStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatusRequest.

func (GetIPSecConnectionDeviceStatusRequest) BinaryRequestBody ¶

func (request GetIPSecConnectionDeviceStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIPSecConnectionDeviceStatusRequest) HTTPRequest ¶

func (request GetIPSecConnectionDeviceStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIPSecConnectionDeviceStatusRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIPSecConnectionDeviceStatusRequest) String ¶

func (GetIPSecConnectionDeviceStatusRequest) ValidateEnumValue ¶

func (request GetIPSecConnectionDeviceStatusRequest) 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 GetIPSecConnectionDeviceStatusResponse ¶

type GetIPSecConnectionDeviceStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionDeviceStatus instance
	IpSecConnectionDeviceStatus `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"`
}

GetIPSecConnectionDeviceStatusResponse wrapper for the GetIPSecConnectionDeviceStatus operation

func (GetIPSecConnectionDeviceStatusResponse) HTTPResponse ¶

func (response GetIPSecConnectionDeviceStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIPSecConnectionDeviceStatusResponse) String ¶

type GetIPSecConnectionRequest ¶

type GetIPSecConnectionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIPSecConnectionRequest wrapper for the GetIPSecConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnectionRequest.

func (GetIPSecConnectionRequest) BinaryRequestBody ¶

func (request GetIPSecConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIPSecConnectionRequest) HTTPRequest ¶

func (request GetIPSecConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIPSecConnectionRequest) RetryPolicy ¶

func (request GetIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIPSecConnectionRequest) String ¶

func (request GetIPSecConnectionRequest) String() string

func (GetIPSecConnectionRequest) ValidateEnumValue ¶

func (request GetIPSecConnectionRequest) 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 GetIPSecConnectionResponse ¶

type GetIPSecConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnection instance
	IpSecConnection `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"`
}

GetIPSecConnectionResponse wrapper for the GetIPSecConnection operation

func (GetIPSecConnectionResponse) HTTPResponse ¶

func (response GetIPSecConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIPSecConnectionResponse) String ¶

func (response GetIPSecConnectionResponse) String() string

type GetIPSecConnectionTunnelErrorRequest ¶

type GetIPSecConnectionTunnelErrorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIPSecConnectionTunnelErrorRequest wrapper for the GetIPSecConnectionTunnelError operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelErrorRequest.

func (GetIPSecConnectionTunnelErrorRequest) BinaryRequestBody ¶

func (request GetIPSecConnectionTunnelErrorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIPSecConnectionTunnelErrorRequest) HTTPRequest ¶

func (request GetIPSecConnectionTunnelErrorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIPSecConnectionTunnelErrorRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIPSecConnectionTunnelErrorRequest) String ¶

func (GetIPSecConnectionTunnelErrorRequest) ValidateEnumValue ¶

func (request GetIPSecConnectionTunnelErrorRequest) 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 GetIPSecConnectionTunnelErrorResponse ¶

type GetIPSecConnectionTunnelErrorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionTunnelErrorDetails instance
	IpSecConnectionTunnelErrorDetails `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"`
}

GetIPSecConnectionTunnelErrorResponse wrapper for the GetIPSecConnectionTunnelError operation

func (GetIPSecConnectionTunnelErrorResponse) HTTPResponse ¶

func (response GetIPSecConnectionTunnelErrorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIPSecConnectionTunnelErrorResponse) String ¶

type GetIPSecConnectionTunnelRequest ¶

type GetIPSecConnectionTunnelRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIPSecConnectionTunnelRequest wrapper for the GetIPSecConnectionTunnel operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnelRequest.

func (GetIPSecConnectionTunnelRequest) BinaryRequestBody ¶

func (request GetIPSecConnectionTunnelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIPSecConnectionTunnelRequest) HTTPRequest ¶

func (request GetIPSecConnectionTunnelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIPSecConnectionTunnelRequest) RetryPolicy ¶

func (request GetIPSecConnectionTunnelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIPSecConnectionTunnelRequest) String ¶

func (request GetIPSecConnectionTunnelRequest) String() string

func (GetIPSecConnectionTunnelRequest) ValidateEnumValue ¶

func (request GetIPSecConnectionTunnelRequest) 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 GetIPSecConnectionTunnelResponse ¶

type GetIPSecConnectionTunnelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionTunnel instance
	IpSecConnectionTunnel `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"`
}

GetIPSecConnectionTunnelResponse wrapper for the GetIPSecConnectionTunnel operation

func (GetIPSecConnectionTunnelResponse) HTTPResponse ¶

func (response GetIPSecConnectionTunnelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIPSecConnectionTunnelResponse) String ¶

func (response GetIPSecConnectionTunnelResponse) String() string

type GetIPSecConnectionTunnelSharedSecretRequest ¶

type GetIPSecConnectionTunnelSharedSecretRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIPSecConnectionTunnelSharedSecretRequest wrapper for the GetIPSecConnectionTunnelSharedSecret operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecretRequest.

func (GetIPSecConnectionTunnelSharedSecretRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetIPSecConnectionTunnelSharedSecretRequest) HTTPRequest ¶

func (request GetIPSecConnectionTunnelSharedSecretRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIPSecConnectionTunnelSharedSecretRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIPSecConnectionTunnelSharedSecretRequest) String ¶

func (GetIPSecConnectionTunnelSharedSecretRequest) ValidateEnumValue ¶

func (request GetIPSecConnectionTunnelSharedSecretRequest) 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 GetIPSecConnectionTunnelSharedSecretResponse ¶

type GetIPSecConnectionTunnelSharedSecretResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionTunnelSharedSecret instance
	IpSecConnectionTunnelSharedSecret `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"`
}

GetIPSecConnectionTunnelSharedSecretResponse wrapper for the GetIPSecConnectionTunnelSharedSecret operation

func (GetIPSecConnectionTunnelSharedSecretResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetIPSecConnectionTunnelSharedSecretResponse) String ¶

type GetImageRequest ¶

type GetImageRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetImageRequest wrapper for the GetImage operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImageRequest.

func (GetImageRequest) BinaryRequestBody ¶

func (request GetImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetImageRequest) HTTPRequest ¶

func (request GetImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetImageRequest) RetryPolicy ¶

func (request GetImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetImageRequest) String ¶

func (request GetImageRequest) String() string

func (GetImageRequest) ValidateEnumValue ¶

func (request GetImageRequest) 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 GetImageResponse ¶

type GetImageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Image instance
	Image `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"`
}

GetImageResponse wrapper for the GetImage operation

func (GetImageResponse) HTTPResponse ¶

func (response GetImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetImageResponse) String ¶

func (response GetImageResponse) String() string

type GetImageShapeCompatibilityEntryRequest ¶

type GetImageShapeCompatibilityEntryRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Shape name.
	ShapeName *string `mandatory:"true" contributesTo:"path" name:"shapeName"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetImageShapeCompatibilityEntryRequest wrapper for the GetImageShapeCompatibilityEntry operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntryRequest.

func (GetImageShapeCompatibilityEntryRequest) BinaryRequestBody ¶

func (request GetImageShapeCompatibilityEntryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetImageShapeCompatibilityEntryRequest) HTTPRequest ¶

func (request GetImageShapeCompatibilityEntryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetImageShapeCompatibilityEntryRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetImageShapeCompatibilityEntryRequest) String ¶

func (GetImageShapeCompatibilityEntryRequest) ValidateEnumValue ¶

func (request GetImageShapeCompatibilityEntryRequest) 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 GetImageShapeCompatibilityEntryResponse ¶

type GetImageShapeCompatibilityEntryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ImageShapeCompatibilityEntry instance
	ImageShapeCompatibilityEntry `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"`
}

GetImageShapeCompatibilityEntryResponse wrapper for the GetImageShapeCompatibilityEntry operation

func (GetImageShapeCompatibilityEntryResponse) HTTPResponse ¶

func (response GetImageShapeCompatibilityEntryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetImageShapeCompatibilityEntryResponse) String ¶

type GetInstanceConfigurationRequest ¶

type GetInstanceConfigurationRequest struct {

	// The OCID of the instance configuration.
	InstanceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"instanceConfigurationId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstanceConfigurationRequest wrapper for the GetInstanceConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfigurationRequest.

func (GetInstanceConfigurationRequest) BinaryRequestBody ¶

func (request GetInstanceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInstanceConfigurationRequest) HTTPRequest ¶

func (request GetInstanceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstanceConfigurationRequest) RetryPolicy ¶

func (request GetInstanceConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstanceConfigurationRequest) String ¶

func (request GetInstanceConfigurationRequest) String() string

func (GetInstanceConfigurationRequest) ValidateEnumValue ¶

func (request GetInstanceConfigurationRequest) 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 GetInstanceConfigurationResponse ¶

type GetInstanceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceConfiguration instance
	InstanceConfiguration `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"`
}

GetInstanceConfigurationResponse wrapper for the GetInstanceConfiguration operation

func (GetInstanceConfigurationResponse) HTTPResponse ¶

func (response GetInstanceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInstanceConfigurationResponse) String ¶

func (response GetInstanceConfigurationResponse) String() string

type GetInstanceConsoleConnectionRequest ¶

type GetInstanceConsoleConnectionRequest struct {

	// The OCID of the instance console connection.
	InstanceConsoleConnectionId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleConnectionId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstanceConsoleConnectionRequest wrapper for the GetInstanceConsoleConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnectionRequest.

func (GetInstanceConsoleConnectionRequest) BinaryRequestBody ¶

func (request GetInstanceConsoleConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInstanceConsoleConnectionRequest) HTTPRequest ¶

func (request GetInstanceConsoleConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstanceConsoleConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstanceConsoleConnectionRequest) String ¶

func (GetInstanceConsoleConnectionRequest) ValidateEnumValue ¶

func (request GetInstanceConsoleConnectionRequest) 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 GetInstanceConsoleConnectionResponse ¶

type GetInstanceConsoleConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceConsoleConnection instance
	InstanceConsoleConnection `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"`
}

GetInstanceConsoleConnectionResponse wrapper for the GetInstanceConsoleConnection operation

func (GetInstanceConsoleConnectionResponse) HTTPResponse ¶

func (response GetInstanceConsoleConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInstanceConsoleConnectionResponse) String ¶

func (response GetInstanceConsoleConnectionResponse) String() string

type GetInstanceMaintenanceRebootRequest ¶ added in v65.13.1

type GetInstanceMaintenanceRebootRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstanceMaintenanceRebootRequest wrapper for the GetInstanceMaintenanceReboot operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceRebootRequest.

func (GetInstanceMaintenanceRebootRequest) BinaryRequestBody ¶ added in v65.13.1

func (request GetInstanceMaintenanceRebootRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInstanceMaintenanceRebootRequest) HTTPRequest ¶ added in v65.13.1

func (request GetInstanceMaintenanceRebootRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstanceMaintenanceRebootRequest) RetryPolicy ¶ added in v65.13.1

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstanceMaintenanceRebootRequest) String ¶ added in v65.13.1

func (GetInstanceMaintenanceRebootRequest) ValidateEnumValue ¶ added in v65.13.1

func (request GetInstanceMaintenanceRebootRequest) 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 GetInstanceMaintenanceRebootResponse ¶ added in v65.13.1

type GetInstanceMaintenanceRebootResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceMaintenanceReboot instance
	InstanceMaintenanceReboot `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"`
}

GetInstanceMaintenanceRebootResponse wrapper for the GetInstanceMaintenanceReboot operation

func (GetInstanceMaintenanceRebootResponse) HTTPResponse ¶ added in v65.13.1

func (response GetInstanceMaintenanceRebootResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInstanceMaintenanceRebootResponse) String ¶ added in v65.13.1

func (response GetInstanceMaintenanceRebootResponse) String() string

type GetInstancePoolInstanceRequest ¶

type GetInstancePoolInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstancePoolInstanceRequest wrapper for the GetInstancePoolInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstanceRequest.

func (GetInstancePoolInstanceRequest) BinaryRequestBody ¶

func (request GetInstancePoolInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInstancePoolInstanceRequest) HTTPRequest ¶

func (request GetInstancePoolInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstancePoolInstanceRequest) RetryPolicy ¶

func (request GetInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstancePoolInstanceRequest) String ¶

func (request GetInstancePoolInstanceRequest) String() string

func (GetInstancePoolInstanceRequest) ValidateEnumValue ¶

func (request GetInstancePoolInstanceRequest) 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 GetInstancePoolInstanceResponse ¶

type GetInstancePoolInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePoolInstance instance
	InstancePoolInstance `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"`
}

GetInstancePoolInstanceResponse wrapper for the GetInstancePoolInstance operation

func (GetInstancePoolInstanceResponse) HTTPResponse ¶

func (response GetInstancePoolInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInstancePoolInstanceResponse) String ¶

func (response GetInstancePoolInstanceResponse) String() string

type GetInstancePoolLoadBalancerAttachmentRequest ¶

type GetInstancePoolLoadBalancerAttachmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// The OCID of the load balancer attachment.
	InstancePoolLoadBalancerAttachmentId *string `mandatory:"true" contributesTo:"path" name:"instancePoolLoadBalancerAttachmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstancePoolLoadBalancerAttachmentRequest wrapper for the GetInstancePoolLoadBalancerAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachmentRequest.

func (GetInstancePoolLoadBalancerAttachmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetInstancePoolLoadBalancerAttachmentRequest) HTTPRequest ¶

func (request GetInstancePoolLoadBalancerAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstancePoolLoadBalancerAttachmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstancePoolLoadBalancerAttachmentRequest) String ¶

func (GetInstancePoolLoadBalancerAttachmentRequest) ValidateEnumValue ¶

func (request GetInstancePoolLoadBalancerAttachmentRequest) 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 GetInstancePoolLoadBalancerAttachmentResponse ¶

type GetInstancePoolLoadBalancerAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePoolLoadBalancerAttachment instance
	InstancePoolLoadBalancerAttachment `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"`
}

GetInstancePoolLoadBalancerAttachmentResponse wrapper for the GetInstancePoolLoadBalancerAttachment operation

func (GetInstancePoolLoadBalancerAttachmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetInstancePoolLoadBalancerAttachmentResponse) String ¶

type GetInstancePoolRequest ¶

type GetInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstancePoolRequest wrapper for the GetInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePoolRequest.

func (GetInstancePoolRequest) BinaryRequestBody ¶

func (request GetInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInstancePoolRequest) HTTPRequest ¶

func (request GetInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstancePoolRequest) RetryPolicy ¶

func (request GetInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstancePoolRequest) String ¶

func (request GetInstancePoolRequest) String() string

func (GetInstancePoolRequest) ValidateEnumValue ¶

func (request GetInstancePoolRequest) 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 GetInstancePoolResponse ¶

type GetInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

GetInstancePoolResponse wrapper for the GetInstancePool operation

func (GetInstancePoolResponse) HTTPResponse ¶

func (response GetInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInstancePoolResponse) String ¶

func (response GetInstancePoolResponse) String() string

type GetInstanceRequest ¶

type GetInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInstanceRequest wrapper for the GetInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstanceRequest.

func (GetInstanceRequest) BinaryRequestBody ¶

func (request GetInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInstanceRequest) HTTPRequest ¶

func (request GetInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInstanceRequest) RetryPolicy ¶

func (request GetInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInstanceRequest) String ¶

func (request GetInstanceRequest) String() string

func (GetInstanceRequest) ValidateEnumValue ¶

func (request GetInstanceRequest) 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 GetInstanceResponse ¶

type GetInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Instance instance
	Instance `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"`
}

GetInstanceResponse wrapper for the GetInstance operation

func (GetInstanceResponse) HTTPResponse ¶

func (response GetInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInstanceResponse) String ¶

func (response GetInstanceResponse) String() string

type GetInternetGatewayRequest ¶

type GetInternetGatewayRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway.
	IgId *string `mandatory:"true" contributesTo:"path" name:"igId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetInternetGatewayRequest wrapper for the GetInternetGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGatewayRequest.

func (GetInternetGatewayRequest) BinaryRequestBody ¶

func (request GetInternetGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetInternetGatewayRequest) HTTPRequest ¶

func (request GetInternetGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetInternetGatewayRequest) RetryPolicy ¶

func (request GetInternetGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetInternetGatewayRequest) String ¶

func (request GetInternetGatewayRequest) String() string

func (GetInternetGatewayRequest) ValidateEnumValue ¶

func (request GetInternetGatewayRequest) 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 GetInternetGatewayResponse ¶

type GetInternetGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InternetGateway instance
	InternetGateway `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"`
}

GetInternetGatewayResponse wrapper for the GetInternetGateway operation

func (GetInternetGatewayResponse) HTTPResponse ¶

func (response GetInternetGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetInternetGatewayResponse) String ¶

func (response GetInternetGatewayResponse) String() string

type GetIpsecCpeDeviceConfigContentRequest ¶

type GetIpsecCpeDeviceConfigContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIpsecCpeDeviceConfigContentRequest wrapper for the GetIpsecCpeDeviceConfigContent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContentRequest.

func (GetIpsecCpeDeviceConfigContentRequest) BinaryRequestBody ¶

func (request GetIpsecCpeDeviceConfigContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIpsecCpeDeviceConfigContentRequest) HTTPRequest ¶

func (request GetIpsecCpeDeviceConfigContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIpsecCpeDeviceConfigContentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIpsecCpeDeviceConfigContentRequest) String ¶

func (GetIpsecCpeDeviceConfigContentRequest) ValidateEnumValue ¶

func (request GetIpsecCpeDeviceConfigContentRequest) 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 GetIpsecCpeDeviceConfigContentResponse ¶

type GetIpsecCpeDeviceConfigContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// 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"`
}

GetIpsecCpeDeviceConfigContentResponse wrapper for the GetIpsecCpeDeviceConfigContent operation

func (GetIpsecCpeDeviceConfigContentResponse) HTTPResponse ¶

func (response GetIpsecCpeDeviceConfigContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIpsecCpeDeviceConfigContentResponse) String ¶

type GetIpv6Request ¶

type GetIpv6Request struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6.
	Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetIpv6Request wrapper for the GetIpv6 operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6Request.

func (GetIpv6Request) BinaryRequestBody ¶

func (request GetIpv6Request) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetIpv6Request) HTTPRequest ¶

func (request GetIpv6Request) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetIpv6Request) RetryPolicy ¶

func (request GetIpv6Request) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetIpv6Request) String ¶

func (request GetIpv6Request) String() string

func (GetIpv6Request) ValidateEnumValue ¶

func (request GetIpv6Request) 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 GetIpv6Response ¶

type GetIpv6Response struct {

	// The underlying http response
	RawResponse *http.Response

	// The Ipv6 instance
	Ipv6 `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"`
}

GetIpv6Response wrapper for the GetIpv6 operation

func (GetIpv6Response) HTTPResponse ¶

func (response GetIpv6Response) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetIpv6Response) String ¶

func (response GetIpv6Response) String() string

type GetLocalPeeringGatewayRequest ¶

type GetLocalPeeringGatewayRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway.
	LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetLocalPeeringGatewayRequest wrapper for the GetLocalPeeringGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGatewayRequest.

func (GetLocalPeeringGatewayRequest) BinaryRequestBody ¶

func (request GetLocalPeeringGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetLocalPeeringGatewayRequest) HTTPRequest ¶

func (request GetLocalPeeringGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetLocalPeeringGatewayRequest) RetryPolicy ¶

func (request GetLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetLocalPeeringGatewayRequest) String ¶

func (request GetLocalPeeringGatewayRequest) String() string

func (GetLocalPeeringGatewayRequest) ValidateEnumValue ¶

func (request GetLocalPeeringGatewayRequest) 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 GetLocalPeeringGatewayResponse ¶

type GetLocalPeeringGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LocalPeeringGateway instance
	LocalPeeringGateway `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"`
}

GetLocalPeeringGatewayResponse wrapper for the GetLocalPeeringGateway operation

func (GetLocalPeeringGatewayResponse) HTTPResponse ¶

func (response GetLocalPeeringGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetLocalPeeringGatewayResponse) String ¶

func (response GetLocalPeeringGatewayResponse) String() string

type GetMeasuredBootReportRequest ¶

type GetMeasuredBootReportRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetMeasuredBootReportRequest wrapper for the GetMeasuredBootReport operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReportRequest.

func (GetMeasuredBootReportRequest) BinaryRequestBody ¶

func (request GetMeasuredBootReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMeasuredBootReportRequest) HTTPRequest ¶

func (request GetMeasuredBootReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMeasuredBootReportRequest) RetryPolicy ¶

func (request GetMeasuredBootReportRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMeasuredBootReportRequest) String ¶

func (request GetMeasuredBootReportRequest) String() string

func (GetMeasuredBootReportRequest) ValidateEnumValue ¶

func (request GetMeasuredBootReportRequest) 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 GetMeasuredBootReportResponse ¶

type GetMeasuredBootReportResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The MeasuredBootReport instance
	MeasuredBootReport `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"`
}

GetMeasuredBootReportResponse wrapper for the GetMeasuredBootReport operation

func (GetMeasuredBootReportResponse) HTTPResponse ¶

func (response GetMeasuredBootReportResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMeasuredBootReportResponse) String ¶

func (response GetMeasuredBootReportResponse) String() string

type GetNatGatewayRequest ¶

type GetNatGatewayRequest struct {

	// The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetNatGatewayRequest wrapper for the GetNatGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGatewayRequest.

func (GetNatGatewayRequest) BinaryRequestBody ¶

func (request GetNatGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNatGatewayRequest) HTTPRequest ¶

func (request GetNatGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNatGatewayRequest) RetryPolicy ¶

func (request GetNatGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNatGatewayRequest) String ¶

func (request GetNatGatewayRequest) String() string

func (GetNatGatewayRequest) ValidateEnumValue ¶

func (request GetNatGatewayRequest) 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 GetNatGatewayResponse ¶

type GetNatGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NatGateway instance
	NatGateway `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"`
}

GetNatGatewayResponse wrapper for the GetNatGateway operation

func (GetNatGatewayResponse) HTTPResponse ¶

func (response GetNatGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNatGatewayResponse) String ¶

func (response GetNatGatewayResponse) String() string

type GetNetworkSecurityGroupRequest ¶

type GetNetworkSecurityGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetNetworkSecurityGroupRequest wrapper for the GetNetworkSecurityGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroupRequest.

func (GetNetworkSecurityGroupRequest) BinaryRequestBody ¶

func (request GetNetworkSecurityGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkSecurityGroupRequest) HTTPRequest ¶

func (request GetNetworkSecurityGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNetworkSecurityGroupRequest) RetryPolicy ¶

func (request GetNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNetworkSecurityGroupRequest) String ¶

func (request GetNetworkSecurityGroupRequest) String() string

func (GetNetworkSecurityGroupRequest) ValidateEnumValue ¶

func (request GetNetworkSecurityGroupRequest) 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 GetNetworkSecurityGroupResponse ¶

type GetNetworkSecurityGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NetworkSecurityGroup instance
	NetworkSecurityGroup `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"`
}

GetNetworkSecurityGroupResponse wrapper for the GetNetworkSecurityGroup operation

func (GetNetworkSecurityGroupResponse) HTTPResponse ¶

func (response GetNetworkSecurityGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNetworkSecurityGroupResponse) String ¶

func (response GetNetworkSecurityGroupResponse) String() string

type GetNetworkingTopologyAccessLevelEnum ¶

type GetNetworkingTopologyAccessLevelEnum string

GetNetworkingTopologyAccessLevelEnum Enum with underlying type: string

const (
	GetNetworkingTopologyAccessLevelAny        GetNetworkingTopologyAccessLevelEnum = "ANY"
	GetNetworkingTopologyAccessLevelAccessible GetNetworkingTopologyAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for GetNetworkingTopologyAccessLevelEnum

func GetGetNetworkingTopologyAccessLevelEnumValues ¶

func GetGetNetworkingTopologyAccessLevelEnumValues() []GetNetworkingTopologyAccessLevelEnum

GetGetNetworkingTopologyAccessLevelEnumValues Enumerates the set of values for GetNetworkingTopologyAccessLevelEnum

func GetMappingGetNetworkingTopologyAccessLevelEnum ¶

func GetMappingGetNetworkingTopologyAccessLevelEnum(val string) (GetNetworkingTopologyAccessLevelEnum, bool)

GetMappingGetNetworkingTopologyAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type GetNetworkingTopologyRequest ¶

type GetNetworkingTopologyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`.
	// Setting this to `ACCESSIBLE` returns only compartments for which a
	// user has INSPECT permissions, either directly or indirectly (permissions can be on a
	// resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has
	// indirect INSPECT permissions.
	// When set to `ANY` permissions are not checked.
	AccessLevel GetNetworkingTopologyAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// When set to true, the hierarchy of compartments is traversed
	// and the specified compartment and its subcompartments are
	// inspected depending on the the setting of `accessLevel`.
	// Default is false.
	QueryCompartmentSubtree *bool `mandatory:"false" contributesTo:"query" name:"queryCompartmentSubtree"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For querying if there is a cached value on the server. The If-None-Match HTTP request header
	// makes the request conditional. For GET and HEAD methods, the server will send back the requested
	// resource, with a 200 status, only if it doesn't have an ETag matching the given ones.
	// For other methods, the request will be processed only if the eventually existing resource's
	// ETag doesn't match any of the values listed.
	IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

	// The Cache-Control HTTP header holds directives (instructions)
	// for caching in both requests and responses.
	CacheControl *string `mandatory:"false" contributesTo:"header" name:"cache-control"`

	// 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
}

GetNetworkingTopologyRequest wrapper for the GetNetworkingTopology operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopologyRequest.

func (GetNetworkingTopologyRequest) BinaryRequestBody ¶

func (request GetNetworkingTopologyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkingTopologyRequest) HTTPRequest ¶

func (request GetNetworkingTopologyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNetworkingTopologyRequest) RetryPolicy ¶

func (request GetNetworkingTopologyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNetworkingTopologyRequest) String ¶

func (request GetNetworkingTopologyRequest) String() string

func (GetNetworkingTopologyRequest) ValidateEnumValue ¶

func (request GetNetworkingTopologyRequest) 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 GetNetworkingTopologyResponse ¶

type GetNetworkingTopologyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NetworkingTopology instance
	NetworkingTopology `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"`
}

GetNetworkingTopologyResponse wrapper for the GetNetworkingTopology operation

func (GetNetworkingTopologyResponse) HTTPResponse ¶

func (response GetNetworkingTopologyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNetworkingTopologyResponse) String ¶

func (response GetNetworkingTopologyResponse) String() string

type GetPrivateIpRequest ¶

type GetPrivateIpRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6.
	PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetPrivateIpRequest wrapper for the GetPrivateIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIpRequest.

func (GetPrivateIpRequest) BinaryRequestBody ¶

func (request GetPrivateIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPrivateIpRequest) HTTPRequest ¶

func (request GetPrivateIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPrivateIpRequest) RetryPolicy ¶

func (request GetPrivateIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPrivateIpRequest) String ¶

func (request GetPrivateIpRequest) String() string

func (GetPrivateIpRequest) ValidateEnumValue ¶

func (request GetPrivateIpRequest) 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 GetPrivateIpResponse ¶

type GetPrivateIpResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PrivateIp instance
	PrivateIp `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"`
}

GetPrivateIpResponse wrapper for the GetPrivateIp operation

func (GetPrivateIpResponse) HTTPResponse ¶

func (response GetPrivateIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPrivateIpResponse) String ¶

func (response GetPrivateIpResponse) String() string

type GetPublicIpByIpAddressDetails ¶

type GetPublicIpByIpAddressDetails struct {

	// The public IP address.
	// Example: 203.0.113.2
	IpAddress *string `mandatory:"true" json:"ipAddress"`
}

GetPublicIpByIpAddressDetails IP address of the public IP.

func (GetPublicIpByIpAddressDetails) String ¶

func (GetPublicIpByIpAddressDetails) ValidateEnumValue ¶

func (m GetPublicIpByIpAddressDetails) 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 GetPublicIpByIpAddressRequest ¶

type GetPublicIpByIpAddressRequest struct {

	// IP address details for fetching the public IP.
	GetPublicIpByIpAddressDetails `contributesTo:"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 `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
}

GetPublicIpByIpAddressRequest wrapper for the GetPublicIpByIpAddress operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddressRequest.

func (GetPublicIpByIpAddressRequest) BinaryRequestBody ¶

func (request GetPublicIpByIpAddressRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPublicIpByIpAddressRequest) HTTPRequest ¶

func (request GetPublicIpByIpAddressRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPublicIpByIpAddressRequest) RetryPolicy ¶

func (request GetPublicIpByIpAddressRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPublicIpByIpAddressRequest) String ¶

func (request GetPublicIpByIpAddressRequest) String() string

func (GetPublicIpByIpAddressRequest) ValidateEnumValue ¶

func (request GetPublicIpByIpAddressRequest) 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 GetPublicIpByIpAddressResponse ¶

type GetPublicIpByIpAddressResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIp instance
	PublicIp `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"`
}

GetPublicIpByIpAddressResponse wrapper for the GetPublicIpByIpAddress operation

func (GetPublicIpByIpAddressResponse) HTTPResponse ¶

func (response GetPublicIpByIpAddressResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPublicIpByIpAddressResponse) String ¶

func (response GetPublicIpByIpAddressResponse) String() string

type GetPublicIpByPrivateIpIdDetails ¶

type GetPublicIpByPrivateIpIdDetails struct {

	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP.
	PrivateIpId *string `mandatory:"true" json:"privateIpId"`
}

GetPublicIpByPrivateIpIdDetails Details of the private IP that the public IP is assigned to.

func (GetPublicIpByPrivateIpIdDetails) String ¶

func (GetPublicIpByPrivateIpIdDetails) ValidateEnumValue ¶

func (m GetPublicIpByPrivateIpIdDetails) 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 GetPublicIpByPrivateIpIdRequest ¶

type GetPublicIpByPrivateIpIdRequest struct {

	// Private IP details for fetching the public IP.
	GetPublicIpByPrivateIpIdDetails `contributesTo:"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 `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
}

GetPublicIpByPrivateIpIdRequest wrapper for the GetPublicIpByPrivateIpId operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpIdRequest.

func (GetPublicIpByPrivateIpIdRequest) BinaryRequestBody ¶

func (request GetPublicIpByPrivateIpIdRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPublicIpByPrivateIpIdRequest) HTTPRequest ¶

func (request GetPublicIpByPrivateIpIdRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPublicIpByPrivateIpIdRequest) RetryPolicy ¶

func (request GetPublicIpByPrivateIpIdRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPublicIpByPrivateIpIdRequest) String ¶

func (request GetPublicIpByPrivateIpIdRequest) String() string

func (GetPublicIpByPrivateIpIdRequest) ValidateEnumValue ¶

func (request GetPublicIpByPrivateIpIdRequest) 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 GetPublicIpByPrivateIpIdResponse ¶

type GetPublicIpByPrivateIpIdResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIp instance
	PublicIp `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"`
}

GetPublicIpByPrivateIpIdResponse wrapper for the GetPublicIpByPrivateIpId operation

func (GetPublicIpByPrivateIpIdResponse) HTTPResponse ¶

func (response GetPublicIpByPrivateIpIdResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPublicIpByPrivateIpIdResponse) String ¶

func (response GetPublicIpByPrivateIpIdResponse) String() string

type GetPublicIpPoolRequest ¶

type GetPublicIpPoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetPublicIpPoolRequest wrapper for the GetPublicIpPool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPoolRequest.

func (GetPublicIpPoolRequest) BinaryRequestBody ¶

func (request GetPublicIpPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPublicIpPoolRequest) HTTPRequest ¶

func (request GetPublicIpPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPublicIpPoolRequest) RetryPolicy ¶

func (request GetPublicIpPoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPublicIpPoolRequest) String ¶

func (request GetPublicIpPoolRequest) String() string

func (GetPublicIpPoolRequest) ValidateEnumValue ¶

func (request GetPublicIpPoolRequest) 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 GetPublicIpPoolResponse ¶

type GetPublicIpPoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIpPool instance
	PublicIpPool `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"`
}

GetPublicIpPoolResponse wrapper for the GetPublicIpPool operation

func (GetPublicIpPoolResponse) HTTPResponse ¶

func (response GetPublicIpPoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPublicIpPoolResponse) String ¶

func (response GetPublicIpPoolResponse) String() string

type GetPublicIpRequest ¶

type GetPublicIpRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP.
	PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetPublicIpRequest wrapper for the GetPublicIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIpRequest.

func (GetPublicIpRequest) BinaryRequestBody ¶

func (request GetPublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPublicIpRequest) HTTPRequest ¶

func (request GetPublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPublicIpRequest) RetryPolicy ¶

func (request GetPublicIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPublicIpRequest) String ¶

func (request GetPublicIpRequest) String() string

func (GetPublicIpRequest) ValidateEnumValue ¶

func (request GetPublicIpRequest) 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 GetPublicIpResponse ¶

type GetPublicIpResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIp instance
	PublicIp `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"`
}

GetPublicIpResponse wrapper for the GetPublicIp operation

func (GetPublicIpResponse) HTTPResponse ¶

func (response GetPublicIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPublicIpResponse) String ¶

func (response GetPublicIpResponse) String() string

type GetRemotePeeringConnectionRequest ¶

type GetRemotePeeringConnectionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
	RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetRemotePeeringConnectionRequest wrapper for the GetRemotePeeringConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnectionRequest.

func (GetRemotePeeringConnectionRequest) BinaryRequestBody ¶

func (request GetRemotePeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRemotePeeringConnectionRequest) HTTPRequest ¶

func (request GetRemotePeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetRemotePeeringConnectionRequest) RetryPolicy ¶

func (request GetRemotePeeringConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRemotePeeringConnectionRequest) String ¶

func (request GetRemotePeeringConnectionRequest) String() string

func (GetRemotePeeringConnectionRequest) ValidateEnumValue ¶

func (request GetRemotePeeringConnectionRequest) 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 GetRemotePeeringConnectionResponse ¶

type GetRemotePeeringConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The RemotePeeringConnection instance
	RemotePeeringConnection `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"`
}

GetRemotePeeringConnectionResponse wrapper for the GetRemotePeeringConnection operation

func (GetRemotePeeringConnectionResponse) HTTPResponse ¶

func (response GetRemotePeeringConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRemotePeeringConnectionResponse) String ¶

func (response GetRemotePeeringConnectionResponse) String() string

type GetRouteTableRequest ¶

type GetRouteTableRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table.
	RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetRouteTableRequest wrapper for the GetRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTableRequest.

func (GetRouteTableRequest) BinaryRequestBody ¶

func (request GetRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRouteTableRequest) HTTPRequest ¶

func (request GetRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetRouteTableRequest) RetryPolicy ¶

func (request GetRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRouteTableRequest) String ¶

func (request GetRouteTableRequest) String() string

func (GetRouteTableRequest) ValidateEnumValue ¶

func (request GetRouteTableRequest) 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 GetRouteTableResponse ¶

type GetRouteTableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The RouteTable instance
	RouteTable `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"`
}

GetRouteTableResponse wrapper for the GetRouteTable operation

func (GetRouteTableResponse) HTTPResponse ¶

func (response GetRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRouteTableResponse) String ¶

func (response GetRouteTableResponse) String() string

type GetSecurityListRequest ¶

type GetSecurityListRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list.
	SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetSecurityListRequest wrapper for the GetSecurityList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityListRequest.

func (GetSecurityListRequest) BinaryRequestBody ¶

func (request GetSecurityListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSecurityListRequest) HTTPRequest ¶

func (request GetSecurityListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSecurityListRequest) RetryPolicy ¶

func (request GetSecurityListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSecurityListRequest) String ¶

func (request GetSecurityListRequest) String() string

func (GetSecurityListRequest) ValidateEnumValue ¶

func (request GetSecurityListRequest) 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 GetSecurityListResponse ¶

type GetSecurityListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityList instance
	SecurityList `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"`
}

GetSecurityListResponse wrapper for the GetSecurityList operation

func (GetSecurityListResponse) HTTPResponse ¶

func (response GetSecurityListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSecurityListResponse) String ¶

func (response GetSecurityListResponse) String() string

type GetServiceGatewayRequest ¶

type GetServiceGatewayRequest struct {

	// The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetServiceGatewayRequest wrapper for the GetServiceGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGatewayRequest.

func (GetServiceGatewayRequest) BinaryRequestBody ¶

func (request GetServiceGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetServiceGatewayRequest) HTTPRequest ¶

func (request GetServiceGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetServiceGatewayRequest) RetryPolicy ¶

func (request GetServiceGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetServiceGatewayRequest) String ¶

func (request GetServiceGatewayRequest) String() string

func (GetServiceGatewayRequest) ValidateEnumValue ¶

func (request GetServiceGatewayRequest) 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 GetServiceGatewayResponse ¶

type GetServiceGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ServiceGateway instance
	ServiceGateway `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"`
}

GetServiceGatewayResponse wrapper for the GetServiceGateway operation

func (GetServiceGatewayResponse) HTTPResponse ¶

func (response GetServiceGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetServiceGatewayResponse) String ¶

func (response GetServiceGatewayResponse) String() string

type GetServiceRequest ¶

type GetServiceRequest struct {

	// The service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceId *string `mandatory:"true" contributesTo:"path" name:"serviceId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetServiceRequest wrapper for the GetService operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetServiceRequest.

func (GetServiceRequest) BinaryRequestBody ¶

func (request GetServiceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetServiceRequest) HTTPRequest ¶

func (request GetServiceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetServiceRequest) RetryPolicy ¶

func (request GetServiceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetServiceRequest) String ¶

func (request GetServiceRequest) String() string

func (GetServiceRequest) ValidateEnumValue ¶

func (request GetServiceRequest) 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 GetServiceResponse ¶

type GetServiceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Service instance
	Service `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"`
}

GetServiceResponse wrapper for the GetService operation

func (GetServiceResponse) HTTPResponse ¶

func (response GetServiceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetServiceResponse) String ¶

func (response GetServiceResponse) String() string

type GetSubnetRequest ¶

type GetSubnetRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetSubnetRequest wrapper for the GetSubnet operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnetRequest.

func (GetSubnetRequest) BinaryRequestBody ¶

func (request GetSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSubnetRequest) HTTPRequest ¶

func (request GetSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSubnetRequest) RetryPolicy ¶

func (request GetSubnetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSubnetRequest) String ¶

func (request GetSubnetRequest) String() string

func (GetSubnetRequest) ValidateEnumValue ¶

func (request GetSubnetRequest) 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 GetSubnetResponse ¶

type GetSubnetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Subnet instance
	Subnet `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"`
}

GetSubnetResponse wrapper for the GetSubnet operation

func (GetSubnetResponse) HTTPResponse ¶

func (response GetSubnetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSubnetResponse) String ¶

func (response GetSubnetResponse) String() string

type GetSubnetTopologyAccessLevelEnum ¶

type GetSubnetTopologyAccessLevelEnum string

GetSubnetTopologyAccessLevelEnum Enum with underlying type: string

const (
	GetSubnetTopologyAccessLevelAny        GetSubnetTopologyAccessLevelEnum = "ANY"
	GetSubnetTopologyAccessLevelAccessible GetSubnetTopologyAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for GetSubnetTopologyAccessLevelEnum

func GetGetSubnetTopologyAccessLevelEnumValues ¶

func GetGetSubnetTopologyAccessLevelEnumValues() []GetSubnetTopologyAccessLevelEnum

GetGetSubnetTopologyAccessLevelEnumValues Enumerates the set of values for GetSubnetTopologyAccessLevelEnum

func GetMappingGetSubnetTopologyAccessLevelEnum ¶

func GetMappingGetSubnetTopologyAccessLevelEnum(val string) (GetSubnetTopologyAccessLevelEnum, bool)

GetMappingGetSubnetTopologyAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type GetSubnetTopologyRequest ¶

type GetSubnetTopologyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"query" name:"subnetId"`

	// Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`.
	// Setting this to `ACCESSIBLE` returns only compartments for which a
	// user has INSPECT permissions, either directly or indirectly (permissions can be on a
	// resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has
	// indirect INSPECT permissions.
	// When set to `ANY` permissions are not checked.
	AccessLevel GetSubnetTopologyAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// When set to true, the hierarchy of compartments is traversed
	// and the specified compartment and its subcompartments are
	// inspected depending on the the setting of `accessLevel`.
	// Default is false.
	QueryCompartmentSubtree *bool `mandatory:"false" contributesTo:"query" name:"queryCompartmentSubtree"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For querying if there is a cached value on the server. The If-None-Match HTTP request header
	// makes the request conditional. For GET and HEAD methods, the server will send back the requested
	// resource, with a 200 status, only if it doesn't have an ETag matching the given ones.
	// For other methods, the request will be processed only if the eventually existing resource's
	// ETag doesn't match any of the values listed.
	IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

	// The Cache-Control HTTP header holds directives (instructions)
	// for caching in both requests and responses.
	CacheControl *string `mandatory:"false" contributesTo:"header" name:"cache-control"`

	// 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
}

GetSubnetTopologyRequest wrapper for the GetSubnetTopology operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopologyRequest.

func (GetSubnetTopologyRequest) BinaryRequestBody ¶

func (request GetSubnetTopologyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSubnetTopologyRequest) HTTPRequest ¶

func (request GetSubnetTopologyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSubnetTopologyRequest) RetryPolicy ¶

func (request GetSubnetTopologyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSubnetTopologyRequest) String ¶

func (request GetSubnetTopologyRequest) String() string

func (GetSubnetTopologyRequest) ValidateEnumValue ¶

func (request GetSubnetTopologyRequest) 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 GetSubnetTopologyResponse ¶

type GetSubnetTopologyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SubnetTopology instance
	SubnetTopology `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"`
}

GetSubnetTopologyResponse wrapper for the GetSubnetTopology operation

func (GetSubnetTopologyResponse) HTTPResponse ¶

func (response GetSubnetTopologyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSubnetTopologyResponse) String ¶

func (response GetSubnetTopologyResponse) String() string

type GetTunnelCpeDeviceConfigContentRequest ¶

type GetTunnelCpeDeviceConfigContentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetTunnelCpeDeviceConfigContentRequest wrapper for the GetTunnelCpeDeviceConfigContent operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContentRequest.

func (GetTunnelCpeDeviceConfigContentRequest) BinaryRequestBody ¶

func (request GetTunnelCpeDeviceConfigContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTunnelCpeDeviceConfigContentRequest) HTTPRequest ¶

func (request GetTunnelCpeDeviceConfigContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTunnelCpeDeviceConfigContentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTunnelCpeDeviceConfigContentRequest) String ¶

func (GetTunnelCpeDeviceConfigContentRequest) ValidateEnumValue ¶

func (request GetTunnelCpeDeviceConfigContentRequest) 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 GetTunnelCpeDeviceConfigContentResponse ¶

type GetTunnelCpeDeviceConfigContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

	// 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"`
}

GetTunnelCpeDeviceConfigContentResponse wrapper for the GetTunnelCpeDeviceConfigContent operation

func (GetTunnelCpeDeviceConfigContentResponse) HTTPResponse ¶

func (response GetTunnelCpeDeviceConfigContentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTunnelCpeDeviceConfigContentResponse) String ¶

type GetTunnelCpeDeviceConfigRequest ¶

type GetTunnelCpeDeviceConfigRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetTunnelCpeDeviceConfigRequest wrapper for the GetTunnelCpeDeviceConfig operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfigRequest.

func (GetTunnelCpeDeviceConfigRequest) BinaryRequestBody ¶

func (request GetTunnelCpeDeviceConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTunnelCpeDeviceConfigRequest) HTTPRequest ¶

func (request GetTunnelCpeDeviceConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTunnelCpeDeviceConfigRequest) RetryPolicy ¶

func (request GetTunnelCpeDeviceConfigRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTunnelCpeDeviceConfigRequest) String ¶

func (request GetTunnelCpeDeviceConfigRequest) String() string

func (GetTunnelCpeDeviceConfigRequest) ValidateEnumValue ¶

func (request GetTunnelCpeDeviceConfigRequest) 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 GetTunnelCpeDeviceConfigResponse ¶

type GetTunnelCpeDeviceConfigResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TunnelCpeDeviceConfig instance
	TunnelCpeDeviceConfig `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"`
}

GetTunnelCpeDeviceConfigResponse wrapper for the GetTunnelCpeDeviceConfig operation

func (GetTunnelCpeDeviceConfigResponse) HTTPResponse ¶

func (response GetTunnelCpeDeviceConfigResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTunnelCpeDeviceConfigResponse) String ¶

func (response GetTunnelCpeDeviceConfigResponse) String() string

type GetUpgradeStatusRequest ¶

type GetUpgradeStatusRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetUpgradeStatusRequest wrapper for the GetUpgradeStatus operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatusRequest.

func (GetUpgradeStatusRequest) BinaryRequestBody ¶

func (request GetUpgradeStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetUpgradeStatusRequest) HTTPRequest ¶

func (request GetUpgradeStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetUpgradeStatusRequest) RetryPolicy ¶

func (request GetUpgradeStatusRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetUpgradeStatusRequest) String ¶

func (request GetUpgradeStatusRequest) String() string

func (GetUpgradeStatusRequest) ValidateEnumValue ¶

func (request GetUpgradeStatusRequest) 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 GetUpgradeStatusResponse ¶

type GetUpgradeStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UpgradeStatus instance
	UpgradeStatus `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"`
}

GetUpgradeStatusResponse wrapper for the GetUpgradeStatus operation

func (GetUpgradeStatusResponse) HTTPResponse ¶

func (response GetUpgradeStatusResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetUpgradeStatusResponse) String ¶

func (response GetUpgradeStatusResponse) String() string

type GetVcnDnsResolverAssociationRequest ¶

type GetVcnDnsResolverAssociationRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVcnDnsResolverAssociationRequest wrapper for the GetVcnDnsResolverAssociation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociationRequest.

func (GetVcnDnsResolverAssociationRequest) BinaryRequestBody ¶

func (request GetVcnDnsResolverAssociationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVcnDnsResolverAssociationRequest) HTTPRequest ¶

func (request GetVcnDnsResolverAssociationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVcnDnsResolverAssociationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVcnDnsResolverAssociationRequest) String ¶

func (GetVcnDnsResolverAssociationRequest) ValidateEnumValue ¶

func (request GetVcnDnsResolverAssociationRequest) 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 GetVcnDnsResolverAssociationResponse ¶

type GetVcnDnsResolverAssociationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VcnDnsResolverAssociation instance
	VcnDnsResolverAssociation `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"`
}

GetVcnDnsResolverAssociationResponse wrapper for the GetVcnDnsResolverAssociation operation

func (GetVcnDnsResolverAssociationResponse) HTTPResponse ¶

func (response GetVcnDnsResolverAssociationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVcnDnsResolverAssociationResponse) String ¶

func (response GetVcnDnsResolverAssociationResponse) String() string

type GetVcnRequest ¶

type GetVcnRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVcnRequest wrapper for the GetVcn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcnRequest.

func (GetVcnRequest) BinaryRequestBody ¶

func (request GetVcnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVcnRequest) HTTPRequest ¶

func (request GetVcnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVcnRequest) RetryPolicy ¶

func (request GetVcnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVcnRequest) String ¶

func (request GetVcnRequest) String() string

func (GetVcnRequest) ValidateEnumValue ¶

func (request GetVcnRequest) 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 GetVcnResponse ¶

type GetVcnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vcn instance
	Vcn `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"`
}

GetVcnResponse wrapper for the GetVcn operation

func (GetVcnResponse) HTTPResponse ¶

func (response GetVcnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVcnResponse) String ¶

func (response GetVcnResponse) String() string

type GetVcnTopologyAccessLevelEnum ¶

type GetVcnTopologyAccessLevelEnum string

GetVcnTopologyAccessLevelEnum Enum with underlying type: string

const (
	GetVcnTopologyAccessLevelAny        GetVcnTopologyAccessLevelEnum = "ANY"
	GetVcnTopologyAccessLevelAccessible GetVcnTopologyAccessLevelEnum = "ACCESSIBLE"
)

Set of constants representing the allowable values for GetVcnTopologyAccessLevelEnum

func GetGetVcnTopologyAccessLevelEnumValues ¶

func GetGetVcnTopologyAccessLevelEnumValues() []GetVcnTopologyAccessLevelEnum

GetGetVcnTopologyAccessLevelEnumValues Enumerates the set of values for GetVcnTopologyAccessLevelEnum

func GetMappingGetVcnTopologyAccessLevelEnum ¶

func GetMappingGetVcnTopologyAccessLevelEnum(val string) (GetVcnTopologyAccessLevelEnum, bool)

GetMappingGetVcnTopologyAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type GetVcnTopologyRequest ¶

type GetVcnTopologyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"query" name:"vcnId"`

	// Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`.
	// Setting this to `ACCESSIBLE` returns only compartments for which a
	// user has INSPECT permissions, either directly or indirectly (permissions can be on a
	// resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has
	// indirect INSPECT permissions.
	// When set to `ANY` permissions are not checked.
	AccessLevel GetVcnTopologyAccessLevelEnum `mandatory:"false" contributesTo:"query" name:"accessLevel" omitEmpty:"true"`

	// When set to true, the hierarchy of compartments is traversed
	// and the specified compartment and its subcompartments are
	// inspected depending on the the setting of `accessLevel`.
	// Default is false.
	QueryCompartmentSubtree *bool `mandatory:"false" contributesTo:"query" name:"queryCompartmentSubtree"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For querying if there is a cached value on the server. The If-None-Match HTTP request header
	// makes the request conditional. For GET and HEAD methods, the server will send back the requested
	// resource, with a 200 status, only if it doesn't have an ETag matching the given ones.
	// For other methods, the request will be processed only if the eventually existing resource's
	// ETag doesn't match any of the values listed.
	IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

	// The Cache-Control HTTP header holds directives (instructions)
	// for caching in both requests and responses.
	CacheControl *string `mandatory:"false" contributesTo:"header" name:"cache-control"`

	// 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
}

GetVcnTopologyRequest wrapper for the GetVcnTopology operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopologyRequest.

func (GetVcnTopologyRequest) BinaryRequestBody ¶

func (request GetVcnTopologyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVcnTopologyRequest) HTTPRequest ¶

func (request GetVcnTopologyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVcnTopologyRequest) RetryPolicy ¶

func (request GetVcnTopologyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVcnTopologyRequest) String ¶

func (request GetVcnTopologyRequest) String() string

func (GetVcnTopologyRequest) ValidateEnumValue ¶

func (request GetVcnTopologyRequest) 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 GetVcnTopologyResponse ¶

type GetVcnTopologyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VcnTopology instance
	VcnTopology `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"`
}

GetVcnTopologyResponse wrapper for the GetVcnTopology operation

func (GetVcnTopologyResponse) HTTPResponse ¶

func (response GetVcnTopologyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVcnTopologyResponse) String ¶

func (response GetVcnTopologyResponse) String() string

type GetVirtualCircuitRequest ¶

type GetVirtualCircuitRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVirtualCircuitRequest wrapper for the GetVirtualCircuit operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuitRequest.

func (GetVirtualCircuitRequest) BinaryRequestBody ¶

func (request GetVirtualCircuitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVirtualCircuitRequest) HTTPRequest ¶

func (request GetVirtualCircuitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVirtualCircuitRequest) RetryPolicy ¶

func (request GetVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVirtualCircuitRequest) String ¶

func (request GetVirtualCircuitRequest) String() string

func (GetVirtualCircuitRequest) ValidateEnumValue ¶

func (request GetVirtualCircuitRequest) 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 GetVirtualCircuitResponse ¶

type GetVirtualCircuitResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VirtualCircuit instance
	VirtualCircuit `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"`
}

GetVirtualCircuitResponse wrapper for the GetVirtualCircuit operation

func (GetVirtualCircuitResponse) HTTPResponse ¶

func (response GetVirtualCircuitResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVirtualCircuitResponse) String ¶

func (response GetVirtualCircuitResponse) String() string

type GetVlanRequest ¶

type GetVlanRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVlanRequest wrapper for the GetVlan operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlanRequest.

func (GetVlanRequest) BinaryRequestBody ¶

func (request GetVlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVlanRequest) HTTPRequest ¶

func (request GetVlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVlanRequest) RetryPolicy ¶

func (request GetVlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVlanRequest) String ¶

func (request GetVlanRequest) String() string

func (GetVlanRequest) ValidateEnumValue ¶

func (request GetVlanRequest) 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 GetVlanResponse ¶

type GetVlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vlan instance
	Vlan `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"`
}

GetVlanResponse wrapper for the GetVlan operation

func (GetVlanResponse) HTTPResponse ¶

func (response GetVlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVlanResponse) String ¶

func (response GetVlanResponse) String() string

type GetVnicAttachmentRequest ¶

type GetVnicAttachmentRequest struct {

	// The OCID of the VNIC attachment.
	VnicAttachmentId *string `mandatory:"true" contributesTo:"path" name:"vnicAttachmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVnicAttachmentRequest wrapper for the GetVnicAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachmentRequest.

func (GetVnicAttachmentRequest) BinaryRequestBody ¶

func (request GetVnicAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVnicAttachmentRequest) HTTPRequest ¶

func (request GetVnicAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVnicAttachmentRequest) RetryPolicy ¶

func (request GetVnicAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVnicAttachmentRequest) String ¶

func (request GetVnicAttachmentRequest) String() string

func (GetVnicAttachmentRequest) ValidateEnumValue ¶

func (request GetVnicAttachmentRequest) 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 GetVnicAttachmentResponse ¶

type GetVnicAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VnicAttachment instance
	VnicAttachment `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"`
}

GetVnicAttachmentResponse wrapper for the GetVnicAttachment operation

func (GetVnicAttachmentResponse) HTTPResponse ¶

func (response GetVnicAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVnicAttachmentResponse) String ¶

func (response GetVnicAttachmentResponse) String() string

type GetVnicRequest ¶

type GetVnicRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC.
	VnicId *string `mandatory:"true" contributesTo:"path" name:"vnicId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVnicRequest wrapper for the GetVnic operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnicRequest.

func (GetVnicRequest) BinaryRequestBody ¶

func (request GetVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVnicRequest) HTTPRequest ¶

func (request GetVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVnicRequest) RetryPolicy ¶

func (request GetVnicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVnicRequest) String ¶

func (request GetVnicRequest) String() string

func (GetVnicRequest) ValidateEnumValue ¶

func (request GetVnicRequest) 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 GetVnicResponse ¶

type GetVnicResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vnic instance
	Vnic `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"`
}

GetVnicResponse wrapper for the GetVnic operation

func (GetVnicResponse) HTTPResponse ¶

func (response GetVnicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVnicResponse) String ¶

func (response GetVnicResponse) String() string

type GetVolumeAttachmentRequest ¶

type GetVolumeAttachmentRequest struct {

	// The OCID of the volume attachment.
	VolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"volumeAttachmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeAttachmentRequest wrapper for the GetVolumeAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachmentRequest.

func (GetVolumeAttachmentRequest) BinaryRequestBody ¶

func (request GetVolumeAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeAttachmentRequest) HTTPRequest ¶

func (request GetVolumeAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeAttachmentRequest) RetryPolicy ¶

func (request GetVolumeAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeAttachmentRequest) String ¶

func (request GetVolumeAttachmentRequest) String() string

func (GetVolumeAttachmentRequest) ValidateEnumValue ¶

func (request GetVolumeAttachmentRequest) 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 GetVolumeAttachmentResponse ¶

type GetVolumeAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeAttachment instance
	VolumeAttachment `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"`
}

GetVolumeAttachmentResponse wrapper for the GetVolumeAttachment operation

func (GetVolumeAttachmentResponse) HTTPResponse ¶

func (response GetVolumeAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeAttachmentResponse) String ¶

func (response GetVolumeAttachmentResponse) String() string

type GetVolumeBackupPolicyAssetAssignmentRequest ¶

type GetVolumeBackupPolicyAssetAssignmentRequest struct {

	// The OCID of an asset (e.g. a volume).
	AssetId *string `mandatory:"true" contributesTo:"query" name:"assetId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeBackupPolicyAssetAssignmentRequest wrapper for the GetVolumeBackupPolicyAssetAssignment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignmentRequest.

func (GetVolumeBackupPolicyAssetAssignmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeBackupPolicyAssetAssignmentRequest) HTTPRequest ¶

func (request GetVolumeBackupPolicyAssetAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeBackupPolicyAssetAssignmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeBackupPolicyAssetAssignmentRequest) String ¶

func (GetVolumeBackupPolicyAssetAssignmentRequest) ValidateEnumValue ¶

func (request GetVolumeBackupPolicyAssetAssignmentRequest) 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 GetVolumeBackupPolicyAssetAssignmentResponse ¶

type GetVolumeBackupPolicyAssetAssignmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeBackupPolicyAssignment instances
	Items []VolumeBackupPolicyAssignment `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

GetVolumeBackupPolicyAssetAssignmentResponse wrapper for the GetVolumeBackupPolicyAssetAssignment operation

func (GetVolumeBackupPolicyAssetAssignmentResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetVolumeBackupPolicyAssetAssignmentResponse) String ¶

type GetVolumeBackupPolicyAssignmentRequest ¶

type GetVolumeBackupPolicyAssignmentRequest struct {

	// The OCID of the volume backup policy assignment.
	PolicyAssignmentId *string `mandatory:"true" contributesTo:"path" name:"policyAssignmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeBackupPolicyAssignmentRequest wrapper for the GetVolumeBackupPolicyAssignment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignmentRequest.

func (GetVolumeBackupPolicyAssignmentRequest) BinaryRequestBody ¶

func (request GetVolumeBackupPolicyAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeBackupPolicyAssignmentRequest) HTTPRequest ¶

func (request GetVolumeBackupPolicyAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeBackupPolicyAssignmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeBackupPolicyAssignmentRequest) String ¶

func (GetVolumeBackupPolicyAssignmentRequest) ValidateEnumValue ¶

func (request GetVolumeBackupPolicyAssignmentRequest) 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 GetVolumeBackupPolicyAssignmentResponse ¶

type GetVolumeBackupPolicyAssignmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackupPolicyAssignment instance
	VolumeBackupPolicyAssignment `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"`
}

GetVolumeBackupPolicyAssignmentResponse wrapper for the GetVolumeBackupPolicyAssignment operation

func (GetVolumeBackupPolicyAssignmentResponse) HTTPResponse ¶

func (response GetVolumeBackupPolicyAssignmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeBackupPolicyAssignmentResponse) String ¶

type GetVolumeBackupPolicyRequest ¶

type GetVolumeBackupPolicyRequest struct {

	// The OCID of the volume backup policy.
	PolicyId *string `mandatory:"true" contributesTo:"path" name:"policyId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeBackupPolicyRequest wrapper for the GetVolumeBackupPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicyRequest.

func (GetVolumeBackupPolicyRequest) BinaryRequestBody ¶

func (request GetVolumeBackupPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeBackupPolicyRequest) HTTPRequest ¶

func (request GetVolumeBackupPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeBackupPolicyRequest) RetryPolicy ¶

func (request GetVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeBackupPolicyRequest) String ¶

func (request GetVolumeBackupPolicyRequest) String() string

func (GetVolumeBackupPolicyRequest) ValidateEnumValue ¶

func (request GetVolumeBackupPolicyRequest) 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 GetVolumeBackupPolicyResponse ¶

type GetVolumeBackupPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackupPolicy instance
	VolumeBackupPolicy `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"`
}

GetVolumeBackupPolicyResponse wrapper for the GetVolumeBackupPolicy operation

func (GetVolumeBackupPolicyResponse) HTTPResponse ¶

func (response GetVolumeBackupPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeBackupPolicyResponse) String ¶

func (response GetVolumeBackupPolicyResponse) String() string

type GetVolumeBackupRequest ¶

type GetVolumeBackupRequest struct {

	// The OCID of the volume backup.
	VolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeBackupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeBackupRequest wrapper for the GetVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackupRequest.

func (GetVolumeBackupRequest) BinaryRequestBody ¶

func (request GetVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeBackupRequest) HTTPRequest ¶

func (request GetVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeBackupRequest) RetryPolicy ¶

func (request GetVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeBackupRequest) String ¶

func (request GetVolumeBackupRequest) String() string

func (GetVolumeBackupRequest) ValidateEnumValue ¶

func (request GetVolumeBackupRequest) 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 GetVolumeBackupResponse ¶

type GetVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackup instance
	VolumeBackup `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"`
}

GetVolumeBackupResponse wrapper for the GetVolumeBackup operation

func (GetVolumeBackupResponse) HTTPResponse ¶

func (response GetVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeBackupResponse) String ¶

func (response GetVolumeBackupResponse) String() string

type GetVolumeGroupBackupRequest ¶

type GetVolumeGroupBackupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
	VolumeGroupBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupBackupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeGroupBackupRequest wrapper for the GetVolumeGroupBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackupRequest.

func (GetVolumeGroupBackupRequest) BinaryRequestBody ¶

func (request GetVolumeGroupBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeGroupBackupRequest) HTTPRequest ¶

func (request GetVolumeGroupBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeGroupBackupRequest) RetryPolicy ¶

func (request GetVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeGroupBackupRequest) String ¶

func (request GetVolumeGroupBackupRequest) String() string

func (GetVolumeGroupBackupRequest) ValidateEnumValue ¶

func (request GetVolumeGroupBackupRequest) 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 GetVolumeGroupBackupResponse ¶

type GetVolumeGroupBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroupBackup instance
	VolumeGroupBackup `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"`
}

GetVolumeGroupBackupResponse wrapper for the GetVolumeGroupBackup operation

func (GetVolumeGroupBackupResponse) HTTPResponse ¶

func (response GetVolumeGroupBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeGroupBackupResponse) String ¶

func (response GetVolumeGroupBackupResponse) String() string

type GetVolumeGroupReplicaRequest ¶

type GetVolumeGroupReplicaRequest struct {

	// The OCID of the volume replica group.
	VolumeGroupReplicaId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupReplicaId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeGroupReplicaRequest wrapper for the GetVolumeGroupReplica operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplicaRequest.

func (GetVolumeGroupReplicaRequest) BinaryRequestBody ¶

func (request GetVolumeGroupReplicaRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeGroupReplicaRequest) HTTPRequest ¶

func (request GetVolumeGroupReplicaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeGroupReplicaRequest) RetryPolicy ¶

func (request GetVolumeGroupReplicaRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeGroupReplicaRequest) String ¶

func (request GetVolumeGroupReplicaRequest) String() string

func (GetVolumeGroupReplicaRequest) ValidateEnumValue ¶

func (request GetVolumeGroupReplicaRequest) 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 GetVolumeGroupReplicaResponse ¶

type GetVolumeGroupReplicaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroupReplica instance
	VolumeGroupReplica `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"`
}

GetVolumeGroupReplicaResponse wrapper for the GetVolumeGroupReplica operation

func (GetVolumeGroupReplicaResponse) HTTPResponse ¶

func (response GetVolumeGroupReplicaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeGroupReplicaResponse) String ¶

func (response GetVolumeGroupReplicaResponse) String() string

type GetVolumeGroupRequest ¶

type GetVolumeGroupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
	VolumeGroupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeGroupRequest wrapper for the GetVolumeGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroupRequest.

func (GetVolumeGroupRequest) BinaryRequestBody ¶

func (request GetVolumeGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeGroupRequest) HTTPRequest ¶

func (request GetVolumeGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeGroupRequest) RetryPolicy ¶

func (request GetVolumeGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeGroupRequest) String ¶

func (request GetVolumeGroupRequest) String() string

func (GetVolumeGroupRequest) ValidateEnumValue ¶

func (request GetVolumeGroupRequest) 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 GetVolumeGroupResponse ¶

type GetVolumeGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroup instance
	VolumeGroup `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"`
}

GetVolumeGroupResponse wrapper for the GetVolumeGroup operation

func (GetVolumeGroupResponse) HTTPResponse ¶

func (response GetVolumeGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeGroupResponse) String ¶

func (response GetVolumeGroupResponse) String() string

type GetVolumeKmsKeyRequest ¶

type GetVolumeKmsKeyRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeKmsKeyRequest wrapper for the GetVolumeKmsKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKeyRequest.

func (GetVolumeKmsKeyRequest) BinaryRequestBody ¶

func (request GetVolumeKmsKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeKmsKeyRequest) HTTPRequest ¶

func (request GetVolumeKmsKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeKmsKeyRequest) RetryPolicy ¶

func (request GetVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeKmsKeyRequest) String ¶

func (request GetVolumeKmsKeyRequest) String() string

func (GetVolumeKmsKeyRequest) ValidateEnumValue ¶

func (request GetVolumeKmsKeyRequest) 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 GetVolumeKmsKeyResponse ¶

type GetVolumeKmsKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeKmsKey instance
	VolumeKmsKey `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"`
}

GetVolumeKmsKeyResponse wrapper for the GetVolumeKmsKey operation

func (GetVolumeKmsKeyResponse) HTTPResponse ¶

func (response GetVolumeKmsKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeKmsKeyResponse) String ¶

func (response GetVolumeKmsKeyResponse) String() string

type GetVolumeRequest ¶

type GetVolumeRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVolumeRequest wrapper for the GetVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolumeRequest.

func (GetVolumeRequest) BinaryRequestBody ¶

func (request GetVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVolumeRequest) HTTPRequest ¶

func (request GetVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVolumeRequest) RetryPolicy ¶

func (request GetVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVolumeRequest) String ¶

func (request GetVolumeRequest) String() string

func (GetVolumeRequest) ValidateEnumValue ¶

func (request GetVolumeRequest) 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 GetVolumeResponse ¶

type GetVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Volume instance
	Volume `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"`
}

GetVolumeResponse wrapper for the GetVolume operation

func (GetVolumeResponse) HTTPResponse ¶

func (response GetVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVolumeResponse) String ¶

func (response GetVolumeResponse) String() string

type GetVtapRequest ¶ added in v65.3.0

type GetVtapRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP.
	VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetVtapRequest wrapper for the GetVtap operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtapRequest.

func (GetVtapRequest) BinaryRequestBody ¶ added in v65.3.0

func (request GetVtapRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetVtapRequest) HTTPRequest ¶ added in v65.3.0

func (request GetVtapRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetVtapRequest) RetryPolicy ¶ added in v65.3.0

func (request GetVtapRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetVtapRequest) String ¶ added in v65.3.0

func (request GetVtapRequest) String() string

func (GetVtapRequest) ValidateEnumValue ¶ added in v65.3.0

func (request GetVtapRequest) 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 GetVtapResponse ¶ added in v65.3.0

type GetVtapResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vtap instance
	Vtap `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"`
}

GetVtapResponse wrapper for the GetVtap operation

func (GetVtapResponse) HTTPResponse ¶ added in v65.3.0

func (response GetVtapResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetVtapResponse) String ¶ added in v65.3.0

func (response GetVtapResponse) String() string

type GetWindowsInstanceInitialCredentialsRequest ¶

type GetWindowsInstanceInitialCredentialsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

GetWindowsInstanceInitialCredentialsRequest wrapper for the GetWindowsInstanceInitialCredentials operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentialsRequest.

func (GetWindowsInstanceInitialCredentialsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (GetWindowsInstanceInitialCredentialsRequest) HTTPRequest ¶

func (request GetWindowsInstanceInitialCredentialsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWindowsInstanceInitialCredentialsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWindowsInstanceInitialCredentialsRequest) String ¶

func (GetWindowsInstanceInitialCredentialsRequest) ValidateEnumValue ¶

func (request GetWindowsInstanceInitialCredentialsRequest) 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 GetWindowsInstanceInitialCredentialsResponse ¶

type GetWindowsInstanceInitialCredentialsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceCredentials instance
	InstanceCredentials `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"`
}

GetWindowsInstanceInitialCredentialsResponse wrapper for the GetWindowsInstanceInitialCredentials operation

func (GetWindowsInstanceInitialCredentialsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (GetWindowsInstanceInitialCredentialsResponse) String ¶

type IScsiVolumeAttachment ¶

type IScsiVolumeAttachment struct {

	// The availability domain of an instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the volume attachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the instance the volume is attached to.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The date and time the volume was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The volume's iSCSI IP address.
	// Example: `169.254.0.2`
	Ipv4 *string `mandatory:"true" json:"ipv4"`

	// The target volume's iSCSI Qualified Name in the format defined
	// by RFC 3720 (https://tools.ietf.org/html/rfc3720#page-32).
	// Example: `iqn.2015-12.us.oracle.com:<CHAP_username>`
	Iqn *string `mandatory:"true" json:"iqn"`

	// The volume's iSCSI port, usually port 860 or 3260.
	// Example: `3260`
	Port *int `mandatory:"true" json:"port"`

	// The device name.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
	IsMultipath *bool `mandatory:"false" json:"isMultipath"`

	// Flag indicating if this volume was created for the customer as part of a simplified launch.
	// Used to determine whether the volume requires deletion on instance termination.
	IsVolumeCreatedDuringLaunch *bool `mandatory:"false" json:"isVolumeCreatedDuringLaunch"`

	// The Challenge-Handshake-Authentication-Protocol (CHAP) secret
	// valid for the associated CHAP user name.
	// (Also called the "CHAP password".)
	ChapSecret *string `mandatory:"false" json:"chapSecret"`

	// The volume's system-generated Challenge-Handshake-Authentication-Protocol
	// (CHAP) user name. See RFC 1994 (https://tools.ietf.org/html/rfc1994) for more on CHAP.
	// Example: `ocid1.volume.oc1.phx.<unique_ID>`
	ChapUsername *string `mandatory:"false" json:"chapUsername"`

	// A list of secondary multipath devices
	MultipathDevices []MultipathDevice `mandatory:"false" json:"multipathDevices"`

	// Whether Oracle Cloud Agent is enabled perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
	IsAgentAutoIscsiLoginEnabled *bool `mandatory:"false" json:"isAgentAutoIscsiLoginEnabled"`

	// The current state of the volume attachment.
	LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The iscsi login state of the volume attachment. For a Iscsi volume attachment,
	// all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
	IscsiLoginState VolumeAttachmentIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"`

	// Refer the top-level definition of encryptionInTransitType.
	// The default value is NONE.
	EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"`
}

IScsiVolumeAttachment An ISCSI volume attachment.

func (IScsiVolumeAttachment) GetAvailabilityDomain ¶

func (m IScsiVolumeAttachment) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (IScsiVolumeAttachment) GetCompartmentId ¶

func (m IScsiVolumeAttachment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (IScsiVolumeAttachment) GetDevice ¶

func (m IScsiVolumeAttachment) GetDevice() *string

GetDevice returns Device

func (IScsiVolumeAttachment) GetDisplayName ¶

func (m IScsiVolumeAttachment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (IScsiVolumeAttachment) GetId ¶

func (m IScsiVolumeAttachment) GetId() *string

GetId returns Id

func (IScsiVolumeAttachment) GetInstanceId ¶

func (m IScsiVolumeAttachment) GetInstanceId() *string

GetInstanceId returns InstanceId

func (IScsiVolumeAttachment) GetIsMultipath ¶

func (m IScsiVolumeAttachment) GetIsMultipath() *bool

GetIsMultipath returns IsMultipath

func (IScsiVolumeAttachment) GetIsPvEncryptionInTransitEnabled ¶

func (m IScsiVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool

GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled

func (IScsiVolumeAttachment) GetIsReadOnly ¶

func (m IScsiVolumeAttachment) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (IScsiVolumeAttachment) GetIsShareable ¶

func (m IScsiVolumeAttachment) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (IScsiVolumeAttachment) GetIsVolumeCreatedDuringLaunch ¶ added in v65.61.0

func (m IScsiVolumeAttachment) GetIsVolumeCreatedDuringLaunch() *bool

GetIsVolumeCreatedDuringLaunch returns IsVolumeCreatedDuringLaunch

func (IScsiVolumeAttachment) GetIscsiLoginState ¶

GetIscsiLoginState returns IscsiLoginState

func (IScsiVolumeAttachment) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (IScsiVolumeAttachment) GetTimeCreated ¶

func (m IScsiVolumeAttachment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (IScsiVolumeAttachment) GetVolumeId ¶

func (m IScsiVolumeAttachment) GetVolumeId() *string

GetVolumeId returns VolumeId

func (IScsiVolumeAttachment) MarshalJSON ¶

func (m IScsiVolumeAttachment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IScsiVolumeAttachment) String ¶

func (m IScsiVolumeAttachment) String() string

func (IScsiVolumeAttachment) ValidateEnumValue ¶

func (m IScsiVolumeAttachment) 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 IcmpOptions ¶

type IcmpOptions struct {

	// The ICMP type.
	Type *int `mandatory:"true" json:"type"`

	// The ICMP code (optional).
	Code *int `mandatory:"false" json:"code"`
}

IcmpOptions Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in: - ICMP Parameters (http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) - ICMPv6 Parameters (https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml) If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

func (IcmpOptions) String ¶

func (m IcmpOptions) String() string

func (IcmpOptions) ValidateEnumValue ¶

func (m IcmpOptions) 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 Image ¶

type Image struct {

	// The OCID of the compartment containing the instance you want to use as the basis for the image.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Whether instances launched with this image can be used to create new images.
	// For example, you cannot create an image of an Oracle Database instance.
	// Example: `true`
	CreateImageAllowed *bool `mandatory:"true" json:"createImageAllowed"`

	// The OCID of the image.
	Id *string `mandatory:"true" json:"id"`

	LifecycleState ImageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The image's operating system.
	// Example: `Oracle Linux`
	OperatingSystem *string `mandatory:"true" json:"operatingSystem"`

	// The image's operating system version.
	// Example: `7.2`
	OperatingSystemVersion *string `mandatory:"true" json:"operatingSystemVersion"`

	// The date and time the image was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the image originally used to launch the instance.
	BaseImageId *string `mandatory:"false" json:"baseImageId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name for the image. It does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	// You cannot use a platform image name as a custom image name.
	// Example: `My custom Oracle Linux image`
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
	// * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.
	// * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	// * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
	LaunchMode ImageLaunchModeEnum `mandatory:"false" json:"launchMode,omitempty"`

	LaunchOptions *LaunchOptions `mandatory:"false" json:"launchOptions"`

	AgentFeatures *InstanceAgentFeatures `mandatory:"false" json:"agentFeatures"`

	// The listing type of the image. The default value is "NONE".
	ListingType ImageListingTypeEnum `mandatory:"false" json:"listingType,omitempty"`

	// The boot volume size for an instance launched from this image (1 MB = 1,048,576 bytes).
	// Note this is not the same as the size of the image when it was exported or the actual size of the image.
	// Example: `47694`
	SizeInMBs *int64 `mandatory:"false" json:"sizeInMBs"`

	// The size of the internal storage for this image that is subject to billing (1 GB = 1,073,741,824 bytes).
	// Example: `100`
	BillableSizeInGBs *int64 `mandatory:"false" json:"billableSizeInGBs"`
}

Image A boot disk image for launching an instance. For more information, see Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (Image) String ¶

func (m Image) String() string

func (Image) ValidateEnumValue ¶

func (m Image) 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 ImageCapabilitySchemaDescriptor ¶

type ImageCapabilitySchemaDescriptor interface {
	GetSource() ImageCapabilitySchemaDescriptorSourceEnum
}

ImageCapabilitySchemaDescriptor Image Capability Schema Descriptor is a type of capability for an image.

type ImageCapabilitySchemaDescriptorSourceEnum ¶

type ImageCapabilitySchemaDescriptorSourceEnum string

ImageCapabilitySchemaDescriptorSourceEnum Enum with underlying type: string

const (
	ImageCapabilitySchemaDescriptorSourceGlobal ImageCapabilitySchemaDescriptorSourceEnum = "GLOBAL"
	ImageCapabilitySchemaDescriptorSourceImage  ImageCapabilitySchemaDescriptorSourceEnum = "IMAGE"
)

Set of constants representing the allowable values for ImageCapabilitySchemaDescriptorSourceEnum

func GetImageCapabilitySchemaDescriptorSourceEnumValues ¶

func GetImageCapabilitySchemaDescriptorSourceEnumValues() []ImageCapabilitySchemaDescriptorSourceEnum

GetImageCapabilitySchemaDescriptorSourceEnumValues Enumerates the set of values for ImageCapabilitySchemaDescriptorSourceEnum

func GetMappingImageCapabilitySchemaDescriptorSourceEnum ¶

func GetMappingImageCapabilitySchemaDescriptorSourceEnum(val string) (ImageCapabilitySchemaDescriptorSourceEnum, bool)

GetMappingImageCapabilitySchemaDescriptorSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type ImageLaunchModeEnum ¶

type ImageLaunchModeEnum string

ImageLaunchModeEnum Enum with underlying type: string

const (
	ImageLaunchModeNative          ImageLaunchModeEnum = "NATIVE"
	ImageLaunchModeEmulated        ImageLaunchModeEnum = "EMULATED"
	ImageLaunchModeParavirtualized ImageLaunchModeEnum = "PARAVIRTUALIZED"
	ImageLaunchModeCustom          ImageLaunchModeEnum = "CUSTOM"
)

Set of constants representing the allowable values for ImageLaunchModeEnum

func GetImageLaunchModeEnumValues ¶

func GetImageLaunchModeEnumValues() []ImageLaunchModeEnum

GetImageLaunchModeEnumValues Enumerates the set of values for ImageLaunchModeEnum

func GetMappingImageLaunchModeEnum ¶

func GetMappingImageLaunchModeEnum(val string) (ImageLaunchModeEnum, bool)

GetMappingImageLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum

type ImageLifecycleStateEnum ¶

type ImageLifecycleStateEnum string

ImageLifecycleStateEnum Enum with underlying type: string

const (
	ImageLifecycleStateProvisioning ImageLifecycleStateEnum = "PROVISIONING"
	ImageLifecycleStateImporting    ImageLifecycleStateEnum = "IMPORTING"
	ImageLifecycleStateAvailable    ImageLifecycleStateEnum = "AVAILABLE"
	ImageLifecycleStateExporting    ImageLifecycleStateEnum = "EXPORTING"
	ImageLifecycleStateDisabled     ImageLifecycleStateEnum = "DISABLED"
	ImageLifecycleStateDeleted      ImageLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ImageLifecycleStateEnum

func GetImageLifecycleStateEnumValues ¶

func GetImageLifecycleStateEnumValues() []ImageLifecycleStateEnum

GetImageLifecycleStateEnumValues Enumerates the set of values for ImageLifecycleStateEnum

func GetMappingImageLifecycleStateEnum ¶

func GetMappingImageLifecycleStateEnum(val string) (ImageLifecycleStateEnum, bool)

GetMappingImageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ImageListingTypeEnum ¶

type ImageListingTypeEnum string

ImageListingTypeEnum Enum with underlying type: string

const (
	ImageListingTypeCommunity ImageListingTypeEnum = "COMMUNITY"
	ImageListingTypeNone      ImageListingTypeEnum = "NONE"
)

Set of constants representing the allowable values for ImageListingTypeEnum

func GetImageListingTypeEnumValues ¶

func GetImageListingTypeEnumValues() []ImageListingTypeEnum

GetImageListingTypeEnumValues Enumerates the set of values for ImageListingTypeEnum

func GetMappingImageListingTypeEnum ¶

func GetMappingImageListingTypeEnum(val string) (ImageListingTypeEnum, bool)

GetMappingImageListingTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ImageMemoryConstraints ¶

type ImageMemoryConstraints struct {

	// The minimum amount of memory, in gigabytes.
	MinInGBs *int `mandatory:"false" json:"minInGBs"`

	// The maximum amount of memory, in gigabytes.
	MaxInGBs *int `mandatory:"false" json:"maxInGBs"`
}

ImageMemoryConstraints For a flexible image and shape, the amount of memory supported for instances that use this image.

func (ImageMemoryConstraints) String ¶

func (m ImageMemoryConstraints) String() string

func (ImageMemoryConstraints) ValidateEnumValue ¶

func (m ImageMemoryConstraints) 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 ImageOcpuConstraints ¶

type ImageOcpuConstraints struct {

	// The minimum number of OCPUs supported for this image and shape.
	Min *int `mandatory:"false" json:"min"`

	// The maximum number of OCPUs supported for this image and shape.
	Max *int `mandatory:"false" json:"max"`
}

ImageOcpuConstraints OCPU options for an image and shape.

func (ImageOcpuConstraints) String ¶

func (m ImageOcpuConstraints) String() string

func (ImageOcpuConstraints) ValidateEnumValue ¶

func (m ImageOcpuConstraints) 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 ImageShapeCompatibilityEntry ¶

type ImageShapeCompatibilityEntry struct {

	// The image OCID.
	ImageId *string `mandatory:"true" json:"imageId"`

	// The shape name.
	Shape *string `mandatory:"true" json:"shape"`

	MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"`

	OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"`
}

ImageShapeCompatibilityEntry An image and shape that are compatible.

func (ImageShapeCompatibilityEntry) String ¶

func (ImageShapeCompatibilityEntry) ValidateEnumValue ¶

func (m ImageShapeCompatibilityEntry) 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 ImageShapeCompatibilitySummary ¶

type ImageShapeCompatibilitySummary struct {

	// The image OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ImageId *string `mandatory:"true" json:"imageId"`

	// The shape name.
	Shape *string `mandatory:"true" json:"shape"`

	MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"`

	OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"`
}

ImageShapeCompatibilitySummary Summary information for a compatible image and shape.

func (ImageShapeCompatibilitySummary) String ¶

func (ImageShapeCompatibilitySummary) ValidateEnumValue ¶

func (m ImageShapeCompatibilitySummary) 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 ImageSourceDetails ¶

type ImageSourceDetails interface {
	GetOperatingSystem() *string

	GetOperatingSystemVersion() *string

	// The format of the image to be imported. Only monolithic
	// images are supported. This attribute is not used for exported Oracle images with the OCI image format.
	GetSourceImageType() ImageSourceDetailsSourceImageTypeEnum
}

ImageSourceDetails The representation of ImageSourceDetails

type ImageSourceDetailsSourceImageTypeEnum ¶

type ImageSourceDetailsSourceImageTypeEnum string

ImageSourceDetailsSourceImageTypeEnum Enum with underlying type: string

const (
	ImageSourceDetailsSourceImageTypeQcow2 ImageSourceDetailsSourceImageTypeEnum = "QCOW2"
	ImageSourceDetailsSourceImageTypeVmdk  ImageSourceDetailsSourceImageTypeEnum = "VMDK"
)

Set of constants representing the allowable values for ImageSourceDetailsSourceImageTypeEnum

func GetImageSourceDetailsSourceImageTypeEnumValues ¶

func GetImageSourceDetailsSourceImageTypeEnumValues() []ImageSourceDetailsSourceImageTypeEnum

GetImageSourceDetailsSourceImageTypeEnumValues Enumerates the set of values for ImageSourceDetailsSourceImageTypeEnum

func GetMappingImageSourceDetailsSourceImageTypeEnum ¶

func GetMappingImageSourceDetailsSourceImageTypeEnum(val string) (ImageSourceDetailsSourceImageTypeEnum, bool)

GetMappingImageSourceDetailsSourceImageTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ImageSourceViaObjectStorageTupleDetails ¶

type ImageSourceViaObjectStorageTupleDetails struct {

	// The Object Storage bucket for the image.
	BucketName *string `mandatory:"true" json:"bucketName"`

	// The Object Storage namespace for the image.
	NamespaceName *string `mandatory:"true" json:"namespaceName"`

	// The Object Storage name for the image.
	ObjectName *string `mandatory:"true" json:"objectName"`

	OperatingSystem *string `mandatory:"false" json:"operatingSystem"`

	OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"`

	// The format of the image to be imported. Only monolithic
	// images are supported. This attribute is not used for exported Oracle images with the OCI image format.
	SourceImageType ImageSourceDetailsSourceImageTypeEnum `mandatory:"false" json:"sourceImageType,omitempty"`
}

ImageSourceViaObjectStorageTupleDetails The representation of ImageSourceViaObjectStorageTupleDetails

func (ImageSourceViaObjectStorageTupleDetails) GetOperatingSystem ¶

func (m ImageSourceViaObjectStorageTupleDetails) GetOperatingSystem() *string

GetOperatingSystem returns OperatingSystem

func (ImageSourceViaObjectStorageTupleDetails) GetOperatingSystemVersion ¶

func (m ImageSourceViaObjectStorageTupleDetails) GetOperatingSystemVersion() *string

GetOperatingSystemVersion returns OperatingSystemVersion

func (ImageSourceViaObjectStorageTupleDetails) GetSourceImageType ¶

GetSourceImageType returns SourceImageType

func (ImageSourceViaObjectStorageTupleDetails) MarshalJSON ¶

func (m ImageSourceViaObjectStorageTupleDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImageSourceViaObjectStorageTupleDetails) String ¶

func (ImageSourceViaObjectStorageTupleDetails) ValidateEnumValue ¶

func (m ImageSourceViaObjectStorageTupleDetails) 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 ImageSourceViaObjectStorageUriDetails ¶

type ImageSourceViaObjectStorageUriDetails struct {

	// The Object Storage URL for the image.
	SourceUri *string `mandatory:"true" json:"sourceUri"`

	OperatingSystem *string `mandatory:"false" json:"operatingSystem"`

	OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"`

	// The format of the image to be imported. Only monolithic
	// images are supported. This attribute is not used for exported Oracle images with the OCI image format.
	SourceImageType ImageSourceDetailsSourceImageTypeEnum `mandatory:"false" json:"sourceImageType,omitempty"`
}

ImageSourceViaObjectStorageUriDetails The representation of ImageSourceViaObjectStorageUriDetails

func (ImageSourceViaObjectStorageUriDetails) GetOperatingSystem ¶

func (m ImageSourceViaObjectStorageUriDetails) GetOperatingSystem() *string

GetOperatingSystem returns OperatingSystem

func (ImageSourceViaObjectStorageUriDetails) GetOperatingSystemVersion ¶

func (m ImageSourceViaObjectStorageUriDetails) GetOperatingSystemVersion() *string

GetOperatingSystemVersion returns OperatingSystemVersion

func (ImageSourceViaObjectStorageUriDetails) GetSourceImageType ¶

GetSourceImageType returns SourceImageType

func (ImageSourceViaObjectStorageUriDetails) MarshalJSON ¶

func (m ImageSourceViaObjectStorageUriDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ImageSourceViaObjectStorageUriDetails) String ¶

func (ImageSourceViaObjectStorageUriDetails) ValidateEnumValue ¶

func (m ImageSourceViaObjectStorageUriDetails) 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 IngressSecurityRule ¶

type IngressSecurityRule struct {

	// The transport protocol. Specify either `all` or an IPv4 protocol number as
	// defined in
	// Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
	// Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
	Protocol *string `mandatory:"true" json:"protocol"`

	// Conceptually, this is the range of IP addresses that a packet coming into the instance
	// can come from.
	// Allowed values:
	//   * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`.
	//     IPv6 addressing is supported for all commercial and government regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security list rule for traffic coming from a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	Source *string `mandatory:"true" json:"source"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	// A stateless rule allows traffic in one direction. Remember to add a corresponding
	// stateless rule in the other direction if you need to support bidirectional traffic. For
	// example, if ingress traffic allows TCP destination port 80, there should be an egress
	// rule to allow TCP source port 80. Defaults to false, which means the rule is stateful
	// and a corresponding rule is not necessary for bidirectional traffic.
	IsStateless *bool `mandatory:"false" json:"isStateless"`

	// Type of source for the rule. The default is `CIDR_BLOCK`.
	//   * `CIDR_BLOCK`: If the rule's `source` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
	//     Service (the rule is for traffic coming from a
	//     particular `Service` through a service gateway).
	SourceType IngressSecurityRuleSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`

	// An optional description of your choice for the rule.
	Description *string `mandatory:"false" json:"description"`
}

IngressSecurityRule A rule for allowing inbound IP packets.

func (IngressSecurityRule) String ¶

func (m IngressSecurityRule) String() string

func (IngressSecurityRule) ValidateEnumValue ¶

func (m IngressSecurityRule) 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 IngressSecurityRuleSourceTypeEnum ¶

type IngressSecurityRuleSourceTypeEnum string

IngressSecurityRuleSourceTypeEnum Enum with underlying type: string

const (
	IngressSecurityRuleSourceTypeCidrBlock        IngressSecurityRuleSourceTypeEnum = "CIDR_BLOCK"
	IngressSecurityRuleSourceTypeServiceCidrBlock IngressSecurityRuleSourceTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for IngressSecurityRuleSourceTypeEnum

func GetIngressSecurityRuleSourceTypeEnumValues ¶

func GetIngressSecurityRuleSourceTypeEnumValues() []IngressSecurityRuleSourceTypeEnum

GetIngressSecurityRuleSourceTypeEnumValues Enumerates the set of values for IngressSecurityRuleSourceTypeEnum

func GetMappingIngressSecurityRuleSourceTypeEnum ¶

func GetMappingIngressSecurityRuleSourceTypeEnum(val string) (IngressSecurityRuleSourceTypeEnum, bool)

GetMappingIngressSecurityRuleSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type Instance ¶

type Instance struct {

	// The availability domain the instance is running in.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the instance.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the instance.
	LifecycleState InstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The region that contains the availability domain the instance is running in.
	// For the us-phoenix-1 and us-ashburn-1 regions, `phx` and `iad` are returned, respectively.
	// For all other regions, the full region name is returned.
	// Examples: `phx`, `eu-frankfurt-1`
	Region *string `mandatory:"true" json:"region"`

	// The shape of the instance. The shape determines the number of CPUs and the amount of memory
	// allocated to the instance. You can enumerate all available shapes by calling
	// ListShapes.
	Shape *string `mandatory:"true" json:"shape"`

	// The date and time the instance was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the compute capacity reservation this instance is launched under.
	// When this field contains an empty string or is null, the instance is not currently in a capacity reservation.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"`

	// The OCID of the cluster placement group of the instance.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// The OCID of the dedicated virtual machine host that the instance is placed on.
	DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality
	// as fields in the `metadata` object.
	// They are distinguished from `metadata` fields in that these can be nested JSON objects (whereas `metadata`
	// fields are string/string maps only).
	ExtendedMetadata map[string]interface{} `mandatory:"false" json:"extendedMetadata"`

	// The name of the fault domain the instance is running in.
	// A fault domain is a grouping of hardware and infrastructure within an availability domain.
	// Each availability domain contains three fault domains. Fault domains let you distribute your
	// instances so that they are not on the same physical hardware within a single availability domain.
	// A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
	// instances in other fault domains.
	// If you do not specify the fault domain, the system selects one for you.
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Deprecated. Use `sourceDetails` instead.
	ImageId *string `mandatory:"false" json:"imageId"`

	// When a bare metal or virtual machine
	// instance boots, the iPXE firmware that runs on the instance is
	// configured to run an iPXE script to continue the boot process.
	// If you want more control over the boot process, you can provide
	// your own custom iPXE script that will run when the instance boots.
	// Be aware that the same iPXE script will run
	// every time an instance boots, not only after the initial
	// LaunchInstance call.
	// The default iPXE script connects to the instance's local boot
	// volume over iSCSI and performs a network boot. If you use a custom iPXE
	// script and want to network-boot from the instance's local boot volume
	// over iSCSI the same way as the default iPXE script, use the
	// following iSCSI IP address: 169.254.0.2, and boot volume IQN:
	// iqn.2015-02.oracle.boot.
	// If your instance boot volume attachment type is paravirtualized,
	// the boot volume is attached to the instance through virtio-scsi and no iPXE script is used.
	// If your instance boot volume attachment type is paravirtualized
	// and you use custom iPXE to network boot into your instance,
	// the primary boot volume is attached as a data volume through virtio-scsi drive.
	// For more information about the Bring Your Own Image feature of
	// Oracle Cloud Infrastructure, see
	// Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm).
	// For more information about iPXE, see http://ipxe.org.
	IpxeScript *string `mandatory:"false" json:"ipxeScript"`

	// Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
	// * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.
	// * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	// * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
	LaunchMode InstanceLaunchModeEnum `mandatory:"false" json:"launchMode,omitempty"`

	LaunchOptions *LaunchOptions `mandatory:"false" json:"launchOptions"`

	InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"`

	AvailabilityConfig *InstanceAvailabilityConfig `mandatory:"false" json:"availabilityConfig"`

	PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `mandatory:"false" json:"preemptibleInstanceConfig"`

	// Custom metadata that you provide.
	Metadata map[string]string `mandatory:"false" json:"metadata"`

	ShapeConfig *InstanceShapeConfig `mandatory:"false" json:"shapeConfig"`

	// Whether the instance’s OCPUs and memory are distributed across multiple NUMA nodes.
	IsCrossNumaNode *bool `mandatory:"false" json:"isCrossNumaNode"`

	SourceDetails InstanceSourceDetails `mandatory:"false" json:"sourceDetails"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	AgentConfig *InstanceAgentConfig `mandatory:"false" json:"agentConfig"`

	// The date and time the instance is expected to be stopped / started,  in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// After that time if instance hasn't been rebooted, Oracle will reboot the instance within 24 hours of the due time.
	// Regardless of how the instance was stopped, the flag will be reset to empty as soon as instance reaches Stopped state.
	// Example: `2018-05-25T21:10:29.600Z`
	TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"`

	PlatformConfig PlatformConfig `mandatory:"false" json:"platformConfig"`

	// The OCID of the Instance Configuration used to source launch details for this instance. Any other fields supplied in the instance launch request override the details stored in the Instance Configuration for this instance launch.
	InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"`
}

Instance A compute host. The image used to launch the instance determines its operating system and other software. The shape specified during the launch process determines the number of CPUs and memory allocated to the instance. When you launch an instance, it is automatically attached to a virtual network interface card (VNIC), called the *primary VNIC*. The VNIC has a private IP address from the subnet's CIDR. You can either assign a private IP address of your choice or let Oracle automatically assign one. You can choose whether the instance has a public IP address. To retrieve the addresses, use the ListVnicAttachments operation to get the VNIC ID for the instance, and then call GetVnic with the VNIC ID. For more information, see Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (Instance) String ¶

func (m Instance) String() string

func (*Instance) UnmarshalJSON ¶

func (m *Instance) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Instance) ValidateEnumValue ¶

func (m Instance) 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 InstanceActionActionEnum ¶

type InstanceActionActionEnum string

InstanceActionActionEnum Enum with underlying type: string

const (
	InstanceActionActionStop                    InstanceActionActionEnum = "STOP"
	InstanceActionActionStart                   InstanceActionActionEnum = "START"
	InstanceActionActionSoftreset               InstanceActionActionEnum = "SOFTRESET"
	InstanceActionActionReset                   InstanceActionActionEnum = "RESET"
	InstanceActionActionSoftstop                InstanceActionActionEnum = "SOFTSTOP"
	InstanceActionActionSenddiagnosticinterrupt InstanceActionActionEnum = "SENDDIAGNOSTICINTERRUPT"
	InstanceActionActionDiagnosticreboot        InstanceActionActionEnum = "DIAGNOSTICREBOOT"
	InstanceActionActionRebootmigrate           InstanceActionActionEnum = "REBOOTMIGRATE"
)

Set of constants representing the allowable values for InstanceActionActionEnum

func GetInstanceActionActionEnumValues ¶

func GetInstanceActionActionEnumValues() []InstanceActionActionEnum

GetInstanceActionActionEnumValues Enumerates the set of values for InstanceActionActionEnum

func GetMappingInstanceActionActionEnum ¶

func GetMappingInstanceActionActionEnum(val string) (InstanceActionActionEnum, bool)

GetMappingInstanceActionActionEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceActionRequest ¶

type InstanceActionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// The action to perform on the instance.
	Action InstanceActionActionEnum `mandatory:"true" contributesTo:"query" name:"action" omitEmpty:"true"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Instance Power Action details
	InstancePowerActionDetails `contributesTo:"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 `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
}

InstanceActionRequest wrapper for the InstanceAction operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceActionRequest.

func (InstanceActionRequest) BinaryRequestBody ¶

func (request InstanceActionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (InstanceActionRequest) HTTPRequest ¶

func (request InstanceActionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (InstanceActionRequest) RetryPolicy ¶

func (request InstanceActionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (InstanceActionRequest) String ¶

func (request InstanceActionRequest) String() string

func (InstanceActionRequest) ValidateEnumValue ¶

func (request InstanceActionRequest) 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 InstanceActionResponse ¶

type InstanceActionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Instance instance
	Instance `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"`
}

InstanceActionResponse wrapper for the InstanceAction operation

func (InstanceActionResponse) HTTPResponse ¶

func (response InstanceActionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (InstanceActionResponse) String ¶

func (response InstanceActionResponse) String() string

type InstanceAgentConfig ¶

type InstanceAgentConfig struct {

	// Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
	// monitoring plugins.
	// These are the monitoring plugins: Compute Instance Monitoring
	// and Custom Logs Monitoring.
	// The monitoring plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You
	// can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig`
	// object.
	IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"`

	// Whether Oracle Cloud Agent can run all the available management plugins.
	// These are the management plugins: OS Management Service Agent and Compute Instance
	// Run Command.
	// The management plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isManagementDisabled` is false, all of the management plugins are enabled. You
	// can optionally disable individual management plugins by providing a value in the `pluginsConfig`
	// object.
	IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"`

	// Whether Oracle Cloud Agent can run all of the available plugins.
	// This includes the management and monitoring plugins.
	// For more information about the available plugins, see
	// Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
	AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"`

	// The configuration of plugins associated with this instance.
	PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"`
}

InstanceAgentConfig Configuration options for the Oracle Cloud Agent software running on the instance.

func (InstanceAgentConfig) String ¶

func (m InstanceAgentConfig) String() string

func (InstanceAgentConfig) ValidateEnumValue ¶

func (m InstanceAgentConfig) 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 InstanceAgentFeatures ¶

type InstanceAgentFeatures struct {

	// This attribute is not used.
	IsMonitoringSupported *bool `mandatory:"false" json:"isMonitoringSupported"`

	// This attribute is not used.
	IsManagementSupported *bool `mandatory:"false" json:"isManagementSupported"`
}

InstanceAgentFeatures Oracle Cloud Agent features supported on the image.

func (InstanceAgentFeatures) String ¶

func (m InstanceAgentFeatures) String() string

func (InstanceAgentFeatures) ValidateEnumValue ¶

func (m InstanceAgentFeatures) 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 InstanceAgentPluginConfigDetails ¶

type InstanceAgentPluginConfigDetails struct {

	// The plugin name. To get a list of available plugins, use the
	// ListInstanceagentAvailablePlugins
	// operation in the Oracle Cloud Agent API. For more information about the available plugins, see
	// Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
	Name *string `mandatory:"true" json:"name"`

	// Whether the plugin should be enabled or disabled.
	// To enable the monitoring and management plugins, the `isMonitoringDisabled` and
	// `isManagementDisabled` attributes must also be set to false.
	DesiredState InstanceAgentPluginConfigDetailsDesiredStateEnum `mandatory:"true" json:"desiredState"`
}

InstanceAgentPluginConfigDetails The configuration of plugins associated with this instance.

func (InstanceAgentPluginConfigDetails) String ¶

func (InstanceAgentPluginConfigDetails) ValidateEnumValue ¶

func (m InstanceAgentPluginConfigDetails) 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 InstanceAgentPluginConfigDetailsDesiredStateEnum ¶

type InstanceAgentPluginConfigDetailsDesiredStateEnum string

InstanceAgentPluginConfigDetailsDesiredStateEnum Enum with underlying type: string

const (
	InstanceAgentPluginConfigDetailsDesiredStateEnabled  InstanceAgentPluginConfigDetailsDesiredStateEnum = "ENABLED"
	InstanceAgentPluginConfigDetailsDesiredStateDisabled InstanceAgentPluginConfigDetailsDesiredStateEnum = "DISABLED"
)

Set of constants representing the allowable values for InstanceAgentPluginConfigDetailsDesiredStateEnum

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues ¶

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues() []InstanceAgentPluginConfigDetailsDesiredStateEnum

GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues Enumerates the set of values for InstanceAgentPluginConfigDetailsDesiredStateEnum

func GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum ¶

func GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum(val string) (InstanceAgentPluginConfigDetailsDesiredStateEnum, bool)

GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceAvailabilityConfig ¶

type InstanceAvailabilityConfig struct {

	// Whether to live migrate supported VM instances to a healthy physical VM host without
	// disrupting running instances during infrastructure maintenance events. If null, Oracle
	// chooses the best option for migrating the VM during infrastructure maintenance events.
	IsLiveMigrationPreferred *bool `mandatory:"false" json:"isLiveMigrationPreferred"`

	// The lifecycle state for an instance when it is recovered after infrastructure maintenance.
	// * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event.
	// If the instance was running, it is automatically rebooted. This is the default action when a value is not set.
	// * `STOP_INSTANCE` - The instance is recovered in the stopped state.
	RecoveryAction InstanceAvailabilityConfigRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"`
}

InstanceAvailabilityConfig Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.

func (InstanceAvailabilityConfig) String ¶

func (InstanceAvailabilityConfig) ValidateEnumValue ¶

func (m InstanceAvailabilityConfig) 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 InstanceAvailabilityConfigRecoveryActionEnum ¶

type InstanceAvailabilityConfigRecoveryActionEnum string

InstanceAvailabilityConfigRecoveryActionEnum Enum with underlying type: string

const (
	InstanceAvailabilityConfigRecoveryActionRestoreInstance InstanceAvailabilityConfigRecoveryActionEnum = "RESTORE_INSTANCE"
	InstanceAvailabilityConfigRecoveryActionStopInstance    InstanceAvailabilityConfigRecoveryActionEnum = "STOP_INSTANCE"
)

Set of constants representing the allowable values for InstanceAvailabilityConfigRecoveryActionEnum

func GetInstanceAvailabilityConfigRecoveryActionEnumValues ¶

func GetInstanceAvailabilityConfigRecoveryActionEnumValues() []InstanceAvailabilityConfigRecoveryActionEnum

GetInstanceAvailabilityConfigRecoveryActionEnumValues Enumerates the set of values for InstanceAvailabilityConfigRecoveryActionEnum

func GetMappingInstanceAvailabilityConfigRecoveryActionEnum ¶

func GetMappingInstanceAvailabilityConfigRecoveryActionEnum(val string) (InstanceAvailabilityConfigRecoveryActionEnum, bool)

GetMappingInstanceAvailabilityConfigRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfiguration ¶

type InstanceConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// containing the instance configuration.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the instance configuration was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	InstanceDetails InstanceConfigurationInstanceDetails `mandatory:"false" json:"instanceDetails"`

	// Parameters that were not specified when the instance configuration was created, but that
	// are required to launch an instance from the instance configuration. See the
	// LaunchInstanceConfiguration operation.
	DeferredFields []string `mandatory:"false" json:"deferredFields"`
}

InstanceConfiguration An instance configuration is a template that defines the settings to use when creating Compute instances. For more information about instance configurations, see Managing Compute Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm).

func (InstanceConfiguration) String ¶

func (m InstanceConfiguration) String() string

func (*InstanceConfiguration) UnmarshalJSON ¶

func (m *InstanceConfiguration) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (InstanceConfiguration) ValidateEnumValue ¶

func (m InstanceConfiguration) 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 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig ¶ added in v65.32.1

type InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig The platform configuration used when launching a bare metal GPU instance with the following shape: BM.GPU.GM4.8 (also named BM.GPU.A100-v2.8) (the AMD Milan platform).

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.32.1

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.32.1

func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.32.1

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.32.1

func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.32.1

MarshalJSON marshals to json representation

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) String ¶ added in v65.32.1

func (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.32.1

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 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.32.1

type InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.32.1

func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.32.1

func GetMappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig ¶

type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard.E4.128 or BM.DenseIO.E4.128 (the AMD Milan platform).

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) String ¶

func (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) ValidateEnumValue ¶

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 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶

type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶

func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶

func GetMappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig ¶ added in v65.4.0

type InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig The platform configuration of a bare metal GPU instance that uses the BM.GPU4.8 shape (the AMD Rome platform).

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.4.0

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.4.0

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.4.0

func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.4.0

MarshalJSON marshals to json representation

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) String ¶ added in v65.4.0

func (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.4.0

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 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig ¶

type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard.E3.128 shape (the AMD Rome platform).

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) String ¶

func (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue ¶

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 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationAmdVmLaunchInstancePlatformConfig ¶

type InstanceConfigurationAmdVmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

InstanceConfigurationAmdVmLaunchInstancePlatformConfig The platform configuration used when launching a virtual machine instance with the AMD platform.

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m InstanceConfigurationAmdVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) String ¶

func (InstanceConfigurationAmdVmLaunchInstancePlatformConfig) ValidateEnumValue ¶

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 InstanceConfigurationAttachVnicDetails ¶

type InstanceConfigurationAttachVnicDetails struct {
	CreateVnicDetails *InstanceConfigurationCreateVnicDetails `mandatory:"false" json:"createVnicDetails"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Which physical network interface card (NIC) the VNIC will use. Defaults to 0.
	// Certain bare metal instance shapes have two active physical NICs (0 and 1). If
	// you add a secondary VNIC to one of these instances, you can specify which NIC
	// the VNIC will use. For more information, see
	// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).
	NicIndex *int `mandatory:"false" json:"nicIndex"`
}

InstanceConfigurationAttachVnicDetails The representation of InstanceConfigurationAttachVnicDetails

func (InstanceConfigurationAttachVnicDetails) String ¶

func (InstanceConfigurationAttachVnicDetails) ValidateEnumValue ¶

func (m InstanceConfigurationAttachVnicDetails) 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 InstanceConfigurationAttachVolumeDetails ¶

type InstanceConfigurationAttachVolumeDetails interface {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// Whether the attachment should be created in read-only mode.
	GetIsReadOnly() *bool

	// The device name.
	GetDevice() *string

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	GetIsShareable() *bool
}

InstanceConfigurationAttachVolumeDetails Volume attachmentDetails. Please see AttachVolumeDetails

type InstanceConfigurationAutotunePolicy ¶ added in v65.18.1

type InstanceConfigurationAutotunePolicy interface {
}

InstanceConfigurationAutotunePolicy An autotune policy automatically tunes the volume's performace based on the type of the policy.

type InstanceConfigurationAutotunePolicyAutotuneTypeEnum ¶ added in v65.18.1

type InstanceConfigurationAutotunePolicyAutotuneTypeEnum string

InstanceConfigurationAutotunePolicyAutotuneTypeEnum Enum with underlying type: string

const (
	InstanceConfigurationAutotunePolicyAutotuneTypeDetachedVolume   InstanceConfigurationAutotunePolicyAutotuneTypeEnum = "DETACHED_VOLUME"
	InstanceConfigurationAutotunePolicyAutotuneTypePerformanceBased InstanceConfigurationAutotunePolicyAutotuneTypeEnum = "PERFORMANCE_BASED"
)

Set of constants representing the allowable values for InstanceConfigurationAutotunePolicyAutotuneTypeEnum

func GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumValues ¶ added in v65.18.1

func GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumValues() []InstanceConfigurationAutotunePolicyAutotuneTypeEnum

GetInstanceConfigurationAutotunePolicyAutotuneTypeEnumValues Enumerates the set of values for InstanceConfigurationAutotunePolicyAutotuneTypeEnum

func GetMappingInstanceConfigurationAutotunePolicyAutotuneTypeEnum ¶ added in v65.18.1

func GetMappingInstanceConfigurationAutotunePolicyAutotuneTypeEnum(val string) (InstanceConfigurationAutotunePolicyAutotuneTypeEnum, bool)

GetMappingInstanceConfigurationAutotunePolicyAutotuneTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationAvailabilityConfig ¶

type InstanceConfigurationAvailabilityConfig struct {

	// Whether to live migrate supported VM instances to a healthy physical VM host without
	// disrupting running instances during infrastructure maintenance events. If null, Oracle
	// chooses the best option for migrating the VM during infrastructure maintenance events.
	IsLiveMigrationPreferred *bool `mandatory:"false" json:"isLiveMigrationPreferred"`

	// The lifecycle state for an instance when it is recovered after infrastructure maintenance.
	// * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event.
	// If the instance was running, it is automatically rebooted. This is the default action when a value is not set.
	// * `STOP_INSTANCE` - The instance is recovered in the stopped state.
	RecoveryAction InstanceConfigurationAvailabilityConfigRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"`
}

InstanceConfigurationAvailabilityConfig Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware.

func (InstanceConfigurationAvailabilityConfig) String ¶

func (InstanceConfigurationAvailabilityConfig) ValidateEnumValue ¶

func (m InstanceConfigurationAvailabilityConfig) 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 InstanceConfigurationAvailabilityConfigRecoveryActionEnum ¶

type InstanceConfigurationAvailabilityConfigRecoveryActionEnum string

InstanceConfigurationAvailabilityConfigRecoveryActionEnum Enum with underlying type: string

const (
	InstanceConfigurationAvailabilityConfigRecoveryActionRestoreInstance InstanceConfigurationAvailabilityConfigRecoveryActionEnum = "RESTORE_INSTANCE"
	InstanceConfigurationAvailabilityConfigRecoveryActionStopInstance    InstanceConfigurationAvailabilityConfigRecoveryActionEnum = "STOP_INSTANCE"
)

Set of constants representing the allowable values for InstanceConfigurationAvailabilityConfigRecoveryActionEnum

func GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumValues ¶

func GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumValues() []InstanceConfigurationAvailabilityConfigRecoveryActionEnum

GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumValues Enumerates the set of values for InstanceConfigurationAvailabilityConfigRecoveryActionEnum

func GetMappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum ¶

func GetMappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum(val string) (InstanceConfigurationAvailabilityConfigRecoveryActionEnum, bool)

GetMappingInstanceConfigurationAvailabilityConfigRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationBlockVolumeDetails ¶

type InstanceConfigurationBlockVolumeDetails struct {
	AttachDetails InstanceConfigurationAttachVolumeDetails `mandatory:"false" json:"attachDetails"`

	CreateDetails *InstanceConfigurationCreateVolumeDetails `mandatory:"false" json:"createDetails"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"false" json:"volumeId"`
}

InstanceConfigurationBlockVolumeDetails Create new block volumes or attach to an existing volume. Specify either createDetails or volumeId.

func (InstanceConfigurationBlockVolumeDetails) String ¶

func (*InstanceConfigurationBlockVolumeDetails) UnmarshalJSON ¶

func (m *InstanceConfigurationBlockVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (InstanceConfigurationBlockVolumeDetails) ValidateEnumValue ¶

func (m InstanceConfigurationBlockVolumeDetails) 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 InstanceConfigurationBlockVolumeReplicaDetails ¶ added in v65.37.1

type InstanceConfigurationBlockVolumeReplicaDetails struct {

	// The availability domain of the block volume replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The display name of the block volume replica. You may optionally specify a *display name* for
	// the block volume replica, otherwise a default is provided.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

InstanceConfigurationBlockVolumeReplicaDetails Contains the details for the block volume replica

func (InstanceConfigurationBlockVolumeReplicaDetails) String ¶ added in v65.37.1

func (InstanceConfigurationBlockVolumeReplicaDetails) ValidateEnumValue ¶ added in v65.37.1

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 InstanceConfigurationCreateVnicDetails ¶

type InstanceConfigurationCreateVnicDetails struct {

	// Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
	// subnet. Default: False. When provided you may optionally provide an IPv6 prefix
	// (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
	// is not provided then an IPv6 prefix is chosen
	// for you.
	AssignIpv6Ip *bool `mandatory:"false" json:"assignIpv6Ip"`

	// Whether the VNIC should be assigned a public IP address. See the `assignPublicIp` attribute of CreateVnicDetails
	// for more information.
	AssignPublicIp *bool `mandatory:"false" json:"assignPublicIp"`

	// Whether the VNIC should be assigned a private DNS record. See the `assignPrivateDnsRecord` attribute of CreateVnicDetails
	// for more information.
	AssignPrivateDnsRecord *bool `mandatory:"false" json:"assignPrivateDnsRecord"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// A list of IPv6 prefixes from which the VNIC should be assigned an IPv6 address.
	// You can provide only the prefix and OCI selects an available
	// address from the range. You can optionally choose to leave the prefix range empty
	// and instead provide the specific IPv6 address that should be used from within that range.
	Ipv6AddressIpv6SubnetCidrPairDetails []InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`

	// The hostname for the VNIC's primary private IP.
	// See the `hostnameLabel` attribute of CreateVnicDetails for more information.
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more
	// information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// A private IP address of your choice to assign to the VNIC.
	// See the `privateIp` attribute of CreateVnicDetails for more information.
	PrivateIp *string `mandatory:"false" json:"privateIp"`

	// Whether the source/destination check is disabled on the VNIC.
	// See the `skipSourceDestCheck` attribute of CreateVnicDetails for more information.
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`

	// The OCID of the subnet to create the VNIC in.
	// See the `subnetId` attribute of CreateVnicDetails for more information.
	SubnetId *string `mandatory:"false" json:"subnetId"`
}

InstanceConfigurationCreateVnicDetails Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails and Instance Configurations (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm#config) for more information.

func (InstanceConfigurationCreateVnicDetails) String ¶

func (InstanceConfigurationCreateVnicDetails) ValidateEnumValue ¶

func (m InstanceConfigurationCreateVnicDetails) 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 InstanceConfigurationCreateVolumeDetails ¶

type InstanceConfigurationCreateVolumeDetails struct {

	// The availability domain of the volume.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// If provided, specifies the ID of the volume backup policy to assign to the newly
	// created volume. If omitted, no policy will be assigned.
	BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"`

	// The OCID of the compartment that contains the volume.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated.
	// Use the `InstanceConfigurationDetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The list of block volume replicas to be enabled for this volume
	// in the specified destination availability domains.
	BlockVolumeReplicas []InstanceConfigurationBlockVolumeReplicaDetails `mandatory:"false" json:"blockVolumeReplicas"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the Vault service key to assign as the master encryption key
	// for the volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `0`: Represents Lower Cost option.
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// The clusterPlacementGroup Id of the volume for volume placement.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// The size of the volume in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	SourceDetails InstanceConfigurationVolumeSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The list of autotune policies enabled for this volume.
	AutotunePolicies []InstanceConfigurationAutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

InstanceConfigurationCreateVolumeDetails Creates a new block volume. Please see CreateVolumeDetails

func (InstanceConfigurationCreateVolumeDetails) String ¶

func (*InstanceConfigurationCreateVolumeDetails) UnmarshalJSON ¶

func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (InstanceConfigurationCreateVolumeDetails) ValidateEnumValue ¶

func (m InstanceConfigurationCreateVolumeDetails) 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 InstanceConfigurationDetachedVolumeAutotunePolicy ¶ added in v65.18.1

type InstanceConfigurationDetachedVolumeAutotunePolicy struct {
}

InstanceConfigurationDetachedVolumeAutotunePolicy Volume's performace will be tuned to the lower cost settings once detached.

func (InstanceConfigurationDetachedVolumeAutotunePolicy) MarshalJSON ¶ added in v65.18.1

func (m InstanceConfigurationDetachedVolumeAutotunePolicy) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InstanceConfigurationDetachedVolumeAutotunePolicy) String ¶ added in v65.18.1

func (InstanceConfigurationDetachedVolumeAutotunePolicy) ValidateEnumValue ¶ added in v65.18.1

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 InstanceConfigurationGenericBmLaunchInstancePlatformConfig ¶ added in v65.48.0

type InstanceConfigurationGenericBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the Access Control Service is enabled on the instance. When enabled,
	// the platform can enforce PCIe device isolation, required for VFIO device pass-through.
	IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`

	// Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
	// or VT-x for Intel shapes.
	AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationGenericBmLaunchInstancePlatformConfig The standard platform configuration to be used when launching a bare metal instance.

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.48.0

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.48.0

func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.48.0

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.48.0

func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.48.0

MarshalJSON marshals to json representation

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) String ¶ added in v65.48.0

func (InstanceConfigurationGenericBmLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.48.0

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 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

type InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
	InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
	InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
)

Set of constants representing the allowable values for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.48.0

func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

func GetMappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationInstanceDetails ¶

type InstanceConfigurationInstanceDetails interface {
}

InstanceConfigurationInstanceDetails The representation of InstanceConfigurationInstanceDetails

type InstanceConfigurationInstanceOptions ¶

type InstanceConfigurationInstanceOptions struct {

	// Whether to disable the legacy (/v1) instance metadata service endpoints.
	// Customers who have migrated to /v2 should set this to true for added security.
	// Default is false.
	AreLegacyImdsEndpointsDisabled *bool `mandatory:"false" json:"areLegacyImdsEndpointsDisabled"`
}

InstanceConfigurationInstanceOptions Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.

func (InstanceConfigurationInstanceOptions) String ¶

func (InstanceConfigurationInstanceOptions) ValidateEnumValue ¶

func (m InstanceConfigurationInstanceOptions) 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 InstanceConfigurationInstanceSourceDetails ¶

type InstanceConfigurationInstanceSourceDetails interface {
}

InstanceConfigurationInstanceSourceDetails The representation of InstanceConfigurationInstanceSourceDetails

type InstanceConfigurationInstanceSourceImageFilterDetails ¶ added in v65.44.0

type InstanceConfigurationInstanceSourceImageFilterDetails struct {

	// The OCID of the compartment containing images to search
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Filter based on these defined tags. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTagsFilter map[string]map[string]interface{} `mandatory:"false" json:"definedTagsFilter"`

	// The image's operating system.
	// Example: `Oracle Linux`
	OperatingSystem *string `mandatory:"false" json:"operatingSystem"`

	// The image's operating system version.
	// Example: `7.2`
	OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"`
}

InstanceConfigurationInstanceSourceImageFilterDetails These are the criteria for selecting an image. This is required if imageId is not specified.

func (InstanceConfigurationInstanceSourceImageFilterDetails) String ¶ added in v65.44.0

func (InstanceConfigurationInstanceSourceImageFilterDetails) ValidateEnumValue ¶ added in v65.44.0

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 InstanceConfigurationInstanceSourceViaBootVolumeDetails ¶

type InstanceConfigurationInstanceSourceViaBootVolumeDetails struct {

	// The OCID of the boot volume used to boot the instance.
	BootVolumeId *string `mandatory:"false" json:"bootVolumeId"`
}

InstanceConfigurationInstanceSourceViaBootVolumeDetails The representation of InstanceConfigurationInstanceSourceViaBootVolumeDetails

func (InstanceConfigurationInstanceSourceViaBootVolumeDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationInstanceSourceViaBootVolumeDetails) String ¶

func (InstanceConfigurationInstanceSourceViaBootVolumeDetails) ValidateEnumValue ¶

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 InstanceConfigurationInstanceSourceViaImageDetails ¶

type InstanceConfigurationInstanceSourceViaImageDetails struct {

	// The size of the boot volume in GBs. The minimum value is 50 GB and the maximum
	// value is 32,768 GB (32 TB).
	BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"`

	// The OCID of the image used to boot the instance.
	ImageId *string `mandatory:"false" json:"imageId"`

	// The OCID of the Vault service key to assign as the master encryption key for the boot volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	BootVolumeVpusPerGB *int64 `mandatory:"false" json:"bootVolumeVpusPerGB"`

	InstanceSourceImageFilterDetails *InstanceConfigurationInstanceSourceImageFilterDetails `mandatory:"false" json:"instanceSourceImageFilterDetails"`
}

InstanceConfigurationInstanceSourceViaImageDetails The representation of InstanceConfigurationInstanceSourceViaImageDetails

func (InstanceConfigurationInstanceSourceViaImageDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationInstanceSourceViaImageDetails) String ¶

func (InstanceConfigurationInstanceSourceViaImageDetails) ValidateEnumValue ¶

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 InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig ¶ added in v65.4.0

type InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard3.64 shape or the BM.Optimized3.36 shape (the Intel Ice Lake platform).

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.4.0

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.4.0

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.4.0

func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.4.0

MarshalJSON marshals to json representation

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) String ¶ added in v65.4.0

func (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.4.0

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 InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
)

Set of constants representing the allowable values for InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig ¶

type InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with one of the following shapes: BM.Standard2.52, BM.GPU2.2, BM.GPU3.8, or BM.DenseIO2.52 (the Intel Skylake platform).

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) String ¶

func (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) ValidateEnumValue ¶

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 InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

type InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
)

Set of constants representing the allowable values for InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.48.0

func GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

func GetMappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationIntelVmLaunchInstancePlatformConfig ¶

type InstanceConfigurationIntelVmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

InstanceConfigurationIntelVmLaunchInstancePlatformConfig The platform configuration used when launching a virtual machine instance with the Intel platform.

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m InstanceConfigurationIntelVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) String ¶

func (InstanceConfigurationIntelVmLaunchInstancePlatformConfig) ValidateEnumValue ¶

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 InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails ¶ added in v65.48.0

type InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails struct {

	// Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
	Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`

	// Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
	Ipv6Address *string `mandatory:"false" json:"ipv6Address"`
}

InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails Optional. Used to specify from which subnet prefixes an IPv6 address should be allocated, or to assign valid available IPv6 addresses.

func (InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails) String ¶ added in v65.48.0

func (InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails) ValidateEnumValue ¶ added in v65.48.0

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 InstanceConfigurationIscsiAttachVolumeDetails ¶

type InstanceConfigurationIscsiAttachVolumeDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment should be created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// The device name.
	Device *string `mandatory:"false" json:"device"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether to use CHAP authentication for the volume attachment. Defaults to false.
	UseChap *bool `mandatory:"false" json:"useChap"`
}

InstanceConfigurationIscsiAttachVolumeDetails The representation of InstanceConfigurationIscsiAttachVolumeDetails

func (InstanceConfigurationIscsiAttachVolumeDetails) GetDevice ¶

GetDevice returns Device

func (InstanceConfigurationIscsiAttachVolumeDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (InstanceConfigurationIscsiAttachVolumeDetails) GetIsReadOnly ¶

GetIsReadOnly returns IsReadOnly

func (InstanceConfigurationIscsiAttachVolumeDetails) GetIsShareable ¶

GetIsShareable returns IsShareable

func (InstanceConfigurationIscsiAttachVolumeDetails) MarshalJSON ¶

func (m InstanceConfigurationIscsiAttachVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InstanceConfigurationIscsiAttachVolumeDetails) String ¶

func (InstanceConfigurationIscsiAttachVolumeDetails) ValidateEnumValue ¶

func (m InstanceConfigurationIscsiAttachVolumeDetails) 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 InstanceConfigurationLaunchInstanceAgentConfigDetails ¶

type InstanceConfigurationLaunchInstanceAgentConfigDetails struct {

	// Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
	// monitoring plugins. Default value is false (monitoring plugins are enabled).
	// These are the monitoring plugins: Compute Instance Monitoring
	// and Custom Logs Monitoring.
	// The monitoring plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You
	// can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig`
	// object.
	IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"`

	// Whether Oracle Cloud Agent can run all the available management plugins.
	// Default value is false (management plugins are enabled).
	// These are the management plugins: OS Management Service Agent and Compute Instance
	// Run Command.
	// The management plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isManagementDisabled` is false, all of the management plugins are enabled. You
	// can optionally disable individual management plugins by providing a value in the `pluginsConfig`
	// object.
	IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"`

	// Whether Oracle Cloud Agent can run all the available plugins.
	// This includes the management and monitoring plugins.
	// To get a list of available plugins, use the
	// ListInstanceagentAvailablePlugins
	// operation in the Oracle Cloud Agent API. For more information about the available plugins, see
	// Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
	AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"`

	// The configuration of plugins associated with this instance.
	PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"`
}

InstanceConfigurationLaunchInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance.

func (InstanceConfigurationLaunchInstanceAgentConfigDetails) String ¶

func (InstanceConfigurationLaunchInstanceAgentConfigDetails) ValidateEnumValue ¶

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 InstanceConfigurationLaunchInstanceDetails ¶

type InstanceConfigurationLaunchInstanceDetails struct {

	// The availability domain of the instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID of the compute capacity reservation this instance is launched under.
	CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"`

	// The OCID of the compartment containing the instance.
	// Instances created from instance configurations are placed in the same compartment
	// as the instance that was used to create the instance configuration.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID of the cluster placement group of the instance.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	CreateVnicDetails *InstanceConfigurationCreateVnicDetails `mandatory:"false" json:"createVnicDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Additional metadata key/value pairs that you provide. They serve the same purpose and
	// functionality as fields in the `metadata` object.
	// They are distinguished from `metadata` fields in that these can be nested JSON objects
	// (whereas `metadata` fields are string/string maps only).
	// The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of
	// 32,000 bytes.
	ExtendedMetadata map[string]interface{} `mandatory:"false" json:"extendedMetadata"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// This is an advanced option.
	// When a bare metal or virtual machine
	// instance boots, the iPXE firmware that runs on the instance is
	// configured to run an iPXE script to continue the boot process.
	// If you want more control over the boot process, you can provide
	// your own custom iPXE script that will run when the instance boots;
	// however, you should be aware that the same iPXE script will run
	// every time an instance boots; not only after the initial
	// LaunchInstance call.
	// The default iPXE script connects to the instance's local boot
	// volume over iSCSI and performs a network boot. If you use a custom iPXE
	// script and want to network-boot from the instance's local boot volume
	// over iSCSI the same way as the default iPXE script, you should use the
	// following iSCSI IP address: 169.254.0.2, and boot volume IQN:
	// iqn.2015-02.oracle.boot.
	// For more information about the Bring Your Own Image feature of
	// Oracle Cloud Infrastructure, see
	// Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm).
	// For more information about iPXE, see http://ipxe.org.
	IpxeScript *string `mandatory:"false" json:"ipxeScript"`

	// Custom metadata key/value pairs that you provide, such as the SSH public key
	// required to connect to the instance.
	// A metadata service runs on every launched instance. The service is an HTTP
	// endpoint listening on 169.254.169.254. You can use the service to:
	// * Provide information to Cloud-Init (https://cloudinit.readthedocs.org/en/latest/)
	//   to be used for various system initialization tasks.
	// * Get information about the instance, including the custom metadata that you
	//   provide when you launch the instance.
	//  **Providing Cloud-Init Metadata**
	//  You can use the following metadata key names to provide information to
	//  Cloud-Init:
	//  **"ssh_authorized_keys"** - Provide one or more public SSH keys to be
	//  included in the `~/.ssh/authorized_keys` file for the default user on the
	//  instance. Use a newline character to separate multiple keys. The SSH
	//  keys must be in the format necessary for the `authorized_keys` file, as shown
	//  in the example below.
	//  **"user_data"** - Provide your own base64-encoded data to be used by
	//  Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For
	//  information about how to take advantage of user data, see the
	//  Cloud-Init Documentation (http://cloudinit.readthedocs.org/en/latest/topics/format.html).
	//  **Metadata Example**
	//       "metadata" : {
	//          "quake_bot_level" : "Severe",
	//          "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227",
	//          "user_data" : "<your_public_SSH_key>=="
	//       }
	//  **Getting Metadata on the Instance**
	//  To get information about your instance, connect to the instance using SSH and issue any of the
	//  following GET requests:
	//      curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
	//      curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
	//      curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
	//  You'll get back a response that includes all the instance information; only the metadata information; or
	//  the metadata information for the specified key name, respectively.
	//  The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
	Metadata map[string]string `mandatory:"false" json:"metadata"`

	// The shape of an instance. The shape determines the number of CPUs, amount of memory,
	// and other resources allocated to the instance.
	// You can enumerate all available shapes by calling ListShapes.
	Shape *string `mandatory:"false" json:"shape"`

	ShapeConfig *InstanceConfigurationLaunchInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"`

	PlatformConfig InstanceConfigurationLaunchInstancePlatformConfig `mandatory:"false" json:"platformConfig"`

	SourceDetails InstanceConfigurationInstanceSourceDetails `mandatory:"false" json:"sourceDetails"`

	// A fault domain is a grouping of hardware and infrastructure within an availability domain.
	// Each availability domain contains three fault domains. Fault domains let you distribute your
	// instances so that they are not on the same physical hardware within a single availability domain.
	// A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
	// instances in other fault domains.
	// If you do not specify the fault domain, the system selects one for you.
	//
	// To get a list of fault domains, use the
	// ListFaultDomains operation in the
	// Identity and Access Management Service API.
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The OCID of the dedicated virtual machine host to place the instance on.
	// Dedicated VM hosts can be used when launching individual instances from an instance configuration. They
	// cannot be used to launch instance pools.
	DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"`

	// Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
	// * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.
	// * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	// * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
	LaunchMode InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum `mandatory:"false" json:"launchMode,omitempty"`

	LaunchOptions *InstanceConfigurationLaunchOptions `mandatory:"false" json:"launchOptions"`

	AgentConfig *InstanceConfigurationLaunchInstanceAgentConfigDetails `mandatory:"false" json:"agentConfig"`

	// Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live migration is supported.
	// * `LIVE_MIGRATE` - Run maintenance using a live migration.
	// * `REBOOT` - Run maintenance using a reboot.
	PreferredMaintenanceAction InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum `mandatory:"false" json:"preferredMaintenanceAction,omitempty"`

	InstanceOptions *InstanceConfigurationInstanceOptions `mandatory:"false" json:"instanceOptions"`

	AvailabilityConfig *InstanceConfigurationAvailabilityConfig `mandatory:"false" json:"availabilityConfig"`

	PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `mandatory:"false" json:"preemptibleInstanceConfig"`
}

InstanceConfigurationLaunchInstanceDetails Instance launch details for creating an instance from an instance configuration. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. See LaunchInstanceDetails for more information.

func (InstanceConfigurationLaunchInstanceDetails) String ¶

func (*InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON ¶

func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (InstanceConfigurationLaunchInstanceDetails) ValidateEnumValue ¶

func (m InstanceConfigurationLaunchInstanceDetails) 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 InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum ¶

type InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum string

InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchInstanceDetailsLaunchModeNative          InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum = "NATIVE"
	InstanceConfigurationLaunchInstanceDetailsLaunchModeEmulated        InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum = "EMULATED"
	InstanceConfigurationLaunchInstanceDetailsLaunchModeParavirtualized InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum = "PARAVIRTUALIZED"
	InstanceConfigurationLaunchInstanceDetailsLaunchModeCustom          InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum = "CUSTOM"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum

func GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumValues ¶

func GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumValues() []InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum

GetInstanceConfigurationLaunchInstanceDetailsLaunchModeEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum

func GetMappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum ¶

func GetMappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum(val string) (InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum, bool)

GetMappingInstanceConfigurationLaunchInstanceDetailsLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum ¶

type InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum string

InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionLiveMigrate InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum = "LIVE_MIGRATE"
	InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionReboot      InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum = "REBOOT"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum

func GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumValues ¶

func GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumValues() []InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum

GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum

func GetMappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum ¶

func GetMappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum(val string) (InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum, bool)

GetMappingInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchInstancePlatformConfig ¶

type InstanceConfigurationLaunchInstancePlatformConfig interface {

	// Whether Secure Boot is enabled on the instance.
	GetIsSecureBootEnabled() *bool

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	GetIsTrustedPlatformModuleEnabled() *bool

	// Whether the Measured Boot feature is enabled on the instance.
	GetIsMeasuredBootEnabled() *bool

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	GetIsMemoryEncryptionEnabled() *bool
}

InstanceConfigurationLaunchInstancePlatformConfig The platform configuration requested for the instance. If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the `shape` that you specify. If you don't provide the parameter, the default values for the `shape` are used. Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned.

type InstanceConfigurationLaunchInstancePlatformConfigTypeEnum ¶

type InstanceConfigurationLaunchInstancePlatformConfigTypeEnum string

InstanceConfigurationLaunchInstancePlatformConfigTypeEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBm     InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM"
	InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu  InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM_GPU"
	InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm      InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM"
	InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu   InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM_GPU"
	InstanceConfigurationLaunchInstancePlatformConfigTypeGenericBm      InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "GENERIC_BM"
	InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_ICELAKE_BM"
	InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_SKYLAKE_BM"
	InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm          InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_VM"
	InstanceConfigurationLaunchInstancePlatformConfigTypeIntelVm        InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_VM"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum

func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues ¶

func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues() []InstanceConfigurationLaunchInstancePlatformConfigTypeEnum

GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum

func GetMappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum ¶

func GetMappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum(val string) (InstanceConfigurationLaunchInstancePlatformConfigTypeEnum, bool)

GetMappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchInstanceShapeConfigDetails ¶

type InstanceConfigurationLaunchInstanceShapeConfigDetails struct {

	// The total number of OCPUs available to the instance.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The total number of VCPUs available to the instance. This can be used instead of OCPUs,
	// in which case the actual number of OCPUs will be calculated based on this value
	// and the actual hardware. This must be a multiple of 2.
	Vcpus *int `mandatory:"false" json:"vcpus"`

	// The total amount of memory available to the instance, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

	// The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a
	// non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`.
	// The following values are supported:
	// - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU.
	// - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU.
	// - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance.
	BaselineOcpuUtilization InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"`

	// The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
	Nvmes *int `mandatory:"false" json:"nvmes"`
}

InstanceConfigurationLaunchInstanceShapeConfigDetails The shape configuration requested for the instance. If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the `shape` that you specify. Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned.

func (InstanceConfigurationLaunchInstanceShapeConfigDetails) String ¶

func (InstanceConfigurationLaunchInstanceShapeConfigDetails) ValidateEnumValue ¶

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 InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum ¶

type InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum string

InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization8 InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_8"
	InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization2 InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_2"
	InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1 InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_1"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues ¶

func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum ¶

func GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (InstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool)

GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchOptions ¶

type InstanceConfigurationLaunchOptions struct {

	// Emulation type for the boot volume.
	// * `ISCSI` - ISCSI attached block storage device.
	// * `SCSI` - Emulated SCSI disk.
	// * `IDE` - Emulated IDE disk.
	// * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
	// volumes on platform images.
	// * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
	// storage volumes on platform images.
	BootVolumeType InstanceConfigurationLaunchOptionsBootVolumeTypeEnum `mandatory:"false" json:"bootVolumeType,omitempty"`

	// Firmware used to boot VM. Select the option that matches your operating system.
	// * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
	// systems that boot using MBR style bootloaders.
	// * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
	// default for platform images.
	Firmware InstanceConfigurationLaunchOptionsFirmwareEnum `mandatory:"false" json:"firmware,omitempty"`

	// Emulation type for the physical network interface card (NIC).
	// * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
	// * `VFIO` - Direct attached Virtual Function network controller. This is the networking type
	// when you launch an instance using hardware-assisted (SR-IOV) networking.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	NetworkType InstanceConfigurationLaunchOptionsNetworkTypeEnum `mandatory:"false" json:"networkType,omitempty"`

	// Emulation type for volume.
	// * `ISCSI` - ISCSI attached block storage device.
	// * `SCSI` - Emulated SCSI disk.
	// * `IDE` - Emulated IDE disk.
	// * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
	// volumes on platform images.
	// * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
	// storage volumes on platform images.
	RemoteDataVolumeType InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum `mandatory:"false" json:"remoteDataVolumeType,omitempty"`

	// Deprecated. Instead use `isPvEncryptionInTransitEnabled` in
	// InstanceConfigurationLaunchInstanceDetails.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// Whether to enable consistent volume naming feature. Defaults to false.
	IsConsistentVolumeNamingEnabled *bool `mandatory:"false" json:"isConsistentVolumeNamingEnabled"`
}

InstanceConfigurationLaunchOptions Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.

func (InstanceConfigurationLaunchOptions) String ¶

func (InstanceConfigurationLaunchOptions) ValidateEnumValue ¶

func (m InstanceConfigurationLaunchOptions) 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 InstanceConfigurationLaunchOptionsBootVolumeTypeEnum ¶

type InstanceConfigurationLaunchOptionsBootVolumeTypeEnum string

InstanceConfigurationLaunchOptionsBootVolumeTypeEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchOptionsBootVolumeTypeIscsi           InstanceConfigurationLaunchOptionsBootVolumeTypeEnum = "ISCSI"
	InstanceConfigurationLaunchOptionsBootVolumeTypeScsi            InstanceConfigurationLaunchOptionsBootVolumeTypeEnum = "SCSI"
	InstanceConfigurationLaunchOptionsBootVolumeTypeIde             InstanceConfigurationLaunchOptionsBootVolumeTypeEnum = "IDE"
	InstanceConfigurationLaunchOptionsBootVolumeTypeVfio            InstanceConfigurationLaunchOptionsBootVolumeTypeEnum = "VFIO"
	InstanceConfigurationLaunchOptionsBootVolumeTypeParavirtualized InstanceConfigurationLaunchOptionsBootVolumeTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchOptionsBootVolumeTypeEnum

func GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumValues ¶

func GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumValues() []InstanceConfigurationLaunchOptionsBootVolumeTypeEnum

GetInstanceConfigurationLaunchOptionsBootVolumeTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsBootVolumeTypeEnum

func GetMappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum ¶

func GetMappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum(val string) (InstanceConfigurationLaunchOptionsBootVolumeTypeEnum, bool)

GetMappingInstanceConfigurationLaunchOptionsBootVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchOptionsFirmwareEnum ¶

type InstanceConfigurationLaunchOptionsFirmwareEnum string

InstanceConfigurationLaunchOptionsFirmwareEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchOptionsFirmwareBios   InstanceConfigurationLaunchOptionsFirmwareEnum = "BIOS"
	InstanceConfigurationLaunchOptionsFirmwareUefi64 InstanceConfigurationLaunchOptionsFirmwareEnum = "UEFI_64"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchOptionsFirmwareEnum

func GetInstanceConfigurationLaunchOptionsFirmwareEnumValues ¶

func GetInstanceConfigurationLaunchOptionsFirmwareEnumValues() []InstanceConfigurationLaunchOptionsFirmwareEnum

GetInstanceConfigurationLaunchOptionsFirmwareEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsFirmwareEnum

func GetMappingInstanceConfigurationLaunchOptionsFirmwareEnum ¶

func GetMappingInstanceConfigurationLaunchOptionsFirmwareEnum(val string) (InstanceConfigurationLaunchOptionsFirmwareEnum, bool)

GetMappingInstanceConfigurationLaunchOptionsFirmwareEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchOptionsNetworkTypeEnum ¶

type InstanceConfigurationLaunchOptionsNetworkTypeEnum string

InstanceConfigurationLaunchOptionsNetworkTypeEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchOptionsNetworkTypeE1000           InstanceConfigurationLaunchOptionsNetworkTypeEnum = "E1000"
	InstanceConfigurationLaunchOptionsNetworkTypeVfio            InstanceConfigurationLaunchOptionsNetworkTypeEnum = "VFIO"
	InstanceConfigurationLaunchOptionsNetworkTypeParavirtualized InstanceConfigurationLaunchOptionsNetworkTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchOptionsNetworkTypeEnum

func GetInstanceConfigurationLaunchOptionsNetworkTypeEnumValues ¶

func GetInstanceConfigurationLaunchOptionsNetworkTypeEnumValues() []InstanceConfigurationLaunchOptionsNetworkTypeEnum

GetInstanceConfigurationLaunchOptionsNetworkTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsNetworkTypeEnum

func GetMappingInstanceConfigurationLaunchOptionsNetworkTypeEnum ¶

func GetMappingInstanceConfigurationLaunchOptionsNetworkTypeEnum(val string) (InstanceConfigurationLaunchOptionsNetworkTypeEnum, bool)

GetMappingInstanceConfigurationLaunchOptionsNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum ¶

type InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum string

InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum Enum with underlying type: string

const (
	InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeIscsi           InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum = "ISCSI"
	InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeScsi            InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum = "SCSI"
	InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeIde             InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum = "IDE"
	InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeVfio            InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum = "VFIO"
	InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeParavirtualized InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum

func GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumValues ¶

func GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumValues() []InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum

GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum

func GetMappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum ¶

func GetMappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum(val string) (InstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum, bool)

GetMappingInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceConfigurationParavirtualizedAttachVolumeDetails ¶

type InstanceConfigurationParavirtualizedAttachVolumeDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment should be created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// The device name.
	Device *string `mandatory:"false" json:"device"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
}

InstanceConfigurationParavirtualizedAttachVolumeDetails The representation of InstanceConfigurationParavirtualizedAttachVolumeDetails

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) GetDevice ¶

GetDevice returns Device

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) GetIsReadOnly ¶

GetIsReadOnly returns IsReadOnly

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) GetIsShareable ¶

GetIsShareable returns IsShareable

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) String ¶

func (InstanceConfigurationParavirtualizedAttachVolumeDetails) ValidateEnumValue ¶

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 InstanceConfigurationPerformanceBasedAutotunePolicy ¶ added in v65.18.1

type InstanceConfigurationPerformanceBasedAutotunePolicy struct {

	// This will be the maximum VPUs/GB performance level that the volume will be auto-tuned
	// temporarily based on performance monitoring.
	MaxVpusPerGB *int64 `mandatory:"true" json:"maxVpusPerGB"`
}

InstanceConfigurationPerformanceBasedAutotunePolicy If a volume is being throttled at the current setting for a certain period of time, auto-tune will gradually increase the volume’s performance limited up to Maximum VPUs/GB. After the volume has been idle at the current setting for a certain period of time, auto-tune will gradually decrease the volume’s performance limited down to Default/Minimum VPUs/GB.

func (InstanceConfigurationPerformanceBasedAutotunePolicy) MarshalJSON ¶ added in v65.18.1

MarshalJSON marshals to json representation

func (InstanceConfigurationPerformanceBasedAutotunePolicy) String ¶ added in v65.18.1

func (InstanceConfigurationPerformanceBasedAutotunePolicy) ValidateEnumValue ¶ added in v65.18.1

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 InstanceConfigurationSummary ¶

type InstanceConfigurationSummary struct {

	// The OCID of the compartment containing the instance configuration.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the instance configuration.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the instance configuration was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

InstanceConfigurationSummary Summary information for an instance configuration.

func (InstanceConfigurationSummary) String ¶

func (InstanceConfigurationSummary) ValidateEnumValue ¶

func (m InstanceConfigurationSummary) 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 InstanceConfigurationVolumeSourceDetails ¶

type InstanceConfigurationVolumeSourceDetails interface {
}

InstanceConfigurationVolumeSourceDetails The representation of InstanceConfigurationVolumeSourceDetails

type InstanceConfigurationVolumeSourceFromVolumeBackupDetails ¶

type InstanceConfigurationVolumeSourceFromVolumeBackupDetails struct {

	// The OCID of the volume backup.
	Id *string `mandatory:"false" json:"id"`
}

InstanceConfigurationVolumeSourceFromVolumeBackupDetails Specifies the volume backup.

func (InstanceConfigurationVolumeSourceFromVolumeBackupDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationVolumeSourceFromVolumeBackupDetails) String ¶

func (InstanceConfigurationVolumeSourceFromVolumeBackupDetails) ValidateEnumValue ¶

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 InstanceConfigurationVolumeSourceFromVolumeDetails ¶

type InstanceConfigurationVolumeSourceFromVolumeDetails struct {

	// The OCID of the volume.
	Id *string `mandatory:"false" json:"id"`
}

InstanceConfigurationVolumeSourceFromVolumeDetails Specifies the source volume.

func (InstanceConfigurationVolumeSourceFromVolumeDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (InstanceConfigurationVolumeSourceFromVolumeDetails) String ¶

func (InstanceConfigurationVolumeSourceFromVolumeDetails) ValidateEnumValue ¶

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 InstanceConsoleConnection ¶

type InstanceConsoleConnection struct {

	// The OCID of the compartment to contain the console connection.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The SSH connection string for the console connection.
	ConnectionString *string `mandatory:"false" json:"connectionString"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The SSH public key's fingerprint for client authentication to the console connection.
	Fingerprint *string `mandatory:"false" json:"fingerprint"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the console connection.
	Id *string `mandatory:"false" json:"id"`

	// The OCID of the instance the console connection connects to.
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// The current state of the console connection.
	LifecycleState InstanceConsoleConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The SSH public key's fingerprint for the console connection service host.
	ServiceHostKeyFingerprint *string `mandatory:"false" json:"serviceHostKeyFingerprint"`

	// The SSH connection string for the SSH tunnel used to
	// connect to the console connection over VNC.
	VncConnectionString *string `mandatory:"false" json:"vncConnectionString"`
}

InstanceConsoleConnection The `InstanceConsoleConnection` API provides you with console access to Compute instances, enabling you to troubleshoot malfunctioning instances remotely. For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm).

func (InstanceConsoleConnection) String ¶

func (m InstanceConsoleConnection) String() string

func (InstanceConsoleConnection) ValidateEnumValue ¶

func (m InstanceConsoleConnection) 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 InstanceConsoleConnectionLifecycleStateEnum ¶

type InstanceConsoleConnectionLifecycleStateEnum string

InstanceConsoleConnectionLifecycleStateEnum Enum with underlying type: string

const (
	InstanceConsoleConnectionLifecycleStateActive   InstanceConsoleConnectionLifecycleStateEnum = "ACTIVE"
	InstanceConsoleConnectionLifecycleStateCreating InstanceConsoleConnectionLifecycleStateEnum = "CREATING"
	InstanceConsoleConnectionLifecycleStateDeleted  InstanceConsoleConnectionLifecycleStateEnum = "DELETED"
	InstanceConsoleConnectionLifecycleStateDeleting InstanceConsoleConnectionLifecycleStateEnum = "DELETING"
	InstanceConsoleConnectionLifecycleStateFailed   InstanceConsoleConnectionLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for InstanceConsoleConnectionLifecycleStateEnum

func GetInstanceConsoleConnectionLifecycleStateEnumValues ¶

func GetInstanceConsoleConnectionLifecycleStateEnumValues() []InstanceConsoleConnectionLifecycleStateEnum

GetInstanceConsoleConnectionLifecycleStateEnumValues Enumerates the set of values for InstanceConsoleConnectionLifecycleStateEnum

func GetMappingInstanceConsoleConnectionLifecycleStateEnum ¶

func GetMappingInstanceConsoleConnectionLifecycleStateEnum(val string) (InstanceConsoleConnectionLifecycleStateEnum, bool)

GetMappingInstanceConsoleConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceCredentials ¶

type InstanceCredentials struct {

	// The password for the username.
	Password *string `mandatory:"true" json:"password"`

	// The username.
	Username *string `mandatory:"true" json:"username"`
}

InstanceCredentials The credentials for a particular instance.

func (InstanceCredentials) String ¶

func (m InstanceCredentials) String() string

func (InstanceCredentials) ValidateEnumValue ¶

func (m InstanceCredentials) 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 InstanceLaunchModeEnum ¶

type InstanceLaunchModeEnum string

InstanceLaunchModeEnum Enum with underlying type: string

const (
	InstanceLaunchModeNative          InstanceLaunchModeEnum = "NATIVE"
	InstanceLaunchModeEmulated        InstanceLaunchModeEnum = "EMULATED"
	InstanceLaunchModeParavirtualized InstanceLaunchModeEnum = "PARAVIRTUALIZED"
	InstanceLaunchModeCustom          InstanceLaunchModeEnum = "CUSTOM"
)

Set of constants representing the allowable values for InstanceLaunchModeEnum

func GetInstanceLaunchModeEnumValues ¶

func GetInstanceLaunchModeEnumValues() []InstanceLaunchModeEnum

GetInstanceLaunchModeEnumValues Enumerates the set of values for InstanceLaunchModeEnum

func GetMappingInstanceLaunchModeEnum ¶

func GetMappingInstanceLaunchModeEnum(val string) (InstanceLaunchModeEnum, bool)

GetMappingInstanceLaunchModeEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceLifecycleStateEnum ¶

type InstanceLifecycleStateEnum string

InstanceLifecycleStateEnum Enum with underlying type: string

const (
	InstanceLifecycleStateMoving        InstanceLifecycleStateEnum = "MOVING"
	InstanceLifecycleStateProvisioning  InstanceLifecycleStateEnum = "PROVISIONING"
	InstanceLifecycleStateRunning       InstanceLifecycleStateEnum = "RUNNING"
	InstanceLifecycleStateStarting      InstanceLifecycleStateEnum = "STARTING"
	InstanceLifecycleStateStopping      InstanceLifecycleStateEnum = "STOPPING"
	InstanceLifecycleStateStopped       InstanceLifecycleStateEnum = "STOPPED"
	InstanceLifecycleStateCreatingImage InstanceLifecycleStateEnum = "CREATING_IMAGE"
	InstanceLifecycleStateTerminating   InstanceLifecycleStateEnum = "TERMINATING"
	InstanceLifecycleStateTerminated    InstanceLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for InstanceLifecycleStateEnum

func GetInstanceLifecycleStateEnumValues ¶

func GetInstanceLifecycleStateEnumValues() []InstanceLifecycleStateEnum

GetInstanceLifecycleStateEnumValues Enumerates the set of values for InstanceLifecycleStateEnum

func GetMappingInstanceLifecycleStateEnum ¶

func GetMappingInstanceLifecycleStateEnum(val string) (InstanceLifecycleStateEnum, bool)

GetMappingInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceMaintenanceReboot ¶ added in v65.13.1

type InstanceMaintenanceReboot struct {

	// The maximum extension date and time for the maintenance reboot, in the format defined by
	// RFC3339 (https://tools.ietf.org/html/rfc3339).
	// The range for the maintenance extension is between 1 and 14 days from the initial scheduled maintenance date.
	// Example: `2018-05-25T21:10:29.600Z`
	TimeMaintenanceRebootDueMax *common.SDKTime `mandatory:"true" json:"timeMaintenanceRebootDueMax"`
}

InstanceMaintenanceReboot The maximum possible date and time that a maintenance reboot can be extended.

func (InstanceMaintenanceReboot) String ¶ added in v65.13.1

func (m InstanceMaintenanceReboot) String() string

func (InstanceMaintenanceReboot) ValidateEnumValue ¶ added in v65.13.1

func (m InstanceMaintenanceReboot) 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 InstanceOptions ¶

type InstanceOptions struct {

	// Whether to disable the legacy (/v1) instance metadata service endpoints.
	// Customers who have migrated to /v2 should set this to true for added security.
	// Default is false.
	AreLegacyImdsEndpointsDisabled *bool `mandatory:"false" json:"areLegacyImdsEndpointsDisabled"`
}

InstanceOptions Optional mutable instance options

func (InstanceOptions) String ¶

func (m InstanceOptions) String() string

func (InstanceOptions) ValidateEnumValue ¶

func (m InstanceOptions) 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 InstancePool ¶

type InstancePool struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance
	// pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated
	// with the instance pool.
	InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"`

	// The current state of the instance pool.
	LifecycleState InstancePoolLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The placement configurations for the instance pool.
	PlacementConfigurations []InstancePoolPlacementConfiguration `mandatory:"true" json:"placementConfigurations"`

	// The number of instances that should be in the instance pool.
	Size *int `mandatory:"true" json:"size"`

	// The date and time the instance pool was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The load balancers attached to the instance pool.
	LoadBalancers []InstancePoolLoadBalancerAttachment `mandatory:"false" json:"loadBalancers"`

	// A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format.
	// The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
	InstanceDisplayNameFormatter *string `mandatory:"false" json:"instanceDisplayNameFormatter"`

	// A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format.
	// The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
	InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"`
}

InstancePool An instance pool is a set of instances within the same region that are managed as a group. For more information about instance pools and instance configurations, see Managing Compute Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm).

func (InstancePool) String ¶

func (m InstancePool) String() string

func (InstancePool) ValidateEnumValue ¶

func (m InstancePool) 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 InstancePoolInstance ¶

type InstancePoolInstance struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" json:"instancePoolId"`

	// The availability domain the instance is running in.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The attachment state of the instance in relation to the instance pool.
	LifecycleState InstancePoolInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the
	// instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration
	// used to create the instance.
	InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"`

	// The region that contains the availability domain the instance is running in.
	Region *string `mandatory:"true" json:"region"`

	// The shape of the instance. The shape determines the number of CPUs, amount of memory,
	// and other resources allocated to the instance.
	Shape *string `mandatory:"true" json:"shape"`

	// The lifecycle state of the instance. Refer to `lifecycleState` in the Instance resource.
	State *string `mandatory:"true" json:"state"`

	// The date and time the instance pool instance was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The fault domain the instance is running in.
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The load balancer backends that are configured for the instance.
	LoadBalancerBackends []InstancePoolInstanceLoadBalancerBackend `mandatory:"false" json:"loadBalancerBackends"`
}

InstancePoolInstance Information about an instance that belongs to an instance pool.

func (InstancePoolInstance) String ¶

func (m InstancePoolInstance) String() string

func (InstancePoolInstance) ValidateEnumValue ¶

func (m InstancePoolInstance) 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 InstancePoolInstanceLifecycleStateEnum ¶

type InstancePoolInstanceLifecycleStateEnum string

InstancePoolInstanceLifecycleStateEnum Enum with underlying type: string

const (
	InstancePoolInstanceLifecycleStateAttaching InstancePoolInstanceLifecycleStateEnum = "ATTACHING"
	InstancePoolInstanceLifecycleStateActive    InstancePoolInstanceLifecycleStateEnum = "ACTIVE"
	InstancePoolInstanceLifecycleStateDetaching InstancePoolInstanceLifecycleStateEnum = "DETACHING"
)

Set of constants representing the allowable values for InstancePoolInstanceLifecycleStateEnum

func GetInstancePoolInstanceLifecycleStateEnumValues ¶

func GetInstancePoolInstanceLifecycleStateEnumValues() []InstancePoolInstanceLifecycleStateEnum

GetInstancePoolInstanceLifecycleStateEnumValues Enumerates the set of values for InstancePoolInstanceLifecycleStateEnum

func GetMappingInstancePoolInstanceLifecycleStateEnum ¶

func GetMappingInstancePoolInstanceLifecycleStateEnum(val string) (InstancePoolInstanceLifecycleStateEnum, bool)

GetMappingInstancePoolInstanceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstancePoolInstanceLoadBalancerBackend ¶

type InstancePoolInstanceLoadBalancerBackend struct {

	// The OCID of the load balancer attached to the instance pool.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// The name of the backend set on the load balancer.
	BackendSetName *string `mandatory:"true" json:"backendSetName"`

	// The name of the backend in the backend set.
	BackendName *string `mandatory:"true" json:"backendName"`

	// The health of the backend as observed by the load balancer.
	BackendHealthStatus InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum `mandatory:"true" json:"backendHealthStatus"`
}

InstancePoolInstanceLoadBalancerBackend Represents the load balancer Backend that is configured for an instance pool instance.

func (InstancePoolInstanceLoadBalancerBackend) String ¶

func (InstancePoolInstanceLoadBalancerBackend) ValidateEnumValue ¶

func (m InstancePoolInstanceLoadBalancerBackend) 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 InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum ¶

type InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum string

InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum Enum with underlying type: string

const (
	InstancePoolInstanceLoadBalancerBackendBackendHealthStatusOk       InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum = "OK"
	InstancePoolInstanceLoadBalancerBackendBackendHealthStatusWarning  InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum = "WARNING"
	InstancePoolInstanceLoadBalancerBackendBackendHealthStatusCritical InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum = "CRITICAL"
	InstancePoolInstanceLoadBalancerBackendBackendHealthStatusUnknown  InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum = "UNKNOWN"
)

Set of constants representing the allowable values for InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum

func GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumValues ¶

func GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumValues() []InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum

GetInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnumValues Enumerates the set of values for InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum

func GetMappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum ¶

func GetMappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum(val string) (InstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum, bool)

GetMappingInstancePoolInstanceLoadBalancerBackendBackendHealthStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type InstancePoolLifecycleStateEnum ¶

type InstancePoolLifecycleStateEnum string

InstancePoolLifecycleStateEnum Enum with underlying type: string

const (
	InstancePoolLifecycleStateProvisioning InstancePoolLifecycleStateEnum = "PROVISIONING"
	InstancePoolLifecycleStateScaling      InstancePoolLifecycleStateEnum = "SCALING"
	InstancePoolLifecycleStateStarting     InstancePoolLifecycleStateEnum = "STARTING"
	InstancePoolLifecycleStateStopping     InstancePoolLifecycleStateEnum = "STOPPING"
	InstancePoolLifecycleStateTerminating  InstancePoolLifecycleStateEnum = "TERMINATING"
	InstancePoolLifecycleStateStopped      InstancePoolLifecycleStateEnum = "STOPPED"
	InstancePoolLifecycleStateTerminated   InstancePoolLifecycleStateEnum = "TERMINATED"
	InstancePoolLifecycleStateRunning      InstancePoolLifecycleStateEnum = "RUNNING"
)

Set of constants representing the allowable values for InstancePoolLifecycleStateEnum

func GetInstancePoolLifecycleStateEnumValues ¶

func GetInstancePoolLifecycleStateEnumValues() []InstancePoolLifecycleStateEnum

GetInstancePoolLifecycleStateEnumValues Enumerates the set of values for InstancePoolLifecycleStateEnum

func GetMappingInstancePoolLifecycleStateEnum ¶

func GetMappingInstancePoolLifecycleStateEnum(val string) (InstancePoolLifecycleStateEnum, bool)

GetMappingInstancePoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstancePoolLoadBalancerAttachment ¶

type InstancePoolLoadBalancerAttachment struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool of the load balancer attachment.
	InstancePoolId *string `mandatory:"true" json:"instancePoolId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attached to the instance pool.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// The name of the backend set on the load balancer.
	BackendSetName *string `mandatory:"true" json:"backendSetName"`

	// The port value used for the backends.
	Port *int `mandatory:"true" json:"port"`

	// Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer.
	// Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration
	// that is associated with the instance pool.
	VnicSelection *string `mandatory:"true" json:"vnicSelection"`

	// The status of the interaction between the instance pool and the load balancer.
	LifecycleState InstancePoolLoadBalancerAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

InstancePoolLoadBalancerAttachment Represents a load balancer that is attached to an instance pool.

func (InstancePoolLoadBalancerAttachment) String ¶

func (InstancePoolLoadBalancerAttachment) ValidateEnumValue ¶

func (m InstancePoolLoadBalancerAttachment) 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 InstancePoolLoadBalancerAttachmentLifecycleStateEnum ¶

type InstancePoolLoadBalancerAttachmentLifecycleStateEnum string

InstancePoolLoadBalancerAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	InstancePoolLoadBalancerAttachmentLifecycleStateAttaching InstancePoolLoadBalancerAttachmentLifecycleStateEnum = "ATTACHING"
	InstancePoolLoadBalancerAttachmentLifecycleStateAttached  InstancePoolLoadBalancerAttachmentLifecycleStateEnum = "ATTACHED"
	InstancePoolLoadBalancerAttachmentLifecycleStateDetaching InstancePoolLoadBalancerAttachmentLifecycleStateEnum = "DETACHING"
	InstancePoolLoadBalancerAttachmentLifecycleStateDetached  InstancePoolLoadBalancerAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for InstancePoolLoadBalancerAttachmentLifecycleStateEnum

func GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumValues ¶

func GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumValues() []InstancePoolLoadBalancerAttachmentLifecycleStateEnum

GetInstancePoolLoadBalancerAttachmentLifecycleStateEnumValues Enumerates the set of values for InstancePoolLoadBalancerAttachmentLifecycleStateEnum

func GetMappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum ¶

func GetMappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum(val string) (InstancePoolLoadBalancerAttachmentLifecycleStateEnum, bool)

GetMappingInstancePoolLoadBalancerAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstancePoolPlacementConfiguration ¶

type InstancePoolPlacementConfiguration struct {

	// The availability domain to place instances.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated.
	// Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
	PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`

	// The fault domains to place instances.
	// If you don't provide any values, the system makes a best effort to distribute
	// instances across all fault domains based on capacity.
	// To distribute the instances evenly across selected fault domains, provide a
	// set of fault domains. For example, you might want instances to be evenly
	// distributed if your applications require high availability.
	// To get a list of fault domains, use the
	// ListFaultDomains operation
	// in the Identity and Access Management Service API.
	// Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]`
	FaultDomains []string `mandatory:"false" json:"faultDomains"`

	PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`

	// The set of secondary VNIC data for instances in the pool.
	SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}

InstancePoolPlacementConfiguration The location for where an instance pool will place instances.

func (InstancePoolPlacementConfiguration) String ¶

func (InstancePoolPlacementConfiguration) ValidateEnumValue ¶

func (m InstancePoolPlacementConfiguration) 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 InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails ¶ added in v65.48.0

type InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails struct {

	// Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
	Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`
}

InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails Optional. Used to specify from which subnet prefixes an IPv6 address should be allocated, or to assign valid available IPv6 addresses.

func (InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails) String ¶ added in v65.48.0

func (InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails) ValidateEnumValue ¶ added in v65.48.0

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 InstancePoolPlacementPrimarySubnet ¶ added in v65.48.0

type InstancePoolPlacementPrimarySubnet struct {

	// The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
	// subnet. Default: False. When provided you may optionally provide an IPv6 prefix
	// (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
	// is not provided then an IPv6 prefix is chosen
	// for you.
	IsAssignIpv6Ip *bool `mandatory:"false" json:"isAssignIpv6Ip"`

	// A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.
	// You can provide only the prefix ranges and OCI will select an available
	// address from the range. You can optionally choose to leave the prefix range empty
	// and instead provide the specific IPv6 address that should be used from within that range.
	Ipv6AddressIpv6SubnetCidrPairDetails []InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
}

InstancePoolPlacementPrimarySubnet Details about the IPv6 primary subnet.

func (InstancePoolPlacementPrimarySubnet) String ¶ added in v65.48.0

func (InstancePoolPlacementPrimarySubnet) ValidateEnumValue ¶ added in v65.48.0

func (m InstancePoolPlacementPrimarySubnet) 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 InstancePoolPlacementSecondaryVnicSubnet ¶

type InstancePoolPlacementSecondaryVnicSubnet struct {

	// The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
	// subnet. Default: False. When provided you may optionally provide an IPv6 prefix
	// (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
	// is not provided then an IPv6 prefix is chosen
	// for you.
	IsAssignIpv6Ip *bool `mandatory:"false" json:"isAssignIpv6Ip"`

	// A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.
	// You can provide only the prefix ranges and OCI will select an available
	// address from the range. You can optionally choose to leave the prefix range empty
	// and instead provide the specific IPv6 address that should be used from within that range.
	Ipv6AddressIpv6SubnetCidrPairDetails []InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`

	// The display name of the VNIC. This is also used to match against the instance configuration defined
	// secondary VNIC.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

InstancePoolPlacementSecondaryVnicSubnet The secondary VNIC object for the placement configuration for an instance pool.

func (InstancePoolPlacementSecondaryVnicSubnet) String ¶

func (InstancePoolPlacementSecondaryVnicSubnet) ValidateEnumValue ¶

func (m InstancePoolPlacementSecondaryVnicSubnet) 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 InstancePoolPlacementSubnetDetails ¶ added in v65.48.0

type InstancePoolPlacementSubnetDetails struct {

	// The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
	// subnet. Default: False. When provided you may optionally provide an IPv6 prefix
	// (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
	// is not provided then an IPv6 prefix is chosen
	// for you.
	IsAssignIpv6Ip *bool `mandatory:"false" json:"isAssignIpv6Ip"`

	// A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.
	// You can provide only the prefix ranges and OCI will select an available
	// address from the range. You can optionally choose to leave the prefix range empty
	// and instead provide the specific IPv6 address that should be used from within that range.
	Ipv6AddressIpv6SubnetCidrPairDetails []InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
}

InstancePoolPlacementSubnetDetails Base details about the IPv6 subnet.

func (InstancePoolPlacementSubnetDetails) String ¶ added in v65.48.0

func (InstancePoolPlacementSubnetDetails) ValidateEnumValue ¶ added in v65.48.0

func (m InstancePoolPlacementSubnetDetails) 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 InstancePoolSummary ¶

type InstancePoolSummary struct {

	// The OCID of the instance pool.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment containing the instance pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the instance configuration associated with the instance pool.
	InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"`

	// The current state of the instance pool.
	LifecycleState InstancePoolSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The availability domains for the instance pool.
	AvailabilityDomains []string `mandatory:"true" json:"availabilityDomains"`

	// The number of instances that should be in the instance pool.
	Size *int `mandatory:"true" json:"size"`

	// The date and time the instance pool was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

InstancePoolSummary Summary information for an instance pool.

func (InstancePoolSummary) String ¶

func (m InstancePoolSummary) String() string

func (InstancePoolSummary) ValidateEnumValue ¶

func (m InstancePoolSummary) 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 InstancePoolSummaryLifecycleStateEnum ¶

type InstancePoolSummaryLifecycleStateEnum string

InstancePoolSummaryLifecycleStateEnum Enum with underlying type: string

const (
	InstancePoolSummaryLifecycleStateProvisioning InstancePoolSummaryLifecycleStateEnum = "PROVISIONING"
	InstancePoolSummaryLifecycleStateScaling      InstancePoolSummaryLifecycleStateEnum = "SCALING"
	InstancePoolSummaryLifecycleStateStarting     InstancePoolSummaryLifecycleStateEnum = "STARTING"
	InstancePoolSummaryLifecycleStateStopping     InstancePoolSummaryLifecycleStateEnum = "STOPPING"
	InstancePoolSummaryLifecycleStateTerminating  InstancePoolSummaryLifecycleStateEnum = "TERMINATING"
	InstancePoolSummaryLifecycleStateStopped      InstancePoolSummaryLifecycleStateEnum = "STOPPED"
	InstancePoolSummaryLifecycleStateTerminated   InstancePoolSummaryLifecycleStateEnum = "TERMINATED"
	InstancePoolSummaryLifecycleStateRunning      InstancePoolSummaryLifecycleStateEnum = "RUNNING"
)

Set of constants representing the allowable values for InstancePoolSummaryLifecycleStateEnum

func GetInstancePoolSummaryLifecycleStateEnumValues ¶

func GetInstancePoolSummaryLifecycleStateEnumValues() []InstancePoolSummaryLifecycleStateEnum

GetInstancePoolSummaryLifecycleStateEnumValues Enumerates the set of values for InstancePoolSummaryLifecycleStateEnum

func GetMappingInstancePoolSummaryLifecycleStateEnum ¶

func GetMappingInstancePoolSummaryLifecycleStateEnum(val string) (InstancePoolSummaryLifecycleStateEnum, bool)

GetMappingInstancePoolSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstancePowerActionDetails ¶ added in v65.4.0

type InstancePowerActionDetails interface {
}

InstancePowerActionDetails A base object for all types of instance power action requests.

type InstanceReservationConfig ¶

type InstanceReservationConfig struct {

	// The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory,
	// and other resources allocated to the instance.
	// You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.
	InstanceShape *string `mandatory:"true" json:"instanceShape"`

	// The total number of instances that can be launched from the capacity configuration.
	ReservedCount *int64 `mandatory:"true" json:"reservedCount"`

	// The amount of capacity in use out of the total capacity reserved in this capacity configuration.
	UsedCount *int64 `mandatory:"true" json:"usedCount"`

	// The fault domain of this capacity configuration.
	// If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm).
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	ClusterConfig *ClusterConfigDetails `mandatory:"false" json:"clusterConfig"`

	InstanceShapeConfig *InstanceReservationShapeConfigDetails `mandatory:"false" json:"instanceShapeConfig"`

	// The OCID of the cluster placement group for this instance reservation capacity configuration.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
}

InstanceReservationConfig Data that defines the capacity configuration.

func (InstanceReservationConfig) String ¶

func (m InstanceReservationConfig) String() string

func (InstanceReservationConfig) ValidateEnumValue ¶

func (m InstanceReservationConfig) 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 InstanceReservationConfigDetails ¶

type InstanceReservationConfigDetails struct {

	// The shape requested when launching instances using reserved capacity.
	// The shape determines the number of CPUs, amount of memory,
	// and other resources allocated to the instance.
	// You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.
	InstanceShape *string `mandatory:"true" json:"instanceShape"`

	// The total number of instances that can be launched from the capacity configuration.
	ReservedCount *int64 `mandatory:"true" json:"reservedCount"`

	InstanceShapeConfig *InstanceReservationShapeConfigDetails `mandatory:"false" json:"instanceShapeConfig"`

	// The fault domain to use for instances created using this capacity configuration.
	// For more information, see Fault Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault).
	// If you do not specify the fault domain, the capacity is available for an instance
	// that does not specify a fault domain. To change the fault domain for a reservation,
	// delete the reservation and create a new one in the preferred fault domain.
	// To retrieve a list of fault domains, use the `ListFaultDomains` operation in
	// the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	ClusterConfig *ClusterConfigDetails `mandatory:"false" json:"clusterConfig"`

	// The OCID of the cluster placement group for this instance reservation capacity configuration.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`
}

InstanceReservationConfigDetails A template that contains the settings to use when defining the instance capacity configuration.

func (InstanceReservationConfigDetails) String ¶

func (InstanceReservationConfigDetails) ValidateEnumValue ¶

func (m InstanceReservationConfigDetails) 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 InstanceReservationShapeConfigDetails ¶

type InstanceReservationShapeConfigDetails struct {

	// The total number of OCPUs available to the instance.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The total amount of memory available to the instance, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`
}

InstanceReservationShapeConfigDetails The shape configuration requested when launching instances in a compute capacity reservation. If the parameter is provided, the reservation is created with the resources that you specify. If some properties are missing or the parameter is not provided, the reservation is created with the default configuration values for the `shape` that you specify. Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. For more information about customizing the resources that are allocated to flexible shapes, see Flexible Shapes (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible).

func (InstanceReservationShapeConfigDetails) String ¶

func (InstanceReservationShapeConfigDetails) ValidateEnumValue ¶

func (m InstanceReservationShapeConfigDetails) 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 InstanceShapeConfig ¶

type InstanceShapeConfig struct {

	// The total number of OCPUs available to the instance.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The total amount of memory available to the instance, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

	// The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a
	// non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`.
	// The following values are supported:
	// - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU.
	// - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU.
	// - `BASELINE_1_1` - baseline usage is the entire OCPU. This represents a non-burstable instance.
	BaselineOcpuUtilization InstanceShapeConfigBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"`

	// A short description of the instance's processor (CPU).
	ProcessorDescription *string `mandatory:"false" json:"processorDescription"`

	// The networking bandwidth available to the instance, in gigabits per second.
	NetworkingBandwidthInGbps *float32 `mandatory:"false" json:"networkingBandwidthInGbps"`

	// The maximum number of VNIC attachments for the instance.
	MaxVnicAttachments *int `mandatory:"false" json:"maxVnicAttachments"`

	// The number of GPUs available to the instance.
	Gpus *int `mandatory:"false" json:"gpus"`

	// A short description of the instance's graphics processing unit (GPU).
	// If the instance does not have any GPUs, this field is `null`.
	GpuDescription *string `mandatory:"false" json:"gpuDescription"`

	// The number of local disks available to the instance.
	LocalDisks *int `mandatory:"false" json:"localDisks"`

	// The aggregate size of all local disks, in gigabytes.
	// If the instance does not have any local disks, this field is `null`.
	LocalDisksTotalSizeInGBs *float32 `mandatory:"false" json:"localDisksTotalSizeInGBs"`

	// A short description of the local disks available to this instance.
	// If the instance does not have any local disks, this field is `null`.
	LocalDiskDescription *string `mandatory:"false" json:"localDiskDescription"`

	// The total number of VCPUs available to the instance. This can be used instead of OCPUs,
	// in which case the actual number of OCPUs will be calculated based on this value
	// and the actual hardware. This must be a multiple of 2.
	Vcpus *int `mandatory:"false" json:"vcpus"`
}

InstanceShapeConfig The shape configuration for an instance. The shape configuration determines the resources allocated to an instance.

func (InstanceShapeConfig) String ¶

func (m InstanceShapeConfig) String() string

func (InstanceShapeConfig) ValidateEnumValue ¶

func (m InstanceShapeConfig) 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 InstanceShapeConfigBaselineOcpuUtilizationEnum ¶

type InstanceShapeConfigBaselineOcpuUtilizationEnum string

InstanceShapeConfigBaselineOcpuUtilizationEnum Enum with underlying type: string

const (
	InstanceShapeConfigBaselineOcpuUtilization8 InstanceShapeConfigBaselineOcpuUtilizationEnum = "BASELINE_1_8"
	InstanceShapeConfigBaselineOcpuUtilization2 InstanceShapeConfigBaselineOcpuUtilizationEnum = "BASELINE_1_2"
	InstanceShapeConfigBaselineOcpuUtilization1 InstanceShapeConfigBaselineOcpuUtilizationEnum = "BASELINE_1_1"
)

Set of constants representing the allowable values for InstanceShapeConfigBaselineOcpuUtilizationEnum

func GetInstanceShapeConfigBaselineOcpuUtilizationEnumValues ¶

func GetInstanceShapeConfigBaselineOcpuUtilizationEnumValues() []InstanceShapeConfigBaselineOcpuUtilizationEnum

GetInstanceShapeConfigBaselineOcpuUtilizationEnumValues Enumerates the set of values for InstanceShapeConfigBaselineOcpuUtilizationEnum

func GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum ¶

func GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum(val string) (InstanceShapeConfigBaselineOcpuUtilizationEnum, bool)

GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceSourceDetails ¶

type InstanceSourceDetails interface {
}

InstanceSourceDetails The representation of InstanceSourceDetails

type InstanceSourceImageFilterDetails ¶ added in v65.44.0

type InstanceSourceImageFilterDetails struct {

	// The OCID of the compartment containing images to search
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Filter based on these defined tags. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTagsFilter map[string]map[string]interface{} `mandatory:"false" json:"definedTagsFilter"`

	// The image's operating system.
	// Example: `Oracle Linux`
	OperatingSystem *string `mandatory:"false" json:"operatingSystem"`

	// The image's operating system version.
	// Example: `7.2`
	OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"`
}

InstanceSourceImageFilterDetails These are the criteria for selecting an image. This is required if imageId is not specified.

func (InstanceSourceImageFilterDetails) String ¶ added in v65.44.0

func (InstanceSourceImageFilterDetails) ValidateEnumValue ¶ added in v65.44.0

func (m InstanceSourceImageFilterDetails) 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 InstanceSourceViaBootVolumeDetails ¶

type InstanceSourceViaBootVolumeDetails struct {

	// The OCID of the boot volume used to boot the instance.
	BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`
}

InstanceSourceViaBootVolumeDetails The representation of InstanceSourceViaBootVolumeDetails

func (InstanceSourceViaBootVolumeDetails) MarshalJSON ¶

func (m InstanceSourceViaBootVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InstanceSourceViaBootVolumeDetails) String ¶

func (InstanceSourceViaBootVolumeDetails) ValidateEnumValue ¶

func (m InstanceSourceViaBootVolumeDetails) 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 InstanceSourceViaImageDetails ¶

type InstanceSourceViaImageDetails struct {

	// The size of the boot volume in GBs. Minimum value is 50 GB and maximum value is 32,768 GB (32 TB).
	BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"`

	// The OCID of the image used to boot the instance.
	ImageId *string `mandatory:"false" json:"imageId"`

	// The OCID of the Vault service key to assign as the master encryption key for the boot volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For volumes with the auto-tuned performance feature enabled, this is set to the default (minimum) VPUs/GB.
	BootVolumeVpusPerGB *int64 `mandatory:"false" json:"bootVolumeVpusPerGB"`

	InstanceSourceImageFilterDetails *InstanceSourceImageFilterDetails `mandatory:"false" json:"instanceSourceImageFilterDetails"`
}

InstanceSourceViaImageDetails The representation of InstanceSourceViaImageDetails

func (InstanceSourceViaImageDetails) MarshalJSON ¶

func (m InstanceSourceViaImageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InstanceSourceViaImageDetails) String ¶

func (InstanceSourceViaImageDetails) ValidateEnumValue ¶

func (m InstanceSourceViaImageDetails) 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 InstanceSummary ¶

type InstanceSummary struct {

	// The OCID of the instance.
	Id *string `mandatory:"true" json:"id"`

	// The availability domain the instance is running in.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the instance.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the instance confgiuration used to create the instance.
	InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"`

	// The region that contains the availability domain the instance is running in.
	Region *string `mandatory:"true" json:"region"`

	// The current state of the instance pool instance.
	State *string `mandatory:"true" json:"state"`

	// The date and time the instance pool instance was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The fault domain the instance is running in.
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The shape of an instance. The shape determines the number of CPUs, amount of memory,
	// and other resources allocated to the instance.
	// You can enumerate all available shapes by calling ListShapes.
	Shape *string `mandatory:"false" json:"shape"`

	// The load balancer backends that are configured for the instance pool instance.
	LoadBalancerBackends []InstancePoolInstanceLoadBalancerBackend `mandatory:"false" json:"loadBalancerBackends"`
}

InstanceSummary Condensed instance data when listing instances in an instance pool.

func (InstanceSummary) String ¶

func (m InstanceSummary) String() string

func (InstanceSummary) ValidateEnumValue ¶

func (m InstanceSummary) 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 IntelIcelakeBmLaunchInstancePlatformConfig ¶ added in v65.4.0

type IntelIcelakeBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

IntelIcelakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with the BM.Standard3.64 shape or the BM.Optimized3.36 shape (the Intel Ice Lake platform).

func (IntelIcelakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.4.0

func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (IntelIcelakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (IntelIcelakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶ added in v65.4.0

func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (IntelIcelakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.4.0

func (m IntelIcelakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (IntelIcelakeBmLaunchInstancePlatformConfig) MarshalJSON ¶ added in v65.4.0

func (m IntelIcelakeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelIcelakeBmLaunchInstancePlatformConfig) String ¶ added in v65.4.0

func (IntelIcelakeBmLaunchInstancePlatformConfig) ValidateEnumValue ¶ added in v65.4.0

func (m IntelIcelakeBmLaunchInstancePlatformConfig) 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 IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
)

Set of constants representing the allowable values for IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type IntelIcelakeBmPlatformConfig ¶ added in v65.4.0

type IntelIcelakeBmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

IntelIcelakeBmPlatformConfig The platform configuration of a bare metal instance that uses the BM.Standard3.64 shape or the BM.Optimized3.36 shape (the Intel Ice Lake platform).

func (IntelIcelakeBmPlatformConfig) GetIsMeasuredBootEnabled ¶ added in v65.4.0

func (m IntelIcelakeBmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (IntelIcelakeBmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m IntelIcelakeBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (IntelIcelakeBmPlatformConfig) GetIsSecureBootEnabled ¶ added in v65.4.0

func (m IntelIcelakeBmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (IntelIcelakeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶ added in v65.4.0

func (m IntelIcelakeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (IntelIcelakeBmPlatformConfig) MarshalJSON ¶ added in v65.4.0

func (m IntelIcelakeBmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelIcelakeBmPlatformConfig) String ¶ added in v65.4.0

func (IntelIcelakeBmPlatformConfig) ValidateEnumValue ¶ added in v65.4.0

func (m IntelIcelakeBmPlatformConfig) 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 IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

type IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum string

IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps1 IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	IntelIcelakeBmPlatformConfigNumaNodesPerSocketNps2 IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
)

Set of constants representing the allowable values for IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum

func GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.4.0

func GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumValues() []IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum

GetIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum

func GetMappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.4.0

func GetMappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum(val string) (IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingIntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type IntelSkylakeBmLaunchInstancePlatformConfig ¶

type IntelSkylakeBmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

IntelSkylakeBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance with an Intel X7-based processor (the Intel Skylake platform).

func (IntelSkylakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m IntelSkylakeBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (IntelSkylakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m IntelSkylakeBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (IntelSkylakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

func (m IntelSkylakeBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (IntelSkylakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m IntelSkylakeBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (IntelSkylakeBmLaunchInstancePlatformConfig) MarshalJSON ¶

func (m IntelSkylakeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelSkylakeBmLaunchInstancePlatformConfig) String ¶

func (IntelSkylakeBmLaunchInstancePlatformConfig) ValidateEnumValue ¶

func (m IntelSkylakeBmLaunchInstancePlatformConfig) 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 IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

type IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string

IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
	IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
)

Set of constants representing the allowable values for IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.48.0

func GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum

func GetMappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

func GetMappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type IntelSkylakeBmPlatformConfig ¶

type IntelSkylakeBmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`

	// Whether the input-output memory management unit is enabled.
	IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`

	// The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
	// results in a fractional number of cores, the system rounds up the number of cores across processors
	// and provisions an instance with a whole number of cores.
	// If the applications that you run on the instance use a core-based licensing model and need fewer cores
	// than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
	// itself is billed for the full shape, regardless of whether all cores are enabled.
	PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`

	// Instance Platform Configuration Configuration Map for flexible setting input.
	ConfigMap map[string]string `mandatory:"false" json:"configMap"`

	// The number of NUMA nodes per socket (NPS).
	NumaNodesPerSocket IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}

IntelSkylakeBmPlatformConfig The platform configuration of a bare metal instance that uses one of the following shapes: BM.Standard2.52, BM.GPU2.2, BM.GPU3.8, or BM.DenseIO2.52 (the Intel Skylake platform).

func (IntelSkylakeBmPlatformConfig) GetIsMeasuredBootEnabled ¶

func (m IntelSkylakeBmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (IntelSkylakeBmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m IntelSkylakeBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (IntelSkylakeBmPlatformConfig) GetIsSecureBootEnabled ¶

func (m IntelSkylakeBmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (IntelSkylakeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m IntelSkylakeBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (IntelSkylakeBmPlatformConfig) MarshalJSON ¶

func (m IntelSkylakeBmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelSkylakeBmPlatformConfig) String ¶

func (IntelSkylakeBmPlatformConfig) ValidateEnumValue ¶

func (m IntelSkylakeBmPlatformConfig) 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 IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

type IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum string

IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string

const (
	IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps1 IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
	IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps2 IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
)

Set of constants representing the allowable values for IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum

func GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumValues ¶ added in v65.48.0

func GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumValues() []IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum

GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum

func GetMappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum ¶ added in v65.48.0

func GetMappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum(val string) (IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum, bool)

GetMappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum

type IntelVmLaunchInstancePlatformConfig ¶

type IntelVmLaunchInstancePlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

IntelVmLaunchInstancePlatformConfig The platform configuration used when launching a virtual machine instance with the Intel platform.

func (IntelVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled ¶

func (m IntelVmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (IntelVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m IntelVmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (IntelVmLaunchInstancePlatformConfig) GetIsSecureBootEnabled ¶

func (m IntelVmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (IntelVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m IntelVmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (IntelVmLaunchInstancePlatformConfig) MarshalJSON ¶

func (m IntelVmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelVmLaunchInstancePlatformConfig) String ¶

func (IntelVmLaunchInstancePlatformConfig) ValidateEnumValue ¶

func (m IntelVmLaunchInstancePlatformConfig) 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 IntelVmPlatformConfig ¶

type IntelVmPlatformConfig struct {

	// Whether Secure Boot is enabled on the instance.
	IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`

	// Whether the Measured Boot feature is enabled on the instance.
	IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

IntelVmPlatformConfig The platform configuration of a virtual machine instance that uses the Intel platform.

func (IntelVmPlatformConfig) GetIsMeasuredBootEnabled ¶

func (m IntelVmPlatformConfig) GetIsMeasuredBootEnabled() *bool

GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled

func (IntelVmPlatformConfig) GetIsMemoryEncryptionEnabled ¶ added in v65.28.3

func (m IntelVmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool

GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled

func (IntelVmPlatformConfig) GetIsSecureBootEnabled ¶

func (m IntelVmPlatformConfig) GetIsSecureBootEnabled() *bool

GetIsSecureBootEnabled returns IsSecureBootEnabled

func (IntelVmPlatformConfig) GetIsTrustedPlatformModuleEnabled ¶

func (m IntelVmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool

GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled

func (IntelVmPlatformConfig) MarshalJSON ¶

func (m IntelVmPlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelVmPlatformConfig) String ¶

func (m IntelVmPlatformConfig) String() string

func (IntelVmPlatformConfig) ValidateEnumValue ¶

func (m IntelVmPlatformConfig) 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 IntelVmUpdateInstancePlatformConfig ¶ added in v65.59.0

type IntelVmUpdateInstancePlatformConfig struct {

	// Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
	// called simultaneous multithreading (SMT) or Intel Hyper-Threading.
	// Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
	// independent threads of execution, to better use the resources and increase the efficiency
	// of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
	// can provide higher or more predictable performance for some workloads.
	IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
}

IntelVmUpdateInstancePlatformConfig The platform configuration used when updating a virtual machine instance with the Intel platform.

func (IntelVmUpdateInstancePlatformConfig) MarshalJSON ¶ added in v65.59.0

func (m IntelVmUpdateInstancePlatformConfig) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IntelVmUpdateInstancePlatformConfig) String ¶ added in v65.59.0

func (IntelVmUpdateInstancePlatformConfig) ValidateEnumValue ¶ added in v65.59.0

func (m IntelVmUpdateInstancePlatformConfig) 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 InternetGateway ¶

type InternetGateway struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the internet gateway.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The internet gateway's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The internet gateway's current state.
	LifecycleState InternetGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether the gateway is enabled. When the gateway is disabled, traffic is not
	// routed to/from the Internet, regardless of route rules.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// The date and time the internet gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

InternetGateway Represents a router that connects the edge of a VCN with the Internet. For an example scenario that uses an internet gateway, see Typical Networking Service Scenarios (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm#scenarios). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (InternetGateway) String ¶

func (m InternetGateway) String() string

func (InternetGateway) ValidateEnumValue ¶

func (m InternetGateway) 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 InternetGatewayLifecycleStateEnum ¶

type InternetGatewayLifecycleStateEnum string

InternetGatewayLifecycleStateEnum Enum with underlying type: string

const (
	InternetGatewayLifecycleStateProvisioning InternetGatewayLifecycleStateEnum = "PROVISIONING"
	InternetGatewayLifecycleStateAvailable    InternetGatewayLifecycleStateEnum = "AVAILABLE"
	InternetGatewayLifecycleStateTerminating  InternetGatewayLifecycleStateEnum = "TERMINATING"
	InternetGatewayLifecycleStateTerminated   InternetGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for InternetGatewayLifecycleStateEnum

func GetInternetGatewayLifecycleStateEnumValues ¶

func GetInternetGatewayLifecycleStateEnumValues() []InternetGatewayLifecycleStateEnum

GetInternetGatewayLifecycleStateEnumValues Enumerates the set of values for InternetGatewayLifecycleStateEnum

func GetMappingInternetGatewayLifecycleStateEnum ¶

func GetMappingInternetGatewayLifecycleStateEnum(val string) (InternetGatewayLifecycleStateEnum, bool)

GetMappingInternetGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnection ¶

type IpSecConnection struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object.
	CpeId *string `mandatory:"true" json:"cpeId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The IPSec connection's current state.
	LifecycleState IpSecConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Static routes to the CPE. The CIDR must not be a
	// multicast address or class E address.
	// Used for routing a given IPSec tunnel's traffic only if the tunnel
	// is using static routing. If you configure at least one tunnel to use static routing, then
	// you must provide at least one valid static route. If you configure both
	// tunnels to use BGP dynamic routing, you can provide an empty list for the static routes.
	// The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions.
	// See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `10.0.1.0/24`
	// Example: `2001:db8::/32`
	StaticRoutes []string `mandatory:"true" json:"staticRoutes"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Your identifier for your CPE device. Can be either an IP address or a hostname (specifically,
	// the fully qualified domain name (FQDN)). The type of identifier here must correspond
	// to the value for `cpeLocalIdentifierType`.
	// If you don't provide a value when creating the IPSec connection, the `ipAddress` attribute
	// for the Cpe object specified by `cpeId` is used as the `cpeLocalIdentifier`.
	// For information about why you'd provide this value, see
	// If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat).
	// Example IP address: `10.0.3.3`
	// Example hostname: `cpe.example.com`
	CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"`

	// The type of identifier for your CPE device. The value here must correspond to the value
	// for `cpeLocalIdentifier`.
	CpeLocalIdentifierType IpSecConnectionCpeLocalIdentifierTypeEnum `mandatory:"false" json:"cpeLocalIdentifierType,omitempty"`

	// The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The transport type used for the IPSec connection.
	TransportType IpSecConnectionTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}

IpSecConnection A connection between a DRG and CPE. This connection consists of multiple IPSec tunnels. Creating this connection is one of the steps required when setting up a Site-to-Site VPN. **Important:** Each tunnel in an IPSec connection can use either static routing or BGP dynamic routing (see the IPSecConnectionTunnel object's `routing` attribute). Originally only static routing was supported and every IPSec connection was required to have at least one static route configured. To maintain backward compatibility in the API when support for BPG dynamic routing was introduced, the API accepts an empty list of static routes if you configure both of the IPSec tunnels to use BGP dynamic routing. If you switch a tunnel's routing from `BGP` to `STATIC`, you must first ensure that the IPSec connection is configured with at least one valid CIDR block static route. Oracle uses the IPSec connection's static routes when routing a tunnel's traffic *only* if that tunnel's `routing` attribute = `STATIC`. Otherwise the static routes are ignored. For more information about the workflow for setting up an IPSec connection, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (IpSecConnection) String ¶

func (m IpSecConnection) String() string

func (IpSecConnection) ValidateEnumValue ¶

func (m IpSecConnection) 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 IpSecConnectionCpeLocalIdentifierTypeEnum ¶

type IpSecConnectionCpeLocalIdentifierTypeEnum string

IpSecConnectionCpeLocalIdentifierTypeEnum Enum with underlying type: string

const (
	IpSecConnectionCpeLocalIdentifierTypeIpAddress IpSecConnectionCpeLocalIdentifierTypeEnum = "IP_ADDRESS"
	IpSecConnectionCpeLocalIdentifierTypeHostname  IpSecConnectionCpeLocalIdentifierTypeEnum = "HOSTNAME"
)

Set of constants representing the allowable values for IpSecConnectionCpeLocalIdentifierTypeEnum

func GetIpSecConnectionCpeLocalIdentifierTypeEnumValues ¶

func GetIpSecConnectionCpeLocalIdentifierTypeEnumValues() []IpSecConnectionCpeLocalIdentifierTypeEnum

GetIpSecConnectionCpeLocalIdentifierTypeEnumValues Enumerates the set of values for IpSecConnectionCpeLocalIdentifierTypeEnum

func GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum ¶

func GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(val string) (IpSecConnectionCpeLocalIdentifierTypeEnum, bool)

GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionDeviceConfig ¶

type IpSecConnectionDeviceConfig struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The date and time the IPSec connection was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Two TunnelConfig objects.
	Tunnels []TunnelConfig `mandatory:"false" json:"tunnels"`
}

IpSecConnectionDeviceConfig Deprecated. For tunnel information, instead see:

  • IPSecConnectionTunnel
  • IPSecConnectionTunnelSharedSecret

func (IpSecConnectionDeviceConfig) String ¶

func (IpSecConnectionDeviceConfig) ValidateEnumValue ¶

func (m IpSecConnectionDeviceConfig) 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 IpSecConnectionDeviceStatus ¶

type IpSecConnectionDeviceStatus struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Two TunnelStatus objects.
	Tunnels []TunnelStatus `mandatory:"false" json:"tunnels"`
}

IpSecConnectionDeviceStatus Deprecated. For tunnel information, instead see IPSecConnectionTunnel.

func (IpSecConnectionDeviceStatus) String ¶

func (IpSecConnectionDeviceStatus) ValidateEnumValue ¶

func (m IpSecConnectionDeviceStatus) 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 IpSecConnectionLifecycleStateEnum ¶

type IpSecConnectionLifecycleStateEnum string

IpSecConnectionLifecycleStateEnum Enum with underlying type: string

const (
	IpSecConnectionLifecycleStateProvisioning IpSecConnectionLifecycleStateEnum = "PROVISIONING"
	IpSecConnectionLifecycleStateAvailable    IpSecConnectionLifecycleStateEnum = "AVAILABLE"
	IpSecConnectionLifecycleStateTerminating  IpSecConnectionLifecycleStateEnum = "TERMINATING"
	IpSecConnectionLifecycleStateTerminated   IpSecConnectionLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for IpSecConnectionLifecycleStateEnum

func GetIpSecConnectionLifecycleStateEnumValues ¶

func GetIpSecConnectionLifecycleStateEnumValues() []IpSecConnectionLifecycleStateEnum

GetIpSecConnectionLifecycleStateEnumValues Enumerates the set of values for IpSecConnectionLifecycleStateEnum

func GetMappingIpSecConnectionLifecycleStateEnum ¶

func GetMappingIpSecConnectionLifecycleStateEnum(val string) (IpSecConnectionLifecycleStateEnum, bool)

GetMappingIpSecConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTransportTypeEnum ¶ added in v65.48.0

type IpSecConnectionTransportTypeEnum string

IpSecConnectionTransportTypeEnum Enum with underlying type: string

const (
	IpSecConnectionTransportTypeInternet    IpSecConnectionTransportTypeEnum = "INTERNET"
	IpSecConnectionTransportTypeFastconnect IpSecConnectionTransportTypeEnum = "FASTCONNECT"
)

Set of constants representing the allowable values for IpSecConnectionTransportTypeEnum

func GetIpSecConnectionTransportTypeEnumValues ¶ added in v65.48.0

func GetIpSecConnectionTransportTypeEnumValues() []IpSecConnectionTransportTypeEnum

GetIpSecConnectionTransportTypeEnumValues Enumerates the set of values for IpSecConnectionTransportTypeEnum

func GetMappingIpSecConnectionTransportTypeEnum ¶ added in v65.48.0

func GetMappingIpSecConnectionTransportTypeEnum(val string) (IpSecConnectionTransportTypeEnum, bool)

GetMappingIpSecConnectionTransportTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnel ¶

type IpSecConnectionTunnel struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the tunnel.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	Id *string `mandatory:"true" json:"id"`

	// The tunnel's lifecycle state.
	LifecycleState IpSecConnectionTunnelLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The IP address of the Oracle VPN headend for the connection.
	// Example: `203.0.113.21`
	VpnIp *string `mandatory:"false" json:"vpnIp"`

	// The IP address of the CPE device's VPN headend.
	// Example: `203.0.113.22`
	CpeIp *string `mandatory:"false" json:"cpeIp"`

	// The status of the tunnel based on IPSec protocol characteristics.
	Status IpSecConnectionTunnelStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Internet Key Exchange protocol version.
	IkeVersion IpSecConnectionTunnelIkeVersionEnum `mandatory:"false" json:"ikeVersion,omitempty"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	BgpSessionInfo *BgpSessionInfo `mandatory:"false" json:"bgpSessionInfo"`

	EncryptionDomainConfig *EncryptionDomainConfig `mandatory:"false" json:"encryptionDomainConfig"`

	// The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
	Routing IpSecConnectionTunnelRoutingEnum `mandatory:"false" json:"routing,omitempty"`

	// The date and time the IPSec tunnel was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// When the status of the IPSec tunnel last changed, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeStatusUpdated *common.SDKTime `mandatory:"false" json:"timeStatusUpdated"`

	// Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE device, or both respond to and initiate requests.
	OracleCanInitiate IpSecConnectionTunnelOracleCanInitiateEnum `mandatory:"false" json:"oracleCanInitiate,omitempty"`

	// By default (the `AUTO` setting), IKE sends packets with a source and destination port set to 500,
	// and when it detects that the port used to forward packets has changed (most likely because a NAT device
	// is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.
	// The `ENABLED` option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets.
	// The `DISABLED` option directs IKE to completely refuse to negotiate NAT-T
	// even if it senses there may be a NAT device in use.
	//
	// .
	NatTranslationEnabled IpSecConnectionTunnelNatTranslationEnabledEnum `mandatory:"false" json:"natTranslationEnabled,omitempty"`

	// Dead peer detection (DPD) mode set on the Oracle side of the connection.
	// This mode sets whether Oracle can only respond to a request from the CPE device to start DPD,
	// or both respond to and initiate requests.
	DpdMode IpSecConnectionTunnelDpdModeEnum `mandatory:"false" json:"dpdMode,omitempty"`

	// DPD timeout in seconds.
	DpdTimeoutInSec *int `mandatory:"false" json:"dpdTimeoutInSec"`

	PhaseOneDetails *TunnelPhaseOneDetails `mandatory:"false" json:"phaseOneDetails"`

	PhaseTwoDetails *TunnelPhaseTwoDetails `mandatory:"false" json:"phaseTwoDetails"`

	// The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel.
	AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"`
}

IpSecConnectionTunnel Information about a single IPSec tunnel in an IPSec connection. This object does not include the tunnel's shared secret (pre-shared key), which is found in the IPSecConnectionTunnelSharedSecret object.

func (IpSecConnectionTunnel) String ¶

func (m IpSecConnectionTunnel) String() string

func (IpSecConnectionTunnel) ValidateEnumValue ¶

func (m IpSecConnectionTunnel) 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 IpSecConnectionTunnelDpdModeEnum ¶

type IpSecConnectionTunnelDpdModeEnum string

IpSecConnectionTunnelDpdModeEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelDpdModeInitiateAndRespond IpSecConnectionTunnelDpdModeEnum = "INITIATE_AND_RESPOND"
	IpSecConnectionTunnelDpdModeRespondOnly        IpSecConnectionTunnelDpdModeEnum = "RESPOND_ONLY"
)

Set of constants representing the allowable values for IpSecConnectionTunnelDpdModeEnum

func GetIpSecConnectionTunnelDpdModeEnumValues ¶

func GetIpSecConnectionTunnelDpdModeEnumValues() []IpSecConnectionTunnelDpdModeEnum

GetIpSecConnectionTunnelDpdModeEnumValues Enumerates the set of values for IpSecConnectionTunnelDpdModeEnum

func GetMappingIpSecConnectionTunnelDpdModeEnum ¶

func GetMappingIpSecConnectionTunnelDpdModeEnum(val string) (IpSecConnectionTunnelDpdModeEnum, bool)

GetMappingIpSecConnectionTunnelDpdModeEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnelErrorDetails ¶

type IpSecConnectionTunnelErrorDetails struct {

	// Unique ID generated for each error report.
	Id *string `mandatory:"true" json:"id"`

	// Unique code describes the error type.
	ErrorCode *string `mandatory:"true" json:"errorCode"`

	// A detailed description of the error.
	ErrorDescription *string `mandatory:"true" json:"errorDescription"`

	// Resolution for the error.
	Solution *string `mandatory:"true" json:"solution"`

	// Link to more Oracle resources or relevant documentation.
	OciResourcesLink *string `mandatory:"true" json:"ociResourcesLink"`

	// Timestamp when the error occurred.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

IpSecConnectionTunnelErrorDetails Details for an error on an IPSec tunnel.

func (IpSecConnectionTunnelErrorDetails) String ¶

func (IpSecConnectionTunnelErrorDetails) ValidateEnumValue ¶

func (m IpSecConnectionTunnelErrorDetails) 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 IpSecConnectionTunnelIkeVersionEnum ¶

type IpSecConnectionTunnelIkeVersionEnum string

IpSecConnectionTunnelIkeVersionEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelIkeVersionV1 IpSecConnectionTunnelIkeVersionEnum = "V1"
	IpSecConnectionTunnelIkeVersionV2 IpSecConnectionTunnelIkeVersionEnum = "V2"
)

Set of constants representing the allowable values for IpSecConnectionTunnelIkeVersionEnum

func GetIpSecConnectionTunnelIkeVersionEnumValues ¶

func GetIpSecConnectionTunnelIkeVersionEnumValues() []IpSecConnectionTunnelIkeVersionEnum

GetIpSecConnectionTunnelIkeVersionEnumValues Enumerates the set of values for IpSecConnectionTunnelIkeVersionEnum

func GetMappingIpSecConnectionTunnelIkeVersionEnum ¶

func GetMappingIpSecConnectionTunnelIkeVersionEnum(val string) (IpSecConnectionTunnelIkeVersionEnum, bool)

GetMappingIpSecConnectionTunnelIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnelLifecycleStateEnum ¶

type IpSecConnectionTunnelLifecycleStateEnum string

IpSecConnectionTunnelLifecycleStateEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelLifecycleStateProvisioning IpSecConnectionTunnelLifecycleStateEnum = "PROVISIONING"
	IpSecConnectionTunnelLifecycleStateAvailable    IpSecConnectionTunnelLifecycleStateEnum = "AVAILABLE"
	IpSecConnectionTunnelLifecycleStateTerminating  IpSecConnectionTunnelLifecycleStateEnum = "TERMINATING"
	IpSecConnectionTunnelLifecycleStateTerminated   IpSecConnectionTunnelLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for IpSecConnectionTunnelLifecycleStateEnum

func GetIpSecConnectionTunnelLifecycleStateEnumValues ¶

func GetIpSecConnectionTunnelLifecycleStateEnumValues() []IpSecConnectionTunnelLifecycleStateEnum

GetIpSecConnectionTunnelLifecycleStateEnumValues Enumerates the set of values for IpSecConnectionTunnelLifecycleStateEnum

func GetMappingIpSecConnectionTunnelLifecycleStateEnum ¶

func GetMappingIpSecConnectionTunnelLifecycleStateEnum(val string) (IpSecConnectionTunnelLifecycleStateEnum, bool)

GetMappingIpSecConnectionTunnelLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnelNatTranslationEnabledEnum ¶

type IpSecConnectionTunnelNatTranslationEnabledEnum string

IpSecConnectionTunnelNatTranslationEnabledEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelNatTranslationEnabledEnabled  IpSecConnectionTunnelNatTranslationEnabledEnum = "ENABLED"
	IpSecConnectionTunnelNatTranslationEnabledDisabled IpSecConnectionTunnelNatTranslationEnabledEnum = "DISABLED"
	IpSecConnectionTunnelNatTranslationEnabledAuto     IpSecConnectionTunnelNatTranslationEnabledEnum = "AUTO"
)

Set of constants representing the allowable values for IpSecConnectionTunnelNatTranslationEnabledEnum

func GetIpSecConnectionTunnelNatTranslationEnabledEnumValues ¶

func GetIpSecConnectionTunnelNatTranslationEnabledEnumValues() []IpSecConnectionTunnelNatTranslationEnabledEnum

GetIpSecConnectionTunnelNatTranslationEnabledEnumValues Enumerates the set of values for IpSecConnectionTunnelNatTranslationEnabledEnum

func GetMappingIpSecConnectionTunnelNatTranslationEnabledEnum ¶

func GetMappingIpSecConnectionTunnelNatTranslationEnabledEnum(val string) (IpSecConnectionTunnelNatTranslationEnabledEnum, bool)

GetMappingIpSecConnectionTunnelNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnelOracleCanInitiateEnum ¶

type IpSecConnectionTunnelOracleCanInitiateEnum string

IpSecConnectionTunnelOracleCanInitiateEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelOracleCanInitiateInitiatorOrResponder IpSecConnectionTunnelOracleCanInitiateEnum = "INITIATOR_OR_RESPONDER"
	IpSecConnectionTunnelOracleCanInitiateResponderOnly        IpSecConnectionTunnelOracleCanInitiateEnum = "RESPONDER_ONLY"
)

Set of constants representing the allowable values for IpSecConnectionTunnelOracleCanInitiateEnum

func GetIpSecConnectionTunnelOracleCanInitiateEnumValues ¶

func GetIpSecConnectionTunnelOracleCanInitiateEnumValues() []IpSecConnectionTunnelOracleCanInitiateEnum

GetIpSecConnectionTunnelOracleCanInitiateEnumValues Enumerates the set of values for IpSecConnectionTunnelOracleCanInitiateEnum

func GetMappingIpSecConnectionTunnelOracleCanInitiateEnum ¶

func GetMappingIpSecConnectionTunnelOracleCanInitiateEnum(val string) (IpSecConnectionTunnelOracleCanInitiateEnum, bool)

GetMappingIpSecConnectionTunnelOracleCanInitiateEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnelRoutingEnum ¶

type IpSecConnectionTunnelRoutingEnum string

IpSecConnectionTunnelRoutingEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelRoutingBgp    IpSecConnectionTunnelRoutingEnum = "BGP"
	IpSecConnectionTunnelRoutingStatic IpSecConnectionTunnelRoutingEnum = "STATIC"
	IpSecConnectionTunnelRoutingPolicy IpSecConnectionTunnelRoutingEnum = "POLICY"
)

Set of constants representing the allowable values for IpSecConnectionTunnelRoutingEnum

func GetIpSecConnectionTunnelRoutingEnumValues ¶

func GetIpSecConnectionTunnelRoutingEnumValues() []IpSecConnectionTunnelRoutingEnum

GetIpSecConnectionTunnelRoutingEnumValues Enumerates the set of values for IpSecConnectionTunnelRoutingEnum

func GetMappingIpSecConnectionTunnelRoutingEnum ¶

func GetMappingIpSecConnectionTunnelRoutingEnum(val string) (IpSecConnectionTunnelRoutingEnum, bool)

GetMappingIpSecConnectionTunnelRoutingEnum performs case Insensitive comparison on enum value and return the desired enum

type IpSecConnectionTunnelSharedSecret ¶

type IpSecConnectionTunnelSharedSecret struct {

	// The tunnel's shared secret (pre-shared key).
	SharedSecret *string `mandatory:"true" json:"sharedSecret"`
}

IpSecConnectionTunnelSharedSecret The tunnel's shared secret (pre-shared key).

func (IpSecConnectionTunnelSharedSecret) String ¶

func (IpSecConnectionTunnelSharedSecret) ValidateEnumValue ¶

func (m IpSecConnectionTunnelSharedSecret) 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 IpSecConnectionTunnelStatusEnum ¶

type IpSecConnectionTunnelStatusEnum string

IpSecConnectionTunnelStatusEnum Enum with underlying type: string

const (
	IpSecConnectionTunnelStatusUp                 IpSecConnectionTunnelStatusEnum = "UP"
	IpSecConnectionTunnelStatusDown               IpSecConnectionTunnelStatusEnum = "DOWN"
	IpSecConnectionTunnelStatusDownForMaintenance IpSecConnectionTunnelStatusEnum = "DOWN_FOR_MAINTENANCE"
	IpSecConnectionTunnelStatusPartialUp          IpSecConnectionTunnelStatusEnum = "PARTIAL_UP"
)

Set of constants representing the allowable values for IpSecConnectionTunnelStatusEnum

func GetIpSecConnectionTunnelStatusEnumValues ¶

func GetIpSecConnectionTunnelStatusEnumValues() []IpSecConnectionTunnelStatusEnum

GetIpSecConnectionTunnelStatusEnumValues Enumerates the set of values for IpSecConnectionTunnelStatusEnum

func GetMappingIpSecConnectionTunnelStatusEnum ¶

func GetMappingIpSecConnectionTunnelStatusEnum(val string) (IpSecConnectionTunnelStatusEnum, bool)

GetMappingIpSecConnectionTunnelStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type IpsecTunnelDrgAttachmentNetworkDetails ¶

type IpsecTunnelDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"false" json:"id"`

	// The IPSec connection that contains the attached IPSec tunnel.
	IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit's DRG attachment.
	TransportAttachmentId *string `mandatory:"false" json:"transportAttachmentId"`
}

IpsecTunnelDrgAttachmentNetworkDetails Specifies the IPSec tunnel attached to the DRG.

func (IpsecTunnelDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (IpsecTunnelDrgAttachmentNetworkDetails) MarshalJSON ¶

func (m IpsecTunnelDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IpsecTunnelDrgAttachmentNetworkDetails) String ¶

func (IpsecTunnelDrgAttachmentNetworkDetails) ValidateEnumValue ¶

func (m IpsecTunnelDrgAttachmentNetworkDetails) 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 Ipv6 ¶

type Ipv6 struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPv6.
	// This is the same as the VNIC's compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6.
	Id *string `mandatory:"true" json:"id"`

	// The IPv6 address of the `IPv6` object. The address is within the IPv6 prefix of the VNIC's subnet
	// (see the `ipv6CidrBlock` attribute for the Subnet object.
	// Example: `2001:0db8:0123:1111:abcd:ef01:2345:6789`
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The IPv6's current state.
	LifecycleState Ipv6LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The date and time the IPv6 was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the IPv6 is assigned to.
	// The VNIC and IPv6 must be in the same subnet.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

Ipv6 An *IPv6* is a conceptual term that refers to an IPv6 address and related properties. The `IPv6` object is the API representation of an IPv6. You can create and assign an IPv6 to any VNIC that is in an IPv6-enabled subnet in an IPv6-enabled VCN. **Note:** IPv6 addressing is supported for all commercial and government regions. For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).

func (Ipv6) String ¶

func (m Ipv6) String() string

func (Ipv6) ValidateEnumValue ¶

func (m Ipv6) 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 Ipv6AddressIpv6SubnetCidrPairDetails ¶ added in v65.48.0

type Ipv6AddressIpv6SubnetCidrPairDetails struct {

	// The IPv6 prefix allocated to the subnet.
	Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`

	// An IPv6 address of your choice. Must be an available IPv6 address within the subnet's prefix.
	// If an IPv6 address is not provided:
	// - Oracle will automatically assign an IPv6 address from the subnet's IPv6 prefix if and only if there is only one IPv6 prefix on the subnet.
	// - Oracle will automatically assign an IPv6 address from the subnet's IPv6 Oracle GUA prefix if it exists on the subnet.
	Ipv6Address *string `mandatory:"false" json:"ipv6Address"`
}

Ipv6AddressIpv6SubnetCidrPairDetails Details to assign an IPv6 subnet prefix and IPv6 address on VNIC creation.

func (Ipv6AddressIpv6SubnetCidrPairDetails) String ¶ added in v65.48.0

func (Ipv6AddressIpv6SubnetCidrPairDetails) ValidateEnumValue ¶ added in v65.48.0

func (m Ipv6AddressIpv6SubnetCidrPairDetails) 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 Ipv6LifecycleStateEnum ¶

type Ipv6LifecycleStateEnum string

Ipv6LifecycleStateEnum Enum with underlying type: string

const (
	Ipv6LifecycleStateProvisioning Ipv6LifecycleStateEnum = "PROVISIONING"
	Ipv6LifecycleStateAvailable    Ipv6LifecycleStateEnum = "AVAILABLE"
	Ipv6LifecycleStateTerminating  Ipv6LifecycleStateEnum = "TERMINATING"
	Ipv6LifecycleStateTerminated   Ipv6LifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for Ipv6LifecycleStateEnum

func GetIpv6LifecycleStateEnumValues ¶

func GetIpv6LifecycleStateEnumValues() []Ipv6LifecycleStateEnum

GetIpv6LifecycleStateEnumValues Enumerates the set of values for Ipv6LifecycleStateEnum

func GetMappingIpv6LifecycleStateEnum ¶

func GetMappingIpv6LifecycleStateEnum(val string) (Ipv6LifecycleStateEnum, bool)

GetMappingIpv6LifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchAttachIScsiVolumeDetails ¶ added in v65.60.0

type LaunchAttachIScsiVolumeDetails struct {

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	VolumeId *string `mandatory:"false" json:"volumeId"`

	LaunchCreateVolumeDetails LaunchCreateVolumeDetails `mandatory:"false" json:"launchCreateVolumeDetails"`

	// Whether to use CHAP authentication for the volume attachment. Defaults to false.
	UseChap *bool `mandatory:"false" json:"useChap"`

	// Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments.
	IsAgentAutoIscsiLoginEnabled *bool `mandatory:"false" json:"isAgentAutoIscsiLoginEnabled"`

	// Refer the top-level definition of encryptionInTransitType.
	// The default value is NONE.
	EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"`
}

LaunchAttachIScsiVolumeDetails Details specific to ISCSI type volume attachments.

func (LaunchAttachIScsiVolumeDetails) GetDevice ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) GetDevice() *string

GetDevice returns Device

func (LaunchAttachIScsiVolumeDetails) GetDisplayName ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LaunchAttachIScsiVolumeDetails) GetIsReadOnly ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (LaunchAttachIScsiVolumeDetails) GetIsShareable ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (LaunchAttachIScsiVolumeDetails) GetLaunchCreateVolumeDetails ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) GetLaunchCreateVolumeDetails() LaunchCreateVolumeDetails

GetLaunchCreateVolumeDetails returns LaunchCreateVolumeDetails

func (LaunchAttachIScsiVolumeDetails) GetVolumeId ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) GetVolumeId() *string

GetVolumeId returns VolumeId

func (LaunchAttachIScsiVolumeDetails) MarshalJSON ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LaunchAttachIScsiVolumeDetails) String ¶ added in v65.60.0

func (*LaunchAttachIScsiVolumeDetails) UnmarshalJSON ¶ added in v65.60.0

func (m *LaunchAttachIScsiVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (LaunchAttachIScsiVolumeDetails) ValidateEnumValue ¶ added in v65.60.0

func (m LaunchAttachIScsiVolumeDetails) 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 LaunchAttachVolumeDetails ¶ added in v65.60.0

type LaunchAttachVolumeDetails interface {

	// The device name. To retrieve a list of devices for a given instance, see ListInstanceDevices.
	GetDevice() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// Whether the attachment was created in read-only mode.
	GetIsReadOnly() *bool

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	GetIsShareable() *bool

	// The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.
	GetVolumeId() *string

	GetLaunchCreateVolumeDetails() LaunchCreateVolumeDetails
}

LaunchAttachVolumeDetails The details of the volume to attach.

type LaunchCreateVolumeDetails ¶ added in v65.60.0

type LaunchCreateVolumeDetails interface {
}

LaunchCreateVolumeDetails Define a volume that will be created and attached or attached to an instance on creation.

type LaunchCreateVolumeDetailsVolumeCreationTypeEnum ¶ added in v65.60.0

type LaunchCreateVolumeDetailsVolumeCreationTypeEnum string

LaunchCreateVolumeDetailsVolumeCreationTypeEnum Enum with underlying type: string

const (
	LaunchCreateVolumeDetailsVolumeCreationTypeAttributes LaunchCreateVolumeDetailsVolumeCreationTypeEnum = "ATTRIBUTES"
)

Set of constants representing the allowable values for LaunchCreateVolumeDetailsVolumeCreationTypeEnum

func GetLaunchCreateVolumeDetailsVolumeCreationTypeEnumValues ¶ added in v65.60.0

func GetLaunchCreateVolumeDetailsVolumeCreationTypeEnumValues() []LaunchCreateVolumeDetailsVolumeCreationTypeEnum

GetLaunchCreateVolumeDetailsVolumeCreationTypeEnumValues Enumerates the set of values for LaunchCreateVolumeDetailsVolumeCreationTypeEnum

func GetMappingLaunchCreateVolumeDetailsVolumeCreationTypeEnum ¶ added in v65.60.0

func GetMappingLaunchCreateVolumeDetailsVolumeCreationTypeEnum(val string) (LaunchCreateVolumeDetailsVolumeCreationTypeEnum, bool)

GetMappingLaunchCreateVolumeDetailsVolumeCreationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchCreateVolumeFromAttributes ¶ added in v65.60.0

type LaunchCreateVolumeFromAttributes struct {

	// The size of the volume in GBs.
	SizeInGBs *int64 `mandatory:"true" json:"sizeInGBs"`

	// The OCID of the compartment that contains the volume. If not provided,
	// it will be inherited from the instance.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID of the Vault service key to assign as the master encryption key
	// for the volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `0`: Represents Lower Cost option.
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`
}

LaunchCreateVolumeFromAttributes The details of the volume to create for CreateVolume operation.

func (LaunchCreateVolumeFromAttributes) MarshalJSON ¶ added in v65.60.0

func (m LaunchCreateVolumeFromAttributes) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LaunchCreateVolumeFromAttributes) String ¶ added in v65.60.0

func (LaunchCreateVolumeFromAttributes) ValidateEnumValue ¶ added in v65.60.0

func (m LaunchCreateVolumeFromAttributes) 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 LaunchInstanceAgentConfigDetails ¶

type LaunchInstanceAgentConfigDetails struct {

	// Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
	// monitoring plugins. Default value is false (monitoring plugins are enabled).
	// These are the monitoring plugins: Compute Instance Monitoring
	// and Custom Logs Monitoring.
	// The monitoring plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You
	// can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig`
	// object.
	IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"`

	// Whether Oracle Cloud Agent can run all the available management plugins.
	// Default value is false (management plugins are enabled).
	// These are the management plugins: OS Management Service Agent and Compute Instance
	// Run Command.
	// The management plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isManagementDisabled` is false, all of the management plugins are enabled. You
	// can optionally disable individual management plugins by providing a value in the `pluginsConfig`
	// object.
	IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"`

	// Whether Oracle Cloud Agent can run all the available plugins.
	// This includes the management and monitoring plugins.
	// To get a list of available plugins, use the
	// ListInstanceagentAvailablePlugins
	// operation in the Oracle Cloud Agent API. For more information about the available plugins, see
	// Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
	AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"`

	// The configuration of plugins associated with this instance.
	PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"`
}

LaunchInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance.

func (LaunchInstanceAgentConfigDetails) String ¶

func (LaunchInstanceAgentConfigDetails) ValidateEnumValue ¶

func (m LaunchInstanceAgentConfigDetails) 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 LaunchInstanceAvailabilityConfigDetails ¶

type LaunchInstanceAvailabilityConfigDetails struct {

	// Whether to live migrate supported VM instances to a healthy physical VM host without
	// disrupting running instances during infrastructure maintenance events. If null, Oracle
	// chooses the best option for migrating the VM during infrastructure maintenance events.
	IsLiveMigrationPreferred *bool `mandatory:"false" json:"isLiveMigrationPreferred"`

	// The lifecycle state for an instance when it is recovered after infrastructure maintenance.
	// * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event.
	// If the instance was running, it is automatically rebooted. This is the default action when a value is not set.
	// * `STOP_INSTANCE` - The instance is recovered in the stopped state.
	RecoveryAction LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"`
}

LaunchInstanceAvailabilityConfigDetails Options for VM migration during infrastructure maintenance events and for defining the availability of a VM instance after a maintenance event that impacts the underlying hardware.

func (LaunchInstanceAvailabilityConfigDetails) String ¶

func (LaunchInstanceAvailabilityConfigDetails) ValidateEnumValue ¶

func (m LaunchInstanceAvailabilityConfigDetails) 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 LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum ¶

type LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum string

LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum Enum with underlying type: string

const (
	LaunchInstanceAvailabilityConfigDetailsRecoveryActionRestoreInstance LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum = "RESTORE_INSTANCE"
	LaunchInstanceAvailabilityConfigDetailsRecoveryActionStopInstance    LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum = "STOP_INSTANCE"
)

Set of constants representing the allowable values for LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum

func GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumValues ¶

func GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumValues() []LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum

GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumValues Enumerates the set of values for LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum

func GetMappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum ¶

func GetMappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum(val string) (LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum, bool)

GetMappingLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchInstanceConfigurationRequest ¶

type LaunchInstanceConfigurationRequest struct {

	// The OCID of the instance configuration.
	InstanceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"instanceConfigurationId"`

	// Instance configuration Instance Details
	InstanceConfiguration InstanceConfigurationInstanceDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

LaunchInstanceConfigurationRequest wrapper for the LaunchInstanceConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfigurationRequest.

func (LaunchInstanceConfigurationRequest) BinaryRequestBody ¶

func (request LaunchInstanceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (LaunchInstanceConfigurationRequest) HTTPRequest ¶

func (request LaunchInstanceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (LaunchInstanceConfigurationRequest) RetryPolicy ¶

func (request LaunchInstanceConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (LaunchInstanceConfigurationRequest) String ¶

func (request LaunchInstanceConfigurationRequest) String() string

func (LaunchInstanceConfigurationRequest) ValidateEnumValue ¶

func (request LaunchInstanceConfigurationRequest) 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 LaunchInstanceConfigurationResponse ¶

type LaunchInstanceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Instance instance
	Instance `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

LaunchInstanceConfigurationResponse wrapper for the LaunchInstanceConfiguration operation

func (LaunchInstanceConfigurationResponse) HTTPResponse ¶

func (response LaunchInstanceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (LaunchInstanceConfigurationResponse) String ¶

func (response LaunchInstanceConfigurationResponse) String() string

type LaunchInstanceDetails ¶

type LaunchInstanceDetails struct {

	// The availability domain of the instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the compute capacity reservation this instance is launched under.
	// You can opt out of all default reservations by specifying an empty string as input for this field.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"`

	CreateVnicDetails *CreateVnicDetails `mandatory:"false" json:"createVnicDetails"`

	// The OCID of the dedicated virtual machine host to place the instance on.
	DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Additional metadata key/value pairs that you provide. They serve the same purpose and
	// functionality as fields in the `metadata` object.
	// They are distinguished from `metadata` fields in that these can be nested JSON objects
	// (whereas `metadata` fields are string/string maps only).
	// The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of
	// 32,000 bytes.
	ExtendedMetadata map[string]interface{} `mandatory:"false" json:"extendedMetadata"`

	// A fault domain is a grouping of hardware and infrastructure within an availability domain.
	// Each availability domain contains three fault domains. Fault domains let you distribute your
	// instances so that they are not on the same physical hardware within a single availability domain.
	// A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
	// instances in other fault domains.
	// If you do not specify the fault domain, the system selects one for you.
	//
	// To get a list of fault domains, use the
	// ListFaultDomains operation in the
	// Identity and Access Management Service API.
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	// The OCID of the cluster placement group of the instance.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
	// compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in.
	ComputeClusterId *string `mandatory:"false" json:"computeClusterId"`

	// Deprecated. Instead use `hostnameLabel` in
	// CreateVnicDetails.
	// If you provide both, the values must match.
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// Deprecated. Use `sourceDetails` with InstanceSourceViaImageDetails
	// source type instead. If you specify values for both, the values must match.
	ImageId *string `mandatory:"false" json:"imageId"`

	// This is an advanced option.
	// When a bare metal or virtual machine
	// instance boots, the iPXE firmware that runs on the instance is
	// configured to run an iPXE script to continue the boot process.
	// If you want more control over the boot process, you can provide
	// your own custom iPXE script that will run when the instance boots.
	// Be aware that the same iPXE script will run
	// every time an instance boots, not only after the initial
	// LaunchInstance call.
	// The default iPXE script connects to the instance's local boot
	// volume over iSCSI and performs a network boot. If you use a custom iPXE
	// script and want to network-boot from the instance's local boot volume
	// over iSCSI the same way as the default iPXE script, use the
	// following iSCSI IP address: 169.254.0.2, and boot volume IQN:
	// iqn.2015-02.oracle.boot.
	// If your instance boot volume attachment type is paravirtualized,
	// the boot volume is attached to the instance through virtio-scsi and no iPXE script is used.
	// If your instance boot volume attachment type is paravirtualized
	// and you use custom iPXE to network boot into your instance,
	// the primary boot volume is attached as a data volume through virtio-scsi drive.
	// For more information about the Bring Your Own Image feature of
	// Oracle Cloud Infrastructure, see
	// Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm).
	// For more information about iPXE, see http://ipxe.org.
	IpxeScript *string `mandatory:"false" json:"ipxeScript"`

	LaunchOptions *LaunchOptions `mandatory:"false" json:"launchOptions"`

	InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"`

	AvailabilityConfig *LaunchInstanceAvailabilityConfigDetails `mandatory:"false" json:"availabilityConfig"`

	PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `mandatory:"false" json:"preemptibleInstanceConfig"`

	// Custom metadata key/value pairs that you provide, such as the SSH public key
	// required to connect to the instance.
	// A metadata service runs on every launched instance. The service is an HTTP
	// endpoint listening on 169.254.169.254. You can use the service to:
	// * Provide information to Cloud-Init (https://cloudinit.readthedocs.org/en/latest/)
	//   to be used for various system initialization tasks.
	// * Get information about the instance, including the custom metadata that you
	//   provide when you launch the instance.
	//  **Providing Cloud-Init Metadata**
	//  You can use the following metadata key names to provide information to
	//  Cloud-Init:
	//  **"ssh_authorized_keys"** - Provide one or more public SSH keys to be
	//  included in the `~/.ssh/authorized_keys` file for the default user on the
	//  instance. Use a newline character to separate multiple keys. The SSH
	//  keys must be in the format necessary for the `authorized_keys` file, as shown
	//  in the example below.
	//  **"user_data"** - Provide your own base64-encoded data to be used by
	//  Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For
	//  information about how to take advantage of user data, see the
	//  Cloud-Init Documentation (http://cloudinit.readthedocs.org/en/latest/topics/format.html).
	//  **Metadata Example**
	//       "metadata" : {
	//          "quake_bot_level" : "Severe",
	//          "ssh_authorized_keys" : "ssh-rsa <your_public_SSH_key>== rsa-key-20160227",
	//          "user_data" : "<your_public_SSH_key>=="
	//       }
	//  **Getting Metadata on the Instance**
	//  To get information about your instance, connect to the instance using SSH and issue any of the
	//  following GET requests:
	//      curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/
	//      curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/
	//      curl -H "Authorization: Bearer Oracle" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>
	//  You'll get back a response that includes all the instance information; only the metadata information; or
	//  the metadata information for the specified key name, respectively.
	//  The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.
	Metadata map[string]string `mandatory:"false" json:"metadata"`

	AgentConfig *LaunchInstanceAgentConfigDetails `mandatory:"false" json:"agentConfig"`

	// The shape of an instance. The shape determines the number of CPUs, amount of memory,
	// and other resources allocated to the instance.
	// You can enumerate all available shapes by calling ListShapes.
	Shape *string `mandatory:"false" json:"shape"`

	ShapeConfig *LaunchInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"`

	SourceDetails InstanceSourceDetails `mandatory:"false" json:"sourceDetails"`

	// Deprecated. Instead use `subnetId` in
	// CreateVnicDetails.
	// At least one of them is required; if you provide both, the values must match.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// Volume attachments to create as part of the launch instance operation.
	LaunchVolumeAttachments []LaunchAttachVolumeDetails `mandatory:"false" json:"launchVolumeAttachments"`

	// Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	PlatformConfig LaunchInstancePlatformConfig `mandatory:"false" json:"platformConfig"`

	// The OCID of the Instance Configuration containing instance launch details. Any other fields supplied in this instance launch request will override the details stored in the Instance Configuration for this instance launch.
	InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"`
}

LaunchInstanceDetails Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance.

func (LaunchInstanceDetails) String ¶

func (m LaunchInstanceDetails) String() string

func (*LaunchInstanceDetails) UnmarshalJSON ¶

func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (LaunchInstanceDetails) ValidateEnumValue ¶

func (m LaunchInstanceDetails) 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 LaunchInstancePlatformConfig ¶

type LaunchInstancePlatformConfig interface {

	// Whether Secure Boot is enabled on the instance.
	GetIsSecureBootEnabled() *bool

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	GetIsTrustedPlatformModuleEnabled() *bool

	// Whether the Measured Boot feature is enabled on the instance.
	GetIsMeasuredBootEnabled() *bool

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	GetIsMemoryEncryptionEnabled() *bool
}

LaunchInstancePlatformConfig The platform configuration requested for the instance. If you provide the parameter, the instance is created with the platform configuration that you specify. For any values that you omit, the instance uses the default configuration values for the `shape` that you specify. If you don't provide the parameter, the default values for the `shape` are used. Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. For more information about shielded instances, see Shielded Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/References/shielded-instances.htm). For more information about BIOS settings for bare metal instances, see BIOS Settings for Bare Metal Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).

type LaunchInstancePlatformConfigTypeEnum ¶

type LaunchInstancePlatformConfigTypeEnum string

LaunchInstancePlatformConfigTypeEnum Enum with underlying type: string

const (
	LaunchInstancePlatformConfigTypeAmdMilanBm     LaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM"
	LaunchInstancePlatformConfigTypeAmdMilanBmGpu  LaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM_GPU"
	LaunchInstancePlatformConfigTypeAmdRomeBm      LaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM"
	LaunchInstancePlatformConfigTypeAmdRomeBmGpu   LaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM_GPU"
	LaunchInstancePlatformConfigTypeGenericBm      LaunchInstancePlatformConfigTypeEnum = "GENERIC_BM"
	LaunchInstancePlatformConfigTypeIntelIcelakeBm LaunchInstancePlatformConfigTypeEnum = "INTEL_ICELAKE_BM"
	LaunchInstancePlatformConfigTypeIntelSkylakeBm LaunchInstancePlatformConfigTypeEnum = "INTEL_SKYLAKE_BM"
	LaunchInstancePlatformConfigTypeAmdVm          LaunchInstancePlatformConfigTypeEnum = "AMD_VM"
	LaunchInstancePlatformConfigTypeIntelVm        LaunchInstancePlatformConfigTypeEnum = "INTEL_VM"
)

Set of constants representing the allowable values for LaunchInstancePlatformConfigTypeEnum

func GetLaunchInstancePlatformConfigTypeEnumValues ¶

func GetLaunchInstancePlatformConfigTypeEnumValues() []LaunchInstancePlatformConfigTypeEnum

GetLaunchInstancePlatformConfigTypeEnumValues Enumerates the set of values for LaunchInstancePlatformConfigTypeEnum

func GetMappingLaunchInstancePlatformConfigTypeEnum ¶

func GetMappingLaunchInstancePlatformConfigTypeEnum(val string) (LaunchInstancePlatformConfigTypeEnum, bool)

GetMappingLaunchInstancePlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchInstanceRequest ¶

type LaunchInstanceRequest struct {

	// Instance details
	LaunchInstanceDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

LaunchInstanceRequest wrapper for the LaunchInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstanceRequest.

func (LaunchInstanceRequest) BinaryRequestBody ¶

func (request LaunchInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (LaunchInstanceRequest) HTTPRequest ¶

func (request LaunchInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (LaunchInstanceRequest) RetryPolicy ¶

func (request LaunchInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (LaunchInstanceRequest) String ¶

func (request LaunchInstanceRequest) String() string

func (LaunchInstanceRequest) ValidateEnumValue ¶

func (request LaunchInstanceRequest) 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 LaunchInstanceResponse ¶

type LaunchInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Instance instance
	Instance `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

LaunchInstanceResponse wrapper for the LaunchInstance operation

func (LaunchInstanceResponse) HTTPResponse ¶

func (response LaunchInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (LaunchInstanceResponse) String ¶

func (response LaunchInstanceResponse) String() string

type LaunchInstanceShapeConfigDetails ¶

type LaunchInstanceShapeConfigDetails struct {

	// The total number of OCPUs available to the instance.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The total number of VCPUs available to the instance. This can be used instead of OCPUs,
	// in which case the actual number of OCPUs will be calculated based on this value
	// and the actual hardware. This must be a multiple of 2.
	Vcpus *int `mandatory:"false" json:"vcpus"`

	// The total amount of memory available to the instance, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

	// The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a
	// non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`.
	// The following values are supported:
	// - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU.
	// - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU.
	// - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance.
	BaselineOcpuUtilization LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"`

	// The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
	Nvmes *int `mandatory:"false" json:"nvmes"`
}

LaunchInstanceShapeConfigDetails The shape configuration requested for the instance. If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the `shape` that you specify. Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned.

func (LaunchInstanceShapeConfigDetails) String ¶

func (LaunchInstanceShapeConfigDetails) ValidateEnumValue ¶

func (m LaunchInstanceShapeConfigDetails) 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 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum ¶

type LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum string

LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum Enum with underlying type: string

const (
	LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization8 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_8"
	LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization2 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_2"
	LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_1"
)

Set of constants representing the allowable values for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues ¶

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum ¶

func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool)

GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchOptions ¶

type LaunchOptions struct {

	// Emulation type for the boot volume.
	// * `ISCSI` - ISCSI attached block storage device.
	// * `SCSI` - Emulated SCSI disk.
	// * `IDE` - Emulated IDE disk.
	// * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
	// volumes on platform images.
	// * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
	// storage volumes on platform images.
	BootVolumeType LaunchOptionsBootVolumeTypeEnum `mandatory:"false" json:"bootVolumeType,omitempty"`

	// Firmware used to boot VM. Select the option that matches your operating system.
	// * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
	// systems that boot using MBR style bootloaders.
	// * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
	// default for platform images.
	Firmware LaunchOptionsFirmwareEnum `mandatory:"false" json:"firmware,omitempty"`

	// Emulation type for the physical network interface card (NIC).
	// * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
	// * `VFIO` - Direct attached Virtual Function network controller. This is the networking type
	// when you launch an instance using hardware-assisted (SR-IOV) networking.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	NetworkType LaunchOptionsNetworkTypeEnum `mandatory:"false" json:"networkType,omitempty"`

	// Emulation type for volume.
	// * `ISCSI` - ISCSI attached block storage device.
	// * `SCSI` - Emulated SCSI disk.
	// * `IDE` - Emulated IDE disk.
	// * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
	// volumes on platform images.
	// * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
	// storage volumes on platform images.
	RemoteDataVolumeType LaunchOptionsRemoteDataVolumeTypeEnum `mandatory:"false" json:"remoteDataVolumeType,omitempty"`

	// Deprecated. Instead use `isPvEncryptionInTransitEnabled` in
	// LaunchInstanceDetails.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// Whether to enable consistent volume naming feature. Defaults to false.
	IsConsistentVolumeNamingEnabled *bool `mandatory:"false" json:"isConsistentVolumeNamingEnabled"`
}

LaunchOptions Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values.

func (LaunchOptions) String ¶

func (m LaunchOptions) String() string

func (LaunchOptions) ValidateEnumValue ¶

func (m LaunchOptions) 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 LaunchOptionsBootVolumeTypeEnum ¶

type LaunchOptionsBootVolumeTypeEnum string

LaunchOptionsBootVolumeTypeEnum Enum with underlying type: string

const (
	LaunchOptionsBootVolumeTypeIscsi           LaunchOptionsBootVolumeTypeEnum = "ISCSI"
	LaunchOptionsBootVolumeTypeScsi            LaunchOptionsBootVolumeTypeEnum = "SCSI"
	LaunchOptionsBootVolumeTypeIde             LaunchOptionsBootVolumeTypeEnum = "IDE"
	LaunchOptionsBootVolumeTypeVfio            LaunchOptionsBootVolumeTypeEnum = "VFIO"
	LaunchOptionsBootVolumeTypeParavirtualized LaunchOptionsBootVolumeTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for LaunchOptionsBootVolumeTypeEnum

func GetLaunchOptionsBootVolumeTypeEnumValues ¶

func GetLaunchOptionsBootVolumeTypeEnumValues() []LaunchOptionsBootVolumeTypeEnum

GetLaunchOptionsBootVolumeTypeEnumValues Enumerates the set of values for LaunchOptionsBootVolumeTypeEnum

func GetMappingLaunchOptionsBootVolumeTypeEnum ¶

func GetMappingLaunchOptionsBootVolumeTypeEnum(val string) (LaunchOptionsBootVolumeTypeEnum, bool)

GetMappingLaunchOptionsBootVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchOptionsFirmwareEnum ¶

type LaunchOptionsFirmwareEnum string

LaunchOptionsFirmwareEnum Enum with underlying type: string

const (
	LaunchOptionsFirmwareBios   LaunchOptionsFirmwareEnum = "BIOS"
	LaunchOptionsFirmwareUefi64 LaunchOptionsFirmwareEnum = "UEFI_64"
)

Set of constants representing the allowable values for LaunchOptionsFirmwareEnum

func GetLaunchOptionsFirmwareEnumValues ¶

func GetLaunchOptionsFirmwareEnumValues() []LaunchOptionsFirmwareEnum

GetLaunchOptionsFirmwareEnumValues Enumerates the set of values for LaunchOptionsFirmwareEnum

func GetMappingLaunchOptionsFirmwareEnum ¶

func GetMappingLaunchOptionsFirmwareEnum(val string) (LaunchOptionsFirmwareEnum, bool)

GetMappingLaunchOptionsFirmwareEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchOptionsNetworkTypeEnum ¶

type LaunchOptionsNetworkTypeEnum string

LaunchOptionsNetworkTypeEnum Enum with underlying type: string

const (
	LaunchOptionsNetworkTypeE1000           LaunchOptionsNetworkTypeEnum = "E1000"
	LaunchOptionsNetworkTypeVfio            LaunchOptionsNetworkTypeEnum = "VFIO"
	LaunchOptionsNetworkTypeParavirtualized LaunchOptionsNetworkTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for LaunchOptionsNetworkTypeEnum

func GetLaunchOptionsNetworkTypeEnumValues ¶

func GetLaunchOptionsNetworkTypeEnumValues() []LaunchOptionsNetworkTypeEnum

GetLaunchOptionsNetworkTypeEnumValues Enumerates the set of values for LaunchOptionsNetworkTypeEnum

func GetMappingLaunchOptionsNetworkTypeEnum ¶

func GetMappingLaunchOptionsNetworkTypeEnum(val string) (LaunchOptionsNetworkTypeEnum, bool)

GetMappingLaunchOptionsNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LaunchOptionsRemoteDataVolumeTypeEnum ¶

type LaunchOptionsRemoteDataVolumeTypeEnum string

LaunchOptionsRemoteDataVolumeTypeEnum Enum with underlying type: string

const (
	LaunchOptionsRemoteDataVolumeTypeIscsi           LaunchOptionsRemoteDataVolumeTypeEnum = "ISCSI"
	LaunchOptionsRemoteDataVolumeTypeScsi            LaunchOptionsRemoteDataVolumeTypeEnum = "SCSI"
	LaunchOptionsRemoteDataVolumeTypeIde             LaunchOptionsRemoteDataVolumeTypeEnum = "IDE"
	LaunchOptionsRemoteDataVolumeTypeVfio            LaunchOptionsRemoteDataVolumeTypeEnum = "VFIO"
	LaunchOptionsRemoteDataVolumeTypeParavirtualized LaunchOptionsRemoteDataVolumeTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for LaunchOptionsRemoteDataVolumeTypeEnum

func GetLaunchOptionsRemoteDataVolumeTypeEnumValues ¶

func GetLaunchOptionsRemoteDataVolumeTypeEnumValues() []LaunchOptionsRemoteDataVolumeTypeEnum

GetLaunchOptionsRemoteDataVolumeTypeEnumValues Enumerates the set of values for LaunchOptionsRemoteDataVolumeTypeEnum

func GetMappingLaunchOptionsRemoteDataVolumeTypeEnum ¶

func GetMappingLaunchOptionsRemoteDataVolumeTypeEnum(val string) (LaunchOptionsRemoteDataVolumeTypeEnum, bool)

GetMappingLaunchOptionsRemoteDataVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type LetterOfAuthority ¶

type LetterOfAuthority struct {

	// The name of the entity authorized by this Letter of Authority.
	AuthorizedEntityName *string `mandatory:"false" json:"authorizedEntityName"`

	// The type of cross-connect fiber, termination, and optical specification.
	CircuitType LetterOfAuthorityCircuitTypeEnum `mandatory:"false" json:"circuitType,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"false" json:"crossConnectId"`

	// The address of the FastConnect location.
	FacilityLocation *string `mandatory:"false" json:"facilityLocation"`

	// The meet-me room port for this cross-connect.
	PortName *string `mandatory:"false" json:"portName"`

	// The date and time when the Letter of Authority expires, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`

	// The date and time the Letter of Authority was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"`
}

LetterOfAuthority The Letter of Authority for the cross-connect. You must submit this letter when requesting cabling for the cross-connect at the FastConnect location.

func (LetterOfAuthority) String ¶

func (m LetterOfAuthority) String() string

func (LetterOfAuthority) ValidateEnumValue ¶

func (m LetterOfAuthority) 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 LetterOfAuthorityCircuitTypeEnum ¶

type LetterOfAuthorityCircuitTypeEnum string

LetterOfAuthorityCircuitTypeEnum Enum with underlying type: string

const (
	LetterOfAuthorityCircuitTypeLc LetterOfAuthorityCircuitTypeEnum = "Single_mode_LC"
	LetterOfAuthorityCircuitTypeSc LetterOfAuthorityCircuitTypeEnum = "Single_mode_SC"
)

Set of constants representing the allowable values for LetterOfAuthorityCircuitTypeEnum

func GetLetterOfAuthorityCircuitTypeEnumValues ¶

func GetLetterOfAuthorityCircuitTypeEnumValues() []LetterOfAuthorityCircuitTypeEnum

GetLetterOfAuthorityCircuitTypeEnumValues Enumerates the set of values for LetterOfAuthorityCircuitTypeEnum

func GetMappingLetterOfAuthorityCircuitTypeEnum ¶

func GetMappingLetterOfAuthorityCircuitTypeEnum(val string) (LetterOfAuthorityCircuitTypeEnum, bool)

GetMappingLetterOfAuthorityCircuitTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAllowedPeerRegionsForRemotePeeringRequest ¶

type ListAllowedPeerRegionsForRemotePeeringRequest struct {

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListAllowedPeerRegionsForRemotePeeringRequest wrapper for the ListAllowedPeerRegionsForRemotePeering operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeeringRequest.

func (ListAllowedPeerRegionsForRemotePeeringRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListAllowedPeerRegionsForRemotePeeringRequest) HTTPRequest ¶

func (request ListAllowedPeerRegionsForRemotePeeringRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAllowedPeerRegionsForRemotePeeringRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAllowedPeerRegionsForRemotePeeringRequest) String ¶

func (ListAllowedPeerRegionsForRemotePeeringRequest) ValidateEnumValue ¶

func (request ListAllowedPeerRegionsForRemotePeeringRequest) 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 ListAllowedPeerRegionsForRemotePeeringResponse ¶

type ListAllowedPeerRegionsForRemotePeeringResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []PeerRegionForRemotePeering instance
	Items []PeerRegionForRemotePeering `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"`
}

ListAllowedPeerRegionsForRemotePeeringResponse wrapper for the ListAllowedPeerRegionsForRemotePeering operation

func (ListAllowedPeerRegionsForRemotePeeringResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListAllowedPeerRegionsForRemotePeeringResponse) String ¶

type ListAppCatalogListingResourceVersionsRequest ¶

type ListAppCatalogListingResourceVersionsRequest struct {

	// The OCID of the listing.
	ListingId *string `mandatory:"true" contributesTo:"path" name:"listingId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListAppCatalogListingResourceVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListAppCatalogListingResourceVersionsRequest wrapper for the ListAppCatalogListingResourceVersions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersionsRequest.

func (ListAppCatalogListingResourceVersionsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListAppCatalogListingResourceVersionsRequest) HTTPRequest ¶

func (request ListAppCatalogListingResourceVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAppCatalogListingResourceVersionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAppCatalogListingResourceVersionsRequest) String ¶

func (ListAppCatalogListingResourceVersionsRequest) ValidateEnumValue ¶

func (request ListAppCatalogListingResourceVersionsRequest) 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 ListAppCatalogListingResourceVersionsResponse ¶

type ListAppCatalogListingResourceVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AppCatalogListingResourceVersionSummary instances
	Items []AppCatalogListingResourceVersionSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListAppCatalogListingResourceVersionsResponse wrapper for the ListAppCatalogListingResourceVersions operation

func (ListAppCatalogListingResourceVersionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListAppCatalogListingResourceVersionsResponse) String ¶

type ListAppCatalogListingResourceVersionsSortOrderEnum ¶

type ListAppCatalogListingResourceVersionsSortOrderEnum string

ListAppCatalogListingResourceVersionsSortOrderEnum Enum with underlying type: string

const (
	ListAppCatalogListingResourceVersionsSortOrderAsc  ListAppCatalogListingResourceVersionsSortOrderEnum = "ASC"
	ListAppCatalogListingResourceVersionsSortOrderDesc ListAppCatalogListingResourceVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAppCatalogListingResourceVersionsSortOrderEnum

func GetListAppCatalogListingResourceVersionsSortOrderEnumValues ¶

func GetListAppCatalogListingResourceVersionsSortOrderEnumValues() []ListAppCatalogListingResourceVersionsSortOrderEnum

GetListAppCatalogListingResourceVersionsSortOrderEnumValues Enumerates the set of values for ListAppCatalogListingResourceVersionsSortOrderEnum

func GetMappingListAppCatalogListingResourceVersionsSortOrderEnum ¶

func GetMappingListAppCatalogListingResourceVersionsSortOrderEnum(val string) (ListAppCatalogListingResourceVersionsSortOrderEnum, bool)

GetMappingListAppCatalogListingResourceVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAppCatalogListingsRequest ¶

type ListAppCatalogListingsRequest struct {

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListAppCatalogListingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only the publisher that matches the given publisher name exactly.
	PublisherName *string `mandatory:"false" contributesTo:"query" name:"publisherName"`

	// A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
	PublisherType *string `mandatory:"false" contributesTo:"query" name:"publisherType"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListAppCatalogListingsRequest wrapper for the ListAppCatalogListings operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListingsRequest.

func (ListAppCatalogListingsRequest) BinaryRequestBody ¶

func (request ListAppCatalogListingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAppCatalogListingsRequest) HTTPRequest ¶

func (request ListAppCatalogListingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAppCatalogListingsRequest) RetryPolicy ¶

func (request ListAppCatalogListingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAppCatalogListingsRequest) String ¶

func (request ListAppCatalogListingsRequest) String() string

func (ListAppCatalogListingsRequest) ValidateEnumValue ¶

func (request ListAppCatalogListingsRequest) 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 ListAppCatalogListingsResponse ¶

type ListAppCatalogListingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AppCatalogListingSummary instances
	Items []AppCatalogListingSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListAppCatalogListingsResponse wrapper for the ListAppCatalogListings operation

func (ListAppCatalogListingsResponse) HTTPResponse ¶

func (response ListAppCatalogListingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAppCatalogListingsResponse) String ¶

func (response ListAppCatalogListingsResponse) String() string

type ListAppCatalogListingsSortOrderEnum ¶

type ListAppCatalogListingsSortOrderEnum string

ListAppCatalogListingsSortOrderEnum Enum with underlying type: string

const (
	ListAppCatalogListingsSortOrderAsc  ListAppCatalogListingsSortOrderEnum = "ASC"
	ListAppCatalogListingsSortOrderDesc ListAppCatalogListingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAppCatalogListingsSortOrderEnum

func GetListAppCatalogListingsSortOrderEnumValues ¶

func GetListAppCatalogListingsSortOrderEnumValues() []ListAppCatalogListingsSortOrderEnum

GetListAppCatalogListingsSortOrderEnumValues Enumerates the set of values for ListAppCatalogListingsSortOrderEnum

func GetMappingListAppCatalogListingsSortOrderEnum ¶

func GetMappingListAppCatalogListingsSortOrderEnum(val string) (ListAppCatalogListingsSortOrderEnum, bool)

GetMappingListAppCatalogListingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAppCatalogSubscriptionsRequest ¶

type ListAppCatalogSubscriptionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListAppCatalogSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListAppCatalogSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only the listings that matches the given listing id.
	ListingId *string `mandatory:"false" contributesTo:"query" name:"listingId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListAppCatalogSubscriptionsRequest wrapper for the ListAppCatalogSubscriptions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptionsRequest.

func (ListAppCatalogSubscriptionsRequest) BinaryRequestBody ¶

func (request ListAppCatalogSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAppCatalogSubscriptionsRequest) HTTPRequest ¶

func (request ListAppCatalogSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAppCatalogSubscriptionsRequest) RetryPolicy ¶

func (request ListAppCatalogSubscriptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAppCatalogSubscriptionsRequest) String ¶

func (request ListAppCatalogSubscriptionsRequest) String() string

func (ListAppCatalogSubscriptionsRequest) ValidateEnumValue ¶

func (request ListAppCatalogSubscriptionsRequest) 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 ListAppCatalogSubscriptionsResponse ¶

type ListAppCatalogSubscriptionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AppCatalogSubscriptionSummary instances
	Items []AppCatalogSubscriptionSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListAppCatalogSubscriptionsResponse wrapper for the ListAppCatalogSubscriptions operation

func (ListAppCatalogSubscriptionsResponse) HTTPResponse ¶

func (response ListAppCatalogSubscriptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAppCatalogSubscriptionsResponse) String ¶

func (response ListAppCatalogSubscriptionsResponse) String() string

type ListAppCatalogSubscriptionsSortByEnum ¶

type ListAppCatalogSubscriptionsSortByEnum string

ListAppCatalogSubscriptionsSortByEnum Enum with underlying type: string

const (
	ListAppCatalogSubscriptionsSortByTimecreated ListAppCatalogSubscriptionsSortByEnum = "TIMECREATED"
	ListAppCatalogSubscriptionsSortByDisplayname ListAppCatalogSubscriptionsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListAppCatalogSubscriptionsSortByEnum

func GetListAppCatalogSubscriptionsSortByEnumValues ¶

func GetListAppCatalogSubscriptionsSortByEnumValues() []ListAppCatalogSubscriptionsSortByEnum

GetListAppCatalogSubscriptionsSortByEnumValues Enumerates the set of values for ListAppCatalogSubscriptionsSortByEnum

func GetMappingListAppCatalogSubscriptionsSortByEnum ¶

func GetMappingListAppCatalogSubscriptionsSortByEnum(val string) (ListAppCatalogSubscriptionsSortByEnum, bool)

GetMappingListAppCatalogSubscriptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAppCatalogSubscriptionsSortOrderEnum ¶

type ListAppCatalogSubscriptionsSortOrderEnum string

ListAppCatalogSubscriptionsSortOrderEnum Enum with underlying type: string

const (
	ListAppCatalogSubscriptionsSortOrderAsc  ListAppCatalogSubscriptionsSortOrderEnum = "ASC"
	ListAppCatalogSubscriptionsSortOrderDesc ListAppCatalogSubscriptionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAppCatalogSubscriptionsSortOrderEnum

func GetListAppCatalogSubscriptionsSortOrderEnumValues ¶

func GetListAppCatalogSubscriptionsSortOrderEnumValues() []ListAppCatalogSubscriptionsSortOrderEnum

GetListAppCatalogSubscriptionsSortOrderEnumValues Enumerates the set of values for ListAppCatalogSubscriptionsSortOrderEnum

func GetMappingListAppCatalogSubscriptionsSortOrderEnum ¶

func GetMappingListAppCatalogSubscriptionsSortOrderEnum(val string) (ListAppCatalogSubscriptionsSortOrderEnum, bool)

GetMappingListAppCatalogSubscriptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBlockVolumeReplicasRequest ¶

type ListBlockVolumeReplicasRequest struct {

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID of the volume group replica.
	VolumeGroupReplicaId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupReplicaId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListBlockVolumeReplicasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListBlockVolumeReplicasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
	LifecycleState BlockVolumeReplicaLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListBlockVolumeReplicasRequest wrapper for the ListBlockVolumeReplicas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicasRequest.

func (ListBlockVolumeReplicasRequest) BinaryRequestBody ¶

func (request ListBlockVolumeReplicasRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBlockVolumeReplicasRequest) HTTPRequest ¶

func (request ListBlockVolumeReplicasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBlockVolumeReplicasRequest) RetryPolicy ¶

func (request ListBlockVolumeReplicasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBlockVolumeReplicasRequest) String ¶

func (request ListBlockVolumeReplicasRequest) String() string

func (ListBlockVolumeReplicasRequest) ValidateEnumValue ¶

func (request ListBlockVolumeReplicasRequest) 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 ListBlockVolumeReplicasResponse ¶

type ListBlockVolumeReplicasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []BlockVolumeReplica instances
	Items []BlockVolumeReplica `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListBlockVolumeReplicasResponse wrapper for the ListBlockVolumeReplicas operation

func (ListBlockVolumeReplicasResponse) HTTPResponse ¶

func (response ListBlockVolumeReplicasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBlockVolumeReplicasResponse) String ¶

func (response ListBlockVolumeReplicasResponse) String() string

type ListBlockVolumeReplicasSortByEnum ¶

type ListBlockVolumeReplicasSortByEnum string

ListBlockVolumeReplicasSortByEnum Enum with underlying type: string

const (
	ListBlockVolumeReplicasSortByTimecreated ListBlockVolumeReplicasSortByEnum = "TIMECREATED"
	ListBlockVolumeReplicasSortByDisplayname ListBlockVolumeReplicasSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListBlockVolumeReplicasSortByEnum

func GetListBlockVolumeReplicasSortByEnumValues ¶

func GetListBlockVolumeReplicasSortByEnumValues() []ListBlockVolumeReplicasSortByEnum

GetListBlockVolumeReplicasSortByEnumValues Enumerates the set of values for ListBlockVolumeReplicasSortByEnum

func GetMappingListBlockVolumeReplicasSortByEnum ¶

func GetMappingListBlockVolumeReplicasSortByEnum(val string) (ListBlockVolumeReplicasSortByEnum, bool)

GetMappingListBlockVolumeReplicasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBlockVolumeReplicasSortOrderEnum ¶

type ListBlockVolumeReplicasSortOrderEnum string

ListBlockVolumeReplicasSortOrderEnum Enum with underlying type: string

const (
	ListBlockVolumeReplicasSortOrderAsc  ListBlockVolumeReplicasSortOrderEnum = "ASC"
	ListBlockVolumeReplicasSortOrderDesc ListBlockVolumeReplicasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListBlockVolumeReplicasSortOrderEnum

func GetListBlockVolumeReplicasSortOrderEnumValues ¶

func GetListBlockVolumeReplicasSortOrderEnumValues() []ListBlockVolumeReplicasSortOrderEnum

GetListBlockVolumeReplicasSortOrderEnumValues Enumerates the set of values for ListBlockVolumeReplicasSortOrderEnum

func GetMappingListBlockVolumeReplicasSortOrderEnum ¶

func GetMappingListBlockVolumeReplicasSortOrderEnum(val string) (ListBlockVolumeReplicasSortOrderEnum, bool)

GetMappingListBlockVolumeReplicasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBootVolumeAttachmentsRequest ¶

type ListBootVolumeAttachmentsRequest struct {

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"`

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"false" contributesTo:"query" name:"bootVolumeId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListBootVolumeAttachmentsRequest wrapper for the ListBootVolumeAttachments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachmentsRequest.

func (ListBootVolumeAttachmentsRequest) BinaryRequestBody ¶

func (request ListBootVolumeAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBootVolumeAttachmentsRequest) HTTPRequest ¶

func (request ListBootVolumeAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBootVolumeAttachmentsRequest) RetryPolicy ¶

func (request ListBootVolumeAttachmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBootVolumeAttachmentsRequest) String ¶

func (request ListBootVolumeAttachmentsRequest) String() string

func (ListBootVolumeAttachmentsRequest) ValidateEnumValue ¶

func (request ListBootVolumeAttachmentsRequest) 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 ListBootVolumeAttachmentsResponse ¶

type ListBootVolumeAttachmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []BootVolumeAttachment instances
	Items []BootVolumeAttachment `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListBootVolumeAttachmentsResponse wrapper for the ListBootVolumeAttachments operation

func (ListBootVolumeAttachmentsResponse) HTTPResponse ¶

func (response ListBootVolumeAttachmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBootVolumeAttachmentsResponse) String ¶

func (response ListBootVolumeAttachmentsResponse) String() string

type ListBootVolumeBackupsRequest ¶

type ListBootVolumeBackupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"false" contributesTo:"query" name:"bootVolumeId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that originated from the given source boot volume backup.
	SourceBootVolumeBackupId *string `mandatory:"false" contributesTo:"query" name:"sourceBootVolumeBackupId"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListBootVolumeBackupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListBootVolumeBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state value is
	// case-insensitive.
	LifecycleState BootVolumeBackupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListBootVolumeBackupsRequest wrapper for the ListBootVolumeBackups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackupsRequest.

func (ListBootVolumeBackupsRequest) BinaryRequestBody ¶

func (request ListBootVolumeBackupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBootVolumeBackupsRequest) HTTPRequest ¶

func (request ListBootVolumeBackupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBootVolumeBackupsRequest) RetryPolicy ¶

func (request ListBootVolumeBackupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBootVolumeBackupsRequest) String ¶

func (request ListBootVolumeBackupsRequest) String() string

func (ListBootVolumeBackupsRequest) ValidateEnumValue ¶

func (request ListBootVolumeBackupsRequest) 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 ListBootVolumeBackupsResponse ¶

type ListBootVolumeBackupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []BootVolumeBackup instances
	Items []BootVolumeBackup `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListBootVolumeBackupsResponse wrapper for the ListBootVolumeBackups operation

func (ListBootVolumeBackupsResponse) HTTPResponse ¶

func (response ListBootVolumeBackupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBootVolumeBackupsResponse) String ¶

func (response ListBootVolumeBackupsResponse) String() string

type ListBootVolumeBackupsSortByEnum ¶

type ListBootVolumeBackupsSortByEnum string

ListBootVolumeBackupsSortByEnum Enum with underlying type: string

const (
	ListBootVolumeBackupsSortByTimecreated ListBootVolumeBackupsSortByEnum = "TIMECREATED"
	ListBootVolumeBackupsSortByDisplayname ListBootVolumeBackupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListBootVolumeBackupsSortByEnum

func GetListBootVolumeBackupsSortByEnumValues ¶

func GetListBootVolumeBackupsSortByEnumValues() []ListBootVolumeBackupsSortByEnum

GetListBootVolumeBackupsSortByEnumValues Enumerates the set of values for ListBootVolumeBackupsSortByEnum

func GetMappingListBootVolumeBackupsSortByEnum ¶

func GetMappingListBootVolumeBackupsSortByEnum(val string) (ListBootVolumeBackupsSortByEnum, bool)

GetMappingListBootVolumeBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBootVolumeBackupsSortOrderEnum ¶

type ListBootVolumeBackupsSortOrderEnum string

ListBootVolumeBackupsSortOrderEnum Enum with underlying type: string

const (
	ListBootVolumeBackupsSortOrderAsc  ListBootVolumeBackupsSortOrderEnum = "ASC"
	ListBootVolumeBackupsSortOrderDesc ListBootVolumeBackupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListBootVolumeBackupsSortOrderEnum

func GetListBootVolumeBackupsSortOrderEnumValues ¶

func GetListBootVolumeBackupsSortOrderEnumValues() []ListBootVolumeBackupsSortOrderEnum

GetListBootVolumeBackupsSortOrderEnumValues Enumerates the set of values for ListBootVolumeBackupsSortOrderEnum

func GetMappingListBootVolumeBackupsSortOrderEnum ¶

func GetMappingListBootVolumeBackupsSortOrderEnum(val string) (ListBootVolumeBackupsSortOrderEnum, bool)

GetMappingListBootVolumeBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBootVolumeReplicasRequest ¶

type ListBootVolumeReplicasRequest struct {

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID of the volume group replica.
	VolumeGroupReplicaId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupReplicaId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListBootVolumeReplicasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListBootVolumeReplicasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
	LifecycleState BootVolumeReplicaLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListBootVolumeReplicasRequest wrapper for the ListBootVolumeReplicas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicasRequest.

func (ListBootVolumeReplicasRequest) BinaryRequestBody ¶

func (request ListBootVolumeReplicasRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBootVolumeReplicasRequest) HTTPRequest ¶

func (request ListBootVolumeReplicasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBootVolumeReplicasRequest) RetryPolicy ¶

func (request ListBootVolumeReplicasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBootVolumeReplicasRequest) String ¶

func (request ListBootVolumeReplicasRequest) String() string

func (ListBootVolumeReplicasRequest) ValidateEnumValue ¶

func (request ListBootVolumeReplicasRequest) 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 ListBootVolumeReplicasResponse ¶

type ListBootVolumeReplicasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []BootVolumeReplica instances
	Items []BootVolumeReplica `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListBootVolumeReplicasResponse wrapper for the ListBootVolumeReplicas operation

func (ListBootVolumeReplicasResponse) HTTPResponse ¶

func (response ListBootVolumeReplicasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBootVolumeReplicasResponse) String ¶

func (response ListBootVolumeReplicasResponse) String() string

type ListBootVolumeReplicasSortByEnum ¶

type ListBootVolumeReplicasSortByEnum string

ListBootVolumeReplicasSortByEnum Enum with underlying type: string

const (
	ListBootVolumeReplicasSortByTimecreated ListBootVolumeReplicasSortByEnum = "TIMECREATED"
	ListBootVolumeReplicasSortByDisplayname ListBootVolumeReplicasSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListBootVolumeReplicasSortByEnum

func GetListBootVolumeReplicasSortByEnumValues ¶

func GetListBootVolumeReplicasSortByEnumValues() []ListBootVolumeReplicasSortByEnum

GetListBootVolumeReplicasSortByEnumValues Enumerates the set of values for ListBootVolumeReplicasSortByEnum

func GetMappingListBootVolumeReplicasSortByEnum ¶

func GetMappingListBootVolumeReplicasSortByEnum(val string) (ListBootVolumeReplicasSortByEnum, bool)

GetMappingListBootVolumeReplicasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBootVolumeReplicasSortOrderEnum ¶

type ListBootVolumeReplicasSortOrderEnum string

ListBootVolumeReplicasSortOrderEnum Enum with underlying type: string

const (
	ListBootVolumeReplicasSortOrderAsc  ListBootVolumeReplicasSortOrderEnum = "ASC"
	ListBootVolumeReplicasSortOrderDesc ListBootVolumeReplicasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListBootVolumeReplicasSortOrderEnum

func GetListBootVolumeReplicasSortOrderEnumValues ¶

func GetListBootVolumeReplicasSortOrderEnumValues() []ListBootVolumeReplicasSortOrderEnum

GetListBootVolumeReplicasSortOrderEnumValues Enumerates the set of values for ListBootVolumeReplicasSortOrderEnum

func GetMappingListBootVolumeReplicasSortOrderEnum ¶

func GetMappingListBootVolumeReplicasSortOrderEnum(val string) (ListBootVolumeReplicasSortOrderEnum, bool)

GetMappingListBootVolumeReplicasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBootVolumesRequest ¶

type ListBootVolumesRequest struct {

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the volume group.
	VolumeGroupId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListBootVolumesRequest wrapper for the ListBootVolumes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumesRequest.

func (ListBootVolumesRequest) BinaryRequestBody ¶

func (request ListBootVolumesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBootVolumesRequest) HTTPRequest ¶

func (request ListBootVolumesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBootVolumesRequest) RetryPolicy ¶

func (request ListBootVolumesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBootVolumesRequest) String ¶

func (request ListBootVolumesRequest) String() string

func (ListBootVolumesRequest) ValidateEnumValue ¶

func (request ListBootVolumesRequest) 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 ListBootVolumesResponse ¶

type ListBootVolumesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []BootVolume instances
	Items []BootVolume `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListBootVolumesResponse wrapper for the ListBootVolumes operation

func (ListBootVolumesResponse) HTTPResponse ¶

func (response ListBootVolumesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBootVolumesResponse) String ¶

func (response ListBootVolumesResponse) String() string

type ListByoipAllocatedRangesRequest ¶

type ListByoipAllocatedRangesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// 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
}

ListByoipAllocatedRangesRequest wrapper for the ListByoipAllocatedRanges operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRangesRequest.

func (ListByoipAllocatedRangesRequest) BinaryRequestBody ¶

func (request ListByoipAllocatedRangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListByoipAllocatedRangesRequest) HTTPRequest ¶

func (request ListByoipAllocatedRangesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListByoipAllocatedRangesRequest) RetryPolicy ¶

func (request ListByoipAllocatedRangesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListByoipAllocatedRangesRequest) String ¶

func (request ListByoipAllocatedRangesRequest) String() string

func (ListByoipAllocatedRangesRequest) ValidateEnumValue ¶

func (request ListByoipAllocatedRangesRequest) 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 ListByoipAllocatedRangesResponse ¶

type ListByoipAllocatedRangesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ByoipAllocatedRangeCollection instances
	ByoipAllocatedRangeCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListByoipAllocatedRangesResponse wrapper for the ListByoipAllocatedRanges operation

func (ListByoipAllocatedRangesResponse) HTTPResponse ¶

func (response ListByoipAllocatedRangesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListByoipAllocatedRangesResponse) String ¶

func (response ListByoipAllocatedRangesResponse) String() string

type ListByoipRangesRequest ¶

type ListByoipRangesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that match the given lifecycle state name exactly.
	LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListByoipRangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListByoipRangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListByoipRangesRequest wrapper for the ListByoipRanges operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRangesRequest.

func (ListByoipRangesRequest) BinaryRequestBody ¶

func (request ListByoipRangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListByoipRangesRequest) HTTPRequest ¶

func (request ListByoipRangesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListByoipRangesRequest) RetryPolicy ¶

func (request ListByoipRangesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListByoipRangesRequest) String ¶

func (request ListByoipRangesRequest) String() string

func (ListByoipRangesRequest) ValidateEnumValue ¶

func (request ListByoipRangesRequest) 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 ListByoipRangesResponse ¶

type ListByoipRangesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ByoipRangeCollection instances
	ByoipRangeCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListByoipRangesResponse wrapper for the ListByoipRanges operation

func (ListByoipRangesResponse) HTTPResponse ¶

func (response ListByoipRangesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListByoipRangesResponse) String ¶

func (response ListByoipRangesResponse) String() string

type ListByoipRangesSortByEnum ¶

type ListByoipRangesSortByEnum string

ListByoipRangesSortByEnum Enum with underlying type: string

const (
	ListByoipRangesSortByTimecreated ListByoipRangesSortByEnum = "TIMECREATED"
	ListByoipRangesSortByDisplayname ListByoipRangesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListByoipRangesSortByEnum

func GetListByoipRangesSortByEnumValues ¶

func GetListByoipRangesSortByEnumValues() []ListByoipRangesSortByEnum

GetListByoipRangesSortByEnumValues Enumerates the set of values for ListByoipRangesSortByEnum

func GetMappingListByoipRangesSortByEnum ¶

func GetMappingListByoipRangesSortByEnum(val string) (ListByoipRangesSortByEnum, bool)

GetMappingListByoipRangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListByoipRangesSortOrderEnum ¶

type ListByoipRangesSortOrderEnum string

ListByoipRangesSortOrderEnum Enum with underlying type: string

const (
	ListByoipRangesSortOrderAsc  ListByoipRangesSortOrderEnum = "ASC"
	ListByoipRangesSortOrderDesc ListByoipRangesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListByoipRangesSortOrderEnum

func GetListByoipRangesSortOrderEnumValues ¶

func GetListByoipRangesSortOrderEnumValues() []ListByoipRangesSortOrderEnum

GetListByoipRangesSortOrderEnumValues Enumerates the set of values for ListByoipRangesSortOrderEnum

func GetMappingListByoipRangesSortOrderEnum ¶

func GetMappingListByoipRangesSortOrderEnum(val string) (ListByoipRangesSortOrderEnum, bool)

GetMappingListByoipRangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCaptureFiltersRequest ¶ added in v65.3.0

type ListCaptureFiltersRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListCaptureFiltersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListCaptureFiltersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that match the given capture filter lifecycle state.
	// The state value is case-insensitive.
	LifecycleState CaptureFilterLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to only return resources that match the given capture `filterType`. The `filterType` value is the string representation of enum - `VTAP`, `FLOWLOG`.
	FilterType CaptureFilterFilterTypeEnum `mandatory:"false" contributesTo:"query" name:"filterType" omitEmpty:"true"`

	// 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
}

ListCaptureFiltersRequest wrapper for the ListCaptureFilters operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFiltersRequest.

func (ListCaptureFiltersRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListCaptureFiltersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCaptureFiltersRequest) HTTPRequest ¶ added in v65.3.0

func (request ListCaptureFiltersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCaptureFiltersRequest) RetryPolicy ¶ added in v65.3.0

func (request ListCaptureFiltersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCaptureFiltersRequest) String ¶ added in v65.3.0

func (request ListCaptureFiltersRequest) String() string

func (ListCaptureFiltersRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListCaptureFiltersRequest) 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 ListCaptureFiltersResponse ¶ added in v65.3.0

type ListCaptureFiltersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CaptureFilter instances
	Items []CaptureFilter `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCaptureFiltersResponse wrapper for the ListCaptureFilters operation

func (ListCaptureFiltersResponse) HTTPResponse ¶ added in v65.3.0

func (response ListCaptureFiltersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCaptureFiltersResponse) String ¶ added in v65.3.0

func (response ListCaptureFiltersResponse) String() string

type ListCaptureFiltersSortByEnum ¶ added in v65.3.0

type ListCaptureFiltersSortByEnum string

ListCaptureFiltersSortByEnum Enum with underlying type: string

const (
	ListCaptureFiltersSortByTimecreated ListCaptureFiltersSortByEnum = "TIMECREATED"
	ListCaptureFiltersSortByDisplayname ListCaptureFiltersSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListCaptureFiltersSortByEnum

func GetListCaptureFiltersSortByEnumValues ¶ added in v65.3.0

func GetListCaptureFiltersSortByEnumValues() []ListCaptureFiltersSortByEnum

GetListCaptureFiltersSortByEnumValues Enumerates the set of values for ListCaptureFiltersSortByEnum

func GetMappingListCaptureFiltersSortByEnum ¶ added in v65.3.0

func GetMappingListCaptureFiltersSortByEnum(val string) (ListCaptureFiltersSortByEnum, bool)

GetMappingListCaptureFiltersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCaptureFiltersSortOrderEnum ¶ added in v65.3.0

type ListCaptureFiltersSortOrderEnum string

ListCaptureFiltersSortOrderEnum Enum with underlying type: string

const (
	ListCaptureFiltersSortOrderAsc  ListCaptureFiltersSortOrderEnum = "ASC"
	ListCaptureFiltersSortOrderDesc ListCaptureFiltersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCaptureFiltersSortOrderEnum

func GetListCaptureFiltersSortOrderEnumValues ¶ added in v65.3.0

func GetListCaptureFiltersSortOrderEnumValues() []ListCaptureFiltersSortOrderEnum

GetListCaptureFiltersSortOrderEnumValues Enumerates the set of values for ListCaptureFiltersSortOrderEnum

func GetMappingListCaptureFiltersSortOrderEnum ¶ added in v65.3.0

func GetMappingListCaptureFiltersSortOrderEnum(val string) (ListCaptureFiltersSortOrderEnum, bool)

GetMappingListCaptureFiltersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListClusterNetworkInstancesRequest ¶

type ListClusterNetworkInstancesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListClusterNetworkInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListClusterNetworkInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListClusterNetworkInstancesRequest wrapper for the ListClusterNetworkInstances operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstancesRequest.

func (ListClusterNetworkInstancesRequest) BinaryRequestBody ¶

func (request ListClusterNetworkInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListClusterNetworkInstancesRequest) HTTPRequest ¶

func (request ListClusterNetworkInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListClusterNetworkInstancesRequest) RetryPolicy ¶

func (request ListClusterNetworkInstancesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListClusterNetworkInstancesRequest) String ¶

func (request ListClusterNetworkInstancesRequest) String() string

func (ListClusterNetworkInstancesRequest) ValidateEnumValue ¶

func (request ListClusterNetworkInstancesRequest) 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 ListClusterNetworkInstancesResponse ¶

type ListClusterNetworkInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstanceSummary instances
	Items []InstanceSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListClusterNetworkInstancesResponse wrapper for the ListClusterNetworkInstances operation

func (ListClusterNetworkInstancesResponse) HTTPResponse ¶

func (response ListClusterNetworkInstancesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListClusterNetworkInstancesResponse) String ¶

func (response ListClusterNetworkInstancesResponse) String() string

type ListClusterNetworkInstancesSortByEnum ¶

type ListClusterNetworkInstancesSortByEnum string

ListClusterNetworkInstancesSortByEnum Enum with underlying type: string

const (
	ListClusterNetworkInstancesSortByTimecreated ListClusterNetworkInstancesSortByEnum = "TIMECREATED"
	ListClusterNetworkInstancesSortByDisplayname ListClusterNetworkInstancesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListClusterNetworkInstancesSortByEnum

func GetListClusterNetworkInstancesSortByEnumValues ¶

func GetListClusterNetworkInstancesSortByEnumValues() []ListClusterNetworkInstancesSortByEnum

GetListClusterNetworkInstancesSortByEnumValues Enumerates the set of values for ListClusterNetworkInstancesSortByEnum

func GetMappingListClusterNetworkInstancesSortByEnum ¶

func GetMappingListClusterNetworkInstancesSortByEnum(val string) (ListClusterNetworkInstancesSortByEnum, bool)

GetMappingListClusterNetworkInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListClusterNetworkInstancesSortOrderEnum ¶

type ListClusterNetworkInstancesSortOrderEnum string

ListClusterNetworkInstancesSortOrderEnum Enum with underlying type: string

const (
	ListClusterNetworkInstancesSortOrderAsc  ListClusterNetworkInstancesSortOrderEnum = "ASC"
	ListClusterNetworkInstancesSortOrderDesc ListClusterNetworkInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListClusterNetworkInstancesSortOrderEnum

func GetListClusterNetworkInstancesSortOrderEnumValues ¶

func GetListClusterNetworkInstancesSortOrderEnumValues() []ListClusterNetworkInstancesSortOrderEnum

GetListClusterNetworkInstancesSortOrderEnumValues Enumerates the set of values for ListClusterNetworkInstancesSortOrderEnum

func GetMappingListClusterNetworkInstancesSortOrderEnum ¶

func GetMappingListClusterNetworkInstancesSortOrderEnum(val string) (ListClusterNetworkInstancesSortOrderEnum, bool)

GetMappingListClusterNetworkInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListClusterNetworksRequest ¶

type ListClusterNetworksRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListClusterNetworksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListClusterNetworksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState ClusterNetworkSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListClusterNetworksRequest wrapper for the ListClusterNetworks operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworksRequest.

func (ListClusterNetworksRequest) BinaryRequestBody ¶

func (request ListClusterNetworksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListClusterNetworksRequest) HTTPRequest ¶

func (request ListClusterNetworksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListClusterNetworksRequest) RetryPolicy ¶

func (request ListClusterNetworksRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListClusterNetworksRequest) String ¶

func (request ListClusterNetworksRequest) String() string

func (ListClusterNetworksRequest) ValidateEnumValue ¶

func (request ListClusterNetworksRequest) 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 ListClusterNetworksResponse ¶

type ListClusterNetworksResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ClusterNetworkSummary instances
	Items []ClusterNetworkSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListClusterNetworksResponse wrapper for the ListClusterNetworks operation

func (ListClusterNetworksResponse) HTTPResponse ¶

func (response ListClusterNetworksResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListClusterNetworksResponse) String ¶

func (response ListClusterNetworksResponse) String() string

type ListClusterNetworksSortByEnum ¶

type ListClusterNetworksSortByEnum string

ListClusterNetworksSortByEnum Enum with underlying type: string

const (
	ListClusterNetworksSortByTimecreated ListClusterNetworksSortByEnum = "TIMECREATED"
	ListClusterNetworksSortByDisplayname ListClusterNetworksSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListClusterNetworksSortByEnum

func GetListClusterNetworksSortByEnumValues ¶

func GetListClusterNetworksSortByEnumValues() []ListClusterNetworksSortByEnum

GetListClusterNetworksSortByEnumValues Enumerates the set of values for ListClusterNetworksSortByEnum

func GetMappingListClusterNetworksSortByEnum ¶

func GetMappingListClusterNetworksSortByEnum(val string) (ListClusterNetworksSortByEnum, bool)

GetMappingListClusterNetworksSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListClusterNetworksSortOrderEnum ¶

type ListClusterNetworksSortOrderEnum string

ListClusterNetworksSortOrderEnum Enum with underlying type: string

const (
	ListClusterNetworksSortOrderAsc  ListClusterNetworksSortOrderEnum = "ASC"
	ListClusterNetworksSortOrderDesc ListClusterNetworksSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListClusterNetworksSortOrderEnum

func GetListClusterNetworksSortOrderEnumValues ¶

func GetListClusterNetworksSortOrderEnumValues() []ListClusterNetworksSortOrderEnum

GetListClusterNetworksSortOrderEnumValues Enumerates the set of values for ListClusterNetworksSortOrderEnum

func GetMappingListClusterNetworksSortOrderEnum ¶

func GetMappingListClusterNetworksSortOrderEnum(val string) (ListClusterNetworksSortOrderEnum, bool)

GetMappingListClusterNetworksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityReservationInstanceShapesRequest ¶

type ListComputeCapacityReservationInstanceShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityReservationInstanceShapesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityReservationInstanceShapesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityReservationInstanceShapesRequest wrapper for the ListComputeCapacityReservationInstanceShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapesRequest.

func (ListComputeCapacityReservationInstanceShapesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityReservationInstanceShapesRequest) HTTPRequest ¶

func (request ListComputeCapacityReservationInstanceShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityReservationInstanceShapesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityReservationInstanceShapesRequest) String ¶

func (ListComputeCapacityReservationInstanceShapesRequest) ValidateEnumValue ¶

func (request ListComputeCapacityReservationInstanceShapesRequest) 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 ListComputeCapacityReservationInstanceShapesResponse ¶

type ListComputeCapacityReservationInstanceShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ComputeCapacityReservationInstanceShapeSummary instances
	Items []ComputeCapacityReservationInstanceShapeSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityReservationInstanceShapesResponse wrapper for the ListComputeCapacityReservationInstanceShapes operation

func (ListComputeCapacityReservationInstanceShapesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityReservationInstanceShapesResponse) String ¶

type ListComputeCapacityReservationInstanceShapesSortByEnum ¶

type ListComputeCapacityReservationInstanceShapesSortByEnum string

ListComputeCapacityReservationInstanceShapesSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityReservationInstanceShapesSortByTimecreated ListComputeCapacityReservationInstanceShapesSortByEnum = "TIMECREATED"
	ListComputeCapacityReservationInstanceShapesSortByDisplayname ListComputeCapacityReservationInstanceShapesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityReservationInstanceShapesSortByEnum

func GetListComputeCapacityReservationInstanceShapesSortByEnumValues ¶

func GetListComputeCapacityReservationInstanceShapesSortByEnumValues() []ListComputeCapacityReservationInstanceShapesSortByEnum

GetListComputeCapacityReservationInstanceShapesSortByEnumValues Enumerates the set of values for ListComputeCapacityReservationInstanceShapesSortByEnum

func GetMappingListComputeCapacityReservationInstanceShapesSortByEnum ¶

func GetMappingListComputeCapacityReservationInstanceShapesSortByEnum(val string) (ListComputeCapacityReservationInstanceShapesSortByEnum, bool)

GetMappingListComputeCapacityReservationInstanceShapesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityReservationInstanceShapesSortOrderEnum ¶

type ListComputeCapacityReservationInstanceShapesSortOrderEnum string

ListComputeCapacityReservationInstanceShapesSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityReservationInstanceShapesSortOrderAsc  ListComputeCapacityReservationInstanceShapesSortOrderEnum = "ASC"
	ListComputeCapacityReservationInstanceShapesSortOrderDesc ListComputeCapacityReservationInstanceShapesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityReservationInstanceShapesSortOrderEnum

func GetListComputeCapacityReservationInstanceShapesSortOrderEnumValues ¶

func GetListComputeCapacityReservationInstanceShapesSortOrderEnumValues() []ListComputeCapacityReservationInstanceShapesSortOrderEnum

GetListComputeCapacityReservationInstanceShapesSortOrderEnumValues Enumerates the set of values for ListComputeCapacityReservationInstanceShapesSortOrderEnum

func GetMappingListComputeCapacityReservationInstanceShapesSortOrderEnum ¶

func GetMappingListComputeCapacityReservationInstanceShapesSortOrderEnum(val string) (ListComputeCapacityReservationInstanceShapesSortOrderEnum, bool)

GetMappingListComputeCapacityReservationInstanceShapesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityReservationInstancesRequest ¶

type ListComputeCapacityReservationInstancesRequest struct {

	// The OCID of the compute capacity reservation.
	CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityReservationInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityReservationInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityReservationInstancesRequest wrapper for the ListComputeCapacityReservationInstances operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstancesRequest.

func (ListComputeCapacityReservationInstancesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityReservationInstancesRequest) HTTPRequest ¶

func (request ListComputeCapacityReservationInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityReservationInstancesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityReservationInstancesRequest) String ¶

func (ListComputeCapacityReservationInstancesRequest) ValidateEnumValue ¶

func (request ListComputeCapacityReservationInstancesRequest) 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 ListComputeCapacityReservationInstancesResponse ¶

type ListComputeCapacityReservationInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CapacityReservationInstanceSummary instances
	Items []CapacityReservationInstanceSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityReservationInstancesResponse wrapper for the ListComputeCapacityReservationInstances operation

func (ListComputeCapacityReservationInstancesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityReservationInstancesResponse) String ¶

type ListComputeCapacityReservationInstancesSortByEnum ¶

type ListComputeCapacityReservationInstancesSortByEnum string

ListComputeCapacityReservationInstancesSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityReservationInstancesSortByTimecreated ListComputeCapacityReservationInstancesSortByEnum = "TIMECREATED"
	ListComputeCapacityReservationInstancesSortByDisplayname ListComputeCapacityReservationInstancesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityReservationInstancesSortByEnum

func GetListComputeCapacityReservationInstancesSortByEnumValues ¶

func GetListComputeCapacityReservationInstancesSortByEnumValues() []ListComputeCapacityReservationInstancesSortByEnum

GetListComputeCapacityReservationInstancesSortByEnumValues Enumerates the set of values for ListComputeCapacityReservationInstancesSortByEnum

func GetMappingListComputeCapacityReservationInstancesSortByEnum ¶

func GetMappingListComputeCapacityReservationInstancesSortByEnum(val string) (ListComputeCapacityReservationInstancesSortByEnum, bool)

GetMappingListComputeCapacityReservationInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityReservationInstancesSortOrderEnum ¶

type ListComputeCapacityReservationInstancesSortOrderEnum string

ListComputeCapacityReservationInstancesSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityReservationInstancesSortOrderAsc  ListComputeCapacityReservationInstancesSortOrderEnum = "ASC"
	ListComputeCapacityReservationInstancesSortOrderDesc ListComputeCapacityReservationInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityReservationInstancesSortOrderEnum

func GetListComputeCapacityReservationInstancesSortOrderEnumValues ¶

func GetListComputeCapacityReservationInstancesSortOrderEnumValues() []ListComputeCapacityReservationInstancesSortOrderEnum

GetListComputeCapacityReservationInstancesSortOrderEnumValues Enumerates the set of values for ListComputeCapacityReservationInstancesSortOrderEnum

func GetMappingListComputeCapacityReservationInstancesSortOrderEnum ¶

func GetMappingListComputeCapacityReservationInstancesSortOrderEnum(val string) (ListComputeCapacityReservationInstancesSortOrderEnum, bool)

GetMappingListComputeCapacityReservationInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityReservationsRequest ¶

type ListComputeCapacityReservationsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// A filter to only return resources that match the given lifecycle state.
	LifecycleState ComputeCapacityReservationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityReservationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityReservationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityReservationsRequest wrapper for the ListComputeCapacityReservations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservationsRequest.

func (ListComputeCapacityReservationsRequest) BinaryRequestBody ¶

func (request ListComputeCapacityReservationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityReservationsRequest) HTTPRequest ¶

func (request ListComputeCapacityReservationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityReservationsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityReservationsRequest) String ¶

func (ListComputeCapacityReservationsRequest) ValidateEnumValue ¶

func (request ListComputeCapacityReservationsRequest) 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 ListComputeCapacityReservationsResponse ¶

type ListComputeCapacityReservationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ComputeCapacityReservationSummary instances
	Items []ComputeCapacityReservationSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityReservationsResponse wrapper for the ListComputeCapacityReservations operation

func (ListComputeCapacityReservationsResponse) HTTPResponse ¶

func (response ListComputeCapacityReservationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityReservationsResponse) String ¶

type ListComputeCapacityReservationsSortByEnum ¶

type ListComputeCapacityReservationsSortByEnum string

ListComputeCapacityReservationsSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityReservationsSortByTimecreated ListComputeCapacityReservationsSortByEnum = "TIMECREATED"
	ListComputeCapacityReservationsSortByDisplayname ListComputeCapacityReservationsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityReservationsSortByEnum

func GetListComputeCapacityReservationsSortByEnumValues ¶

func GetListComputeCapacityReservationsSortByEnumValues() []ListComputeCapacityReservationsSortByEnum

GetListComputeCapacityReservationsSortByEnumValues Enumerates the set of values for ListComputeCapacityReservationsSortByEnum

func GetMappingListComputeCapacityReservationsSortByEnum ¶

func GetMappingListComputeCapacityReservationsSortByEnum(val string) (ListComputeCapacityReservationsSortByEnum, bool)

GetMappingListComputeCapacityReservationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityReservationsSortOrderEnum ¶

type ListComputeCapacityReservationsSortOrderEnum string

ListComputeCapacityReservationsSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityReservationsSortOrderAsc  ListComputeCapacityReservationsSortOrderEnum = "ASC"
	ListComputeCapacityReservationsSortOrderDesc ListComputeCapacityReservationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityReservationsSortOrderEnum

func GetListComputeCapacityReservationsSortOrderEnumValues ¶

func GetListComputeCapacityReservationsSortOrderEnumValues() []ListComputeCapacityReservationsSortOrderEnum

GetListComputeCapacityReservationsSortOrderEnumValues Enumerates the set of values for ListComputeCapacityReservationsSortOrderEnum

func GetMappingListComputeCapacityReservationsSortOrderEnum ¶

func GetMappingListComputeCapacityReservationsSortOrderEnum(val string) (ListComputeCapacityReservationsSortOrderEnum, bool)

GetMappingListComputeCapacityReservationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologiesRequest ¶ added in v65.53.0

type ListComputeCapacityTopologiesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityTopologiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityTopologiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityTopologiesRequest wrapper for the ListComputeCapacityTopologies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologies.go.html to see an example of how to use ListComputeCapacityTopologiesRequest.

func (ListComputeCapacityTopologiesRequest) BinaryRequestBody ¶ added in v65.53.0

func (request ListComputeCapacityTopologiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityTopologiesRequest) HTTPRequest ¶ added in v65.53.0

func (request ListComputeCapacityTopologiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityTopologiesRequest) RetryPolicy ¶ added in v65.53.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityTopologiesRequest) String ¶ added in v65.53.0

func (ListComputeCapacityTopologiesRequest) ValidateEnumValue ¶ added in v65.53.0

func (request ListComputeCapacityTopologiesRequest) 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 ListComputeCapacityTopologiesResponse ¶ added in v65.53.0

type ListComputeCapacityTopologiesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ComputeCapacityTopologyCollection instances
	ComputeCapacityTopologyCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityTopologiesResponse wrapper for the ListComputeCapacityTopologies operation

func (ListComputeCapacityTopologiesResponse) HTTPResponse ¶ added in v65.53.0

func (response ListComputeCapacityTopologiesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityTopologiesResponse) String ¶ added in v65.53.0

type ListComputeCapacityTopologiesSortByEnum ¶ added in v65.53.0

type ListComputeCapacityTopologiesSortByEnum string

ListComputeCapacityTopologiesSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologiesSortByTimecreated ListComputeCapacityTopologiesSortByEnum = "TIMECREATED"
	ListComputeCapacityTopologiesSortByDisplayname ListComputeCapacityTopologiesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityTopologiesSortByEnum

func GetListComputeCapacityTopologiesSortByEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologiesSortByEnumValues() []ListComputeCapacityTopologiesSortByEnum

GetListComputeCapacityTopologiesSortByEnumValues Enumerates the set of values for ListComputeCapacityTopologiesSortByEnum

func GetMappingListComputeCapacityTopologiesSortByEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologiesSortByEnum(val string) (ListComputeCapacityTopologiesSortByEnum, bool)

GetMappingListComputeCapacityTopologiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologiesSortOrderEnum ¶ added in v65.53.0

type ListComputeCapacityTopologiesSortOrderEnum string

ListComputeCapacityTopologiesSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologiesSortOrderAsc  ListComputeCapacityTopologiesSortOrderEnum = "ASC"
	ListComputeCapacityTopologiesSortOrderDesc ListComputeCapacityTopologiesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityTopologiesSortOrderEnum

func GetListComputeCapacityTopologiesSortOrderEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologiesSortOrderEnumValues() []ListComputeCapacityTopologiesSortOrderEnum

GetListComputeCapacityTopologiesSortOrderEnumValues Enumerates the set of values for ListComputeCapacityTopologiesSortOrderEnum

func GetMappingListComputeCapacityTopologiesSortOrderEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologiesSortOrderEnum(val string) (ListComputeCapacityTopologiesSortOrderEnum, bool)

GetMappingListComputeCapacityTopologiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologyComputeBareMetalHostsRequest ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeBareMetalHostsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	ComputeHpcIslandId *string `mandatory:"false" contributesTo:"query" name:"computeHpcIslandId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block.
	ComputeNetworkBlockId *string `mandatory:"false" contributesTo:"query" name:"computeNetworkBlockId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block.
	ComputeLocalBlockId *string `mandatory:"false" contributesTo:"query" name:"computeLocalBlockId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityTopologyComputeBareMetalHostsRequest wrapper for the ListComputeCapacityTopologyComputeBareMetalHosts operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeBareMetalHosts.go.html to see an example of how to use ListComputeCapacityTopologyComputeBareMetalHostsRequest.

func (ListComputeCapacityTopologyComputeBareMetalHostsRequest) BinaryRequestBody ¶ added in v65.53.0

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityTopologyComputeBareMetalHostsRequest) HTTPRequest ¶ added in v65.53.0

func (request ListComputeCapacityTopologyComputeBareMetalHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityTopologyComputeBareMetalHostsRequest) RetryPolicy ¶ added in v65.53.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityTopologyComputeBareMetalHostsRequest) String ¶ added in v65.53.0

func (ListComputeCapacityTopologyComputeBareMetalHostsRequest) ValidateEnumValue ¶ added in v65.53.0

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 ListComputeCapacityTopologyComputeBareMetalHostsResponse ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeBareMetalHostsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ComputeBareMetalHostCollection instances
	ComputeBareMetalHostCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityTopologyComputeBareMetalHostsResponse wrapper for the ListComputeCapacityTopologyComputeBareMetalHosts operation

func (ListComputeCapacityTopologyComputeBareMetalHostsResponse) HTTPResponse ¶ added in v65.53.0

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityTopologyComputeBareMetalHostsResponse) String ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum string

ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologyComputeBareMetalHostsSortByTimecreated ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum = "TIMECREATED"
	ListComputeCapacityTopologyComputeBareMetalHostsSortByDisplayname ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum

func GetListComputeCapacityTopologyComputeBareMetalHostsSortByEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeBareMetalHostsSortByEnumValues() []ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum

GetListComputeCapacityTopologyComputeBareMetalHostsSortByEnumValues Enumerates the set of values for ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum

func GetMappingListComputeCapacityTopologyComputeBareMetalHostsSortByEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologyComputeBareMetalHostsSortByEnum(val string) (ListComputeCapacityTopologyComputeBareMetalHostsSortByEnum, bool)

GetMappingListComputeCapacityTopologyComputeBareMetalHostsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum string

ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologyComputeBareMetalHostsSortOrderAsc  ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum = "ASC"
	ListComputeCapacityTopologyComputeBareMetalHostsSortOrderDesc ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum

func GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumValues() []ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum

GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumValues Enumerates the set of values for ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum

func GetMappingListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum(val string) (ListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum, bool)

GetMappingListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologyComputeHpcIslandsRequest ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeHpcIslandsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityTopologyComputeHpcIslandsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityTopologyComputeHpcIslandsRequest wrapper for the ListComputeCapacityTopologyComputeHpcIslands operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeHpcIslands.go.html to see an example of how to use ListComputeCapacityTopologyComputeHpcIslandsRequest.

func (ListComputeCapacityTopologyComputeHpcIslandsRequest) BinaryRequestBody ¶ added in v65.53.0

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityTopologyComputeHpcIslandsRequest) HTTPRequest ¶ added in v65.53.0

func (request ListComputeCapacityTopologyComputeHpcIslandsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityTopologyComputeHpcIslandsRequest) RetryPolicy ¶ added in v65.53.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityTopologyComputeHpcIslandsRequest) String ¶ added in v65.53.0

func (ListComputeCapacityTopologyComputeHpcIslandsRequest) ValidateEnumValue ¶ added in v65.53.0

func (request ListComputeCapacityTopologyComputeHpcIslandsRequest) 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 ListComputeCapacityTopologyComputeHpcIslandsResponse ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeHpcIslandsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ComputeHpcIslandCollection instances
	ComputeHpcIslandCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityTopologyComputeHpcIslandsResponse wrapper for the ListComputeCapacityTopologyComputeHpcIslands operation

func (ListComputeCapacityTopologyComputeHpcIslandsResponse) HTTPResponse ¶ added in v65.53.0

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityTopologyComputeHpcIslandsResponse) String ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeHpcIslandsSortByEnum ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeHpcIslandsSortByEnum string

ListComputeCapacityTopologyComputeHpcIslandsSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologyComputeHpcIslandsSortByTimecreated ListComputeCapacityTopologyComputeHpcIslandsSortByEnum = "TIMECREATED"
	ListComputeCapacityTopologyComputeHpcIslandsSortByDisplayname ListComputeCapacityTopologyComputeHpcIslandsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityTopologyComputeHpcIslandsSortByEnum

func GetListComputeCapacityTopologyComputeHpcIslandsSortByEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeHpcIslandsSortByEnumValues() []ListComputeCapacityTopologyComputeHpcIslandsSortByEnum

GetListComputeCapacityTopologyComputeHpcIslandsSortByEnumValues Enumerates the set of values for ListComputeCapacityTopologyComputeHpcIslandsSortByEnum

func GetMappingListComputeCapacityTopologyComputeHpcIslandsSortByEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologyComputeHpcIslandsSortByEnum(val string) (ListComputeCapacityTopologyComputeHpcIslandsSortByEnum, bool)

GetMappingListComputeCapacityTopologyComputeHpcIslandsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum string

ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologyComputeHpcIslandsSortOrderAsc  ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum = "ASC"
	ListComputeCapacityTopologyComputeHpcIslandsSortOrderDesc ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum

func GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumValues() []ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum

GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumValues Enumerates the set of values for ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum

func GetMappingListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum(val string) (ListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum, bool)

GetMappingListComputeCapacityTopologyComputeHpcIslandsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologyComputeNetworkBlocksRequest ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeNetworkBlocksRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island.
	ComputeHpcIslandId *string `mandatory:"false" contributesTo:"query" name:"computeHpcIslandId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListComputeCapacityTopologyComputeNetworkBlocksRequest wrapper for the ListComputeCapacityTopologyComputeNetworkBlocks operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeNetworkBlocks.go.html to see an example of how to use ListComputeCapacityTopologyComputeNetworkBlocksRequest.

func (ListComputeCapacityTopologyComputeNetworkBlocksRequest) BinaryRequestBody ¶ added in v65.53.0

BinaryRequestBody implements the OCIRequest interface

func (ListComputeCapacityTopologyComputeNetworkBlocksRequest) HTTPRequest ¶ added in v65.53.0

func (request ListComputeCapacityTopologyComputeNetworkBlocksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeCapacityTopologyComputeNetworkBlocksRequest) RetryPolicy ¶ added in v65.53.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeCapacityTopologyComputeNetworkBlocksRequest) String ¶ added in v65.53.0

func (ListComputeCapacityTopologyComputeNetworkBlocksRequest) ValidateEnumValue ¶ added in v65.53.0

func (request ListComputeCapacityTopologyComputeNetworkBlocksRequest) 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 ListComputeCapacityTopologyComputeNetworkBlocksResponse ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeNetworkBlocksResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ComputeNetworkBlockCollection instances
	ComputeNetworkBlockCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeCapacityTopologyComputeNetworkBlocksResponse wrapper for the ListComputeCapacityTopologyComputeNetworkBlocks operation

func (ListComputeCapacityTopologyComputeNetworkBlocksResponse) HTTPResponse ¶ added in v65.53.0

HTTPResponse implements the OCIResponse interface

func (ListComputeCapacityTopologyComputeNetworkBlocksResponse) String ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum string

ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologyComputeNetworkBlocksSortByTimecreated ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum = "TIMECREATED"
	ListComputeCapacityTopologyComputeNetworkBlocksSortByDisplayname ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum

func GetListComputeCapacityTopologyComputeNetworkBlocksSortByEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeNetworkBlocksSortByEnumValues() []ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum

GetListComputeCapacityTopologyComputeNetworkBlocksSortByEnumValues Enumerates the set of values for ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum

func GetMappingListComputeCapacityTopologyComputeNetworkBlocksSortByEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologyComputeNetworkBlocksSortByEnum(val string) (ListComputeCapacityTopologyComputeNetworkBlocksSortByEnum, bool)

GetMappingListComputeCapacityTopologyComputeNetworkBlocksSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum ¶ added in v65.53.0

type ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum string

ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum Enum with underlying type: string

const (
	ListComputeCapacityTopologyComputeNetworkBlocksSortOrderAsc  ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum = "ASC"
	ListComputeCapacityTopologyComputeNetworkBlocksSortOrderDesc ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum

func GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumValues ¶ added in v65.53.0

func GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumValues() []ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum

GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumValues Enumerates the set of values for ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum

func GetMappingListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum ¶ added in v65.53.0

func GetMappingListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum(val string) (ListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum, bool)

GetMappingListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeClustersRequest ¶ added in v65.33.1

type ListComputeClustersRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeClustersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeClustersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListComputeClustersRequest wrapper for the ListComputeClusters operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClustersRequest.

func (ListComputeClustersRequest) BinaryRequestBody ¶ added in v65.33.1

func (request ListComputeClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListComputeClustersRequest) HTTPRequest ¶ added in v65.33.1

func (request ListComputeClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeClustersRequest) RetryPolicy ¶ added in v65.33.1

func (request ListComputeClustersRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeClustersRequest) String ¶ added in v65.33.1

func (request ListComputeClustersRequest) String() string

func (ListComputeClustersRequest) ValidateEnumValue ¶ added in v65.33.1

func (request ListComputeClustersRequest) 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 ListComputeClustersResponse ¶ added in v65.33.1

type ListComputeClustersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ComputeClusterCollection instances
	ComputeClusterCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeClustersResponse wrapper for the ListComputeClusters operation

func (ListComputeClustersResponse) HTTPResponse ¶ added in v65.33.1

func (response ListComputeClustersResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListComputeClustersResponse) String ¶ added in v65.33.1

func (response ListComputeClustersResponse) String() string

type ListComputeClustersSortByEnum ¶ added in v65.33.1

type ListComputeClustersSortByEnum string

ListComputeClustersSortByEnum Enum with underlying type: string

const (
	ListComputeClustersSortByTimecreated ListComputeClustersSortByEnum = "TIMECREATED"
	ListComputeClustersSortByDisplayname ListComputeClustersSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeClustersSortByEnum

func GetListComputeClustersSortByEnumValues ¶ added in v65.33.1

func GetListComputeClustersSortByEnumValues() []ListComputeClustersSortByEnum

GetListComputeClustersSortByEnumValues Enumerates the set of values for ListComputeClustersSortByEnum

func GetMappingListComputeClustersSortByEnum ¶ added in v65.33.1

func GetMappingListComputeClustersSortByEnum(val string) (ListComputeClustersSortByEnum, bool)

GetMappingListComputeClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeClustersSortOrderEnum ¶ added in v65.33.1

type ListComputeClustersSortOrderEnum string

ListComputeClustersSortOrderEnum Enum with underlying type: string

const (
	ListComputeClustersSortOrderAsc  ListComputeClustersSortOrderEnum = "ASC"
	ListComputeClustersSortOrderDesc ListComputeClustersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeClustersSortOrderEnum

func GetListComputeClustersSortOrderEnumValues ¶ added in v65.33.1

func GetListComputeClustersSortOrderEnumValues() []ListComputeClustersSortOrderEnum

GetListComputeClustersSortOrderEnumValues Enumerates the set of values for ListComputeClustersSortOrderEnum

func GetMappingListComputeClustersSortOrderEnum ¶ added in v65.33.1

func GetMappingListComputeClustersSortOrderEnum(val string) (ListComputeClustersSortOrderEnum, bool)

GetMappingListComputeClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeGlobalImageCapabilitySchemaVersionsRequest ¶

type ListComputeGlobalImageCapabilitySchemaVersionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema
	ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListComputeGlobalImageCapabilitySchemaVersionsRequest wrapper for the ListComputeGlobalImageCapabilitySchemaVersions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersionsRequest.

func (ListComputeGlobalImageCapabilitySchemaVersionsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListComputeGlobalImageCapabilitySchemaVersionsRequest) HTTPRequest ¶

func (request ListComputeGlobalImageCapabilitySchemaVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeGlobalImageCapabilitySchemaVersionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeGlobalImageCapabilitySchemaVersionsRequest) String ¶

func (ListComputeGlobalImageCapabilitySchemaVersionsRequest) ValidateEnumValue ¶

func (request ListComputeGlobalImageCapabilitySchemaVersionsRequest) 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 ListComputeGlobalImageCapabilitySchemaVersionsResponse ¶

type ListComputeGlobalImageCapabilitySchemaVersionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ComputeGlobalImageCapabilitySchemaVersionSummary instances
	Items []ComputeGlobalImageCapabilitySchemaVersionSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeGlobalImageCapabilitySchemaVersionsResponse wrapper for the ListComputeGlobalImageCapabilitySchemaVersions operation

func (ListComputeGlobalImageCapabilitySchemaVersionsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListComputeGlobalImageCapabilitySchemaVersionsResponse) String ¶

type ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum ¶

type ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum string

ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum Enum with underlying type: string

const (
	ListComputeGlobalImageCapabilitySchemaVersionsSortByTimecreated ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum = "TIMECREATED"
	ListComputeGlobalImageCapabilitySchemaVersionsSortByDisplayname ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum

func GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumValues ¶

func GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumValues() []ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum

GetListComputeGlobalImageCapabilitySchemaVersionsSortByEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum

func GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum ¶

func GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum(val string) (ListComputeGlobalImageCapabilitySchemaVersionsSortByEnum, bool)

GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum ¶

type ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum string

ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum Enum with underlying type: string

const (
	ListComputeGlobalImageCapabilitySchemaVersionsSortOrderAsc  ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum = "ASC"
	ListComputeGlobalImageCapabilitySchemaVersionsSortOrderDesc ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum

func GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumValues ¶

func GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumValues() []ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum

GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum

func GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum ¶

func GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum(val string) (ListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum, bool)

GetMappingListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeGlobalImageCapabilitySchemasRequest ¶

type ListComputeGlobalImageCapabilitySchemasRequest struct {

	// A filter to return only resources that match the given compartment OCID exactly.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeGlobalImageCapabilitySchemasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeGlobalImageCapabilitySchemasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListComputeGlobalImageCapabilitySchemasRequest wrapper for the ListComputeGlobalImageCapabilitySchemas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemasRequest.

func (ListComputeGlobalImageCapabilitySchemasRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListComputeGlobalImageCapabilitySchemasRequest) HTTPRequest ¶

func (request ListComputeGlobalImageCapabilitySchemasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeGlobalImageCapabilitySchemasRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeGlobalImageCapabilitySchemasRequest) String ¶

func (ListComputeGlobalImageCapabilitySchemasRequest) ValidateEnumValue ¶

func (request ListComputeGlobalImageCapabilitySchemasRequest) 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 ListComputeGlobalImageCapabilitySchemasResponse ¶

type ListComputeGlobalImageCapabilitySchemasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ComputeGlobalImageCapabilitySchemaSummary instances
	Items []ComputeGlobalImageCapabilitySchemaSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeGlobalImageCapabilitySchemasResponse wrapper for the ListComputeGlobalImageCapabilitySchemas operation

func (ListComputeGlobalImageCapabilitySchemasResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListComputeGlobalImageCapabilitySchemasResponse) String ¶

type ListComputeGlobalImageCapabilitySchemasSortByEnum ¶

type ListComputeGlobalImageCapabilitySchemasSortByEnum string

ListComputeGlobalImageCapabilitySchemasSortByEnum Enum with underlying type: string

const (
	ListComputeGlobalImageCapabilitySchemasSortByTimecreated ListComputeGlobalImageCapabilitySchemasSortByEnum = "TIMECREATED"
	ListComputeGlobalImageCapabilitySchemasSortByDisplayname ListComputeGlobalImageCapabilitySchemasSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeGlobalImageCapabilitySchemasSortByEnum

func GetListComputeGlobalImageCapabilitySchemasSortByEnumValues ¶

func GetListComputeGlobalImageCapabilitySchemasSortByEnumValues() []ListComputeGlobalImageCapabilitySchemasSortByEnum

GetListComputeGlobalImageCapabilitySchemasSortByEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemasSortByEnum

func GetMappingListComputeGlobalImageCapabilitySchemasSortByEnum ¶

func GetMappingListComputeGlobalImageCapabilitySchemasSortByEnum(val string) (ListComputeGlobalImageCapabilitySchemasSortByEnum, bool)

GetMappingListComputeGlobalImageCapabilitySchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeGlobalImageCapabilitySchemasSortOrderEnum ¶

type ListComputeGlobalImageCapabilitySchemasSortOrderEnum string

ListComputeGlobalImageCapabilitySchemasSortOrderEnum Enum with underlying type: string

const (
	ListComputeGlobalImageCapabilitySchemasSortOrderAsc  ListComputeGlobalImageCapabilitySchemasSortOrderEnum = "ASC"
	ListComputeGlobalImageCapabilitySchemasSortOrderDesc ListComputeGlobalImageCapabilitySchemasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeGlobalImageCapabilitySchemasSortOrderEnum

func GetListComputeGlobalImageCapabilitySchemasSortOrderEnumValues ¶

func GetListComputeGlobalImageCapabilitySchemasSortOrderEnumValues() []ListComputeGlobalImageCapabilitySchemasSortOrderEnum

GetListComputeGlobalImageCapabilitySchemasSortOrderEnumValues Enumerates the set of values for ListComputeGlobalImageCapabilitySchemasSortOrderEnum

func GetMappingListComputeGlobalImageCapabilitySchemasSortOrderEnum ¶

func GetMappingListComputeGlobalImageCapabilitySchemasSortOrderEnum(val string) (ListComputeGlobalImageCapabilitySchemasSortOrderEnum, bool)

GetMappingListComputeGlobalImageCapabilitySchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeImageCapabilitySchemasRequest ¶

type ListComputeImageCapabilitySchemasRequest struct {

	// A filter to return only resources that match the given compartment OCID exactly.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image.
	ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListComputeImageCapabilitySchemasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListComputeImageCapabilitySchemasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListComputeImageCapabilitySchemasRequest wrapper for the ListComputeImageCapabilitySchemas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemasRequest.

func (ListComputeImageCapabilitySchemasRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListComputeImageCapabilitySchemasRequest) HTTPRequest ¶

func (request ListComputeImageCapabilitySchemasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListComputeImageCapabilitySchemasRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListComputeImageCapabilitySchemasRequest) String ¶

func (ListComputeImageCapabilitySchemasRequest) ValidateEnumValue ¶

func (request ListComputeImageCapabilitySchemasRequest) 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 ListComputeImageCapabilitySchemasResponse ¶

type ListComputeImageCapabilitySchemasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ComputeImageCapabilitySchemaSummary instances
	Items []ComputeImageCapabilitySchemaSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListComputeImageCapabilitySchemasResponse wrapper for the ListComputeImageCapabilitySchemas operation

func (ListComputeImageCapabilitySchemasResponse) HTTPResponse ¶

func (response ListComputeImageCapabilitySchemasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListComputeImageCapabilitySchemasResponse) String ¶

type ListComputeImageCapabilitySchemasSortByEnum ¶

type ListComputeImageCapabilitySchemasSortByEnum string

ListComputeImageCapabilitySchemasSortByEnum Enum with underlying type: string

const (
	ListComputeImageCapabilitySchemasSortByTimecreated ListComputeImageCapabilitySchemasSortByEnum = "TIMECREATED"
	ListComputeImageCapabilitySchemasSortByDisplayname ListComputeImageCapabilitySchemasSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListComputeImageCapabilitySchemasSortByEnum

func GetListComputeImageCapabilitySchemasSortByEnumValues ¶

func GetListComputeImageCapabilitySchemasSortByEnumValues() []ListComputeImageCapabilitySchemasSortByEnum

GetListComputeImageCapabilitySchemasSortByEnumValues Enumerates the set of values for ListComputeImageCapabilitySchemasSortByEnum

func GetMappingListComputeImageCapabilitySchemasSortByEnum ¶

func GetMappingListComputeImageCapabilitySchemasSortByEnum(val string) (ListComputeImageCapabilitySchemasSortByEnum, bool)

GetMappingListComputeImageCapabilitySchemasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListComputeImageCapabilitySchemasSortOrderEnum ¶

type ListComputeImageCapabilitySchemasSortOrderEnum string

ListComputeImageCapabilitySchemasSortOrderEnum Enum with underlying type: string

const (
	ListComputeImageCapabilitySchemasSortOrderAsc  ListComputeImageCapabilitySchemasSortOrderEnum = "ASC"
	ListComputeImageCapabilitySchemasSortOrderDesc ListComputeImageCapabilitySchemasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListComputeImageCapabilitySchemasSortOrderEnum

func GetListComputeImageCapabilitySchemasSortOrderEnumValues ¶

func GetListComputeImageCapabilitySchemasSortOrderEnumValues() []ListComputeImageCapabilitySchemasSortOrderEnum

GetListComputeImageCapabilitySchemasSortOrderEnumValues Enumerates the set of values for ListComputeImageCapabilitySchemasSortOrderEnum

func GetMappingListComputeImageCapabilitySchemasSortOrderEnum ¶

func GetMappingListComputeImageCapabilitySchemasSortOrderEnum(val string) (ListComputeImageCapabilitySchemasSortOrderEnum, bool)

GetMappingListComputeImageCapabilitySchemasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConsoleHistoriesRequest ¶

type ListConsoleHistoriesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListConsoleHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListConsoleHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state
	// value is case-insensitive.
	LifecycleState ConsoleHistoryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListConsoleHistoriesRequest wrapper for the ListConsoleHistories operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistoriesRequest.

func (ListConsoleHistoriesRequest) BinaryRequestBody ¶

func (request ListConsoleHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListConsoleHistoriesRequest) HTTPRequest ¶

func (request ListConsoleHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListConsoleHistoriesRequest) RetryPolicy ¶

func (request ListConsoleHistoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListConsoleHistoriesRequest) String ¶

func (request ListConsoleHistoriesRequest) String() string

func (ListConsoleHistoriesRequest) ValidateEnumValue ¶

func (request ListConsoleHistoriesRequest) 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 ListConsoleHistoriesResponse ¶

type ListConsoleHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ConsoleHistory instances
	Items []ConsoleHistory `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListConsoleHistoriesResponse wrapper for the ListConsoleHistories operation

func (ListConsoleHistoriesResponse) HTTPResponse ¶

func (response ListConsoleHistoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListConsoleHistoriesResponse) String ¶

func (response ListConsoleHistoriesResponse) String() string

type ListConsoleHistoriesSortByEnum ¶

type ListConsoleHistoriesSortByEnum string

ListConsoleHistoriesSortByEnum Enum with underlying type: string

const (
	ListConsoleHistoriesSortByTimecreated ListConsoleHistoriesSortByEnum = "TIMECREATED"
	ListConsoleHistoriesSortByDisplayname ListConsoleHistoriesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListConsoleHistoriesSortByEnum

func GetListConsoleHistoriesSortByEnumValues ¶

func GetListConsoleHistoriesSortByEnumValues() []ListConsoleHistoriesSortByEnum

GetListConsoleHistoriesSortByEnumValues Enumerates the set of values for ListConsoleHistoriesSortByEnum

func GetMappingListConsoleHistoriesSortByEnum ¶

func GetMappingListConsoleHistoriesSortByEnum(val string) (ListConsoleHistoriesSortByEnum, bool)

GetMappingListConsoleHistoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListConsoleHistoriesSortOrderEnum ¶

type ListConsoleHistoriesSortOrderEnum string

ListConsoleHistoriesSortOrderEnum Enum with underlying type: string

const (
	ListConsoleHistoriesSortOrderAsc  ListConsoleHistoriesSortOrderEnum = "ASC"
	ListConsoleHistoriesSortOrderDesc ListConsoleHistoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConsoleHistoriesSortOrderEnum

func GetListConsoleHistoriesSortOrderEnumValues ¶

func GetListConsoleHistoriesSortOrderEnumValues() []ListConsoleHistoriesSortOrderEnum

GetListConsoleHistoriesSortOrderEnumValues Enumerates the set of values for ListConsoleHistoriesSortOrderEnum

func GetMappingListConsoleHistoriesSortOrderEnum ¶

func GetMappingListConsoleHistoriesSortOrderEnum(val string) (ListConsoleHistoriesSortOrderEnum, bool)

GetMappingListConsoleHistoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCpeDeviceShapesRequest ¶

type ListCpeDeviceShapesRequest struct {

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCpeDeviceShapesRequest wrapper for the ListCpeDeviceShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapesRequest.

func (ListCpeDeviceShapesRequest) BinaryRequestBody ¶

func (request ListCpeDeviceShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCpeDeviceShapesRequest) HTTPRequest ¶

func (request ListCpeDeviceShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCpeDeviceShapesRequest) RetryPolicy ¶

func (request ListCpeDeviceShapesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCpeDeviceShapesRequest) String ¶

func (request ListCpeDeviceShapesRequest) String() string

func (ListCpeDeviceShapesRequest) ValidateEnumValue ¶

func (request ListCpeDeviceShapesRequest) 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 ListCpeDeviceShapesResponse ¶

type ListCpeDeviceShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CpeDeviceShapeSummary instances
	Items []CpeDeviceShapeSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCpeDeviceShapesResponse wrapper for the ListCpeDeviceShapes operation

func (ListCpeDeviceShapesResponse) HTTPResponse ¶

func (response ListCpeDeviceShapesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCpeDeviceShapesResponse) String ¶

func (response ListCpeDeviceShapesResponse) String() string

type ListCpesRequest ¶

type ListCpesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCpesRequest wrapper for the ListCpes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpesRequest.

func (ListCpesRequest) BinaryRequestBody ¶

func (request ListCpesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCpesRequest) HTTPRequest ¶

func (request ListCpesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCpesRequest) RetryPolicy ¶

func (request ListCpesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCpesRequest) String ¶

func (request ListCpesRequest) String() string

func (ListCpesRequest) ValidateEnumValue ¶

func (request ListCpesRequest) 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 ListCpesResponse ¶

type ListCpesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Cpe instances
	Items []Cpe `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCpesResponse wrapper for the ListCpes operation

func (ListCpesResponse) HTTPResponse ¶

func (response ListCpesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCpesResponse) String ¶

func (response ListCpesResponse) String() string

type ListCrossConnectGroupsRequest ¶

type ListCrossConnectGroupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListCrossConnectGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListCrossConnectGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState CrossConnectGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCrossConnectGroupsRequest wrapper for the ListCrossConnectGroups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroupsRequest.

func (ListCrossConnectGroupsRequest) BinaryRequestBody ¶

func (request ListCrossConnectGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCrossConnectGroupsRequest) HTTPRequest ¶

func (request ListCrossConnectGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCrossConnectGroupsRequest) RetryPolicy ¶

func (request ListCrossConnectGroupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCrossConnectGroupsRequest) String ¶

func (request ListCrossConnectGroupsRequest) String() string

func (ListCrossConnectGroupsRequest) ValidateEnumValue ¶

func (request ListCrossConnectGroupsRequest) 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 ListCrossConnectGroupsResponse ¶

type ListCrossConnectGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CrossConnectGroup instances
	Items []CrossConnectGroup `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCrossConnectGroupsResponse wrapper for the ListCrossConnectGroups operation

func (ListCrossConnectGroupsResponse) HTTPResponse ¶

func (response ListCrossConnectGroupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCrossConnectGroupsResponse) String ¶

func (response ListCrossConnectGroupsResponse) String() string

type ListCrossConnectGroupsSortByEnum ¶

type ListCrossConnectGroupsSortByEnum string

ListCrossConnectGroupsSortByEnum Enum with underlying type: string

const (
	ListCrossConnectGroupsSortByTimecreated ListCrossConnectGroupsSortByEnum = "TIMECREATED"
	ListCrossConnectGroupsSortByDisplayname ListCrossConnectGroupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListCrossConnectGroupsSortByEnum

func GetListCrossConnectGroupsSortByEnumValues ¶

func GetListCrossConnectGroupsSortByEnumValues() []ListCrossConnectGroupsSortByEnum

GetListCrossConnectGroupsSortByEnumValues Enumerates the set of values for ListCrossConnectGroupsSortByEnum

func GetMappingListCrossConnectGroupsSortByEnum ¶

func GetMappingListCrossConnectGroupsSortByEnum(val string) (ListCrossConnectGroupsSortByEnum, bool)

GetMappingListCrossConnectGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCrossConnectGroupsSortOrderEnum ¶

type ListCrossConnectGroupsSortOrderEnum string

ListCrossConnectGroupsSortOrderEnum Enum with underlying type: string

const (
	ListCrossConnectGroupsSortOrderAsc  ListCrossConnectGroupsSortOrderEnum = "ASC"
	ListCrossConnectGroupsSortOrderDesc ListCrossConnectGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCrossConnectGroupsSortOrderEnum

func GetListCrossConnectGroupsSortOrderEnumValues ¶

func GetListCrossConnectGroupsSortOrderEnumValues() []ListCrossConnectGroupsSortOrderEnum

GetListCrossConnectGroupsSortOrderEnumValues Enumerates the set of values for ListCrossConnectGroupsSortOrderEnum

func GetMappingListCrossConnectGroupsSortOrderEnum ¶

func GetMappingListCrossConnectGroupsSortOrderEnum(val string) (ListCrossConnectGroupsSortOrderEnum, bool)

GetMappingListCrossConnectGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCrossConnectLocationsRequest ¶

type ListCrossConnectLocationsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCrossConnectLocationsRequest wrapper for the ListCrossConnectLocations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocationsRequest.

func (ListCrossConnectLocationsRequest) BinaryRequestBody ¶

func (request ListCrossConnectLocationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCrossConnectLocationsRequest) HTTPRequest ¶

func (request ListCrossConnectLocationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCrossConnectLocationsRequest) RetryPolicy ¶

func (request ListCrossConnectLocationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCrossConnectLocationsRequest) String ¶

func (request ListCrossConnectLocationsRequest) String() string

func (ListCrossConnectLocationsRequest) ValidateEnumValue ¶

func (request ListCrossConnectLocationsRequest) 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 ListCrossConnectLocationsResponse ¶

type ListCrossConnectLocationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CrossConnectLocation instances
	Items []CrossConnectLocation `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCrossConnectLocationsResponse wrapper for the ListCrossConnectLocations operation

func (ListCrossConnectLocationsResponse) HTTPResponse ¶

func (response ListCrossConnectLocationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCrossConnectLocationsResponse) String ¶

func (response ListCrossConnectLocationsResponse) String() string

type ListCrossConnectMappingsRequest ¶

type ListCrossConnectMappingsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCrossConnectMappingsRequest wrapper for the ListCrossConnectMappings operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappingsRequest.

func (ListCrossConnectMappingsRequest) BinaryRequestBody ¶

func (request ListCrossConnectMappingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCrossConnectMappingsRequest) HTTPRequest ¶

func (request ListCrossConnectMappingsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCrossConnectMappingsRequest) RetryPolicy ¶

func (request ListCrossConnectMappingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCrossConnectMappingsRequest) String ¶

func (request ListCrossConnectMappingsRequest) String() string

func (ListCrossConnectMappingsRequest) ValidateEnumValue ¶

func (request ListCrossConnectMappingsRequest) 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 ListCrossConnectMappingsResponse ¶

type ListCrossConnectMappingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnectMappingDetailsCollection instance
	CrossConnectMappingDetailsCollection `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"`
}

ListCrossConnectMappingsResponse wrapper for the ListCrossConnectMappings operation

func (ListCrossConnectMappingsResponse) HTTPResponse ¶

func (response ListCrossConnectMappingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCrossConnectMappingsResponse) String ¶

func (response ListCrossConnectMappingsResponse) String() string

type ListCrossConnectsRequest ¶

type ListCrossConnectsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group.
	CrossConnectGroupId *string `mandatory:"false" contributesTo:"query" name:"crossConnectGroupId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListCrossConnectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListCrossConnectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState CrossConnectLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCrossConnectsRequest wrapper for the ListCrossConnects operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnectsRequest.

func (ListCrossConnectsRequest) BinaryRequestBody ¶

func (request ListCrossConnectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCrossConnectsRequest) HTTPRequest ¶

func (request ListCrossConnectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCrossConnectsRequest) RetryPolicy ¶

func (request ListCrossConnectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCrossConnectsRequest) String ¶

func (request ListCrossConnectsRequest) String() string

func (ListCrossConnectsRequest) ValidateEnumValue ¶

func (request ListCrossConnectsRequest) 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 ListCrossConnectsResponse ¶

type ListCrossConnectsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CrossConnect instances
	Items []CrossConnect `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCrossConnectsResponse wrapper for the ListCrossConnects operation

func (ListCrossConnectsResponse) HTTPResponse ¶

func (response ListCrossConnectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCrossConnectsResponse) String ¶

func (response ListCrossConnectsResponse) String() string

type ListCrossConnectsSortByEnum ¶

type ListCrossConnectsSortByEnum string

ListCrossConnectsSortByEnum Enum with underlying type: string

const (
	ListCrossConnectsSortByTimecreated ListCrossConnectsSortByEnum = "TIMECREATED"
	ListCrossConnectsSortByDisplayname ListCrossConnectsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListCrossConnectsSortByEnum

func GetListCrossConnectsSortByEnumValues ¶

func GetListCrossConnectsSortByEnumValues() []ListCrossConnectsSortByEnum

GetListCrossConnectsSortByEnumValues Enumerates the set of values for ListCrossConnectsSortByEnum

func GetMappingListCrossConnectsSortByEnum ¶

func GetMappingListCrossConnectsSortByEnum(val string) (ListCrossConnectsSortByEnum, bool)

GetMappingListCrossConnectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCrossConnectsSortOrderEnum ¶

type ListCrossConnectsSortOrderEnum string

ListCrossConnectsSortOrderEnum Enum with underlying type: string

const (
	ListCrossConnectsSortOrderAsc  ListCrossConnectsSortOrderEnum = "ASC"
	ListCrossConnectsSortOrderDesc ListCrossConnectsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCrossConnectsSortOrderEnum

func GetListCrossConnectsSortOrderEnumValues ¶

func GetListCrossConnectsSortOrderEnumValues() []ListCrossConnectsSortOrderEnum

GetListCrossConnectsSortOrderEnumValues Enumerates the set of values for ListCrossConnectsSortOrderEnum

func GetMappingListCrossConnectsSortOrderEnum ¶

func GetMappingListCrossConnectsSortOrderEnum(val string) (ListCrossConnectsSortOrderEnum, bool)

GetMappingListCrossConnectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListCrossconnectPortSpeedShapesRequest ¶

type ListCrossconnectPortSpeedShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListCrossconnectPortSpeedShapesRequest wrapper for the ListCrossconnectPortSpeedShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapesRequest.

func (ListCrossconnectPortSpeedShapesRequest) BinaryRequestBody ¶

func (request ListCrossconnectPortSpeedShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListCrossconnectPortSpeedShapesRequest) HTTPRequest ¶

func (request ListCrossconnectPortSpeedShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCrossconnectPortSpeedShapesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCrossconnectPortSpeedShapesRequest) String ¶

func (ListCrossconnectPortSpeedShapesRequest) ValidateEnumValue ¶

func (request ListCrossconnectPortSpeedShapesRequest) 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 ListCrossconnectPortSpeedShapesResponse ¶

type ListCrossconnectPortSpeedShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []CrossConnectPortSpeedShape instances
	Items []CrossConnectPortSpeedShape `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListCrossconnectPortSpeedShapesResponse wrapper for the ListCrossconnectPortSpeedShapes operation

func (ListCrossconnectPortSpeedShapesResponse) HTTPResponse ¶

func (response ListCrossconnectPortSpeedShapesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCrossconnectPortSpeedShapesResponse) String ¶

type ListDedicatedVmHostInstanceShapesRequest ¶

type ListDedicatedVmHostInstanceShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// Dedicated VM host shape name
	DedicatedVmHostShape *string `mandatory:"false" contributesTo:"query" name:"dedicatedVmHostShape"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDedicatedVmHostInstanceShapesRequest wrapper for the ListDedicatedVmHostInstanceShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapesRequest.

func (ListDedicatedVmHostInstanceShapesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListDedicatedVmHostInstanceShapesRequest) HTTPRequest ¶

func (request ListDedicatedVmHostInstanceShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDedicatedVmHostInstanceShapesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDedicatedVmHostInstanceShapesRequest) String ¶

func (ListDedicatedVmHostInstanceShapesRequest) ValidateEnumValue ¶

func (request ListDedicatedVmHostInstanceShapesRequest) 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 ListDedicatedVmHostInstanceShapesResponse ¶

type ListDedicatedVmHostInstanceShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DedicatedVmHostInstanceShapeSummary instances
	Items []DedicatedVmHostInstanceShapeSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDedicatedVmHostInstanceShapesResponse wrapper for the ListDedicatedVmHostInstanceShapes operation

func (ListDedicatedVmHostInstanceShapesResponse) HTTPResponse ¶

func (response ListDedicatedVmHostInstanceShapesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDedicatedVmHostInstanceShapesResponse) String ¶

type ListDedicatedVmHostInstancesRequest ¶

type ListDedicatedVmHostInstancesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the dedicated VM host.
	DedicatedVmHostId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVmHostId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListDedicatedVmHostInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDedicatedVmHostInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListDedicatedVmHostInstancesRequest wrapper for the ListDedicatedVmHostInstances operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstancesRequest.

func (ListDedicatedVmHostInstancesRequest) BinaryRequestBody ¶

func (request ListDedicatedVmHostInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDedicatedVmHostInstancesRequest) HTTPRequest ¶

func (request ListDedicatedVmHostInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDedicatedVmHostInstancesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDedicatedVmHostInstancesRequest) String ¶

func (ListDedicatedVmHostInstancesRequest) ValidateEnumValue ¶

func (request ListDedicatedVmHostInstancesRequest) 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 ListDedicatedVmHostInstancesResponse ¶

type ListDedicatedVmHostInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DedicatedVmHostInstanceSummary instances
	Items []DedicatedVmHostInstanceSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDedicatedVmHostInstancesResponse wrapper for the ListDedicatedVmHostInstances operation

func (ListDedicatedVmHostInstancesResponse) HTTPResponse ¶

func (response ListDedicatedVmHostInstancesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDedicatedVmHostInstancesResponse) String ¶

func (response ListDedicatedVmHostInstancesResponse) String() string

type ListDedicatedVmHostInstancesSortByEnum ¶

type ListDedicatedVmHostInstancesSortByEnum string

ListDedicatedVmHostInstancesSortByEnum Enum with underlying type: string

const (
	ListDedicatedVmHostInstancesSortByTimecreated ListDedicatedVmHostInstancesSortByEnum = "TIMECREATED"
	ListDedicatedVmHostInstancesSortByDisplayname ListDedicatedVmHostInstancesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDedicatedVmHostInstancesSortByEnum

func GetListDedicatedVmHostInstancesSortByEnumValues ¶

func GetListDedicatedVmHostInstancesSortByEnumValues() []ListDedicatedVmHostInstancesSortByEnum

GetListDedicatedVmHostInstancesSortByEnumValues Enumerates the set of values for ListDedicatedVmHostInstancesSortByEnum

func GetMappingListDedicatedVmHostInstancesSortByEnum ¶

func GetMappingListDedicatedVmHostInstancesSortByEnum(val string) (ListDedicatedVmHostInstancesSortByEnum, bool)

GetMappingListDedicatedVmHostInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDedicatedVmHostInstancesSortOrderEnum ¶

type ListDedicatedVmHostInstancesSortOrderEnum string

ListDedicatedVmHostInstancesSortOrderEnum Enum with underlying type: string

const (
	ListDedicatedVmHostInstancesSortOrderAsc  ListDedicatedVmHostInstancesSortOrderEnum = "ASC"
	ListDedicatedVmHostInstancesSortOrderDesc ListDedicatedVmHostInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDedicatedVmHostInstancesSortOrderEnum

func GetListDedicatedVmHostInstancesSortOrderEnumValues ¶

func GetListDedicatedVmHostInstancesSortOrderEnumValues() []ListDedicatedVmHostInstancesSortOrderEnum

GetListDedicatedVmHostInstancesSortOrderEnumValues Enumerates the set of values for ListDedicatedVmHostInstancesSortOrderEnum

func GetMappingListDedicatedVmHostInstancesSortOrderEnum ¶

func GetMappingListDedicatedVmHostInstancesSortOrderEnum(val string) (ListDedicatedVmHostInstancesSortOrderEnum, bool)

GetMappingListDedicatedVmHostInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDedicatedVmHostShapesRequest ¶

type ListDedicatedVmHostShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The name for the instance's shape.
	InstanceShapeName *string `mandatory:"false" contributesTo:"query" name:"instanceShapeName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDedicatedVmHostShapesRequest wrapper for the ListDedicatedVmHostShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapesRequest.

func (ListDedicatedVmHostShapesRequest) BinaryRequestBody ¶

func (request ListDedicatedVmHostShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDedicatedVmHostShapesRequest) HTTPRequest ¶

func (request ListDedicatedVmHostShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDedicatedVmHostShapesRequest) RetryPolicy ¶

func (request ListDedicatedVmHostShapesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDedicatedVmHostShapesRequest) String ¶

func (request ListDedicatedVmHostShapesRequest) String() string

func (ListDedicatedVmHostShapesRequest) ValidateEnumValue ¶

func (request ListDedicatedVmHostShapesRequest) 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 ListDedicatedVmHostShapesResponse ¶

type ListDedicatedVmHostShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DedicatedVmHostShapeSummary instances
	Items []DedicatedVmHostShapeSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDedicatedVmHostShapesResponse wrapper for the ListDedicatedVmHostShapes operation

func (ListDedicatedVmHostShapesResponse) HTTPResponse ¶

func (response ListDedicatedVmHostShapesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDedicatedVmHostShapesResponse) String ¶

func (response ListDedicatedVmHostShapesResponse) String() string

type ListDedicatedVmHostsLifecycleStateEnum ¶

type ListDedicatedVmHostsLifecycleStateEnum string

ListDedicatedVmHostsLifecycleStateEnum Enum with underlying type: string

const (
	ListDedicatedVmHostsLifecycleStateCreating ListDedicatedVmHostsLifecycleStateEnum = "CREATING"
	ListDedicatedVmHostsLifecycleStateActive   ListDedicatedVmHostsLifecycleStateEnum = "ACTIVE"
	ListDedicatedVmHostsLifecycleStateUpdating ListDedicatedVmHostsLifecycleStateEnum = "UPDATING"
	ListDedicatedVmHostsLifecycleStateDeleting ListDedicatedVmHostsLifecycleStateEnum = "DELETING"
	ListDedicatedVmHostsLifecycleStateDeleted  ListDedicatedVmHostsLifecycleStateEnum = "DELETED"
	ListDedicatedVmHostsLifecycleStateFailed   ListDedicatedVmHostsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListDedicatedVmHostsLifecycleStateEnum

func GetListDedicatedVmHostsLifecycleStateEnumValues ¶

func GetListDedicatedVmHostsLifecycleStateEnumValues() []ListDedicatedVmHostsLifecycleStateEnum

GetListDedicatedVmHostsLifecycleStateEnumValues Enumerates the set of values for ListDedicatedVmHostsLifecycleStateEnum

func GetMappingListDedicatedVmHostsLifecycleStateEnum ¶

func GetMappingListDedicatedVmHostsLifecycleStateEnum(val string) (ListDedicatedVmHostsLifecycleStateEnum, bool)

GetMappingListDedicatedVmHostsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDedicatedVmHostsRequest ¶

type ListDedicatedVmHostsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// A filter to only return resources that match the given lifecycle state.
	LifecycleState ListDedicatedVmHostsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The name for the instance's shape.
	InstanceShapeName *string `mandatory:"false" contributesTo:"query" name:"instanceShapeName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListDedicatedVmHostsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDedicatedVmHostsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The remaining memory of the dedicated VM host, in GBs.
	RemainingMemoryInGBsGreaterThanOrEqualTo *float32 `mandatory:"false" contributesTo:"query" name:"remainingMemoryInGBsGreaterThanOrEqualTo"`

	// The available OCPUs of the dedicated VM host.
	RemainingOcpusGreaterThanOrEqualTo *float32 `mandatory:"false" contributesTo:"query" name:"remainingOcpusGreaterThanOrEqualTo"`

	// 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
}

ListDedicatedVmHostsRequest wrapper for the ListDedicatedVmHosts operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHostsRequest.

func (ListDedicatedVmHostsRequest) BinaryRequestBody ¶

func (request ListDedicatedVmHostsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDedicatedVmHostsRequest) HTTPRequest ¶

func (request ListDedicatedVmHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDedicatedVmHostsRequest) RetryPolicy ¶

func (request ListDedicatedVmHostsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDedicatedVmHostsRequest) String ¶

func (request ListDedicatedVmHostsRequest) String() string

func (ListDedicatedVmHostsRequest) ValidateEnumValue ¶

func (request ListDedicatedVmHostsRequest) 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 ListDedicatedVmHostsResponse ¶

type ListDedicatedVmHostsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DedicatedVmHostSummary instances
	Items []DedicatedVmHostSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDedicatedVmHostsResponse wrapper for the ListDedicatedVmHosts operation

func (ListDedicatedVmHostsResponse) HTTPResponse ¶

func (response ListDedicatedVmHostsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDedicatedVmHostsResponse) String ¶

func (response ListDedicatedVmHostsResponse) String() string

type ListDedicatedVmHostsSortByEnum ¶

type ListDedicatedVmHostsSortByEnum string

ListDedicatedVmHostsSortByEnum Enum with underlying type: string

const (
	ListDedicatedVmHostsSortByTimecreated ListDedicatedVmHostsSortByEnum = "TIMECREATED"
	ListDedicatedVmHostsSortByDisplayname ListDedicatedVmHostsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDedicatedVmHostsSortByEnum

func GetListDedicatedVmHostsSortByEnumValues ¶

func GetListDedicatedVmHostsSortByEnumValues() []ListDedicatedVmHostsSortByEnum

GetListDedicatedVmHostsSortByEnumValues Enumerates the set of values for ListDedicatedVmHostsSortByEnum

func GetMappingListDedicatedVmHostsSortByEnum ¶

func GetMappingListDedicatedVmHostsSortByEnum(val string) (ListDedicatedVmHostsSortByEnum, bool)

GetMappingListDedicatedVmHostsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDedicatedVmHostsSortOrderEnum ¶

type ListDedicatedVmHostsSortOrderEnum string

ListDedicatedVmHostsSortOrderEnum Enum with underlying type: string

const (
	ListDedicatedVmHostsSortOrderAsc  ListDedicatedVmHostsSortOrderEnum = "ASC"
	ListDedicatedVmHostsSortOrderDesc ListDedicatedVmHostsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDedicatedVmHostsSortOrderEnum

func GetListDedicatedVmHostsSortOrderEnumValues ¶

func GetListDedicatedVmHostsSortOrderEnumValues() []ListDedicatedVmHostsSortOrderEnum

GetListDedicatedVmHostsSortOrderEnumValues Enumerates the set of values for ListDedicatedVmHostsSortOrderEnum

func GetMappingListDedicatedVmHostsSortOrderEnum ¶

func GetMappingListDedicatedVmHostsSortOrderEnum(val string) (ListDedicatedVmHostsSortOrderEnum, bool)

GetMappingListDedicatedVmHostsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDhcpOptionsRequest ¶

type ListDhcpOptionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListDhcpOptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDhcpOptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState DhcpOptionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDhcpOptionsRequest wrapper for the ListDhcpOptions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptionsRequest.

func (ListDhcpOptionsRequest) BinaryRequestBody ¶

func (request ListDhcpOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDhcpOptionsRequest) HTTPRequest ¶

func (request ListDhcpOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDhcpOptionsRequest) RetryPolicy ¶

func (request ListDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDhcpOptionsRequest) String ¶

func (request ListDhcpOptionsRequest) String() string

func (ListDhcpOptionsRequest) ValidateEnumValue ¶

func (request ListDhcpOptionsRequest) 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 ListDhcpOptionsResponse ¶

type ListDhcpOptionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DhcpOptions instances
	Items []DhcpOptions `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDhcpOptionsResponse wrapper for the ListDhcpOptions operation

func (ListDhcpOptionsResponse) HTTPResponse ¶

func (response ListDhcpOptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDhcpOptionsResponse) String ¶

func (response ListDhcpOptionsResponse) String() string

type ListDhcpOptionsSortByEnum ¶

type ListDhcpOptionsSortByEnum string

ListDhcpOptionsSortByEnum Enum with underlying type: string

const (
	ListDhcpOptionsSortByTimecreated ListDhcpOptionsSortByEnum = "TIMECREATED"
	ListDhcpOptionsSortByDisplayname ListDhcpOptionsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDhcpOptionsSortByEnum

func GetListDhcpOptionsSortByEnumValues ¶

func GetListDhcpOptionsSortByEnumValues() []ListDhcpOptionsSortByEnum

GetListDhcpOptionsSortByEnumValues Enumerates the set of values for ListDhcpOptionsSortByEnum

func GetMappingListDhcpOptionsSortByEnum ¶

func GetMappingListDhcpOptionsSortByEnum(val string) (ListDhcpOptionsSortByEnum, bool)

GetMappingListDhcpOptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDhcpOptionsSortOrderEnum ¶

type ListDhcpOptionsSortOrderEnum string

ListDhcpOptionsSortOrderEnum Enum with underlying type: string

const (
	ListDhcpOptionsSortOrderAsc  ListDhcpOptionsSortOrderEnum = "ASC"
	ListDhcpOptionsSortOrderDesc ListDhcpOptionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDhcpOptionsSortOrderEnum

func GetListDhcpOptionsSortOrderEnumValues ¶

func GetListDhcpOptionsSortOrderEnumValues() []ListDhcpOptionsSortOrderEnum

GetListDhcpOptionsSortOrderEnumValues Enumerates the set of values for ListDhcpOptionsSortOrderEnum

func GetMappingListDhcpOptionsSortOrderEnum ¶

func GetMappingListDhcpOptionsSortOrderEnum(val string) (ListDhcpOptionsSortOrderEnum, bool)

GetMappingListDhcpOptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgAttachmentsAttachmentTypeEnum ¶

type ListDrgAttachmentsAttachmentTypeEnum string

ListDrgAttachmentsAttachmentTypeEnum Enum with underlying type: string

const (
	ListDrgAttachmentsAttachmentTypeVcn                     ListDrgAttachmentsAttachmentTypeEnum = "VCN"
	ListDrgAttachmentsAttachmentTypeVirtualCircuit          ListDrgAttachmentsAttachmentTypeEnum = "VIRTUAL_CIRCUIT"
	ListDrgAttachmentsAttachmentTypeRemotePeeringConnection ListDrgAttachmentsAttachmentTypeEnum = "REMOTE_PEERING_CONNECTION"
	ListDrgAttachmentsAttachmentTypeIpsecTunnel             ListDrgAttachmentsAttachmentTypeEnum = "IPSEC_TUNNEL"
	ListDrgAttachmentsAttachmentTypeAll                     ListDrgAttachmentsAttachmentTypeEnum = "ALL"
)

Set of constants representing the allowable values for ListDrgAttachmentsAttachmentTypeEnum

func GetListDrgAttachmentsAttachmentTypeEnumValues ¶

func GetListDrgAttachmentsAttachmentTypeEnumValues() []ListDrgAttachmentsAttachmentTypeEnum

GetListDrgAttachmentsAttachmentTypeEnumValues Enumerates the set of values for ListDrgAttachmentsAttachmentTypeEnum

func GetMappingListDrgAttachmentsAttachmentTypeEnum ¶

func GetMappingListDrgAttachmentsAttachmentTypeEnum(val string) (ListDrgAttachmentsAttachmentTypeEnum, bool)

GetMappingListDrgAttachmentsAttachmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgAttachmentsRequest ¶

type ListDrgAttachmentsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.
	NetworkId *string `mandatory:"false" contributesTo:"query" name:"networkId"`

	// The type for the network resource attached to the DRG.
	AttachmentType ListDrgAttachmentsAttachmentTypeEnum `mandatory:"false" contributesTo:"query" name:"attachmentType" omitEmpty:"true"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to the DRG attachment.
	DrgRouteTableId *string `mandatory:"false" contributesTo:"query" name:"drgRouteTableId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListDrgAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDrgAttachmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState DrgAttachmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDrgAttachmentsRequest wrapper for the ListDrgAttachments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachmentsRequest.

func (ListDrgAttachmentsRequest) BinaryRequestBody ¶

func (request ListDrgAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrgAttachmentsRequest) HTTPRequest ¶

func (request ListDrgAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrgAttachmentsRequest) RetryPolicy ¶

func (request ListDrgAttachmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrgAttachmentsRequest) String ¶

func (request ListDrgAttachmentsRequest) String() string

func (ListDrgAttachmentsRequest) ValidateEnumValue ¶

func (request ListDrgAttachmentsRequest) 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 ListDrgAttachmentsResponse ¶

type ListDrgAttachmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DrgAttachment instances
	Items []DrgAttachment `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDrgAttachmentsResponse wrapper for the ListDrgAttachments operation

func (ListDrgAttachmentsResponse) HTTPResponse ¶

func (response ListDrgAttachmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrgAttachmentsResponse) String ¶

func (response ListDrgAttachmentsResponse) String() string

type ListDrgAttachmentsSortByEnum ¶

type ListDrgAttachmentsSortByEnum string

ListDrgAttachmentsSortByEnum Enum with underlying type: string

const (
	ListDrgAttachmentsSortByTimecreated ListDrgAttachmentsSortByEnum = "TIMECREATED"
	ListDrgAttachmentsSortByDisplayname ListDrgAttachmentsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDrgAttachmentsSortByEnum

func GetListDrgAttachmentsSortByEnumValues ¶

func GetListDrgAttachmentsSortByEnumValues() []ListDrgAttachmentsSortByEnum

GetListDrgAttachmentsSortByEnumValues Enumerates the set of values for ListDrgAttachmentsSortByEnum

func GetMappingListDrgAttachmentsSortByEnum ¶

func GetMappingListDrgAttachmentsSortByEnum(val string) (ListDrgAttachmentsSortByEnum, bool)

GetMappingListDrgAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgAttachmentsSortOrderEnum ¶

type ListDrgAttachmentsSortOrderEnum string

ListDrgAttachmentsSortOrderEnum Enum with underlying type: string

const (
	ListDrgAttachmentsSortOrderAsc  ListDrgAttachmentsSortOrderEnum = "ASC"
	ListDrgAttachmentsSortOrderDesc ListDrgAttachmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDrgAttachmentsSortOrderEnum

func GetListDrgAttachmentsSortOrderEnumValues ¶

func GetListDrgAttachmentsSortOrderEnumValues() []ListDrgAttachmentsSortOrderEnum

GetListDrgAttachmentsSortOrderEnumValues Enumerates the set of values for ListDrgAttachmentsSortOrderEnum

func GetMappingListDrgAttachmentsSortOrderEnum ¶

func GetMappingListDrgAttachmentsSortOrderEnum(val string) (ListDrgAttachmentsSortOrderEnum, bool)

GetMappingListDrgAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteDistributionStatementsRequest ¶

type ListDrgRouteDistributionStatementsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by.
	SortBy ListDrgRouteDistributionStatementsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDrgRouteDistributionStatementsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDrgRouteDistributionStatementsRequest wrapper for the ListDrgRouteDistributionStatements operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatementsRequest.

func (ListDrgRouteDistributionStatementsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListDrgRouteDistributionStatementsRequest) HTTPRequest ¶

func (request ListDrgRouteDistributionStatementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrgRouteDistributionStatementsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrgRouteDistributionStatementsRequest) String ¶

func (ListDrgRouteDistributionStatementsRequest) ValidateEnumValue ¶

func (request ListDrgRouteDistributionStatementsRequest) 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 ListDrgRouteDistributionStatementsResponse ¶

type ListDrgRouteDistributionStatementsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DrgRouteDistributionStatement instances
	Items []DrgRouteDistributionStatement `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDrgRouteDistributionStatementsResponse wrapper for the ListDrgRouteDistributionStatements operation

func (ListDrgRouteDistributionStatementsResponse) HTTPResponse ¶

func (response ListDrgRouteDistributionStatementsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrgRouteDistributionStatementsResponse) String ¶

type ListDrgRouteDistributionStatementsSortByEnum ¶

type ListDrgRouteDistributionStatementsSortByEnum string

ListDrgRouteDistributionStatementsSortByEnum Enum with underlying type: string

const (
	ListDrgRouteDistributionStatementsSortByTimecreated ListDrgRouteDistributionStatementsSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListDrgRouteDistributionStatementsSortByEnum

func GetListDrgRouteDistributionStatementsSortByEnumValues ¶

func GetListDrgRouteDistributionStatementsSortByEnumValues() []ListDrgRouteDistributionStatementsSortByEnum

GetListDrgRouteDistributionStatementsSortByEnumValues Enumerates the set of values for ListDrgRouteDistributionStatementsSortByEnum

func GetMappingListDrgRouteDistributionStatementsSortByEnum ¶

func GetMappingListDrgRouteDistributionStatementsSortByEnum(val string) (ListDrgRouteDistributionStatementsSortByEnum, bool)

GetMappingListDrgRouteDistributionStatementsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteDistributionStatementsSortOrderEnum ¶

type ListDrgRouteDistributionStatementsSortOrderEnum string

ListDrgRouteDistributionStatementsSortOrderEnum Enum with underlying type: string

const (
	ListDrgRouteDistributionStatementsSortOrderAsc  ListDrgRouteDistributionStatementsSortOrderEnum = "ASC"
	ListDrgRouteDistributionStatementsSortOrderDesc ListDrgRouteDistributionStatementsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDrgRouteDistributionStatementsSortOrderEnum

func GetListDrgRouteDistributionStatementsSortOrderEnumValues ¶

func GetListDrgRouteDistributionStatementsSortOrderEnumValues() []ListDrgRouteDistributionStatementsSortOrderEnum

GetListDrgRouteDistributionStatementsSortOrderEnumValues Enumerates the set of values for ListDrgRouteDistributionStatementsSortOrderEnum

func GetMappingListDrgRouteDistributionStatementsSortOrderEnum ¶

func GetMappingListDrgRouteDistributionStatementsSortOrderEnum(val string) (ListDrgRouteDistributionStatementsSortOrderEnum, bool)

GetMappingListDrgRouteDistributionStatementsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteDistributionsRequest ¶

type ListDrgRouteDistributionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"query" name:"drgId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListDrgRouteDistributionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDrgRouteDistributionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter that only returns resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState DrgRouteDistributionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDrgRouteDistributionsRequest wrapper for the ListDrgRouteDistributions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributionsRequest.

func (ListDrgRouteDistributionsRequest) BinaryRequestBody ¶

func (request ListDrgRouteDistributionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrgRouteDistributionsRequest) HTTPRequest ¶

func (request ListDrgRouteDistributionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrgRouteDistributionsRequest) RetryPolicy ¶

func (request ListDrgRouteDistributionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrgRouteDistributionsRequest) String ¶

func (request ListDrgRouteDistributionsRequest) String() string

func (ListDrgRouteDistributionsRequest) ValidateEnumValue ¶

func (request ListDrgRouteDistributionsRequest) 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 ListDrgRouteDistributionsResponse ¶

type ListDrgRouteDistributionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DrgRouteDistribution instances
	Items []DrgRouteDistribution `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDrgRouteDistributionsResponse wrapper for the ListDrgRouteDistributions operation

func (ListDrgRouteDistributionsResponse) HTTPResponse ¶

func (response ListDrgRouteDistributionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrgRouteDistributionsResponse) String ¶

func (response ListDrgRouteDistributionsResponse) String() string

type ListDrgRouteDistributionsSortByEnum ¶

type ListDrgRouteDistributionsSortByEnum string

ListDrgRouteDistributionsSortByEnum Enum with underlying type: string

const (
	ListDrgRouteDistributionsSortByTimecreated ListDrgRouteDistributionsSortByEnum = "TIMECREATED"
	ListDrgRouteDistributionsSortByDisplayname ListDrgRouteDistributionsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDrgRouteDistributionsSortByEnum

func GetListDrgRouteDistributionsSortByEnumValues ¶

func GetListDrgRouteDistributionsSortByEnumValues() []ListDrgRouteDistributionsSortByEnum

GetListDrgRouteDistributionsSortByEnumValues Enumerates the set of values for ListDrgRouteDistributionsSortByEnum

func GetMappingListDrgRouteDistributionsSortByEnum ¶

func GetMappingListDrgRouteDistributionsSortByEnum(val string) (ListDrgRouteDistributionsSortByEnum, bool)

GetMappingListDrgRouteDistributionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteDistributionsSortOrderEnum ¶

type ListDrgRouteDistributionsSortOrderEnum string

ListDrgRouteDistributionsSortOrderEnum Enum with underlying type: string

const (
	ListDrgRouteDistributionsSortOrderAsc  ListDrgRouteDistributionsSortOrderEnum = "ASC"
	ListDrgRouteDistributionsSortOrderDesc ListDrgRouteDistributionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDrgRouteDistributionsSortOrderEnum

func GetListDrgRouteDistributionsSortOrderEnumValues ¶

func GetListDrgRouteDistributionsSortOrderEnumValues() []ListDrgRouteDistributionsSortOrderEnum

GetListDrgRouteDistributionsSortOrderEnumValues Enumerates the set of values for ListDrgRouteDistributionsSortOrderEnum

func GetMappingListDrgRouteDistributionsSortOrderEnum ¶

func GetMappingListDrgRouteDistributionsSortOrderEnum(val string) (ListDrgRouteDistributionsSortOrderEnum, bool)

GetMappingListDrgRouteDistributionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteRulesRequest ¶

type ListDrgRouteRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Static routes are specified through the DRG route table API.
	// Dynamic routes are learned by the DRG from the DRG attachments through various routing protocols.
	RouteType ListDrgRouteRulesRouteTypeEnum `mandatory:"false" contributesTo:"query" name:"routeType" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDrgRouteRulesRequest wrapper for the ListDrgRouteRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRulesRequest.

func (ListDrgRouteRulesRequest) BinaryRequestBody ¶

func (request ListDrgRouteRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrgRouteRulesRequest) HTTPRequest ¶

func (request ListDrgRouteRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrgRouteRulesRequest) RetryPolicy ¶

func (request ListDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrgRouteRulesRequest) String ¶

func (request ListDrgRouteRulesRequest) String() string

func (ListDrgRouteRulesRequest) ValidateEnumValue ¶

func (request ListDrgRouteRulesRequest) 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 ListDrgRouteRulesResponse ¶

type ListDrgRouteRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DrgRouteRule instances
	Items []DrgRouteRule `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDrgRouteRulesResponse wrapper for the ListDrgRouteRules operation

func (ListDrgRouteRulesResponse) HTTPResponse ¶

func (response ListDrgRouteRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrgRouteRulesResponse) String ¶

func (response ListDrgRouteRulesResponse) String() string

type ListDrgRouteRulesRouteTypeEnum ¶

type ListDrgRouteRulesRouteTypeEnum string

ListDrgRouteRulesRouteTypeEnum Enum with underlying type: string

const (
	ListDrgRouteRulesRouteTypeStatic  ListDrgRouteRulesRouteTypeEnum = "STATIC"
	ListDrgRouteRulesRouteTypeDynamic ListDrgRouteRulesRouteTypeEnum = "DYNAMIC"
)

Set of constants representing the allowable values for ListDrgRouteRulesRouteTypeEnum

func GetListDrgRouteRulesRouteTypeEnumValues ¶

func GetListDrgRouteRulesRouteTypeEnumValues() []ListDrgRouteRulesRouteTypeEnum

GetListDrgRouteRulesRouteTypeEnumValues Enumerates the set of values for ListDrgRouteRulesRouteTypeEnum

func GetMappingListDrgRouteRulesRouteTypeEnum ¶

func GetMappingListDrgRouteRulesRouteTypeEnum(val string) (ListDrgRouteRulesRouteTypeEnum, bool)

GetMappingListDrgRouteRulesRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteTablesRequest ¶

type ListDrgRouteTablesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"query" name:"drgId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListDrgRouteTablesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListDrgRouteTablesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution.
	ImportDrgRouteDistributionId *string `mandatory:"false" contributesTo:"query" name:"importDrgRouteDistributionId"`

	// A filter that only returns matches for the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState DrgRouteTableLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDrgRouteTablesRequest wrapper for the ListDrgRouteTables operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTablesRequest.

func (ListDrgRouteTablesRequest) BinaryRequestBody ¶

func (request ListDrgRouteTablesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrgRouteTablesRequest) HTTPRequest ¶

func (request ListDrgRouteTablesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrgRouteTablesRequest) RetryPolicy ¶

func (request ListDrgRouteTablesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrgRouteTablesRequest) String ¶

func (request ListDrgRouteTablesRequest) String() string

func (ListDrgRouteTablesRequest) ValidateEnumValue ¶

func (request ListDrgRouteTablesRequest) 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 ListDrgRouteTablesResponse ¶

type ListDrgRouteTablesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DrgRouteTable instances
	Items []DrgRouteTable `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDrgRouteTablesResponse wrapper for the ListDrgRouteTables operation

func (ListDrgRouteTablesResponse) HTTPResponse ¶

func (response ListDrgRouteTablesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrgRouteTablesResponse) String ¶

func (response ListDrgRouteTablesResponse) String() string

type ListDrgRouteTablesSortByEnum ¶

type ListDrgRouteTablesSortByEnum string

ListDrgRouteTablesSortByEnum Enum with underlying type: string

const (
	ListDrgRouteTablesSortByTimecreated ListDrgRouteTablesSortByEnum = "TIMECREATED"
	ListDrgRouteTablesSortByDisplayname ListDrgRouteTablesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListDrgRouteTablesSortByEnum

func GetListDrgRouteTablesSortByEnumValues ¶

func GetListDrgRouteTablesSortByEnumValues() []ListDrgRouteTablesSortByEnum

GetListDrgRouteTablesSortByEnumValues Enumerates the set of values for ListDrgRouteTablesSortByEnum

func GetMappingListDrgRouteTablesSortByEnum ¶

func GetMappingListDrgRouteTablesSortByEnum(val string) (ListDrgRouteTablesSortByEnum, bool)

GetMappingListDrgRouteTablesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgRouteTablesSortOrderEnum ¶

type ListDrgRouteTablesSortOrderEnum string

ListDrgRouteTablesSortOrderEnum Enum with underlying type: string

const (
	ListDrgRouteTablesSortOrderAsc  ListDrgRouteTablesSortOrderEnum = "ASC"
	ListDrgRouteTablesSortOrderDesc ListDrgRouteTablesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDrgRouteTablesSortOrderEnum

func GetListDrgRouteTablesSortOrderEnumValues ¶

func GetListDrgRouteTablesSortOrderEnumValues() []ListDrgRouteTablesSortOrderEnum

GetListDrgRouteTablesSortOrderEnumValues Enumerates the set of values for ListDrgRouteTablesSortOrderEnum

func GetMappingListDrgRouteTablesSortOrderEnum ¶

func GetMappingListDrgRouteTablesSortOrderEnum(val string) (ListDrgRouteTablesSortOrderEnum, bool)

GetMappingListDrgRouteTablesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDrgsRequest ¶

type ListDrgsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListDrgsRequest wrapper for the ListDrgs operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgsRequest.

func (ListDrgsRequest) BinaryRequestBody ¶

func (request ListDrgsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDrgsRequest) HTTPRequest ¶

func (request ListDrgsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDrgsRequest) RetryPolicy ¶

func (request ListDrgsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDrgsRequest) String ¶

func (request ListDrgsRequest) String() string

func (ListDrgsRequest) ValidateEnumValue ¶

func (request ListDrgsRequest) 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 ListDrgsResponse ¶

type ListDrgsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Drg instances
	Items []Drg `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListDrgsResponse wrapper for the ListDrgs operation

func (ListDrgsResponse) HTTPResponse ¶

func (response ListDrgsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDrgsResponse) String ¶

func (response ListDrgsResponse) String() string

type ListFastConnectProviderServicesRequest ¶

type ListFastConnectProviderServicesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListFastConnectProviderServicesRequest wrapper for the ListFastConnectProviderServices operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServicesRequest.

func (ListFastConnectProviderServicesRequest) BinaryRequestBody ¶

func (request ListFastConnectProviderServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListFastConnectProviderServicesRequest) HTTPRequest ¶

func (request ListFastConnectProviderServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListFastConnectProviderServicesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListFastConnectProviderServicesRequest) String ¶

func (ListFastConnectProviderServicesRequest) ValidateEnumValue ¶

func (request ListFastConnectProviderServicesRequest) 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 ListFastConnectProviderServicesResponse ¶

type ListFastConnectProviderServicesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []FastConnectProviderService instances
	Items []FastConnectProviderService `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListFastConnectProviderServicesResponse wrapper for the ListFastConnectProviderServices operation

func (ListFastConnectProviderServicesResponse) HTTPResponse ¶

func (response ListFastConnectProviderServicesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListFastConnectProviderServicesResponse) String ¶

type ListFastConnectProviderVirtualCircuitBandwidthShapesRequest ¶

type ListFastConnectProviderVirtualCircuitBandwidthShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service.
	ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListFastConnectProviderVirtualCircuitBandwidthShapesRequest wrapper for the ListFastConnectProviderVirtualCircuitBandwidthShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapesRequest.

func (ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) HTTPRequest ¶

func (request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) String ¶

func (ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) ValidateEnumValue ¶

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 ListFastConnectProviderVirtualCircuitBandwidthShapesResponse ¶

type ListFastConnectProviderVirtualCircuitBandwidthShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VirtualCircuitBandwidthShape instances
	Items []VirtualCircuitBandwidthShape `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListFastConnectProviderVirtualCircuitBandwidthShapesResponse wrapper for the ListFastConnectProviderVirtualCircuitBandwidthShapes operation

func (ListFastConnectProviderVirtualCircuitBandwidthShapesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListFastConnectProviderVirtualCircuitBandwidthShapesResponse) String ¶

type ListIPSecConnectionTunnelRoutesRequest ¶

type ListIPSecConnectionTunnelRoutesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Specifies the advertiser of the routes. If set to `ORACLE`, this returns only the
	// routes advertised by Oracle. When set to `CUSTOMER`, this returns only the
	// routes advertised by the CPE.
	Advertiser TunnelRouteSummaryAdvertiserEnum `mandatory:"false" contributesTo:"query" name:"advertiser" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListIPSecConnectionTunnelRoutesRequest wrapper for the ListIPSecConnectionTunnelRoutes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutesRequest.

func (ListIPSecConnectionTunnelRoutesRequest) BinaryRequestBody ¶

func (request ListIPSecConnectionTunnelRoutesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListIPSecConnectionTunnelRoutesRequest) HTTPRequest ¶

func (request ListIPSecConnectionTunnelRoutesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListIPSecConnectionTunnelRoutesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListIPSecConnectionTunnelRoutesRequest) String ¶

func (ListIPSecConnectionTunnelRoutesRequest) ValidateEnumValue ¶

func (request ListIPSecConnectionTunnelRoutesRequest) 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 ListIPSecConnectionTunnelRoutesResponse ¶

type ListIPSecConnectionTunnelRoutesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []TunnelRouteSummary instances
	Items []TunnelRouteSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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 list pagination. A pagination token to get the total number of results available.
	OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
}

ListIPSecConnectionTunnelRoutesResponse wrapper for the ListIPSecConnectionTunnelRoutes operation

func (ListIPSecConnectionTunnelRoutesResponse) HTTPResponse ¶

func (response ListIPSecConnectionTunnelRoutesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListIPSecConnectionTunnelRoutesResponse) String ¶

type ListIPSecConnectionTunnelSecurityAssociationsRequest ¶

type ListIPSecConnectionTunnelSecurityAssociationsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListIPSecConnectionTunnelSecurityAssociationsRequest wrapper for the ListIPSecConnectionTunnelSecurityAssociations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociationsRequest.

func (ListIPSecConnectionTunnelSecurityAssociationsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListIPSecConnectionTunnelSecurityAssociationsRequest) HTTPRequest ¶

func (request ListIPSecConnectionTunnelSecurityAssociationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListIPSecConnectionTunnelSecurityAssociationsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListIPSecConnectionTunnelSecurityAssociationsRequest) String ¶

func (ListIPSecConnectionTunnelSecurityAssociationsRequest) ValidateEnumValue ¶

func (request ListIPSecConnectionTunnelSecurityAssociationsRequest) 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 ListIPSecConnectionTunnelSecurityAssociationsResponse ¶

type ListIPSecConnectionTunnelSecurityAssociationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []TunnelSecurityAssociationSummary instances
	Items []TunnelSecurityAssociationSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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 list pagination. A pagination token to get the total number of results available.
	OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
}

ListIPSecConnectionTunnelSecurityAssociationsResponse wrapper for the ListIPSecConnectionTunnelSecurityAssociations operation

func (ListIPSecConnectionTunnelSecurityAssociationsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListIPSecConnectionTunnelSecurityAssociationsResponse) String ¶

type ListIPSecConnectionTunnelsRequest ¶

type ListIPSecConnectionTunnelsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListIPSecConnectionTunnelsRequest wrapper for the ListIPSecConnectionTunnels operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnelsRequest.

func (ListIPSecConnectionTunnelsRequest) BinaryRequestBody ¶

func (request ListIPSecConnectionTunnelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListIPSecConnectionTunnelsRequest) HTTPRequest ¶

func (request ListIPSecConnectionTunnelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListIPSecConnectionTunnelsRequest) RetryPolicy ¶

func (request ListIPSecConnectionTunnelsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListIPSecConnectionTunnelsRequest) String ¶

func (request ListIPSecConnectionTunnelsRequest) String() string

func (ListIPSecConnectionTunnelsRequest) ValidateEnumValue ¶

func (request ListIPSecConnectionTunnelsRequest) 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 ListIPSecConnectionTunnelsResponse ¶

type ListIPSecConnectionTunnelsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []IpSecConnectionTunnel instances
	Items []IpSecConnectionTunnel `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListIPSecConnectionTunnelsResponse wrapper for the ListIPSecConnectionTunnels operation

func (ListIPSecConnectionTunnelsResponse) HTTPResponse ¶

func (response ListIPSecConnectionTunnelsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListIPSecConnectionTunnelsResponse) String ¶

func (response ListIPSecConnectionTunnelsResponse) String() string

type ListIPSecConnectionsRequest ¶

type ListIPSecConnectionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE.
	CpeId *string `mandatory:"false" contributesTo:"query" name:"cpeId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListIPSecConnectionsRequest wrapper for the ListIPSecConnections operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnectionsRequest.

func (ListIPSecConnectionsRequest) BinaryRequestBody ¶

func (request ListIPSecConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListIPSecConnectionsRequest) HTTPRequest ¶

func (request ListIPSecConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListIPSecConnectionsRequest) RetryPolicy ¶

func (request ListIPSecConnectionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListIPSecConnectionsRequest) String ¶

func (request ListIPSecConnectionsRequest) String() string

func (ListIPSecConnectionsRequest) ValidateEnumValue ¶

func (request ListIPSecConnectionsRequest) 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 ListIPSecConnectionsResponse ¶

type ListIPSecConnectionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []IpSecConnection instances
	Items []IpSecConnection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListIPSecConnectionsResponse wrapper for the ListIPSecConnections operation

func (ListIPSecConnectionsResponse) HTTPResponse ¶

func (response ListIPSecConnectionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListIPSecConnectionsResponse) String ¶

func (response ListIPSecConnectionsResponse) String() string

type ListImageShapeCompatibilityEntriesRequest ¶

type ListImageShapeCompatibilityEntriesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListImageShapeCompatibilityEntriesRequest wrapper for the ListImageShapeCompatibilityEntries operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntriesRequest.

func (ListImageShapeCompatibilityEntriesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListImageShapeCompatibilityEntriesRequest) HTTPRequest ¶

func (request ListImageShapeCompatibilityEntriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListImageShapeCompatibilityEntriesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListImageShapeCompatibilityEntriesRequest) String ¶

func (ListImageShapeCompatibilityEntriesRequest) ValidateEnumValue ¶

func (request ListImageShapeCompatibilityEntriesRequest) 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 ListImageShapeCompatibilityEntriesResponse ¶

type ListImageShapeCompatibilityEntriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ImageShapeCompatibilitySummary instances
	Items []ImageShapeCompatibilitySummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListImageShapeCompatibilityEntriesResponse wrapper for the ListImageShapeCompatibilityEntries operation

func (ListImageShapeCompatibilityEntriesResponse) HTTPResponse ¶

func (response ListImageShapeCompatibilityEntriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListImageShapeCompatibilityEntriesResponse) String ¶

type ListImagesRequest ¶

type ListImagesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The image's operating system.
	// Example: `Oracle Linux`
	OperatingSystem *string `mandatory:"false" contributesTo:"query" name:"operatingSystem"`

	// The image's operating system version.
	// Example: `7.2`
	OperatingSystemVersion *string `mandatory:"false" contributesTo:"query" name:"operatingSystemVersion"`

	// Shape name.
	Shape *string `mandatory:"false" contributesTo:"query" name:"shape"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListImagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state
	// value is case-insensitive.
	LifecycleState ImageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListImagesRequest wrapper for the ListImages operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImagesRequest.

func (ListImagesRequest) BinaryRequestBody ¶

func (request ListImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListImagesRequest) HTTPRequest ¶

func (request ListImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListImagesRequest) RetryPolicy ¶

func (request ListImagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListImagesRequest) String ¶

func (request ListImagesRequest) String() string

func (ListImagesRequest) ValidateEnumValue ¶

func (request ListImagesRequest) 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 ListImagesResponse ¶

type ListImagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Image instances
	Items []Image `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListImagesResponse wrapper for the ListImages operation

func (ListImagesResponse) HTTPResponse ¶

func (response ListImagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListImagesResponse) String ¶

func (response ListImagesResponse) String() string

type ListImagesSortByEnum ¶

type ListImagesSortByEnum string

ListImagesSortByEnum Enum with underlying type: string

const (
	ListImagesSortByTimecreated ListImagesSortByEnum = "TIMECREATED"
	ListImagesSortByDisplayname ListImagesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListImagesSortByEnum

func GetListImagesSortByEnumValues ¶

func GetListImagesSortByEnumValues() []ListImagesSortByEnum

GetListImagesSortByEnumValues Enumerates the set of values for ListImagesSortByEnum

func GetMappingListImagesSortByEnum ¶

func GetMappingListImagesSortByEnum(val string) (ListImagesSortByEnum, bool)

GetMappingListImagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListImagesSortOrderEnum ¶

type ListImagesSortOrderEnum string

ListImagesSortOrderEnum Enum with underlying type: string

const (
	ListImagesSortOrderAsc  ListImagesSortOrderEnum = "ASC"
	ListImagesSortOrderDesc ListImagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListImagesSortOrderEnum

func GetListImagesSortOrderEnumValues ¶

func GetListImagesSortOrderEnumValues() []ListImagesSortOrderEnum

GetListImagesSortOrderEnumValues Enumerates the set of values for ListImagesSortOrderEnum

func GetMappingListImagesSortOrderEnum ¶

func GetMappingListImagesSortOrderEnum(val string) (ListImagesSortOrderEnum, bool)

GetMappingListImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstanceConfigurationsRequest ¶

type ListInstanceConfigurationsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListInstanceConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListInstanceConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListInstanceConfigurationsRequest wrapper for the ListInstanceConfigurations operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurationsRequest.

func (ListInstanceConfigurationsRequest) BinaryRequestBody ¶

func (request ListInstanceConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInstanceConfigurationsRequest) HTTPRequest ¶

func (request ListInstanceConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInstanceConfigurationsRequest) RetryPolicy ¶

func (request ListInstanceConfigurationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInstanceConfigurationsRequest) String ¶

func (request ListInstanceConfigurationsRequest) String() string

func (ListInstanceConfigurationsRequest) ValidateEnumValue ¶

func (request ListInstanceConfigurationsRequest) 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 ListInstanceConfigurationsResponse ¶

type ListInstanceConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstanceConfigurationSummary instances
	Items []InstanceConfigurationSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInstanceConfigurationsResponse wrapper for the ListInstanceConfigurations operation

func (ListInstanceConfigurationsResponse) HTTPResponse ¶

func (response ListInstanceConfigurationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInstanceConfigurationsResponse) String ¶

func (response ListInstanceConfigurationsResponse) String() string

type ListInstanceConfigurationsSortByEnum ¶

type ListInstanceConfigurationsSortByEnum string

ListInstanceConfigurationsSortByEnum Enum with underlying type: string

const (
	ListInstanceConfigurationsSortByTimecreated ListInstanceConfigurationsSortByEnum = "TIMECREATED"
	ListInstanceConfigurationsSortByDisplayname ListInstanceConfigurationsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListInstanceConfigurationsSortByEnum

func GetListInstanceConfigurationsSortByEnumValues ¶

func GetListInstanceConfigurationsSortByEnumValues() []ListInstanceConfigurationsSortByEnum

GetListInstanceConfigurationsSortByEnumValues Enumerates the set of values for ListInstanceConfigurationsSortByEnum

func GetMappingListInstanceConfigurationsSortByEnum ¶

func GetMappingListInstanceConfigurationsSortByEnum(val string) (ListInstanceConfigurationsSortByEnum, bool)

GetMappingListInstanceConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstanceConfigurationsSortOrderEnum ¶

type ListInstanceConfigurationsSortOrderEnum string

ListInstanceConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListInstanceConfigurationsSortOrderAsc  ListInstanceConfigurationsSortOrderEnum = "ASC"
	ListInstanceConfigurationsSortOrderDesc ListInstanceConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListInstanceConfigurationsSortOrderEnum

func GetListInstanceConfigurationsSortOrderEnumValues ¶

func GetListInstanceConfigurationsSortOrderEnumValues() []ListInstanceConfigurationsSortOrderEnum

GetListInstanceConfigurationsSortOrderEnumValues Enumerates the set of values for ListInstanceConfigurationsSortOrderEnum

func GetMappingListInstanceConfigurationsSortOrderEnum ¶

func GetMappingListInstanceConfigurationsSortOrderEnum(val string) (ListInstanceConfigurationsSortOrderEnum, bool)

GetMappingListInstanceConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstanceConsoleConnectionsRequest ¶

type ListInstanceConsoleConnectionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListInstanceConsoleConnectionsRequest wrapper for the ListInstanceConsoleConnections operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnectionsRequest.

func (ListInstanceConsoleConnectionsRequest) BinaryRequestBody ¶

func (request ListInstanceConsoleConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInstanceConsoleConnectionsRequest) HTTPRequest ¶

func (request ListInstanceConsoleConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInstanceConsoleConnectionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInstanceConsoleConnectionsRequest) String ¶

func (ListInstanceConsoleConnectionsRequest) ValidateEnumValue ¶

func (request ListInstanceConsoleConnectionsRequest) 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 ListInstanceConsoleConnectionsResponse ¶

type ListInstanceConsoleConnectionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstanceConsoleConnection instances
	Items []InstanceConsoleConnection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInstanceConsoleConnectionsResponse wrapper for the ListInstanceConsoleConnections operation

func (ListInstanceConsoleConnectionsResponse) HTTPResponse ¶

func (response ListInstanceConsoleConnectionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInstanceConsoleConnectionsResponse) String ¶

type ListInstanceDevicesRequest ¶

type ListInstanceDevicesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// A filter to return only available devices or only used devices.
	IsAvailable *bool `mandatory:"false" contributesTo:"query" name:"isAvailable"`

	// A filter to return only devices that match the given name exactly.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListInstanceDevicesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListInstanceDevicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListInstanceDevicesRequest wrapper for the ListInstanceDevices operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevicesRequest.

func (ListInstanceDevicesRequest) BinaryRequestBody ¶

func (request ListInstanceDevicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInstanceDevicesRequest) HTTPRequest ¶

func (request ListInstanceDevicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInstanceDevicesRequest) RetryPolicy ¶

func (request ListInstanceDevicesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInstanceDevicesRequest) String ¶

func (request ListInstanceDevicesRequest) String() string

func (ListInstanceDevicesRequest) ValidateEnumValue ¶

func (request ListInstanceDevicesRequest) 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 ListInstanceDevicesResponse ¶

type ListInstanceDevicesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Device instances
	Items []Device `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInstanceDevicesResponse wrapper for the ListInstanceDevices operation

func (ListInstanceDevicesResponse) HTTPResponse ¶

func (response ListInstanceDevicesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInstanceDevicesResponse) String ¶

func (response ListInstanceDevicesResponse) String() string

type ListInstanceDevicesSortByEnum ¶

type ListInstanceDevicesSortByEnum string

ListInstanceDevicesSortByEnum Enum with underlying type: string

const (
	ListInstanceDevicesSortByTimecreated ListInstanceDevicesSortByEnum = "TIMECREATED"
	ListInstanceDevicesSortByDisplayname ListInstanceDevicesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListInstanceDevicesSortByEnum

func GetListInstanceDevicesSortByEnumValues ¶

func GetListInstanceDevicesSortByEnumValues() []ListInstanceDevicesSortByEnum

GetListInstanceDevicesSortByEnumValues Enumerates the set of values for ListInstanceDevicesSortByEnum

func GetMappingListInstanceDevicesSortByEnum ¶

func GetMappingListInstanceDevicesSortByEnum(val string) (ListInstanceDevicesSortByEnum, bool)

GetMappingListInstanceDevicesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstanceDevicesSortOrderEnum ¶

type ListInstanceDevicesSortOrderEnum string

ListInstanceDevicesSortOrderEnum Enum with underlying type: string

const (
	ListInstanceDevicesSortOrderAsc  ListInstanceDevicesSortOrderEnum = "ASC"
	ListInstanceDevicesSortOrderDesc ListInstanceDevicesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListInstanceDevicesSortOrderEnum

func GetListInstanceDevicesSortOrderEnumValues ¶

func GetListInstanceDevicesSortOrderEnumValues() []ListInstanceDevicesSortOrderEnum

GetListInstanceDevicesSortOrderEnumValues Enumerates the set of values for ListInstanceDevicesSortOrderEnum

func GetMappingListInstanceDevicesSortOrderEnum ¶

func GetMappingListInstanceDevicesSortOrderEnum(val string) (ListInstanceDevicesSortOrderEnum, bool)

GetMappingListInstanceDevicesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstancePoolInstancesRequest ¶

type ListInstancePoolInstancesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListInstancePoolInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListInstancePoolInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListInstancePoolInstancesRequest wrapper for the ListInstancePoolInstances operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstancesRequest.

func (ListInstancePoolInstancesRequest) BinaryRequestBody ¶

func (request ListInstancePoolInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInstancePoolInstancesRequest) HTTPRequest ¶

func (request ListInstancePoolInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInstancePoolInstancesRequest) RetryPolicy ¶

func (request ListInstancePoolInstancesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInstancePoolInstancesRequest) String ¶

func (request ListInstancePoolInstancesRequest) String() string

func (ListInstancePoolInstancesRequest) ValidateEnumValue ¶

func (request ListInstancePoolInstancesRequest) 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 ListInstancePoolInstancesResponse ¶

type ListInstancePoolInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstanceSummary instances
	Items []InstanceSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInstancePoolInstancesResponse wrapper for the ListInstancePoolInstances operation

func (ListInstancePoolInstancesResponse) HTTPResponse ¶

func (response ListInstancePoolInstancesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInstancePoolInstancesResponse) String ¶

func (response ListInstancePoolInstancesResponse) String() string

type ListInstancePoolInstancesSortByEnum ¶

type ListInstancePoolInstancesSortByEnum string

ListInstancePoolInstancesSortByEnum Enum with underlying type: string

const (
	ListInstancePoolInstancesSortByTimecreated ListInstancePoolInstancesSortByEnum = "TIMECREATED"
	ListInstancePoolInstancesSortByDisplayname ListInstancePoolInstancesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListInstancePoolInstancesSortByEnum

func GetListInstancePoolInstancesSortByEnumValues ¶

func GetListInstancePoolInstancesSortByEnumValues() []ListInstancePoolInstancesSortByEnum

GetListInstancePoolInstancesSortByEnumValues Enumerates the set of values for ListInstancePoolInstancesSortByEnum

func GetMappingListInstancePoolInstancesSortByEnum ¶

func GetMappingListInstancePoolInstancesSortByEnum(val string) (ListInstancePoolInstancesSortByEnum, bool)

GetMappingListInstancePoolInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstancePoolInstancesSortOrderEnum ¶

type ListInstancePoolInstancesSortOrderEnum string

ListInstancePoolInstancesSortOrderEnum Enum with underlying type: string

const (
	ListInstancePoolInstancesSortOrderAsc  ListInstancePoolInstancesSortOrderEnum = "ASC"
	ListInstancePoolInstancesSortOrderDesc ListInstancePoolInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListInstancePoolInstancesSortOrderEnum

func GetListInstancePoolInstancesSortOrderEnumValues ¶

func GetListInstancePoolInstancesSortOrderEnumValues() []ListInstancePoolInstancesSortOrderEnum

GetListInstancePoolInstancesSortOrderEnumValues Enumerates the set of values for ListInstancePoolInstancesSortOrderEnum

func GetMappingListInstancePoolInstancesSortOrderEnum ¶

func GetMappingListInstancePoolInstancesSortOrderEnum(val string) (ListInstancePoolInstancesSortOrderEnum, bool)

GetMappingListInstancePoolInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstancePoolsRequest ¶

type ListInstancePoolsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListInstancePoolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListInstancePoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state
	// value is case-insensitive.
	LifecycleState InstancePoolSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListInstancePoolsRequest wrapper for the ListInstancePools operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePoolsRequest.

func (ListInstancePoolsRequest) BinaryRequestBody ¶

func (request ListInstancePoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInstancePoolsRequest) HTTPRequest ¶

func (request ListInstancePoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInstancePoolsRequest) RetryPolicy ¶

func (request ListInstancePoolsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInstancePoolsRequest) String ¶

func (request ListInstancePoolsRequest) String() string

func (ListInstancePoolsRequest) ValidateEnumValue ¶

func (request ListInstancePoolsRequest) 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 ListInstancePoolsResponse ¶

type ListInstancePoolsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InstancePoolSummary instances
	Items []InstancePoolSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInstancePoolsResponse wrapper for the ListInstancePools operation

func (ListInstancePoolsResponse) HTTPResponse ¶

func (response ListInstancePoolsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInstancePoolsResponse) String ¶

func (response ListInstancePoolsResponse) String() string

type ListInstancePoolsSortByEnum ¶

type ListInstancePoolsSortByEnum string

ListInstancePoolsSortByEnum Enum with underlying type: string

const (
	ListInstancePoolsSortByTimecreated ListInstancePoolsSortByEnum = "TIMECREATED"
	ListInstancePoolsSortByDisplayname ListInstancePoolsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListInstancePoolsSortByEnum

func GetListInstancePoolsSortByEnumValues ¶

func GetListInstancePoolsSortByEnumValues() []ListInstancePoolsSortByEnum

GetListInstancePoolsSortByEnumValues Enumerates the set of values for ListInstancePoolsSortByEnum

func GetMappingListInstancePoolsSortByEnum ¶

func GetMappingListInstancePoolsSortByEnum(val string) (ListInstancePoolsSortByEnum, bool)

GetMappingListInstancePoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstancePoolsSortOrderEnum ¶

type ListInstancePoolsSortOrderEnum string

ListInstancePoolsSortOrderEnum Enum with underlying type: string

const (
	ListInstancePoolsSortOrderAsc  ListInstancePoolsSortOrderEnum = "ASC"
	ListInstancePoolsSortOrderDesc ListInstancePoolsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListInstancePoolsSortOrderEnum

func GetListInstancePoolsSortOrderEnumValues ¶

func GetListInstancePoolsSortOrderEnumValues() []ListInstancePoolsSortOrderEnum

GetListInstancePoolsSortOrderEnumValues Enumerates the set of values for ListInstancePoolsSortOrderEnum

func GetMappingListInstancePoolsSortOrderEnum ¶

func GetMappingListInstancePoolsSortOrderEnum(val string) (ListInstancePoolsSortOrderEnum, bool)

GetMappingListInstancePoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstancesRequest ¶

type ListInstancesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID of the compute capacity reservation.
	CapacityReservationId *string `mandatory:"false" contributesTo:"query" name:"capacityReservationId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory
	// access (RDMA) network group.
	ComputeClusterId *string `mandatory:"false" contributesTo:"query" name:"computeClusterId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state
	// value is case-insensitive.
	LifecycleState InstanceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListInstancesRequest wrapper for the ListInstances operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstancesRequest.

func (ListInstancesRequest) BinaryRequestBody ¶

func (request ListInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInstancesRequest) HTTPRequest ¶

func (request ListInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInstancesRequest) RetryPolicy ¶

func (request ListInstancesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInstancesRequest) String ¶

func (request ListInstancesRequest) String() string

func (ListInstancesRequest) ValidateEnumValue ¶

func (request ListInstancesRequest) 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 ListInstancesResponse ¶

type ListInstancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Instance instances
	Items []Instance `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInstancesResponse wrapper for the ListInstances operation

func (ListInstancesResponse) HTTPResponse ¶

func (response ListInstancesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInstancesResponse) String ¶

func (response ListInstancesResponse) String() string

type ListInstancesSortByEnum ¶

type ListInstancesSortByEnum string

ListInstancesSortByEnum Enum with underlying type: string

const (
	ListInstancesSortByTimecreated ListInstancesSortByEnum = "TIMECREATED"
	ListInstancesSortByDisplayname ListInstancesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListInstancesSortByEnum

func GetListInstancesSortByEnumValues ¶

func GetListInstancesSortByEnumValues() []ListInstancesSortByEnum

GetListInstancesSortByEnumValues Enumerates the set of values for ListInstancesSortByEnum

func GetMappingListInstancesSortByEnum ¶

func GetMappingListInstancesSortByEnum(val string) (ListInstancesSortByEnum, bool)

GetMappingListInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInstancesSortOrderEnum ¶

type ListInstancesSortOrderEnum string

ListInstancesSortOrderEnum Enum with underlying type: string

const (
	ListInstancesSortOrderAsc  ListInstancesSortOrderEnum = "ASC"
	ListInstancesSortOrderDesc ListInstancesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListInstancesSortOrderEnum

func GetListInstancesSortOrderEnumValues ¶

func GetListInstancesSortOrderEnumValues() []ListInstancesSortOrderEnum

GetListInstancesSortOrderEnumValues Enumerates the set of values for ListInstancesSortOrderEnum

func GetMappingListInstancesSortOrderEnum ¶

func GetMappingListInstancesSortOrderEnum(val string) (ListInstancesSortOrderEnum, bool)

GetMappingListInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInternetGatewaysRequest ¶

type ListInternetGatewaysRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListInternetGatewaysSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListInternetGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState InternetGatewayLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListInternetGatewaysRequest wrapper for the ListInternetGateways operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGatewaysRequest.

func (ListInternetGatewaysRequest) BinaryRequestBody ¶

func (request ListInternetGatewaysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListInternetGatewaysRequest) HTTPRequest ¶

func (request ListInternetGatewaysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListInternetGatewaysRequest) RetryPolicy ¶

func (request ListInternetGatewaysRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListInternetGatewaysRequest) String ¶

func (request ListInternetGatewaysRequest) String() string

func (ListInternetGatewaysRequest) ValidateEnumValue ¶

func (request ListInternetGatewaysRequest) 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 ListInternetGatewaysResponse ¶

type ListInternetGatewaysResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []InternetGateway instances
	Items []InternetGateway `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListInternetGatewaysResponse wrapper for the ListInternetGateways operation

func (ListInternetGatewaysResponse) HTTPResponse ¶

func (response ListInternetGatewaysResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListInternetGatewaysResponse) String ¶

func (response ListInternetGatewaysResponse) String() string

type ListInternetGatewaysSortByEnum ¶

type ListInternetGatewaysSortByEnum string

ListInternetGatewaysSortByEnum Enum with underlying type: string

const (
	ListInternetGatewaysSortByTimecreated ListInternetGatewaysSortByEnum = "TIMECREATED"
	ListInternetGatewaysSortByDisplayname ListInternetGatewaysSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListInternetGatewaysSortByEnum

func GetListInternetGatewaysSortByEnumValues ¶

func GetListInternetGatewaysSortByEnumValues() []ListInternetGatewaysSortByEnum

GetListInternetGatewaysSortByEnumValues Enumerates the set of values for ListInternetGatewaysSortByEnum

func GetMappingListInternetGatewaysSortByEnum ¶

func GetMappingListInternetGatewaysSortByEnum(val string) (ListInternetGatewaysSortByEnum, bool)

GetMappingListInternetGatewaysSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListInternetGatewaysSortOrderEnum ¶

type ListInternetGatewaysSortOrderEnum string

ListInternetGatewaysSortOrderEnum Enum with underlying type: string

const (
	ListInternetGatewaysSortOrderAsc  ListInternetGatewaysSortOrderEnum = "ASC"
	ListInternetGatewaysSortOrderDesc ListInternetGatewaysSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListInternetGatewaysSortOrderEnum

func GetListInternetGatewaysSortOrderEnumValues ¶

func GetListInternetGatewaysSortOrderEnumValues() []ListInternetGatewaysSortOrderEnum

GetListInternetGatewaysSortOrderEnumValues Enumerates the set of values for ListInternetGatewaysSortOrderEnum

func GetMappingListInternetGatewaysSortOrderEnum ¶

func GetMappingListInternetGatewaysSortOrderEnum(val string) (ListInternetGatewaysSortOrderEnum, bool)

GetMappingListInternetGatewaysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListIpv6sRequest ¶

type ListIpv6sRequest struct {

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// An IP address. This could be either IPv4 or IPv6, depending on the resource.
	// Example: `10.0.3.3`
	IpAddress *string `mandatory:"false" contributesTo:"query" name:"ipAddress"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"`

	// The OCID of the VNIC.
	VnicId *string `mandatory:"false" contributesTo:"query" name:"vnicId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListIpv6sRequest wrapper for the ListIpv6s operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6sRequest.

func (ListIpv6sRequest) BinaryRequestBody ¶

func (request ListIpv6sRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListIpv6sRequest) HTTPRequest ¶

func (request ListIpv6sRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListIpv6sRequest) RetryPolicy ¶

func (request ListIpv6sRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListIpv6sRequest) String ¶

func (request ListIpv6sRequest) String() string

func (ListIpv6sRequest) ValidateEnumValue ¶

func (request ListIpv6sRequest) 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 ListIpv6sResponse ¶

type ListIpv6sResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Ipv6 instances
	Items []Ipv6 `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListIpv6sResponse wrapper for the ListIpv6s operation

func (ListIpv6sResponse) HTTPResponse ¶

func (response ListIpv6sResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListIpv6sResponse) String ¶

func (response ListIpv6sResponse) String() string

type ListLocalPeeringGatewaysRequest ¶

type ListLocalPeeringGatewaysRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListLocalPeeringGatewaysRequest wrapper for the ListLocalPeeringGateways operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGatewaysRequest.

func (ListLocalPeeringGatewaysRequest) BinaryRequestBody ¶

func (request ListLocalPeeringGatewaysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListLocalPeeringGatewaysRequest) HTTPRequest ¶

func (request ListLocalPeeringGatewaysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListLocalPeeringGatewaysRequest) RetryPolicy ¶

func (request ListLocalPeeringGatewaysRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListLocalPeeringGatewaysRequest) String ¶

func (request ListLocalPeeringGatewaysRequest) String() string

func (ListLocalPeeringGatewaysRequest) ValidateEnumValue ¶

func (request ListLocalPeeringGatewaysRequest) 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 ListLocalPeeringGatewaysResponse ¶

type ListLocalPeeringGatewaysResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []LocalPeeringGateway instances
	Items []LocalPeeringGateway `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListLocalPeeringGatewaysResponse wrapper for the ListLocalPeeringGateways operation

func (ListLocalPeeringGatewaysResponse) HTTPResponse ¶

func (response ListLocalPeeringGatewaysResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListLocalPeeringGatewaysResponse) String ¶

func (response ListLocalPeeringGatewaysResponse) String() string

type ListNatGatewaysRequest ¶

type ListNatGatewaysRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListNatGatewaysSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListNatGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState NatGatewayLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListNatGatewaysRequest wrapper for the ListNatGateways operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGatewaysRequest.

func (ListNatGatewaysRequest) BinaryRequestBody ¶

func (request ListNatGatewaysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNatGatewaysRequest) HTTPRequest ¶

func (request ListNatGatewaysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNatGatewaysRequest) RetryPolicy ¶

func (request ListNatGatewaysRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNatGatewaysRequest) String ¶

func (request ListNatGatewaysRequest) String() string

func (ListNatGatewaysRequest) ValidateEnumValue ¶

func (request ListNatGatewaysRequest) 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 ListNatGatewaysResponse ¶

type ListNatGatewaysResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []NatGateway instances
	Items []NatGateway `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListNatGatewaysResponse wrapper for the ListNatGateways operation

func (ListNatGatewaysResponse) HTTPResponse ¶

func (response ListNatGatewaysResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNatGatewaysResponse) String ¶

func (response ListNatGatewaysResponse) String() string

type ListNatGatewaysSortByEnum ¶

type ListNatGatewaysSortByEnum string

ListNatGatewaysSortByEnum Enum with underlying type: string

const (
	ListNatGatewaysSortByTimecreated ListNatGatewaysSortByEnum = "TIMECREATED"
	ListNatGatewaysSortByDisplayname ListNatGatewaysSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListNatGatewaysSortByEnum

func GetListNatGatewaysSortByEnumValues ¶

func GetListNatGatewaysSortByEnumValues() []ListNatGatewaysSortByEnum

GetListNatGatewaysSortByEnumValues Enumerates the set of values for ListNatGatewaysSortByEnum

func GetMappingListNatGatewaysSortByEnum ¶

func GetMappingListNatGatewaysSortByEnum(val string) (ListNatGatewaysSortByEnum, bool)

GetMappingListNatGatewaysSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNatGatewaysSortOrderEnum ¶

type ListNatGatewaysSortOrderEnum string

ListNatGatewaysSortOrderEnum Enum with underlying type: string

const (
	ListNatGatewaysSortOrderAsc  ListNatGatewaysSortOrderEnum = "ASC"
	ListNatGatewaysSortOrderDesc ListNatGatewaysSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNatGatewaysSortOrderEnum

func GetListNatGatewaysSortOrderEnumValues ¶

func GetListNatGatewaysSortOrderEnumValues() []ListNatGatewaysSortOrderEnum

GetListNatGatewaysSortOrderEnumValues Enumerates the set of values for ListNatGatewaysSortOrderEnum

func GetMappingListNatGatewaysSortOrderEnum ¶

func GetMappingListNatGatewaysSortOrderEnum(val string) (ListNatGatewaysSortOrderEnum, bool)

GetMappingListNatGatewaysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupSecurityRulesDirectionEnum ¶

type ListNetworkSecurityGroupSecurityRulesDirectionEnum string

ListNetworkSecurityGroupSecurityRulesDirectionEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupSecurityRulesDirectionEgress  ListNetworkSecurityGroupSecurityRulesDirectionEnum = "EGRESS"
	ListNetworkSecurityGroupSecurityRulesDirectionIngress ListNetworkSecurityGroupSecurityRulesDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupSecurityRulesDirectionEnum

func GetListNetworkSecurityGroupSecurityRulesDirectionEnumValues ¶

func GetListNetworkSecurityGroupSecurityRulesDirectionEnumValues() []ListNetworkSecurityGroupSecurityRulesDirectionEnum

GetListNetworkSecurityGroupSecurityRulesDirectionEnumValues Enumerates the set of values for ListNetworkSecurityGroupSecurityRulesDirectionEnum

func GetMappingListNetworkSecurityGroupSecurityRulesDirectionEnum ¶

func GetMappingListNetworkSecurityGroupSecurityRulesDirectionEnum(val string) (ListNetworkSecurityGroupSecurityRulesDirectionEnum, bool)

GetMappingListNetworkSecurityGroupSecurityRulesDirectionEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupSecurityRulesRequest ¶

type ListNetworkSecurityGroupSecurityRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Direction of the security rule. Set to `EGRESS` for rules that allow outbound IP packets,
	// or `INGRESS` for rules that allow inbound IP packets.
	Direction ListNetworkSecurityGroupSecurityRulesDirectionEnum `mandatory:"false" contributesTo:"query" name:"direction" omitEmpty:"true"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by.
	SortBy ListNetworkSecurityGroupSecurityRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListNetworkSecurityGroupSecurityRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListNetworkSecurityGroupSecurityRulesRequest wrapper for the ListNetworkSecurityGroupSecurityRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRulesRequest.

func (ListNetworkSecurityGroupSecurityRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkSecurityGroupSecurityRulesRequest) HTTPRequest ¶

func (request ListNetworkSecurityGroupSecurityRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkSecurityGroupSecurityRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkSecurityGroupSecurityRulesRequest) String ¶

func (ListNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue ¶

func (request ListNetworkSecurityGroupSecurityRulesRequest) 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 ListNetworkSecurityGroupSecurityRulesResponse ¶

type ListNetworkSecurityGroupSecurityRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SecurityRule instances
	Items []SecurityRule `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListNetworkSecurityGroupSecurityRulesResponse wrapper for the ListNetworkSecurityGroupSecurityRules operation

func (ListNetworkSecurityGroupSecurityRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (ListNetworkSecurityGroupSecurityRulesResponse) String ¶

type ListNetworkSecurityGroupSecurityRulesSortByEnum ¶

type ListNetworkSecurityGroupSecurityRulesSortByEnum string

ListNetworkSecurityGroupSecurityRulesSortByEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupSecurityRulesSortByTimecreated ListNetworkSecurityGroupSecurityRulesSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupSecurityRulesSortByEnum

func GetListNetworkSecurityGroupSecurityRulesSortByEnumValues ¶

func GetListNetworkSecurityGroupSecurityRulesSortByEnumValues() []ListNetworkSecurityGroupSecurityRulesSortByEnum

GetListNetworkSecurityGroupSecurityRulesSortByEnumValues Enumerates the set of values for ListNetworkSecurityGroupSecurityRulesSortByEnum

func GetMappingListNetworkSecurityGroupSecurityRulesSortByEnum ¶

func GetMappingListNetworkSecurityGroupSecurityRulesSortByEnum(val string) (ListNetworkSecurityGroupSecurityRulesSortByEnum, bool)

GetMappingListNetworkSecurityGroupSecurityRulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupSecurityRulesSortOrderEnum ¶

type ListNetworkSecurityGroupSecurityRulesSortOrderEnum string

ListNetworkSecurityGroupSecurityRulesSortOrderEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupSecurityRulesSortOrderAsc  ListNetworkSecurityGroupSecurityRulesSortOrderEnum = "ASC"
	ListNetworkSecurityGroupSecurityRulesSortOrderDesc ListNetworkSecurityGroupSecurityRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupSecurityRulesSortOrderEnum

func GetListNetworkSecurityGroupSecurityRulesSortOrderEnumValues ¶

func GetListNetworkSecurityGroupSecurityRulesSortOrderEnumValues() []ListNetworkSecurityGroupSecurityRulesSortOrderEnum

GetListNetworkSecurityGroupSecurityRulesSortOrderEnumValues Enumerates the set of values for ListNetworkSecurityGroupSecurityRulesSortOrderEnum

func GetMappingListNetworkSecurityGroupSecurityRulesSortOrderEnum ¶

func GetMappingListNetworkSecurityGroupSecurityRulesSortOrderEnum(val string) (ListNetworkSecurityGroupSecurityRulesSortOrderEnum, bool)

GetMappingListNetworkSecurityGroupSecurityRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupVnicsRequest ¶

type ListNetworkSecurityGroupVnicsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by.
	SortBy ListNetworkSecurityGroupVnicsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListNetworkSecurityGroupVnicsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListNetworkSecurityGroupVnicsRequest wrapper for the ListNetworkSecurityGroupVnics operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnicsRequest.

func (ListNetworkSecurityGroupVnicsRequest) BinaryRequestBody ¶

func (request ListNetworkSecurityGroupVnicsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkSecurityGroupVnicsRequest) HTTPRequest ¶

func (request ListNetworkSecurityGroupVnicsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkSecurityGroupVnicsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkSecurityGroupVnicsRequest) String ¶

func (ListNetworkSecurityGroupVnicsRequest) ValidateEnumValue ¶

func (request ListNetworkSecurityGroupVnicsRequest) 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 ListNetworkSecurityGroupVnicsResponse ¶

type ListNetworkSecurityGroupVnicsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []NetworkSecurityGroupVnic instances
	Items []NetworkSecurityGroupVnic `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListNetworkSecurityGroupVnicsResponse wrapper for the ListNetworkSecurityGroupVnics operation

func (ListNetworkSecurityGroupVnicsResponse) HTTPResponse ¶

func (response ListNetworkSecurityGroupVnicsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNetworkSecurityGroupVnicsResponse) String ¶

type ListNetworkSecurityGroupVnicsSortByEnum ¶

type ListNetworkSecurityGroupVnicsSortByEnum string

ListNetworkSecurityGroupVnicsSortByEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupVnicsSortByTimeassociated ListNetworkSecurityGroupVnicsSortByEnum = "TIMEASSOCIATED"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupVnicsSortByEnum

func GetListNetworkSecurityGroupVnicsSortByEnumValues ¶

func GetListNetworkSecurityGroupVnicsSortByEnumValues() []ListNetworkSecurityGroupVnicsSortByEnum

GetListNetworkSecurityGroupVnicsSortByEnumValues Enumerates the set of values for ListNetworkSecurityGroupVnicsSortByEnum

func GetMappingListNetworkSecurityGroupVnicsSortByEnum ¶

func GetMappingListNetworkSecurityGroupVnicsSortByEnum(val string) (ListNetworkSecurityGroupVnicsSortByEnum, bool)

GetMappingListNetworkSecurityGroupVnicsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupVnicsSortOrderEnum ¶

type ListNetworkSecurityGroupVnicsSortOrderEnum string

ListNetworkSecurityGroupVnicsSortOrderEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupVnicsSortOrderAsc  ListNetworkSecurityGroupVnicsSortOrderEnum = "ASC"
	ListNetworkSecurityGroupVnicsSortOrderDesc ListNetworkSecurityGroupVnicsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupVnicsSortOrderEnum

func GetListNetworkSecurityGroupVnicsSortOrderEnumValues ¶

func GetListNetworkSecurityGroupVnicsSortOrderEnumValues() []ListNetworkSecurityGroupVnicsSortOrderEnum

GetListNetworkSecurityGroupVnicsSortOrderEnumValues Enumerates the set of values for ListNetworkSecurityGroupVnicsSortOrderEnum

func GetMappingListNetworkSecurityGroupVnicsSortOrderEnum ¶

func GetMappingListNetworkSecurityGroupVnicsSortOrderEnum(val string) (ListNetworkSecurityGroupVnicsSortOrderEnum, bool)

GetMappingListNetworkSecurityGroupVnicsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupsRequest ¶

type ListNetworkSecurityGroupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	VlanId *string `mandatory:"false" contributesTo:"query" name:"vlanId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListNetworkSecurityGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListNetworkSecurityGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState NetworkSecurityGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListNetworkSecurityGroupsRequest wrapper for the ListNetworkSecurityGroups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroupsRequest.

func (ListNetworkSecurityGroupsRequest) BinaryRequestBody ¶

func (request ListNetworkSecurityGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkSecurityGroupsRequest) HTTPRequest ¶

func (request ListNetworkSecurityGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkSecurityGroupsRequest) RetryPolicy ¶

func (request ListNetworkSecurityGroupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListNetworkSecurityGroupsRequest) String ¶

func (request ListNetworkSecurityGroupsRequest) String() string

func (ListNetworkSecurityGroupsRequest) ValidateEnumValue ¶

func (request ListNetworkSecurityGroupsRequest) 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 ListNetworkSecurityGroupsResponse ¶

type ListNetworkSecurityGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []NetworkSecurityGroup instances
	Items []NetworkSecurityGroup `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListNetworkSecurityGroupsResponse wrapper for the ListNetworkSecurityGroups operation

func (ListNetworkSecurityGroupsResponse) HTTPResponse ¶

func (response ListNetworkSecurityGroupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListNetworkSecurityGroupsResponse) String ¶

func (response ListNetworkSecurityGroupsResponse) String() string

type ListNetworkSecurityGroupsSortByEnum ¶

type ListNetworkSecurityGroupsSortByEnum string

ListNetworkSecurityGroupsSortByEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupsSortByTimecreated ListNetworkSecurityGroupsSortByEnum = "TIMECREATED"
	ListNetworkSecurityGroupsSortByDisplayname ListNetworkSecurityGroupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupsSortByEnum

func GetListNetworkSecurityGroupsSortByEnumValues ¶

func GetListNetworkSecurityGroupsSortByEnumValues() []ListNetworkSecurityGroupsSortByEnum

GetListNetworkSecurityGroupsSortByEnumValues Enumerates the set of values for ListNetworkSecurityGroupsSortByEnum

func GetMappingListNetworkSecurityGroupsSortByEnum ¶

func GetMappingListNetworkSecurityGroupsSortByEnum(val string) (ListNetworkSecurityGroupsSortByEnum, bool)

GetMappingListNetworkSecurityGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkSecurityGroupsSortOrderEnum ¶

type ListNetworkSecurityGroupsSortOrderEnum string

ListNetworkSecurityGroupsSortOrderEnum Enum with underlying type: string

const (
	ListNetworkSecurityGroupsSortOrderAsc  ListNetworkSecurityGroupsSortOrderEnum = "ASC"
	ListNetworkSecurityGroupsSortOrderDesc ListNetworkSecurityGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNetworkSecurityGroupsSortOrderEnum

func GetListNetworkSecurityGroupsSortOrderEnumValues ¶

func GetListNetworkSecurityGroupsSortOrderEnumValues() []ListNetworkSecurityGroupsSortOrderEnum

GetListNetworkSecurityGroupsSortOrderEnumValues Enumerates the set of values for ListNetworkSecurityGroupsSortOrderEnum

func GetMappingListNetworkSecurityGroupsSortOrderEnum ¶

func GetMappingListNetworkSecurityGroupsSortOrderEnum(val string) (ListNetworkSecurityGroupsSortOrderEnum, bool)

GetMappingListNetworkSecurityGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPrivateIpsRequest ¶

type ListPrivateIpsRequest struct {

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// An IP address. This could be either IPv4 or IPv6, depending on the resource.
	// Example: `10.0.3.3`
	IpAddress *string `mandatory:"false" contributesTo:"query" name:"ipAddress"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"`

	// The OCID of the VNIC.
	VnicId *string `mandatory:"false" contributesTo:"query" name:"vnicId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	VlanId *string `mandatory:"false" contributesTo:"query" name:"vlanId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListPrivateIpsRequest wrapper for the ListPrivateIps operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIpsRequest.

func (ListPrivateIpsRequest) BinaryRequestBody ¶

func (request ListPrivateIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPrivateIpsRequest) HTTPRequest ¶

func (request ListPrivateIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPrivateIpsRequest) RetryPolicy ¶

func (request ListPrivateIpsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPrivateIpsRequest) String ¶

func (request ListPrivateIpsRequest) String() string

func (ListPrivateIpsRequest) ValidateEnumValue ¶

func (request ListPrivateIpsRequest) 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 ListPrivateIpsResponse ¶

type ListPrivateIpsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PrivateIp instances
	Items []PrivateIp `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListPrivateIpsResponse wrapper for the ListPrivateIps operation

func (ListPrivateIpsResponse) HTTPResponse ¶

func (response ListPrivateIpsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPrivateIpsResponse) String ¶

func (response ListPrivateIpsResponse) String() string

type ListPublicIpPoolsRequest ¶

type ListPublicIpPoolsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that match the given BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"false" contributesTo:"query" name:"byoipRangeId"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListPublicIpPoolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListPublicIpPoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// 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
}

ListPublicIpPoolsRequest wrapper for the ListPublicIpPools operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPoolsRequest.

func (ListPublicIpPoolsRequest) BinaryRequestBody ¶

func (request ListPublicIpPoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPublicIpPoolsRequest) HTTPRequest ¶

func (request ListPublicIpPoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublicIpPoolsRequest) RetryPolicy ¶

func (request ListPublicIpPoolsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublicIpPoolsRequest) String ¶

func (request ListPublicIpPoolsRequest) String() string

func (ListPublicIpPoolsRequest) ValidateEnumValue ¶

func (request ListPublicIpPoolsRequest) 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 ListPublicIpPoolsResponse ¶

type ListPublicIpPoolsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of PublicIpPoolCollection instances
	PublicIpPoolCollection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListPublicIpPoolsResponse wrapper for the ListPublicIpPools operation

func (ListPublicIpPoolsResponse) HTTPResponse ¶

func (response ListPublicIpPoolsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublicIpPoolsResponse) String ¶

func (response ListPublicIpPoolsResponse) String() string

type ListPublicIpPoolsSortByEnum ¶

type ListPublicIpPoolsSortByEnum string

ListPublicIpPoolsSortByEnum Enum with underlying type: string

const (
	ListPublicIpPoolsSortByTimecreated ListPublicIpPoolsSortByEnum = "TIMECREATED"
	ListPublicIpPoolsSortByDisplayname ListPublicIpPoolsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListPublicIpPoolsSortByEnum

func GetListPublicIpPoolsSortByEnumValues ¶

func GetListPublicIpPoolsSortByEnumValues() []ListPublicIpPoolsSortByEnum

GetListPublicIpPoolsSortByEnumValues Enumerates the set of values for ListPublicIpPoolsSortByEnum

func GetMappingListPublicIpPoolsSortByEnum ¶

func GetMappingListPublicIpPoolsSortByEnum(val string) (ListPublicIpPoolsSortByEnum, bool)

GetMappingListPublicIpPoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPublicIpPoolsSortOrderEnum ¶

type ListPublicIpPoolsSortOrderEnum string

ListPublicIpPoolsSortOrderEnum Enum with underlying type: string

const (
	ListPublicIpPoolsSortOrderAsc  ListPublicIpPoolsSortOrderEnum = "ASC"
	ListPublicIpPoolsSortOrderDesc ListPublicIpPoolsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPublicIpPoolsSortOrderEnum

func GetListPublicIpPoolsSortOrderEnumValues ¶

func GetListPublicIpPoolsSortOrderEnumValues() []ListPublicIpPoolsSortOrderEnum

GetListPublicIpPoolsSortOrderEnumValues Enumerates the set of values for ListPublicIpPoolsSortOrderEnum

func GetMappingListPublicIpPoolsSortOrderEnum ¶

func GetMappingListPublicIpPoolsSortOrderEnum(val string) (ListPublicIpPoolsSortOrderEnum, bool)

GetMappingListPublicIpPoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPublicIpsLifetimeEnum ¶

type ListPublicIpsLifetimeEnum string

ListPublicIpsLifetimeEnum Enum with underlying type: string

const (
	ListPublicIpsLifetimeEphemeral ListPublicIpsLifetimeEnum = "EPHEMERAL"
	ListPublicIpsLifetimeReserved  ListPublicIpsLifetimeEnum = "RESERVED"
)

Set of constants representing the allowable values for ListPublicIpsLifetimeEnum

func GetListPublicIpsLifetimeEnumValues ¶

func GetListPublicIpsLifetimeEnumValues() []ListPublicIpsLifetimeEnum

GetListPublicIpsLifetimeEnumValues Enumerates the set of values for ListPublicIpsLifetimeEnum

func GetMappingListPublicIpsLifetimeEnum ¶

func GetMappingListPublicIpsLifetimeEnum(val string) (ListPublicIpsLifetimeEnum, bool)

GetMappingListPublicIpsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPublicIpsRequest ¶

type ListPublicIpsRequest struct {

	// Whether the public IP is regional or specific to a particular availability domain.
	// * `REGION`: The public IP exists within a region and is assigned to a regional entity
	// (such as a NatGateway), or can be assigned to a private IP
	// in any availability domain in the region. Reserved public IPs have `scope` = `REGION`, as do
	// ephemeral public IPs assigned to a regional entity.
	// * `AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the entity
	// it's assigned to, which is specified by the `availabilityDomain` property of the public IP object.
	// Ephemeral public IPs that are assigned to private IPs have `scope` = `AVAILABILITY_DOMAIN`.
	Scope ListPublicIpsScopeEnum `mandatory:"true" contributesTo:"query" name:"scope" omitEmpty:"true"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// A filter to return only public IPs that match given lifetime.
	Lifetime ListPublicIpsLifetimeEnum `mandatory:"false" contributesTo:"query" name:"lifetime" omitEmpty:"true"`

	// A filter to return only resources that belong to the given public IP pool.
	PublicIpPoolId *string `mandatory:"false" contributesTo:"query" name:"publicIpPoolId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListPublicIpsRequest wrapper for the ListPublicIps operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIpsRequest.

func (ListPublicIpsRequest) BinaryRequestBody ¶

func (request ListPublicIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPublicIpsRequest) HTTPRequest ¶

func (request ListPublicIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublicIpsRequest) RetryPolicy ¶

func (request ListPublicIpsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublicIpsRequest) String ¶

func (request ListPublicIpsRequest) String() string

func (ListPublicIpsRequest) ValidateEnumValue ¶

func (request ListPublicIpsRequest) 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 ListPublicIpsResponse ¶

type ListPublicIpsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PublicIp instances
	Items []PublicIp `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListPublicIpsResponse wrapper for the ListPublicIps operation

func (ListPublicIpsResponse) HTTPResponse ¶

func (response ListPublicIpsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublicIpsResponse) String ¶

func (response ListPublicIpsResponse) String() string

type ListPublicIpsScopeEnum ¶

type ListPublicIpsScopeEnum string

ListPublicIpsScopeEnum Enum with underlying type: string

const (
	ListPublicIpsScopeRegion             ListPublicIpsScopeEnum = "REGION"
	ListPublicIpsScopeAvailabilityDomain ListPublicIpsScopeEnum = "AVAILABILITY_DOMAIN"
)

Set of constants representing the allowable values for ListPublicIpsScopeEnum

func GetListPublicIpsScopeEnumValues ¶

func GetListPublicIpsScopeEnumValues() []ListPublicIpsScopeEnum

GetListPublicIpsScopeEnumValues Enumerates the set of values for ListPublicIpsScopeEnum

func GetMappingListPublicIpsScopeEnum ¶

func GetMappingListPublicIpsScopeEnum(val string) (ListPublicIpsScopeEnum, bool)

GetMappingListPublicIpsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRemotePeeringConnectionsRequest ¶

type ListRemotePeeringConnectionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListRemotePeeringConnectionsRequest wrapper for the ListRemotePeeringConnections operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnectionsRequest.

func (ListRemotePeeringConnectionsRequest) BinaryRequestBody ¶

func (request ListRemotePeeringConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRemotePeeringConnectionsRequest) HTTPRequest ¶

func (request ListRemotePeeringConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRemotePeeringConnectionsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRemotePeeringConnectionsRequest) String ¶

func (ListRemotePeeringConnectionsRequest) ValidateEnumValue ¶

func (request ListRemotePeeringConnectionsRequest) 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 ListRemotePeeringConnectionsResponse ¶

type ListRemotePeeringConnectionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []RemotePeeringConnection instances
	Items []RemotePeeringConnection `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListRemotePeeringConnectionsResponse wrapper for the ListRemotePeeringConnections operation

func (ListRemotePeeringConnectionsResponse) HTTPResponse ¶

func (response ListRemotePeeringConnectionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRemotePeeringConnectionsResponse) String ¶

func (response ListRemotePeeringConnectionsResponse) String() string

type ListRouteTablesRequest ¶

type ListRouteTablesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListRouteTablesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListRouteTablesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState RouteTableLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListRouteTablesRequest wrapper for the ListRouteTables operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTablesRequest.

func (ListRouteTablesRequest) BinaryRequestBody ¶

func (request ListRouteTablesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRouteTablesRequest) HTTPRequest ¶

func (request ListRouteTablesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRouteTablesRequest) RetryPolicy ¶

func (request ListRouteTablesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRouteTablesRequest) String ¶

func (request ListRouteTablesRequest) String() string

func (ListRouteTablesRequest) ValidateEnumValue ¶

func (request ListRouteTablesRequest) 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 ListRouteTablesResponse ¶

type ListRouteTablesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []RouteTable instances
	Items []RouteTable `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListRouteTablesResponse wrapper for the ListRouteTables operation

func (ListRouteTablesResponse) HTTPResponse ¶

func (response ListRouteTablesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRouteTablesResponse) String ¶

func (response ListRouteTablesResponse) String() string

type ListRouteTablesSortByEnum ¶

type ListRouteTablesSortByEnum string

ListRouteTablesSortByEnum Enum with underlying type: string

const (
	ListRouteTablesSortByTimecreated ListRouteTablesSortByEnum = "TIMECREATED"
	ListRouteTablesSortByDisplayname ListRouteTablesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListRouteTablesSortByEnum

func GetListRouteTablesSortByEnumValues ¶

func GetListRouteTablesSortByEnumValues() []ListRouteTablesSortByEnum

GetListRouteTablesSortByEnumValues Enumerates the set of values for ListRouteTablesSortByEnum

func GetMappingListRouteTablesSortByEnum ¶

func GetMappingListRouteTablesSortByEnum(val string) (ListRouteTablesSortByEnum, bool)

GetMappingListRouteTablesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRouteTablesSortOrderEnum ¶

type ListRouteTablesSortOrderEnum string

ListRouteTablesSortOrderEnum Enum with underlying type: string

const (
	ListRouteTablesSortOrderAsc  ListRouteTablesSortOrderEnum = "ASC"
	ListRouteTablesSortOrderDesc ListRouteTablesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListRouteTablesSortOrderEnum

func GetListRouteTablesSortOrderEnumValues ¶

func GetListRouteTablesSortOrderEnumValues() []ListRouteTablesSortOrderEnum

GetListRouteTablesSortOrderEnumValues Enumerates the set of values for ListRouteTablesSortOrderEnum

func GetMappingListRouteTablesSortOrderEnum ¶

func GetMappingListRouteTablesSortOrderEnum(val string) (ListRouteTablesSortOrderEnum, bool)

GetMappingListRouteTablesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityListsRequest ¶

type ListSecurityListsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListSecurityListsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListSecurityListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState SecurityListLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListSecurityListsRequest wrapper for the ListSecurityLists operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityListsRequest.

func (ListSecurityListsRequest) BinaryRequestBody ¶

func (request ListSecurityListsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSecurityListsRequest) HTTPRequest ¶

func (request ListSecurityListsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSecurityListsRequest) RetryPolicy ¶

func (request ListSecurityListsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSecurityListsRequest) String ¶

func (request ListSecurityListsRequest) String() string

func (ListSecurityListsRequest) ValidateEnumValue ¶

func (request ListSecurityListsRequest) 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 ListSecurityListsResponse ¶

type ListSecurityListsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []SecurityList instances
	Items []SecurityList `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListSecurityListsResponse wrapper for the ListSecurityLists operation

func (ListSecurityListsResponse) HTTPResponse ¶

func (response ListSecurityListsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSecurityListsResponse) String ¶

func (response ListSecurityListsResponse) String() string

type ListSecurityListsSortByEnum ¶

type ListSecurityListsSortByEnum string

ListSecurityListsSortByEnum Enum with underlying type: string

const (
	ListSecurityListsSortByTimecreated ListSecurityListsSortByEnum = "TIMECREATED"
	ListSecurityListsSortByDisplayname ListSecurityListsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListSecurityListsSortByEnum

func GetListSecurityListsSortByEnumValues ¶

func GetListSecurityListsSortByEnumValues() []ListSecurityListsSortByEnum

GetListSecurityListsSortByEnumValues Enumerates the set of values for ListSecurityListsSortByEnum

func GetMappingListSecurityListsSortByEnum ¶

func GetMappingListSecurityListsSortByEnum(val string) (ListSecurityListsSortByEnum, bool)

GetMappingListSecurityListsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSecurityListsSortOrderEnum ¶

type ListSecurityListsSortOrderEnum string

ListSecurityListsSortOrderEnum Enum with underlying type: string

const (
	ListSecurityListsSortOrderAsc  ListSecurityListsSortOrderEnum = "ASC"
	ListSecurityListsSortOrderDesc ListSecurityListsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSecurityListsSortOrderEnum

func GetListSecurityListsSortOrderEnumValues ¶

func GetListSecurityListsSortOrderEnumValues() []ListSecurityListsSortOrderEnum

GetListSecurityListsSortOrderEnumValues Enumerates the set of values for ListSecurityListsSortOrderEnum

func GetMappingListSecurityListsSortOrderEnum ¶

func GetMappingListSecurityListsSortOrderEnum(val string) (ListSecurityListsSortOrderEnum, bool)

GetMappingListSecurityListsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListServiceGatewaysRequest ¶

type ListServiceGatewaysRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListServiceGatewaysSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListServiceGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState ServiceGatewayLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListServiceGatewaysRequest wrapper for the ListServiceGateways operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGatewaysRequest.

func (ListServiceGatewaysRequest) BinaryRequestBody ¶

func (request ListServiceGatewaysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListServiceGatewaysRequest) HTTPRequest ¶

func (request ListServiceGatewaysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListServiceGatewaysRequest) RetryPolicy ¶

func (request ListServiceGatewaysRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListServiceGatewaysRequest) String ¶

func (request ListServiceGatewaysRequest) String() string

func (ListServiceGatewaysRequest) ValidateEnumValue ¶

func (request ListServiceGatewaysRequest) 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 ListServiceGatewaysResponse ¶

type ListServiceGatewaysResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ServiceGateway instances
	Items []ServiceGateway `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListServiceGatewaysResponse wrapper for the ListServiceGateways operation

func (ListServiceGatewaysResponse) HTTPResponse ¶

func (response ListServiceGatewaysResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListServiceGatewaysResponse) String ¶

func (response ListServiceGatewaysResponse) String() string

type ListServiceGatewaysSortByEnum ¶

type ListServiceGatewaysSortByEnum string

ListServiceGatewaysSortByEnum Enum with underlying type: string

const (
	ListServiceGatewaysSortByTimecreated ListServiceGatewaysSortByEnum = "TIMECREATED"
	ListServiceGatewaysSortByDisplayname ListServiceGatewaysSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListServiceGatewaysSortByEnum

func GetListServiceGatewaysSortByEnumValues ¶

func GetListServiceGatewaysSortByEnumValues() []ListServiceGatewaysSortByEnum

GetListServiceGatewaysSortByEnumValues Enumerates the set of values for ListServiceGatewaysSortByEnum

func GetMappingListServiceGatewaysSortByEnum ¶

func GetMappingListServiceGatewaysSortByEnum(val string) (ListServiceGatewaysSortByEnum, bool)

GetMappingListServiceGatewaysSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListServiceGatewaysSortOrderEnum ¶

type ListServiceGatewaysSortOrderEnum string

ListServiceGatewaysSortOrderEnum Enum with underlying type: string

const (
	ListServiceGatewaysSortOrderAsc  ListServiceGatewaysSortOrderEnum = "ASC"
	ListServiceGatewaysSortOrderDesc ListServiceGatewaysSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListServiceGatewaysSortOrderEnum

func GetListServiceGatewaysSortOrderEnumValues ¶

func GetListServiceGatewaysSortOrderEnumValues() []ListServiceGatewaysSortOrderEnum

GetListServiceGatewaysSortOrderEnumValues Enumerates the set of values for ListServiceGatewaysSortOrderEnum

func GetMappingListServiceGatewaysSortOrderEnum ¶

func GetMappingListServiceGatewaysSortOrderEnum(val string) (ListServiceGatewaysSortOrderEnum, bool)

GetMappingListServiceGatewaysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListServicesRequest ¶

type ListServicesRequest struct {

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListServicesRequest wrapper for the ListServices operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServicesRequest.

func (ListServicesRequest) BinaryRequestBody ¶

func (request ListServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListServicesRequest) HTTPRequest ¶

func (request ListServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListServicesRequest) RetryPolicy ¶

func (request ListServicesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListServicesRequest) String ¶

func (request ListServicesRequest) String() string

func (ListServicesRequest) ValidateEnumValue ¶

func (request ListServicesRequest) 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 ListServicesResponse ¶

type ListServicesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Service instances
	Items []Service `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListServicesResponse wrapper for the ListServices operation

func (ListServicesResponse) HTTPResponse ¶

func (response ListServicesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListServicesResponse) String ¶

func (response ListServicesResponse) String() string

type ListShapesRequest ¶

type ListShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image.
	ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListShapesRequest wrapper for the ListShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapesRequest.

func (ListShapesRequest) BinaryRequestBody ¶

func (request ListShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListShapesRequest) HTTPRequest ¶

func (request ListShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListShapesRequest) RetryPolicy ¶

func (request ListShapesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListShapesRequest) String ¶

func (request ListShapesRequest) String() string

func (ListShapesRequest) ValidateEnumValue ¶

func (request ListShapesRequest) 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 ListShapesResponse ¶

type ListShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Shape instances
	Items []Shape `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListShapesResponse wrapper for the ListShapes operation

func (ListShapesResponse) HTTPResponse ¶

func (response ListShapesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListShapesResponse) String ¶

func (response ListShapesResponse) String() string

type ListSubnetsRequest ¶

type ListSubnetsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListSubnetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListSubnetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState SubnetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListSubnetsRequest wrapper for the ListSubnets operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnetsRequest.

func (ListSubnetsRequest) BinaryRequestBody ¶

func (request ListSubnetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSubnetsRequest) HTTPRequest ¶

func (request ListSubnetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSubnetsRequest) RetryPolicy ¶

func (request ListSubnetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSubnetsRequest) String ¶

func (request ListSubnetsRequest) String() string

func (ListSubnetsRequest) ValidateEnumValue ¶

func (request ListSubnetsRequest) 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 ListSubnetsResponse ¶

type ListSubnetsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Subnet instances
	Items []Subnet `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListSubnetsResponse wrapper for the ListSubnets operation

func (ListSubnetsResponse) HTTPResponse ¶

func (response ListSubnetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSubnetsResponse) String ¶

func (response ListSubnetsResponse) String() string

type ListSubnetsSortByEnum ¶

type ListSubnetsSortByEnum string

ListSubnetsSortByEnum Enum with underlying type: string

const (
	ListSubnetsSortByTimecreated ListSubnetsSortByEnum = "TIMECREATED"
	ListSubnetsSortByDisplayname ListSubnetsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListSubnetsSortByEnum

func GetListSubnetsSortByEnumValues ¶

func GetListSubnetsSortByEnumValues() []ListSubnetsSortByEnum

GetListSubnetsSortByEnumValues Enumerates the set of values for ListSubnetsSortByEnum

func GetMappingListSubnetsSortByEnum ¶

func GetMappingListSubnetsSortByEnum(val string) (ListSubnetsSortByEnum, bool)

GetMappingListSubnetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSubnetsSortOrderEnum ¶

type ListSubnetsSortOrderEnum string

ListSubnetsSortOrderEnum Enum with underlying type: string

const (
	ListSubnetsSortOrderAsc  ListSubnetsSortOrderEnum = "ASC"
	ListSubnetsSortOrderDesc ListSubnetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSubnetsSortOrderEnum

func GetListSubnetsSortOrderEnumValues ¶

func GetListSubnetsSortOrderEnumValues() []ListSubnetsSortOrderEnum

GetListSubnetsSortOrderEnumValues Enumerates the set of values for ListSubnetsSortOrderEnum

func GetMappingListSubnetsSortOrderEnum ¶

func GetMappingListSubnetsSortOrderEnum(val string) (ListSubnetsSortOrderEnum, bool)

GetMappingListSubnetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVcnsRequest ¶

type ListVcnsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVcnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVcnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState VcnLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVcnsRequest wrapper for the ListVcns operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcnsRequest.

func (ListVcnsRequest) BinaryRequestBody ¶

func (request ListVcnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVcnsRequest) HTTPRequest ¶

func (request ListVcnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVcnsRequest) RetryPolicy ¶

func (request ListVcnsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVcnsRequest) String ¶

func (request ListVcnsRequest) String() string

func (ListVcnsRequest) ValidateEnumValue ¶

func (request ListVcnsRequest) 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 ListVcnsResponse ¶

type ListVcnsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Vcn instances
	Items []Vcn `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVcnsResponse wrapper for the ListVcns operation

func (ListVcnsResponse) HTTPResponse ¶

func (response ListVcnsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVcnsResponse) String ¶

func (response ListVcnsResponse) String() string

type ListVcnsSortByEnum ¶

type ListVcnsSortByEnum string

ListVcnsSortByEnum Enum with underlying type: string

const (
	ListVcnsSortByTimecreated ListVcnsSortByEnum = "TIMECREATED"
	ListVcnsSortByDisplayname ListVcnsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVcnsSortByEnum

func GetListVcnsSortByEnumValues ¶

func GetListVcnsSortByEnumValues() []ListVcnsSortByEnum

GetListVcnsSortByEnumValues Enumerates the set of values for ListVcnsSortByEnum

func GetMappingListVcnsSortByEnum ¶

func GetMappingListVcnsSortByEnum(val string) (ListVcnsSortByEnum, bool)

GetMappingListVcnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVcnsSortOrderEnum ¶

type ListVcnsSortOrderEnum string

ListVcnsSortOrderEnum Enum with underlying type: string

const (
	ListVcnsSortOrderAsc  ListVcnsSortOrderEnum = "ASC"
	ListVcnsSortOrderDesc ListVcnsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVcnsSortOrderEnum

func GetListVcnsSortOrderEnumValues ¶

func GetListVcnsSortOrderEnumValues() []ListVcnsSortOrderEnum

GetListVcnsSortOrderEnumValues Enumerates the set of values for ListVcnsSortOrderEnum

func GetMappingListVcnsSortOrderEnum ¶

func GetMappingListVcnsSortOrderEnum(val string) (ListVcnsSortOrderEnum, bool)

GetMappingListVcnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVirtualCircuitAssociatedTunnelsRequest ¶ added in v65.48.0

type ListVirtualCircuitAssociatedTunnelsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVirtualCircuitAssociatedTunnelsRequest wrapper for the ListVirtualCircuitAssociatedTunnels operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnelsRequest.

func (ListVirtualCircuitAssociatedTunnelsRequest) BinaryRequestBody ¶ added in v65.48.0

BinaryRequestBody implements the OCIRequest interface

func (ListVirtualCircuitAssociatedTunnelsRequest) HTTPRequest ¶ added in v65.48.0

func (request ListVirtualCircuitAssociatedTunnelsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVirtualCircuitAssociatedTunnelsRequest) RetryPolicy ¶ added in v65.48.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVirtualCircuitAssociatedTunnelsRequest) String ¶ added in v65.48.0

func (ListVirtualCircuitAssociatedTunnelsRequest) ValidateEnumValue ¶ added in v65.48.0

func (request ListVirtualCircuitAssociatedTunnelsRequest) 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 ListVirtualCircuitAssociatedTunnelsResponse ¶ added in v65.48.0

type ListVirtualCircuitAssociatedTunnelsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VirtualCircuitAssociatedTunnelDetails instances
	Items []VirtualCircuitAssociatedTunnelDetails `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"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListVirtualCircuitAssociatedTunnelsResponse wrapper for the ListVirtualCircuitAssociatedTunnels operation

func (ListVirtualCircuitAssociatedTunnelsResponse) HTTPResponse ¶ added in v65.48.0

HTTPResponse implements the OCIResponse interface

func (ListVirtualCircuitAssociatedTunnelsResponse) String ¶ added in v65.48.0

type ListVirtualCircuitBandwidthShapesRequest ¶

type ListVirtualCircuitBandwidthShapesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVirtualCircuitBandwidthShapesRequest wrapper for the ListVirtualCircuitBandwidthShapes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapesRequest.

func (ListVirtualCircuitBandwidthShapesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ListVirtualCircuitBandwidthShapesRequest) HTTPRequest ¶

func (request ListVirtualCircuitBandwidthShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVirtualCircuitBandwidthShapesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVirtualCircuitBandwidthShapesRequest) String ¶

func (ListVirtualCircuitBandwidthShapesRequest) ValidateEnumValue ¶

func (request ListVirtualCircuitBandwidthShapesRequest) 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 ListVirtualCircuitBandwidthShapesResponse ¶

type ListVirtualCircuitBandwidthShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VirtualCircuitBandwidthShape instances
	Items []VirtualCircuitBandwidthShape `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVirtualCircuitBandwidthShapesResponse wrapper for the ListVirtualCircuitBandwidthShapes operation

func (ListVirtualCircuitBandwidthShapesResponse) HTTPResponse ¶

func (response ListVirtualCircuitBandwidthShapesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVirtualCircuitBandwidthShapesResponse) String ¶

type ListVirtualCircuitPublicPrefixesRequest ¶

type ListVirtualCircuitPublicPrefixesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// A filter to only return resources that match the given verification
	// state.
	// The state value is case-insensitive.
	VerificationState VirtualCircuitPublicPrefixVerificationStateEnum `mandatory:"false" contributesTo:"query" name:"verificationState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVirtualCircuitPublicPrefixesRequest wrapper for the ListVirtualCircuitPublicPrefixes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixesRequest.

func (ListVirtualCircuitPublicPrefixesRequest) BinaryRequestBody ¶

func (request ListVirtualCircuitPublicPrefixesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVirtualCircuitPublicPrefixesRequest) HTTPRequest ¶

func (request ListVirtualCircuitPublicPrefixesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVirtualCircuitPublicPrefixesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVirtualCircuitPublicPrefixesRequest) String ¶

func (ListVirtualCircuitPublicPrefixesRequest) ValidateEnumValue ¶

func (request ListVirtualCircuitPublicPrefixesRequest) 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 ListVirtualCircuitPublicPrefixesResponse ¶

type ListVirtualCircuitPublicPrefixesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []VirtualCircuitPublicPrefix instance
	Items []VirtualCircuitPublicPrefix `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"`
}

ListVirtualCircuitPublicPrefixesResponse wrapper for the ListVirtualCircuitPublicPrefixes operation

func (ListVirtualCircuitPublicPrefixesResponse) HTTPResponse ¶

func (response ListVirtualCircuitPublicPrefixesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVirtualCircuitPublicPrefixesResponse) String ¶

type ListVirtualCircuitsRequest ¶

type ListVirtualCircuitsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVirtualCircuitsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVirtualCircuitsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the specified lifecycle
	// state. The value is case insensitive.
	LifecycleState VirtualCircuitLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVirtualCircuitsRequest wrapper for the ListVirtualCircuits operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuitsRequest.

func (ListVirtualCircuitsRequest) BinaryRequestBody ¶

func (request ListVirtualCircuitsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVirtualCircuitsRequest) HTTPRequest ¶

func (request ListVirtualCircuitsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVirtualCircuitsRequest) RetryPolicy ¶

func (request ListVirtualCircuitsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVirtualCircuitsRequest) String ¶

func (request ListVirtualCircuitsRequest) String() string

func (ListVirtualCircuitsRequest) ValidateEnumValue ¶

func (request ListVirtualCircuitsRequest) 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 ListVirtualCircuitsResponse ¶

type ListVirtualCircuitsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VirtualCircuit instances
	Items []VirtualCircuit `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVirtualCircuitsResponse wrapper for the ListVirtualCircuits operation

func (ListVirtualCircuitsResponse) HTTPResponse ¶

func (response ListVirtualCircuitsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVirtualCircuitsResponse) String ¶

func (response ListVirtualCircuitsResponse) String() string

type ListVirtualCircuitsSortByEnum ¶

type ListVirtualCircuitsSortByEnum string

ListVirtualCircuitsSortByEnum Enum with underlying type: string

const (
	ListVirtualCircuitsSortByTimecreated ListVirtualCircuitsSortByEnum = "TIMECREATED"
	ListVirtualCircuitsSortByDisplayname ListVirtualCircuitsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVirtualCircuitsSortByEnum

func GetListVirtualCircuitsSortByEnumValues ¶

func GetListVirtualCircuitsSortByEnumValues() []ListVirtualCircuitsSortByEnum

GetListVirtualCircuitsSortByEnumValues Enumerates the set of values for ListVirtualCircuitsSortByEnum

func GetMappingListVirtualCircuitsSortByEnum ¶

func GetMappingListVirtualCircuitsSortByEnum(val string) (ListVirtualCircuitsSortByEnum, bool)

GetMappingListVirtualCircuitsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVirtualCircuitsSortOrderEnum ¶

type ListVirtualCircuitsSortOrderEnum string

ListVirtualCircuitsSortOrderEnum Enum with underlying type: string

const (
	ListVirtualCircuitsSortOrderAsc  ListVirtualCircuitsSortOrderEnum = "ASC"
	ListVirtualCircuitsSortOrderDesc ListVirtualCircuitsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVirtualCircuitsSortOrderEnum

func GetListVirtualCircuitsSortOrderEnumValues ¶

func GetListVirtualCircuitsSortOrderEnumValues() []ListVirtualCircuitsSortOrderEnum

GetListVirtualCircuitsSortOrderEnumValues Enumerates the set of values for ListVirtualCircuitsSortOrderEnum

func GetMappingListVirtualCircuitsSortOrderEnum ¶

func GetMappingListVirtualCircuitsSortOrderEnum(val string) (ListVirtualCircuitsSortOrderEnum, bool)

GetMappingListVirtualCircuitsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVlansRequest ¶

type ListVlansRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVlansSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVlansSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState VlanLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// 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
}

ListVlansRequest wrapper for the ListVlans operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlansRequest.

func (ListVlansRequest) BinaryRequestBody ¶

func (request ListVlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVlansRequest) HTTPRequest ¶

func (request ListVlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVlansRequest) RetryPolicy ¶

func (request ListVlansRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVlansRequest) String ¶

func (request ListVlansRequest) String() string

func (ListVlansRequest) ValidateEnumValue ¶

func (request ListVlansRequest) 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 ListVlansResponse ¶

type ListVlansResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Vlan instances
	Items []Vlan `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVlansResponse wrapper for the ListVlans operation

func (ListVlansResponse) HTTPResponse ¶

func (response ListVlansResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVlansResponse) String ¶

func (response ListVlansResponse) String() string

type ListVlansSortByEnum ¶

type ListVlansSortByEnum string

ListVlansSortByEnum Enum with underlying type: string

const (
	ListVlansSortByTimecreated ListVlansSortByEnum = "TIMECREATED"
	ListVlansSortByDisplayname ListVlansSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVlansSortByEnum

func GetListVlansSortByEnumValues ¶

func GetListVlansSortByEnumValues() []ListVlansSortByEnum

GetListVlansSortByEnumValues Enumerates the set of values for ListVlansSortByEnum

func GetMappingListVlansSortByEnum ¶

func GetMappingListVlansSortByEnum(val string) (ListVlansSortByEnum, bool)

GetMappingListVlansSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVlansSortOrderEnum ¶

type ListVlansSortOrderEnum string

ListVlansSortOrderEnum Enum with underlying type: string

const (
	ListVlansSortOrderAsc  ListVlansSortOrderEnum = "ASC"
	ListVlansSortOrderDesc ListVlansSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVlansSortOrderEnum

func GetListVlansSortOrderEnumValues ¶

func GetListVlansSortOrderEnumValues() []ListVlansSortOrderEnum

GetListVlansSortOrderEnumValues Enumerates the set of values for ListVlansSortOrderEnum

func GetMappingListVlansSortOrderEnum ¶

func GetMappingListVlansSortOrderEnum(val string) (ListVlansSortOrderEnum, bool)

GetMappingListVlansSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVnicAttachmentsRequest ¶

type ListVnicAttachmentsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the VNIC.
	VnicId *string `mandatory:"false" contributesTo:"query" name:"vnicId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVnicAttachmentsRequest wrapper for the ListVnicAttachments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachmentsRequest.

func (ListVnicAttachmentsRequest) BinaryRequestBody ¶

func (request ListVnicAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVnicAttachmentsRequest) HTTPRequest ¶

func (request ListVnicAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVnicAttachmentsRequest) RetryPolicy ¶

func (request ListVnicAttachmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVnicAttachmentsRequest) String ¶

func (request ListVnicAttachmentsRequest) String() string

func (ListVnicAttachmentsRequest) ValidateEnumValue ¶

func (request ListVnicAttachmentsRequest) 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 ListVnicAttachmentsResponse ¶

type ListVnicAttachmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VnicAttachment instances
	Items []VnicAttachment `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVnicAttachmentsResponse wrapper for the ListVnicAttachments operation

func (ListVnicAttachmentsResponse) HTTPResponse ¶

func (response ListVnicAttachmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVnicAttachmentsResponse) String ¶

func (response ListVnicAttachmentsResponse) String() string

type ListVolumeAttachmentsRequest ¶

type ListVolumeAttachmentsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"false" contributesTo:"query" name:"instanceId"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"false" contributesTo:"query" name:"volumeId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumeAttachmentsRequest wrapper for the ListVolumeAttachments operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachmentsRequest.

func (ListVolumeAttachmentsRequest) BinaryRequestBody ¶

func (request ListVolumeAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumeAttachmentsRequest) HTTPRequest ¶

func (request ListVolumeAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumeAttachmentsRequest) RetryPolicy ¶

func (request ListVolumeAttachmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumeAttachmentsRequest) String ¶

func (request ListVolumeAttachmentsRequest) String() string

func (ListVolumeAttachmentsRequest) ValidateEnumValue ¶

func (request ListVolumeAttachmentsRequest) 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 ListVolumeAttachmentsResponse ¶

type ListVolumeAttachmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeAttachment instances
	Items []VolumeAttachment `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumeAttachmentsResponse wrapper for the ListVolumeAttachments operation

func (ListVolumeAttachmentsResponse) HTTPResponse ¶

func (response ListVolumeAttachmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumeAttachmentsResponse) String ¶

func (response ListVolumeAttachmentsResponse) String() string

type ListVolumeBackupPoliciesRequest ¶

type ListVolumeBackupPoliciesRequest struct {

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The OCID of the compartment.
	// If no compartment is specified, the Oracle defined backup policies are listed.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumeBackupPoliciesRequest wrapper for the ListVolumeBackupPolicies operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPoliciesRequest.

func (ListVolumeBackupPoliciesRequest) BinaryRequestBody ¶

func (request ListVolumeBackupPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumeBackupPoliciesRequest) HTTPRequest ¶

func (request ListVolumeBackupPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumeBackupPoliciesRequest) RetryPolicy ¶

func (request ListVolumeBackupPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumeBackupPoliciesRequest) String ¶

func (request ListVolumeBackupPoliciesRequest) String() string

func (ListVolumeBackupPoliciesRequest) ValidateEnumValue ¶

func (request ListVolumeBackupPoliciesRequest) 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 ListVolumeBackupPoliciesResponse ¶

type ListVolumeBackupPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeBackupPolicy instances
	Items []VolumeBackupPolicy `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumeBackupPoliciesResponse wrapper for the ListVolumeBackupPolicies operation

func (ListVolumeBackupPoliciesResponse) HTTPResponse ¶

func (response ListVolumeBackupPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumeBackupPoliciesResponse) String ¶

func (response ListVolumeBackupPoliciesResponse) String() string

type ListVolumeBackupsRequest ¶

type ListVolumeBackupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"false" contributesTo:"query" name:"volumeId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that originated from the given source volume backup.
	SourceVolumeBackupId *string `mandatory:"false" contributesTo:"query" name:"sourceVolumeBackupId"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVolumeBackupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVolumeBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state
	// value is case-insensitive.
	LifecycleState VolumeBackupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumeBackupsRequest wrapper for the ListVolumeBackups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackupsRequest.

func (ListVolumeBackupsRequest) BinaryRequestBody ¶

func (request ListVolumeBackupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumeBackupsRequest) HTTPRequest ¶

func (request ListVolumeBackupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumeBackupsRequest) RetryPolicy ¶

func (request ListVolumeBackupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumeBackupsRequest) String ¶

func (request ListVolumeBackupsRequest) String() string

func (ListVolumeBackupsRequest) ValidateEnumValue ¶

func (request ListVolumeBackupsRequest) 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 ListVolumeBackupsResponse ¶

type ListVolumeBackupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeBackup instances
	Items []VolumeBackup `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumeBackupsResponse wrapper for the ListVolumeBackups operation

func (ListVolumeBackupsResponse) HTTPResponse ¶

func (response ListVolumeBackupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumeBackupsResponse) String ¶

func (response ListVolumeBackupsResponse) String() string

type ListVolumeBackupsSortByEnum ¶

type ListVolumeBackupsSortByEnum string

ListVolumeBackupsSortByEnum Enum with underlying type: string

const (
	ListVolumeBackupsSortByTimecreated ListVolumeBackupsSortByEnum = "TIMECREATED"
	ListVolumeBackupsSortByDisplayname ListVolumeBackupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVolumeBackupsSortByEnum

func GetListVolumeBackupsSortByEnumValues ¶

func GetListVolumeBackupsSortByEnumValues() []ListVolumeBackupsSortByEnum

GetListVolumeBackupsSortByEnumValues Enumerates the set of values for ListVolumeBackupsSortByEnum

func GetMappingListVolumeBackupsSortByEnum ¶

func GetMappingListVolumeBackupsSortByEnum(val string) (ListVolumeBackupsSortByEnum, bool)

GetMappingListVolumeBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeBackupsSortOrderEnum ¶

type ListVolumeBackupsSortOrderEnum string

ListVolumeBackupsSortOrderEnum Enum with underlying type: string

const (
	ListVolumeBackupsSortOrderAsc  ListVolumeBackupsSortOrderEnum = "ASC"
	ListVolumeBackupsSortOrderDesc ListVolumeBackupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVolumeBackupsSortOrderEnum

func GetListVolumeBackupsSortOrderEnumValues ¶

func GetListVolumeBackupsSortOrderEnumValues() []ListVolumeBackupsSortOrderEnum

GetListVolumeBackupsSortOrderEnumValues Enumerates the set of values for ListVolumeBackupsSortOrderEnum

func GetMappingListVolumeBackupsSortOrderEnum ¶

func GetMappingListVolumeBackupsSortOrderEnum(val string) (ListVolumeBackupsSortOrderEnum, bool)

GetMappingListVolumeBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeGroupBackupsRequest ¶

type ListVolumeGroupBackupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID of the volume group.
	VolumeGroupId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVolumeGroupBackupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVolumeGroupBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumeGroupBackupsRequest wrapper for the ListVolumeGroupBackups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackupsRequest.

func (ListVolumeGroupBackupsRequest) BinaryRequestBody ¶

func (request ListVolumeGroupBackupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumeGroupBackupsRequest) HTTPRequest ¶

func (request ListVolumeGroupBackupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumeGroupBackupsRequest) RetryPolicy ¶

func (request ListVolumeGroupBackupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumeGroupBackupsRequest) String ¶

func (request ListVolumeGroupBackupsRequest) String() string

func (ListVolumeGroupBackupsRequest) ValidateEnumValue ¶

func (request ListVolumeGroupBackupsRequest) 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 ListVolumeGroupBackupsResponse ¶

type ListVolumeGroupBackupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeGroupBackup instances
	Items []VolumeGroupBackup `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumeGroupBackupsResponse wrapper for the ListVolumeGroupBackups operation

func (ListVolumeGroupBackupsResponse) HTTPResponse ¶

func (response ListVolumeGroupBackupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumeGroupBackupsResponse) String ¶

func (response ListVolumeGroupBackupsResponse) String() string

type ListVolumeGroupBackupsSortByEnum ¶

type ListVolumeGroupBackupsSortByEnum string

ListVolumeGroupBackupsSortByEnum Enum with underlying type: string

const (
	ListVolumeGroupBackupsSortByTimecreated ListVolumeGroupBackupsSortByEnum = "TIMECREATED"
	ListVolumeGroupBackupsSortByDisplayname ListVolumeGroupBackupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVolumeGroupBackupsSortByEnum

func GetListVolumeGroupBackupsSortByEnumValues ¶

func GetListVolumeGroupBackupsSortByEnumValues() []ListVolumeGroupBackupsSortByEnum

GetListVolumeGroupBackupsSortByEnumValues Enumerates the set of values for ListVolumeGroupBackupsSortByEnum

func GetMappingListVolumeGroupBackupsSortByEnum ¶

func GetMappingListVolumeGroupBackupsSortByEnum(val string) (ListVolumeGroupBackupsSortByEnum, bool)

GetMappingListVolumeGroupBackupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeGroupBackupsSortOrderEnum ¶

type ListVolumeGroupBackupsSortOrderEnum string

ListVolumeGroupBackupsSortOrderEnum Enum with underlying type: string

const (
	ListVolumeGroupBackupsSortOrderAsc  ListVolumeGroupBackupsSortOrderEnum = "ASC"
	ListVolumeGroupBackupsSortOrderDesc ListVolumeGroupBackupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVolumeGroupBackupsSortOrderEnum

func GetListVolumeGroupBackupsSortOrderEnumValues ¶

func GetListVolumeGroupBackupsSortOrderEnumValues() []ListVolumeGroupBackupsSortOrderEnum

GetListVolumeGroupBackupsSortOrderEnumValues Enumerates the set of values for ListVolumeGroupBackupsSortOrderEnum

func GetMappingListVolumeGroupBackupsSortOrderEnum ¶

func GetMappingListVolumeGroupBackupsSortOrderEnum(val string) (ListVolumeGroupBackupsSortOrderEnum, bool)

GetMappingListVolumeGroupBackupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeGroupReplicasRequest ¶

type ListVolumeGroupReplicasRequest struct {

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVolumeGroupReplicasSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVolumeGroupReplicasSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
	LifecycleState VolumeGroupReplicaLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumeGroupReplicasRequest wrapper for the ListVolumeGroupReplicas operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicasRequest.

func (ListVolumeGroupReplicasRequest) BinaryRequestBody ¶

func (request ListVolumeGroupReplicasRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumeGroupReplicasRequest) HTTPRequest ¶

func (request ListVolumeGroupReplicasRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumeGroupReplicasRequest) RetryPolicy ¶

func (request ListVolumeGroupReplicasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumeGroupReplicasRequest) String ¶

func (request ListVolumeGroupReplicasRequest) String() string

func (ListVolumeGroupReplicasRequest) ValidateEnumValue ¶

func (request ListVolumeGroupReplicasRequest) 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 ListVolumeGroupReplicasResponse ¶

type ListVolumeGroupReplicasResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeGroupReplica instances
	Items []VolumeGroupReplica `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumeGroupReplicasResponse wrapper for the ListVolumeGroupReplicas operation

func (ListVolumeGroupReplicasResponse) HTTPResponse ¶

func (response ListVolumeGroupReplicasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumeGroupReplicasResponse) String ¶

func (response ListVolumeGroupReplicasResponse) String() string

type ListVolumeGroupReplicasSortByEnum ¶

type ListVolumeGroupReplicasSortByEnum string

ListVolumeGroupReplicasSortByEnum Enum with underlying type: string

const (
	ListVolumeGroupReplicasSortByTimecreated ListVolumeGroupReplicasSortByEnum = "TIMECREATED"
	ListVolumeGroupReplicasSortByDisplayname ListVolumeGroupReplicasSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVolumeGroupReplicasSortByEnum

func GetListVolumeGroupReplicasSortByEnumValues ¶

func GetListVolumeGroupReplicasSortByEnumValues() []ListVolumeGroupReplicasSortByEnum

GetListVolumeGroupReplicasSortByEnumValues Enumerates the set of values for ListVolumeGroupReplicasSortByEnum

func GetMappingListVolumeGroupReplicasSortByEnum ¶

func GetMappingListVolumeGroupReplicasSortByEnum(val string) (ListVolumeGroupReplicasSortByEnum, bool)

GetMappingListVolumeGroupReplicasSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeGroupReplicasSortOrderEnum ¶

type ListVolumeGroupReplicasSortOrderEnum string

ListVolumeGroupReplicasSortOrderEnum Enum with underlying type: string

const (
	ListVolumeGroupReplicasSortOrderAsc  ListVolumeGroupReplicasSortOrderEnum = "ASC"
	ListVolumeGroupReplicasSortOrderDesc ListVolumeGroupReplicasSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVolumeGroupReplicasSortOrderEnum

func GetListVolumeGroupReplicasSortOrderEnumValues ¶

func GetListVolumeGroupReplicasSortOrderEnumValues() []ListVolumeGroupReplicasSortOrderEnum

GetListVolumeGroupReplicasSortOrderEnumValues Enumerates the set of values for ListVolumeGroupReplicasSortOrderEnum

func GetMappingListVolumeGroupReplicasSortOrderEnum ¶

func GetMappingListVolumeGroupReplicasSortOrderEnum(val string) (ListVolumeGroupReplicasSortOrderEnum, bool)

GetMappingListVolumeGroupReplicasSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeGroupsRequest ¶

type ListVolumeGroupsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVolumeGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVolumeGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to only return resources that match the given lifecycle
	// state. The state value is case-insensitive.
	LifecycleState VolumeGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumeGroupsRequest wrapper for the ListVolumeGroups operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroupsRequest.

func (ListVolumeGroupsRequest) BinaryRequestBody ¶

func (request ListVolumeGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumeGroupsRequest) HTTPRequest ¶

func (request ListVolumeGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumeGroupsRequest) RetryPolicy ¶

func (request ListVolumeGroupsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumeGroupsRequest) String ¶

func (request ListVolumeGroupsRequest) String() string

func (ListVolumeGroupsRequest) ValidateEnumValue ¶

func (request ListVolumeGroupsRequest) 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 ListVolumeGroupsResponse ¶

type ListVolumeGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VolumeGroup instances
	Items []VolumeGroup `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumeGroupsResponse wrapper for the ListVolumeGroups operation

func (ListVolumeGroupsResponse) HTTPResponse ¶

func (response ListVolumeGroupsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumeGroupsResponse) String ¶

func (response ListVolumeGroupsResponse) String() string

type ListVolumeGroupsSortByEnum ¶

type ListVolumeGroupsSortByEnum string

ListVolumeGroupsSortByEnum Enum with underlying type: string

const (
	ListVolumeGroupsSortByTimecreated ListVolumeGroupsSortByEnum = "TIMECREATED"
	ListVolumeGroupsSortByDisplayname ListVolumeGroupsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVolumeGroupsSortByEnum

func GetListVolumeGroupsSortByEnumValues ¶

func GetListVolumeGroupsSortByEnumValues() []ListVolumeGroupsSortByEnum

GetListVolumeGroupsSortByEnumValues Enumerates the set of values for ListVolumeGroupsSortByEnum

func GetMappingListVolumeGroupsSortByEnum ¶

func GetMappingListVolumeGroupsSortByEnum(val string) (ListVolumeGroupsSortByEnum, bool)

GetMappingListVolumeGroupsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumeGroupsSortOrderEnum ¶

type ListVolumeGroupsSortOrderEnum string

ListVolumeGroupsSortOrderEnum Enum with underlying type: string

const (
	ListVolumeGroupsSortOrderAsc  ListVolumeGroupsSortOrderEnum = "ASC"
	ListVolumeGroupsSortOrderDesc ListVolumeGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVolumeGroupsSortOrderEnum

func GetListVolumeGroupsSortOrderEnumValues ¶

func GetListVolumeGroupsSortOrderEnumValues() []ListVolumeGroupsSortOrderEnum

GetListVolumeGroupsSortOrderEnumValues Enumerates the set of values for ListVolumeGroupsSortOrderEnum

func GetMappingListVolumeGroupsSortOrderEnum ¶

func GetMappingListVolumeGroupsSortOrderEnum(val string) (ListVolumeGroupsSortOrderEnum, bool)

GetMappingListVolumeGroupsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumesRequest ¶

type ListVolumesRequest struct {

	// The name of the availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVolumesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVolumesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The OCID of the volume group.
	VolumeGroupId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupId"`

	// A filter to return only resources that match the given cluster placement group Id exactly.
	ClusterPlacementGroupId *string `mandatory:"false" contributesTo:"query" name:"clusterPlacementGroupId"`

	// A filter to only return resources that match the given lifecycle state. The state
	// value is case-insensitive.
	LifecycleState VolumeLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ListVolumesRequest wrapper for the ListVolumes operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumesRequest.

func (ListVolumesRequest) BinaryRequestBody ¶

func (request ListVolumesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVolumesRequest) HTTPRequest ¶

func (request ListVolumesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVolumesRequest) RetryPolicy ¶

func (request ListVolumesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVolumesRequest) String ¶

func (request ListVolumesRequest) String() string

func (ListVolumesRequest) ValidateEnumValue ¶

func (request ListVolumesRequest) 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 ListVolumesResponse ¶

type ListVolumesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Volume instances
	Items []Volume `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVolumesResponse wrapper for the ListVolumes operation

func (ListVolumesResponse) HTTPResponse ¶

func (response ListVolumesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVolumesResponse) String ¶

func (response ListVolumesResponse) String() string

type ListVolumesSortByEnum ¶

type ListVolumesSortByEnum string

ListVolumesSortByEnum Enum with underlying type: string

const (
	ListVolumesSortByTimecreated ListVolumesSortByEnum = "TIMECREATED"
	ListVolumesSortByDisplayname ListVolumesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVolumesSortByEnum

func GetListVolumesSortByEnumValues ¶

func GetListVolumesSortByEnumValues() []ListVolumesSortByEnum

GetListVolumesSortByEnumValues Enumerates the set of values for ListVolumesSortByEnum

func GetMappingListVolumesSortByEnum ¶

func GetMappingListVolumesSortByEnum(val string) (ListVolumesSortByEnum, bool)

GetMappingListVolumesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVolumesSortOrderEnum ¶

type ListVolumesSortOrderEnum string

ListVolumesSortOrderEnum Enum with underlying type: string

const (
	ListVolumesSortOrderAsc  ListVolumesSortOrderEnum = "ASC"
	ListVolumesSortOrderDesc ListVolumesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVolumesSortOrderEnum

func GetListVolumesSortOrderEnumValues ¶

func GetListVolumesSortOrderEnumValues() []ListVolumesSortOrderEnum

GetListVolumesSortOrderEnumValues Enumerates the set of values for ListVolumesSortOrderEnum

func GetMappingListVolumesSortOrderEnum ¶

func GetMappingListVolumesSortOrderEnum(val string) (ListVolumesSortOrderEnum, bool)

GetMappingListVolumesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVtapsRequest ¶ added in v65.3.0

type ListVtapsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP source.
	Source *string `mandatory:"false" contributesTo:"query" name:"source"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP target.
	TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"`

	// The IP address of the VTAP target.
	TargetIp *string `mandatory:"false" contributesTo:"query" name:"targetIp"`

	// Indicates whether to list all VTAPs or only running VTAPs.
	// * When `FALSE`, lists ALL running and stopped VTAPs.
	// * When `TRUE`, lists only running VTAPs (VTAPs where isVtapEnabled = `TRUE`).
	IsVtapEnabled *bool `mandatory:"false" contributesTo:"query" name:"isVtapEnabled"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListVtapsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListVtapsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that match the given VTAP administrative lifecycle state.
	// The state value is case-insensitive.
	LifecycleState VtapLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// 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
}

ListVtapsRequest wrapper for the ListVtaps operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtapsRequest.

func (ListVtapsRequest) BinaryRequestBody ¶ added in v65.3.0

func (request ListVtapsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListVtapsRequest) HTTPRequest ¶ added in v65.3.0

func (request ListVtapsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListVtapsRequest) RetryPolicy ¶ added in v65.3.0

func (request ListVtapsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListVtapsRequest) String ¶ added in v65.3.0

func (request ListVtapsRequest) String() string

func (ListVtapsRequest) ValidateEnumValue ¶ added in v65.3.0

func (request ListVtapsRequest) 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 ListVtapsResponse ¶ added in v65.3.0

type ListVtapsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []Vtap instances
	Items []Vtap `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// 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"`
}

ListVtapsResponse wrapper for the ListVtaps operation

func (ListVtapsResponse) HTTPResponse ¶ added in v65.3.0

func (response ListVtapsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListVtapsResponse) String ¶ added in v65.3.0

func (response ListVtapsResponse) String() string

type ListVtapsSortByEnum ¶ added in v65.3.0

type ListVtapsSortByEnum string

ListVtapsSortByEnum Enum with underlying type: string

const (
	ListVtapsSortByTimecreated ListVtapsSortByEnum = "TIMECREATED"
	ListVtapsSortByDisplayname ListVtapsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListVtapsSortByEnum

func GetListVtapsSortByEnumValues ¶ added in v65.3.0

func GetListVtapsSortByEnumValues() []ListVtapsSortByEnum

GetListVtapsSortByEnumValues Enumerates the set of values for ListVtapsSortByEnum

func GetMappingListVtapsSortByEnum ¶ added in v65.3.0

func GetMappingListVtapsSortByEnum(val string) (ListVtapsSortByEnum, bool)

GetMappingListVtapsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListVtapsSortOrderEnum ¶ added in v65.3.0

type ListVtapsSortOrderEnum string

ListVtapsSortOrderEnum Enum with underlying type: string

const (
	ListVtapsSortOrderAsc  ListVtapsSortOrderEnum = "ASC"
	ListVtapsSortOrderDesc ListVtapsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVtapsSortOrderEnum

func GetListVtapsSortOrderEnumValues ¶ added in v65.3.0

func GetListVtapsSortOrderEnumValues() []ListVtapsSortOrderEnum

GetListVtapsSortOrderEnumValues Enumerates the set of values for ListVtapsSortOrderEnum

func GetMappingListVtapsSortOrderEnum ¶ added in v65.3.0

func GetMappingListVtapsSortOrderEnum(val string) (ListVtapsSortOrderEnum, bool)

GetMappingListVtapsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type LocalPeeringGateway ¶

type LocalPeeringGateway struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the LPG.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The LPG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// Whether the VCN at the other end of the peering is in a different tenancy.
	// Example: `false`
	IsCrossTenancyPeering *bool `mandatory:"true" json:"isCrossTenancyPeering"`

	// The LPG's current lifecycle state.
	LifecycleState LocalPeeringGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Whether the LPG is peered with another LPG. `NEW` means the LPG has not yet been
	// peered. `PENDING` means the peering is being established. `REVOKED` means the
	// LPG at the other end of the peering has been deleted.
	PeeringStatus LocalPeeringGatewayPeeringStatusEnum `mandatory:"true" json:"peeringStatus"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peered LPG.
	PeerId *string `mandatory:"true" json:"peerId"`

	// The date and time the LPG was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that uses the LPG.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN
	// at the other end of the peering from this LPG. See `peerAdvertisedCidrDetails` for
	// the individual CIDRs. The value is `null` if the LPG is not peered.
	// Example: `192.168.0.0/16`, or if aggregated with `172.16.0.0/24` then `128.0.0.0/1`
	PeerAdvertisedCidr *string `mandatory:"false" json:"peerAdvertisedCidr"`

	// The specific ranges of IP addresses available on or via the VCN at the other
	// end of the peering from this LPG. The value is `null` if the LPG is not peered.
	// You can use these as destination CIDRs for route rules to route a subnet's
	// traffic to this LPG.
	// Example: [`192.168.0.0/16`, `172.16.0.0/24`]
	PeerAdvertisedCidrDetails []string `mandatory:"false" json:"peerAdvertisedCidrDetails"`

	// Additional information regarding the peering status, if applicable.
	PeeringStatusDetails *string `mandatory:"false" json:"peeringStatusDetails"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG is using.
	// For information about why you would associate a route table with an LPG, see
	// Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm).
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

LocalPeeringGateway A local peering gateway (LPG) is an object on a VCN that lets that VCN peer with another VCN in the same region. *Peering* means that the two VCNs can communicate using private IP addresses, but without the traffic traversing the internet or routing through your on-premises network. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (LocalPeeringGateway) String ¶

func (m LocalPeeringGateway) String() string

func (LocalPeeringGateway) ValidateEnumValue ¶

func (m LocalPeeringGateway) 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 LocalPeeringGatewayLifecycleStateEnum ¶

type LocalPeeringGatewayLifecycleStateEnum string

LocalPeeringGatewayLifecycleStateEnum Enum with underlying type: string

const (
	LocalPeeringGatewayLifecycleStateProvisioning LocalPeeringGatewayLifecycleStateEnum = "PROVISIONING"
	LocalPeeringGatewayLifecycleStateAvailable    LocalPeeringGatewayLifecycleStateEnum = "AVAILABLE"
	LocalPeeringGatewayLifecycleStateTerminating  LocalPeeringGatewayLifecycleStateEnum = "TERMINATING"
	LocalPeeringGatewayLifecycleStateTerminated   LocalPeeringGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for LocalPeeringGatewayLifecycleStateEnum

func GetLocalPeeringGatewayLifecycleStateEnumValues ¶

func GetLocalPeeringGatewayLifecycleStateEnumValues() []LocalPeeringGatewayLifecycleStateEnum

GetLocalPeeringGatewayLifecycleStateEnumValues Enumerates the set of values for LocalPeeringGatewayLifecycleStateEnum

func GetMappingLocalPeeringGatewayLifecycleStateEnum ¶

func GetMappingLocalPeeringGatewayLifecycleStateEnum(val string) (LocalPeeringGatewayLifecycleStateEnum, bool)

GetMappingLocalPeeringGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type LocalPeeringGatewayPeeringStatusEnum ¶

type LocalPeeringGatewayPeeringStatusEnum string

LocalPeeringGatewayPeeringStatusEnum Enum with underlying type: string

const (
	LocalPeeringGatewayPeeringStatusInvalid LocalPeeringGatewayPeeringStatusEnum = "INVALID"
	LocalPeeringGatewayPeeringStatusNew     LocalPeeringGatewayPeeringStatusEnum = "NEW"
	LocalPeeringGatewayPeeringStatusPeered  LocalPeeringGatewayPeeringStatusEnum = "PEERED"
	LocalPeeringGatewayPeeringStatusPending LocalPeeringGatewayPeeringStatusEnum = "PENDING"
	LocalPeeringGatewayPeeringStatusRevoked LocalPeeringGatewayPeeringStatusEnum = "REVOKED"
)

Set of constants representing the allowable values for LocalPeeringGatewayPeeringStatusEnum

func GetLocalPeeringGatewayPeeringStatusEnumValues ¶

func GetLocalPeeringGatewayPeeringStatusEnumValues() []LocalPeeringGatewayPeeringStatusEnum

GetLocalPeeringGatewayPeeringStatusEnumValues Enumerates the set of values for LocalPeeringGatewayPeeringStatusEnum

func GetMappingLocalPeeringGatewayPeeringStatusEnum ¶

func GetMappingLocalPeeringGatewayPeeringStatusEnum(val string) (LocalPeeringGatewayPeeringStatusEnum, bool)

GetMappingLocalPeeringGatewayPeeringStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type LoopBackDrgAttachmentNetworkDetails ¶ added in v65.48.0

type LoopBackDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"false" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target IPSec tunnel attachment.
	Ids []string `mandatory:"false" json:"ids"`
}

LoopBackDrgAttachmentNetworkDetails Specifies the loopback attachment on the DRG. A loopback attachment can be used to terminate a virtual circuit that is carrying an IPSec tunnel, routing traffic directly to the IPSec tunnel attachment where the tunnel can terminate.

func (LoopBackDrgAttachmentNetworkDetails) GetId ¶ added in v65.48.0

GetId returns Id

func (LoopBackDrgAttachmentNetworkDetails) MarshalJSON ¶ added in v65.48.0

func (m LoopBackDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoopBackDrgAttachmentNetworkDetails) String ¶ added in v65.48.0

func (LoopBackDrgAttachmentNetworkDetails) ValidateEnumValue ¶ added in v65.48.0

func (m LoopBackDrgAttachmentNetworkDetails) 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 MacsecEncryptionCipherEnum ¶

type MacsecEncryptionCipherEnum string

MacsecEncryptionCipherEnum Enum with underlying type: string

const (
	MacsecEncryptionCipherAes128Gcm    MacsecEncryptionCipherEnum = "AES128_GCM"
	MacsecEncryptionCipherAes128GcmXpn MacsecEncryptionCipherEnum = "AES128_GCM_XPN"
	MacsecEncryptionCipherAes256Gcm    MacsecEncryptionCipherEnum = "AES256_GCM"
	MacsecEncryptionCipherAes256GcmXpn MacsecEncryptionCipherEnum = "AES256_GCM_XPN"
)

Set of constants representing the allowable values for MacsecEncryptionCipherEnum

func GetMacsecEncryptionCipherEnumValues ¶

func GetMacsecEncryptionCipherEnumValues() []MacsecEncryptionCipherEnum

GetMacsecEncryptionCipherEnumValues Enumerates the set of values for MacsecEncryptionCipherEnum

func GetMappingMacsecEncryptionCipherEnum ¶

func GetMappingMacsecEncryptionCipherEnum(val string) (MacsecEncryptionCipherEnum, bool)

GetMappingMacsecEncryptionCipherEnum performs case Insensitive comparison on enum value and return the desired enum

type MacsecKey ¶

type MacsecKey struct {

	// Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key.
	ConnectivityAssociationNameSecretId *string `mandatory:"true" json:"connectivityAssociationNameSecretId"`

	// Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key.
	ConnectivityAssociationKeySecretId *string `mandatory:"true" json:"connectivityAssociationKeySecretId"`

	// The secret version of the connectivity association name secret in Vault.
	ConnectivityAssociationNameSecretVersion *int64 `mandatory:"false" json:"connectivityAssociationNameSecretVersion"`

	// The secret version of the `connectivityAssociationKey` secret in Vault.
	ConnectivityAssociationKeySecretVersion *int64 `mandatory:"false" json:"connectivityAssociationKeySecretVersion"`
}

MacsecKey An object defining the Secrets-in-Vault OCIDs representing the MACsec key.

func (MacsecKey) String ¶

func (m MacsecKey) String() string

func (MacsecKey) ValidateEnumValue ¶

func (m MacsecKey) 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 MacsecProperties ¶

type MacsecProperties struct {

	// Indicates whether or not MACsec is enabled.
	State MacsecStateEnum `mandatory:"true" json:"state"`

	PrimaryKey *MacsecKey `mandatory:"false" json:"primaryKey"`

	// Type of encryption cipher suite to use for the MACsec connection.
	EncryptionCipher MacsecEncryptionCipherEnum `mandatory:"false" json:"encryptionCipher,omitempty"`

	// Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
	IsUnprotectedTrafficAllowed *bool `mandatory:"false" json:"isUnprotectedTrafficAllowed"`
}

MacsecProperties Properties used for MACsec (if capable).

func (MacsecProperties) String ¶

func (m MacsecProperties) String() string

func (MacsecProperties) ValidateEnumValue ¶

func (m MacsecProperties) 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 MacsecStateEnum ¶

type MacsecStateEnum string

MacsecStateEnum Enum with underlying type: string

const (
	MacsecStateEnabled  MacsecStateEnum = "ENABLED"
	MacsecStateDisabled MacsecStateEnum = "DISABLED"
)

Set of constants representing the allowable values for MacsecStateEnum

func GetMacsecStateEnumValues ¶

func GetMacsecStateEnumValues() []MacsecStateEnum

GetMacsecStateEnumValues Enumerates the set of values for MacsecStateEnum

func GetMappingMacsecStateEnum ¶

func GetMappingMacsecStateEnum(val string) (MacsecStateEnum, bool)

GetMappingMacsecStateEnum performs case Insensitive comparison on enum value and return the desired enum

type MeasuredBootEntry ¶

type MeasuredBootEntry struct {

	// The index of the policy.
	PcrIndex *string `mandatory:"false" json:"pcrIndex"`

	// The hashed PCR value.
	Value *string `mandatory:"false" json:"value"`

	// The type of algorithm used to calculate the hash.
	HashAlgorithm *string `mandatory:"false" json:"hashAlgorithm"`
}

MeasuredBootEntry One Trusted Platform Module (TPM) Platform Configuration Register (PCR) entry. The entry might be measured during boot, or specified in a policy.

func (MeasuredBootEntry) String ¶

func (m MeasuredBootEntry) String() string

func (MeasuredBootEntry) ValidateEnumValue ¶

func (m MeasuredBootEntry) 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 MeasuredBootReport ¶

type MeasuredBootReport struct {

	// Whether the verification succeeded, and the new values match the expected values.
	IsPolicyVerificationSuccessful *bool `mandatory:"true" json:"isPolicyVerificationSuccessful"`

	Measurements *MeasuredBootReportMeasurements `mandatory:"false" json:"measurements"`
}

MeasuredBootReport The measured boot report for a shielded instance.

func (MeasuredBootReport) String ¶

func (m MeasuredBootReport) String() string

func (MeasuredBootReport) ValidateEnumValue ¶

func (m MeasuredBootReport) 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 MeasuredBootReportMeasurements ¶

type MeasuredBootReportMeasurements struct {

	// The list of expected PCR entries to use during verification.
	Policy []MeasuredBootEntry `mandatory:"false" json:"policy"`

	// The list of actual PCR entries measured during boot.
	Actual []MeasuredBootEntry `mandatory:"false" json:"actual"`
}

MeasuredBootReportMeasurements A list of Trusted Platform Module (TPM) Platform Configuration Register (PCR) entries.

func (MeasuredBootReportMeasurements) String ¶

func (MeasuredBootReportMeasurements) ValidateEnumValue ¶

func (m MeasuredBootReportMeasurements) 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 MemberReplica ¶

type MemberReplica struct {

	// The volume replica ID.
	VolumeReplicaId *string `mandatory:"true" json:"volumeReplicaId"`

	// Membership state of the volume replica in relation to the volume group replica.
	MembershipState MemberReplicaMembershipStateEnum `mandatory:"false" json:"membershipState,omitempty"`
}

MemberReplica OCIDs for the volume replicas in this volume group replica.

func (MemberReplica) String ¶

func (m MemberReplica) String() string

func (MemberReplica) ValidateEnumValue ¶

func (m MemberReplica) 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 MemberReplicaMembershipStateEnum ¶ added in v65.14.0

type MemberReplicaMembershipStateEnum string

MemberReplicaMembershipStateEnum Enum with underlying type: string

const (
	MemberReplicaMembershipStateAddPending    MemberReplicaMembershipStateEnum = "ADD_PENDING"
	MemberReplicaMembershipStateStable        MemberReplicaMembershipStateEnum = "STABLE"
	MemberReplicaMembershipStateRemovePending MemberReplicaMembershipStateEnum = "REMOVE_PENDING"
)

Set of constants representing the allowable values for MemberReplicaMembershipStateEnum

func GetMappingMemberReplicaMembershipStateEnum ¶ added in v65.14.0

func GetMappingMemberReplicaMembershipStateEnum(val string) (MemberReplicaMembershipStateEnum, bool)

GetMappingMemberReplicaMembershipStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMemberReplicaMembershipStateEnumValues ¶ added in v65.14.0

func GetMemberReplicaMembershipStateEnumValues() []MemberReplicaMembershipStateEnum

GetMemberReplicaMembershipStateEnumValues Enumerates the set of values for MemberReplicaMembershipStateEnum

type ModifyVcnCidrDetails ¶

type ModifyVcnCidrDetails struct {

	// The CIDR IP address to update.
	OriginalCidrBlock *string `mandatory:"true" json:"originalCidrBlock"`

	// The new CIDR IP address.
	NewCidrBlock *string `mandatory:"true" json:"newCidrBlock"`
}

ModifyVcnCidrDetails Details for updating a CIDR block.

func (ModifyVcnCidrDetails) String ¶

func (m ModifyVcnCidrDetails) String() string

func (ModifyVcnCidrDetails) ValidateEnumValue ¶

func (m ModifyVcnCidrDetails) 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 ModifyVcnCidrRequest ¶

type ModifyVcnCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Details object for updating a VCN CIDR.
	ModifyVcnCidrDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// 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
}

ModifyVcnCidrRequest wrapper for the ModifyVcnCidr operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidrRequest.

func (ModifyVcnCidrRequest) BinaryRequestBody ¶

func (request ModifyVcnCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ModifyVcnCidrRequest) HTTPRequest ¶

func (request ModifyVcnCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ModifyVcnCidrRequest) RetryPolicy ¶

func (request ModifyVcnCidrRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ModifyVcnCidrRequest) String ¶

func (request ModifyVcnCidrRequest) String() string

func (ModifyVcnCidrRequest) ValidateEnumValue ¶

func (request ModifyVcnCidrRequest) 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 ModifyVcnCidrResponse ¶

type ModifyVcnCidrResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ModifyVcnCidrResponse wrapper for the ModifyVcnCidr operation

func (ModifyVcnCidrResponse) HTTPResponse ¶

func (response ModifyVcnCidrResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ModifyVcnCidrResponse) String ¶

func (response ModifyVcnCidrResponse) String() string

type MultipathDevice ¶

type MultipathDevice struct {

	// The volume's iSCSI IP address.
	// Example: `169.254.2.2`
	Ipv4 *string `mandatory:"true" json:"ipv4"`

	// The target volume's iSCSI Qualified Name in the format defined
	// by RFC 3720 (https://tools.ietf.org/html/rfc3720#page-32).
	// Example: `iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195`
	Iqn *string `mandatory:"true" json:"iqn"`

	// The volume's iSCSI port, usually port 860 or 3260.
	// Example: `3260`
	Port *int `mandatory:"false" json:"port"`
}

MultipathDevice Secondary multipath device, it uses the charUsername and chapSecret from primary volume attachment

func (MultipathDevice) String ¶

func (m MultipathDevice) String() string

func (MultipathDevice) ValidateEnumValue ¶

func (m MultipathDevice) 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 NatGateway ¶

type NatGateway struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains
	// the NAT gateway.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
	// NAT gateway.
	Id *string `mandatory:"true" json:"id"`

	// Whether the NAT gateway blocks traffic through it. The default is `false`.
	// Example: `true`
	BlockTraffic *bool `mandatory:"true" json:"blockTraffic"`

	// The NAT gateway's current state.
	LifecycleState NatGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The IP address associated with the NAT gateway.
	NatIp *string `mandatory:"true" json:"natIp"`

	// The date and time the NAT gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway
	// belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway.
	PublicIpId *string `mandatory:"false" json:"publicIpId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway.
	// If you don't specify a route table here, the NAT gateway is created without an associated route
	// table. The Networking service does NOT automatically associate the attached VCN's default route table
	// with the NAT gateway.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

NatGateway A NAT (Network Address Translation) gateway, which represents a router that lets instances without public IPs contact the public internet without exposing the instance to inbound internet traffic. For more information, see NAT Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/NATgateway.htm). To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (NatGateway) String ¶

func (m NatGateway) String() string

func (NatGateway) ValidateEnumValue ¶

func (m NatGateway) 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 NatGatewayLifecycleStateEnum ¶

type NatGatewayLifecycleStateEnum string

NatGatewayLifecycleStateEnum Enum with underlying type: string

const (
	NatGatewayLifecycleStateProvisioning NatGatewayLifecycleStateEnum = "PROVISIONING"
	NatGatewayLifecycleStateAvailable    NatGatewayLifecycleStateEnum = "AVAILABLE"
	NatGatewayLifecycleStateTerminating  NatGatewayLifecycleStateEnum = "TERMINATING"
	NatGatewayLifecycleStateTerminated   NatGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for NatGatewayLifecycleStateEnum

func GetMappingNatGatewayLifecycleStateEnum ¶

func GetMappingNatGatewayLifecycleStateEnum(val string) (NatGatewayLifecycleStateEnum, bool)

GetMappingNatGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNatGatewayLifecycleStateEnumValues ¶

func GetNatGatewayLifecycleStateEnumValues() []NatGatewayLifecycleStateEnum

GetNatGatewayLifecycleStateEnumValues Enumerates the set of values for NatGatewayLifecycleStateEnum

type NetworkSecurityGroup ¶

type NetworkSecurityGroup struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the network security group is in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	Id *string `mandatory:"true" json:"id"`

	// The network security group's current state.
	LifecycleState NetworkSecurityGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the network security group was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group's VCN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

NetworkSecurityGroup A *network security group* (NSG) provides virtual firewall rules for a specific set of Vnic in a VCN. Compare NSGs with SecurityList, which provide virtual firewall rules to all the VNICs in a *subnet*. A network security group consists of two items:

  • The set of Vnic that all have the same security rule needs (for example, a group of Compute instances all running the same application)
  • A set of NSG SecurityRule that apply to the VNICs in the group

After creating an NSG, you can add VNICs and security rules to it. For example, when you create an instance, you can specify one or more NSGs to add the instance to (see `CreateVnicDetails)`. Or you can add an existing instance to an NSG with `UpdateVnic`. To add security rules to an NSG, see `AddNetworkSecurityGroupSecurityRules`. To list the VNICs in an NSG, see `ListNetworkSecurityGroupVnics`. To list the security rules in an NSG, see `ListNetworkSecurityGroupSecurityRules`. For more information about network security groups, see `Network Security Groups (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm)`. **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example, Linux iptables, Windows firewall). If there are issues with some type of access to an instance, make sure all of the following are set correctly:

  • Any security rules in any NSGs the instance's VNIC belongs to
  • Any `SecurityList` associated with the instance's subnet
  • The instance's OS firewall rules

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (NetworkSecurityGroup) String ¶

func (m NetworkSecurityGroup) String() string

func (NetworkSecurityGroup) ValidateEnumValue ¶

func (m NetworkSecurityGroup) 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 NetworkSecurityGroupLifecycleStateEnum ¶

type NetworkSecurityGroupLifecycleStateEnum string

NetworkSecurityGroupLifecycleStateEnum Enum with underlying type: string

const (
	NetworkSecurityGroupLifecycleStateProvisioning NetworkSecurityGroupLifecycleStateEnum = "PROVISIONING"
	NetworkSecurityGroupLifecycleStateAvailable    NetworkSecurityGroupLifecycleStateEnum = "AVAILABLE"
	NetworkSecurityGroupLifecycleStateTerminating  NetworkSecurityGroupLifecycleStateEnum = "TERMINATING"
	NetworkSecurityGroupLifecycleStateTerminated   NetworkSecurityGroupLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for NetworkSecurityGroupLifecycleStateEnum

func GetMappingNetworkSecurityGroupLifecycleStateEnum ¶

func GetMappingNetworkSecurityGroupLifecycleStateEnum(val string) (NetworkSecurityGroupLifecycleStateEnum, bool)

GetMappingNetworkSecurityGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkSecurityGroupLifecycleStateEnumValues ¶

func GetNetworkSecurityGroupLifecycleStateEnumValues() []NetworkSecurityGroupLifecycleStateEnum

GetNetworkSecurityGroupLifecycleStateEnumValues Enumerates the set of values for NetworkSecurityGroupLifecycleStateEnum

type NetworkSecurityGroupVnic ¶

type NetworkSecurityGroupVnic struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent resource that the VNIC
	// is attached to (for example, a Compute instance).
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time the VNIC was added to the network security group, in the format
	// defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeAssociated *common.SDKTime `mandatory:"false" json:"timeAssociated"`
}

NetworkSecurityGroupVnic Information about a VNIC that belongs to a network security group.

func (NetworkSecurityGroupVnic) String ¶

func (m NetworkSecurityGroupVnic) String() string

func (NetworkSecurityGroupVnic) ValidateEnumValue ¶

func (m NetworkSecurityGroupVnic) 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 NetworkingTopology ¶

type NetworkingTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Lists entities that are limited during ingestion.
	// The values for the items in the list are the entity type names of the limitedEntities.
	// Example: `vcn`
	LimitedEntities []string `mandatory:"true" json:"limitedEntities"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

NetworkingTopology Defines the representation of a virtual network topology for a region. See Network Visualizer Documentation (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including conventions and pictures of symbols.

func (NetworkingTopology) GetEntities ¶

func (m NetworkingTopology) GetEntities() []interface{}

GetEntities returns Entities

func (NetworkingTopology) GetLimitedEntities ¶ added in v65.47.0

func (m NetworkingTopology) GetLimitedEntities() []string

GetLimitedEntities returns LimitedEntities

func (NetworkingTopology) GetRelationships ¶

func (m NetworkingTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (NetworkingTopology) GetTimeCreated ¶

func (m NetworkingTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (NetworkingTopology) MarshalJSON ¶

func (m NetworkingTopology) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (NetworkingTopology) String ¶

func (m NetworkingTopology) String() string

func (*NetworkingTopology) UnmarshalJSON ¶

func (m *NetworkingTopology) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (NetworkingTopology) ValidateEnumValue ¶

func (m NetworkingTopology) 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 ParavirtualizedVolumeAttachment ¶

type ParavirtualizedVolumeAttachment struct {

	// The availability domain of an instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the volume attachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the instance the volume is attached to.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The date and time the volume was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" json:"volumeId"`

	// The device name.
	Device *string `mandatory:"false" json:"device"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether the attachment was created in read-only mode.
	IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	IsShareable *bool `mandatory:"false" json:"isShareable"`

	// Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

	// Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
	IsMultipath *bool `mandatory:"false" json:"isMultipath"`

	// Flag indicating if this volume was created for the customer as part of a simplified launch.
	// Used to determine whether the volume requires deletion on instance termination.
	IsVolumeCreatedDuringLaunch *bool `mandatory:"false" json:"isVolumeCreatedDuringLaunch"`

	// The current state of the volume attachment.
	LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The iscsi login state of the volume attachment. For a Iscsi volume attachment,
	// all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
	IscsiLoginState VolumeAttachmentIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"`
}

ParavirtualizedVolumeAttachment A paravirtualized volume attachment.

func (ParavirtualizedVolumeAttachment) GetAvailabilityDomain ¶

func (m ParavirtualizedVolumeAttachment) GetAvailabilityDomain() *string

GetAvailabilityDomain returns AvailabilityDomain

func (ParavirtualizedVolumeAttachment) GetCompartmentId ¶

func (m ParavirtualizedVolumeAttachment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ParavirtualizedVolumeAttachment) GetDevice ¶

func (m ParavirtualizedVolumeAttachment) GetDevice() *string

GetDevice returns Device

func (ParavirtualizedVolumeAttachment) GetDisplayName ¶

func (m ParavirtualizedVolumeAttachment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ParavirtualizedVolumeAttachment) GetId ¶

GetId returns Id

func (ParavirtualizedVolumeAttachment) GetInstanceId ¶

func (m ParavirtualizedVolumeAttachment) GetInstanceId() *string

GetInstanceId returns InstanceId

func (ParavirtualizedVolumeAttachment) GetIsMultipath ¶

func (m ParavirtualizedVolumeAttachment) GetIsMultipath() *bool

GetIsMultipath returns IsMultipath

func (ParavirtualizedVolumeAttachment) GetIsPvEncryptionInTransitEnabled ¶

func (m ParavirtualizedVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool

GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled

func (ParavirtualizedVolumeAttachment) GetIsReadOnly ¶

func (m ParavirtualizedVolumeAttachment) GetIsReadOnly() *bool

GetIsReadOnly returns IsReadOnly

func (ParavirtualizedVolumeAttachment) GetIsShareable ¶

func (m ParavirtualizedVolumeAttachment) GetIsShareable() *bool

GetIsShareable returns IsShareable

func (ParavirtualizedVolumeAttachment) GetIsVolumeCreatedDuringLaunch ¶ added in v65.61.0

func (m ParavirtualizedVolumeAttachment) GetIsVolumeCreatedDuringLaunch() *bool

GetIsVolumeCreatedDuringLaunch returns IsVolumeCreatedDuringLaunch

func (ParavirtualizedVolumeAttachment) GetIscsiLoginState ¶

GetIscsiLoginState returns IscsiLoginState

func (ParavirtualizedVolumeAttachment) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (ParavirtualizedVolumeAttachment) GetTimeCreated ¶

func (m ParavirtualizedVolumeAttachment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ParavirtualizedVolumeAttachment) GetVolumeId ¶

func (m ParavirtualizedVolumeAttachment) GetVolumeId() *string

GetVolumeId returns VolumeId

func (ParavirtualizedVolumeAttachment) MarshalJSON ¶

func (m ParavirtualizedVolumeAttachment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ParavirtualizedVolumeAttachment) String ¶

func (ParavirtualizedVolumeAttachment) ValidateEnumValue ¶

func (m ParavirtualizedVolumeAttachment) 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 PeerRegionForRemotePeering ¶

type PeerRegionForRemotePeering struct {

	// The region's name.
	// Example: `us-phoenix-1`
	Name *string `mandatory:"true" json:"name"`
}

PeerRegionForRemotePeering Details about a region that supports remote VCN peering. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).

func (PeerRegionForRemotePeering) String ¶

func (PeerRegionForRemotePeering) ValidateEnumValue ¶

func (m PeerRegionForRemotePeering) 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 PercentageOfCoresEnabledOptions ¶ added in v65.4.0

type PercentageOfCoresEnabledOptions struct {

	// The minimum allowed percentage of cores enabled.
	Min *int `mandatory:"false" json:"min"`

	// The maximum allowed percentage of cores enabled.
	Max *int `mandatory:"false" json:"max"`

	// The default percentage of cores enabled.
	DefaultValue *int `mandatory:"false" json:"defaultValue"`
}

PercentageOfCoresEnabledOptions Configuration options for the percentage of cores enabled.

func (PercentageOfCoresEnabledOptions) String ¶ added in v65.4.0

func (PercentageOfCoresEnabledOptions) ValidateEnumValue ¶ added in v65.4.0

func (m PercentageOfCoresEnabledOptions) 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 PerformanceBasedAutotunePolicy ¶ added in v65.18.1

type PerformanceBasedAutotunePolicy struct {

	// This will be the maximum VPUs/GB performance level that the volume will be auto-tuned
	// temporarily based on performance monitoring.
	MaxVpusPerGB *int64 `mandatory:"true" json:"maxVpusPerGB"`
}

PerformanceBasedAutotunePolicy If a volume is being throttled at the current setting for a certain period of time, auto-tune will gradually increase the volume’s performance limited up to Maximum VPUs/GB. After the volume has been idle at the current setting for a certain period of time, auto-tune will gradually decrease the volume’s performance limited down to Default/Minimum VPUs/GB.

func (PerformanceBasedAutotunePolicy) MarshalJSON ¶ added in v65.18.1

func (m PerformanceBasedAutotunePolicy) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PerformanceBasedAutotunePolicy) String ¶ added in v65.18.1

func (PerformanceBasedAutotunePolicy) ValidateEnumValue ¶ added in v65.18.1

func (m PerformanceBasedAutotunePolicy) 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 PhaseOneConfigDetails ¶

type PhaseOneConfigDetails struct {

	// Indicates whether custom configuration is enabled for phase one options.
	IsCustomPhaseOneConfig *bool `mandatory:"false" json:"isCustomPhaseOneConfig"`

	// The custom authentication algorithm proposed during phase one tunnel negotiation.
	AuthenticationAlgorithm PhaseOneConfigDetailsAuthenticationAlgorithmEnum `mandatory:"false" json:"authenticationAlgorithm,omitempty"`

	// The custom encryption algorithm proposed during phase one tunnel negotiation.
	EncryptionAlgorithm PhaseOneConfigDetailsEncryptionAlgorithmEnum `mandatory:"false" json:"encryptionAlgorithm,omitempty"`

	// The custom Diffie-Hellman group proposed during phase one tunnel negotiation.
	DiffieHelmanGroup PhaseOneConfigDetailsDiffieHelmanGroupEnum `mandatory:"false" json:"diffieHelmanGroup,omitempty"`

	// Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The default is 28800 which is equivalent to 8 hours.
	LifetimeInSeconds *int `mandatory:"false" json:"lifetimeInSeconds"`
}

PhaseOneConfigDetails Configuration details for IKE phase one (ISAKMP) configuration parameters.

func (PhaseOneConfigDetails) String ¶

func (m PhaseOneConfigDetails) String() string

func (PhaseOneConfigDetails) ValidateEnumValue ¶

func (m PhaseOneConfigDetails) 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 PhaseOneConfigDetailsAuthenticationAlgorithmEnum ¶

type PhaseOneConfigDetailsAuthenticationAlgorithmEnum string

PhaseOneConfigDetailsAuthenticationAlgorithmEnum Enum with underlying type: string

const (
	PhaseOneConfigDetailsAuthenticationAlgorithmSha2384 PhaseOneConfigDetailsAuthenticationAlgorithmEnum = "SHA2_384"
	PhaseOneConfigDetailsAuthenticationAlgorithmSha2256 PhaseOneConfigDetailsAuthenticationAlgorithmEnum = "SHA2_256"
	PhaseOneConfigDetailsAuthenticationAlgorithmSha196  PhaseOneConfigDetailsAuthenticationAlgorithmEnum = "SHA1_96"
)

Set of constants representing the allowable values for PhaseOneConfigDetailsAuthenticationAlgorithmEnum

func GetMappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum ¶

func GetMappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum(val string) (PhaseOneConfigDetailsAuthenticationAlgorithmEnum, bool)

GetMappingPhaseOneConfigDetailsAuthenticationAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumValues ¶

func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumValues() []PhaseOneConfigDetailsAuthenticationAlgorithmEnum

GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumValues Enumerates the set of values for PhaseOneConfigDetailsAuthenticationAlgorithmEnum

type PhaseOneConfigDetailsDiffieHelmanGroupEnum ¶

type PhaseOneConfigDetailsDiffieHelmanGroupEnum string

PhaseOneConfigDetailsDiffieHelmanGroupEnum Enum with underlying type: string

const (
	PhaseOneConfigDetailsDiffieHelmanGroupGroup2  PhaseOneConfigDetailsDiffieHelmanGroupEnum = "GROUP2"
	PhaseOneConfigDetailsDiffieHelmanGroupGroup5  PhaseOneConfigDetailsDiffieHelmanGroupEnum = "GROUP5"
	PhaseOneConfigDetailsDiffieHelmanGroupGroup14 PhaseOneConfigDetailsDiffieHelmanGroupEnum = "GROUP14"
	PhaseOneConfigDetailsDiffieHelmanGroupGroup19 PhaseOneConfigDetailsDiffieHelmanGroupEnum = "GROUP19"
	PhaseOneConfigDetailsDiffieHelmanGroupGroup20 PhaseOneConfigDetailsDiffieHelmanGroupEnum = "GROUP20"
	PhaseOneConfigDetailsDiffieHelmanGroupGroup24 PhaseOneConfigDetailsDiffieHelmanGroupEnum = "GROUP24"
)

Set of constants representing the allowable values for PhaseOneConfigDetailsDiffieHelmanGroupEnum

func GetMappingPhaseOneConfigDetailsDiffieHelmanGroupEnum ¶

func GetMappingPhaseOneConfigDetailsDiffieHelmanGroupEnum(val string) (PhaseOneConfigDetailsDiffieHelmanGroupEnum, bool)

GetMappingPhaseOneConfigDetailsDiffieHelmanGroupEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumValues ¶

func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumValues() []PhaseOneConfigDetailsDiffieHelmanGroupEnum

GetPhaseOneConfigDetailsDiffieHelmanGroupEnumValues Enumerates the set of values for PhaseOneConfigDetailsDiffieHelmanGroupEnum

type PhaseOneConfigDetailsEncryptionAlgorithmEnum ¶

type PhaseOneConfigDetailsEncryptionAlgorithmEnum string

PhaseOneConfigDetailsEncryptionAlgorithmEnum Enum with underlying type: string

const (
	PhaseOneConfigDetailsEncryptionAlgorithm256Cbc PhaseOneConfigDetailsEncryptionAlgorithmEnum = "AES_256_CBC"
	PhaseOneConfigDetailsEncryptionAlgorithm192Cbc PhaseOneConfigDetailsEncryptionAlgorithmEnum = "AES_192_CBC"
	PhaseOneConfigDetailsEncryptionAlgorithm128Cbc PhaseOneConfigDetailsEncryptionAlgorithmEnum = "AES_128_CBC"
)

Set of constants representing the allowable values for PhaseOneConfigDetailsEncryptionAlgorithmEnum

func GetMappingPhaseOneConfigDetailsEncryptionAlgorithmEnum ¶

func GetMappingPhaseOneConfigDetailsEncryptionAlgorithmEnum(val string) (PhaseOneConfigDetailsEncryptionAlgorithmEnum, bool)

GetMappingPhaseOneConfigDetailsEncryptionAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumValues ¶

func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumValues() []PhaseOneConfigDetailsEncryptionAlgorithmEnum

GetPhaseOneConfigDetailsEncryptionAlgorithmEnumValues Enumerates the set of values for PhaseOneConfigDetailsEncryptionAlgorithmEnum

type PhaseTwoConfigDetails ¶

type PhaseTwoConfigDetails struct {

	// Indicates whether custom configuration is enabled for phase two options.
	IsCustomPhaseTwoConfig *bool `mandatory:"false" json:"isCustomPhaseTwoConfig"`

	// The authentication algorithm proposed during phase two tunnel negotiation.
	AuthenticationAlgorithm PhaseTwoConfigDetailsAuthenticationAlgorithmEnum `mandatory:"false" json:"authenticationAlgorithm,omitempty"`

	// The encryption algorithm proposed during phase two tunnel negotiation.
	EncryptionAlgorithm PhaseTwoConfigDetailsEncryptionAlgorithmEnum `mandatory:"false" json:"encryptionAlgorithm,omitempty"`

	// Lifetime in seconds for the IPSec session key set in phase two. The default is 3600 which is equivalent to 1 hour.
	LifetimeInSeconds *int `mandatory:"false" json:"lifetimeInSeconds"`

	// Indicates whether perfect forward secrecy (PFS) is enabled.
	IsPfsEnabled *bool `mandatory:"false" json:"isPfsEnabled"`

	// The Diffie-Hellman group used for PFS, if PFS is enabled.
	PfsDhGroup PhaseTwoConfigDetailsPfsDhGroupEnum `mandatory:"false" json:"pfsDhGroup,omitempty"`
}

PhaseTwoConfigDetails Configuration details for IPSec phase two configuration parameters.

func (PhaseTwoConfigDetails) String ¶

func (m PhaseTwoConfigDetails) String() string

func (PhaseTwoConfigDetails) ValidateEnumValue ¶

func (m PhaseTwoConfigDetails) 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 PhaseTwoConfigDetailsAuthenticationAlgorithmEnum ¶

type PhaseTwoConfigDetailsAuthenticationAlgorithmEnum string

PhaseTwoConfigDetailsAuthenticationAlgorithmEnum Enum with underlying type: string

const (
	PhaseTwoConfigDetailsAuthenticationAlgorithmSha2256128 PhaseTwoConfigDetailsAuthenticationAlgorithmEnum = "HMAC_SHA2_256_128"
	PhaseTwoConfigDetailsAuthenticationAlgorithmSha1128    PhaseTwoConfigDetailsAuthenticationAlgorithmEnum = "HMAC_SHA1_128"
)

Set of constants representing the allowable values for PhaseTwoConfigDetailsAuthenticationAlgorithmEnum

func GetMappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum ¶

func GetMappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum(val string) (PhaseTwoConfigDetailsAuthenticationAlgorithmEnum, bool)

GetMappingPhaseTwoConfigDetailsAuthenticationAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumValues ¶

func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumValues() []PhaseTwoConfigDetailsAuthenticationAlgorithmEnum

GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumValues Enumerates the set of values for PhaseTwoConfigDetailsAuthenticationAlgorithmEnum

type PhaseTwoConfigDetailsEncryptionAlgorithmEnum ¶

type PhaseTwoConfigDetailsEncryptionAlgorithmEnum string

PhaseTwoConfigDetailsEncryptionAlgorithmEnum Enum with underlying type: string

const (
	PhaseTwoConfigDetailsEncryptionAlgorithm256Gcm PhaseTwoConfigDetailsEncryptionAlgorithmEnum = "AES_256_GCM"
	PhaseTwoConfigDetailsEncryptionAlgorithm192Gcm PhaseTwoConfigDetailsEncryptionAlgorithmEnum = "AES_192_GCM"
	PhaseTwoConfigDetailsEncryptionAlgorithm128Gcm PhaseTwoConfigDetailsEncryptionAlgorithmEnum = "AES_128_GCM"
	PhaseTwoConfigDetailsEncryptionAlgorithm256Cbc PhaseTwoConfigDetailsEncryptionAlgorithmEnum = "AES_256_CBC"
	PhaseTwoConfigDetailsEncryptionAlgorithm192Cbc PhaseTwoConfigDetailsEncryptionAlgorithmEnum = "AES_192_CBC"
	PhaseTwoConfigDetailsEncryptionAlgorithm128Cbc PhaseTwoConfigDetailsEncryptionAlgorithmEnum = "AES_128_CBC"
)

Set of constants representing the allowable values for PhaseTwoConfigDetailsEncryptionAlgorithmEnum

func GetMappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum ¶

func GetMappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum(val string) (PhaseTwoConfigDetailsEncryptionAlgorithmEnum, bool)

GetMappingPhaseTwoConfigDetailsEncryptionAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumValues ¶

func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumValues() []PhaseTwoConfigDetailsEncryptionAlgorithmEnum

GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumValues Enumerates the set of values for PhaseTwoConfigDetailsEncryptionAlgorithmEnum

type PhaseTwoConfigDetailsPfsDhGroupEnum ¶

type PhaseTwoConfigDetailsPfsDhGroupEnum string

PhaseTwoConfigDetailsPfsDhGroupEnum Enum with underlying type: string

const (
	PhaseTwoConfigDetailsPfsDhGroupGroup2  PhaseTwoConfigDetailsPfsDhGroupEnum = "GROUP2"
	PhaseTwoConfigDetailsPfsDhGroupGroup5  PhaseTwoConfigDetailsPfsDhGroupEnum = "GROUP5"
	PhaseTwoConfigDetailsPfsDhGroupGroup14 PhaseTwoConfigDetailsPfsDhGroupEnum = "GROUP14"
	PhaseTwoConfigDetailsPfsDhGroupGroup19 PhaseTwoConfigDetailsPfsDhGroupEnum = "GROUP19"
	PhaseTwoConfigDetailsPfsDhGroupGroup20 PhaseTwoConfigDetailsPfsDhGroupEnum = "GROUP20"
	PhaseTwoConfigDetailsPfsDhGroupGroup24 PhaseTwoConfigDetailsPfsDhGroupEnum = "GROUP24"
)

Set of constants representing the allowable values for PhaseTwoConfigDetailsPfsDhGroupEnum

func GetMappingPhaseTwoConfigDetailsPfsDhGroupEnum ¶

func GetMappingPhaseTwoConfigDetailsPfsDhGroupEnum(val string) (PhaseTwoConfigDetailsPfsDhGroupEnum, bool)

GetMappingPhaseTwoConfigDetailsPfsDhGroupEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPhaseTwoConfigDetailsPfsDhGroupEnumValues ¶

func GetPhaseTwoConfigDetailsPfsDhGroupEnumValues() []PhaseTwoConfigDetailsPfsDhGroupEnum

GetPhaseTwoConfigDetailsPfsDhGroupEnumValues Enumerates the set of values for PhaseTwoConfigDetailsPfsDhGroupEnum

type PlatformConfig ¶

type PlatformConfig interface {

	// Whether Secure Boot is enabled on the instance.
	GetIsSecureBootEnabled() *bool

	// Whether the Trusted Platform Module (TPM) is enabled on the instance.
	GetIsTrustedPlatformModuleEnabled() *bool

	// Whether the Measured Boot feature is enabled on the instance.
	GetIsMeasuredBootEnabled() *bool

	// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
	GetIsMemoryEncryptionEnabled() *bool
}

PlatformConfig The platform configuration for the instance.

type PlatformConfigTypeEnum ¶

type PlatformConfigTypeEnum string

PlatformConfigTypeEnum Enum with underlying type: string

const (
	PlatformConfigTypeAmdMilanBm     PlatformConfigTypeEnum = "AMD_MILAN_BM"
	PlatformConfigTypeAmdMilanBmGpu  PlatformConfigTypeEnum = "AMD_MILAN_BM_GPU"
	PlatformConfigTypeAmdRomeBm      PlatformConfigTypeEnum = "AMD_ROME_BM"
	PlatformConfigTypeAmdRomeBmGpu   PlatformConfigTypeEnum = "AMD_ROME_BM_GPU"
	PlatformConfigTypeGenericBm      PlatformConfigTypeEnum = "GENERIC_BM"
	PlatformConfigTypeIntelIcelakeBm PlatformConfigTypeEnum = "INTEL_ICELAKE_BM"
	PlatformConfigTypeIntelSkylakeBm PlatformConfigTypeEnum = "INTEL_SKYLAKE_BM"
	PlatformConfigTypeAmdVm          PlatformConfigTypeEnum = "AMD_VM"
	PlatformConfigTypeIntelVm        PlatformConfigTypeEnum = "INTEL_VM"
)

Set of constants representing the allowable values for PlatformConfigTypeEnum

func GetMappingPlatformConfigTypeEnum ¶

func GetMappingPlatformConfigTypeEnum(val string) (PlatformConfigTypeEnum, bool)

GetMappingPlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPlatformConfigTypeEnumValues ¶

func GetPlatformConfigTypeEnumValues() []PlatformConfigTypeEnum

GetPlatformConfigTypeEnumValues Enumerates the set of values for PlatformConfigTypeEnum

type PortRange ¶

type PortRange struct {

	// The maximum port number, which must not be less than the minimum port number. To specify
	// a single port number, set both the min and max to the same value.
	Max *int `mandatory:"true" json:"max"`

	// The minimum port number, which must not be greater than the maximum port number.
	Min *int `mandatory:"true" json:"min"`
}

PortRange The representation of PortRange

func (PortRange) String ¶

func (m PortRange) String() string

func (PortRange) ValidateEnumValue ¶

func (m PortRange) 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 PreemptibleInstanceConfigDetails ¶

type PreemptibleInstanceConfigDetails struct {
	PreemptionAction PreemptionAction `mandatory:"true" json:"preemptionAction"`
}

PreemptibleInstanceConfigDetails Configuration options for preemptible instances.

func (PreemptibleInstanceConfigDetails) String ¶

func (*PreemptibleInstanceConfigDetails) UnmarshalJSON ¶

func (m *PreemptibleInstanceConfigDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (PreemptibleInstanceConfigDetails) ValidateEnumValue ¶

func (m PreemptibleInstanceConfigDetails) 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 PreemptionAction ¶

type PreemptionAction interface {
}

PreemptionAction The action to run when the preemptible instance is interrupted for eviction.

type PreemptionActionTypeEnum ¶

type PreemptionActionTypeEnum string

PreemptionActionTypeEnum Enum with underlying type: string

const (
	PreemptionActionTypeTerminate PreemptionActionTypeEnum = "TERMINATE"
)

Set of constants representing the allowable values for PreemptionActionTypeEnum

func GetMappingPreemptionActionTypeEnum ¶

func GetMappingPreemptionActionTypeEnum(val string) (PreemptionActionTypeEnum, bool)

GetMappingPreemptionActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPreemptionActionTypeEnumValues ¶

func GetPreemptionActionTypeEnumValues() []PreemptionActionTypeEnum

GetPreemptionActionTypeEnumValues Enumerates the set of values for PreemptionActionTypeEnum

type PrivateIp ¶

type PrivateIp struct {

	// The private IP's availability domain. This attribute will be null if this is a *secondary*
	// private IP assigned to a VNIC that is in a *regional* subnet.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the private IP.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The hostname for the private IP. Used for DNS. The value is the hostname
	// portion of the private IP's fully qualified domain name (FQDN)
	// (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `bminstance1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// The private IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"false" json:"id"`

	// The private IP address of the `privateIp` object. The address is within the CIDR
	// of the VNIC's subnet.
	// However, if the `PrivateIp` object is being used with a VLAN as part of
	// the Oracle Cloud VMware Solution, the address is from the range specified by the
	// `cidrBlock` attribute for the VLAN. See Vlan.
	// Example: `10.0.3.3`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// Whether this private IP is the primary one on the VNIC. Primary private IPs
	// are unassigned and deleted automatically when the VNIC is terminated.
	// Example: `true`
	IsPrimary *bool `mandatory:"false" json:"isPrimary"`

	// Applicable only if the `PrivateIp` object is being used with a VLAN as part of
	// the Oracle Cloud VMware Solution. The `vlanId` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See
	// Vlan.
	VlanId *string `mandatory:"false" json:"vlanId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
	// However, if the `PrivateIp` object is being used with a VLAN as part of
	// the Oracle Cloud VMware Solution, the `subnetId` is null.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// The date and time the private IP was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the private IP is assigned to. The VNIC and private IP
	// must be in the same subnet.
	// However, if the `PrivateIp` object is being used with a VLAN as part of
	// the Oracle Cloud VMware Solution, the `vnicId` is null.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

PrivateIp A *private IP* is a conceptual term that refers to an IPv4 private IP address and related properties. The `privateIp` object is the API representation of a private IP. **Note:** For information about IPv6 addresses, see Ipv6. Each instance has a *primary private IP* that is automatically created and assigned to the primary VNIC during instance launch. If you add a secondary VNIC to the instance, it also automatically gets a primary private IP. You can't remove a primary private IP from its VNIC. The primary private IP is automatically deleted when the VNIC is terminated. You can add *secondary private IPs* to a VNIC after it's created. For more information, see the `privateIp` operations and also IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). **Note:** Only ListPrivateIps and GetPrivateIp work with *primary* private IPs. To create and update primary private IPs, you instead work with instance and VNIC operations. For example, a primary private IP's properties come from the values you specify in CreateVnicDetails when calling either LaunchInstance or AttachVnic. To update the hostname for a primary private IP, you use `UpdateVnic`. `PrivateIp` objects that are created for use with the Oracle Cloud VMware Solution are assigned to a VLAN and not a VNIC in a subnet. See the descriptions of the relevant attributes in the `PrivateIp` object. Also see Vlan. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (PrivateIp) String ¶

func (m PrivateIp) String() string

func (PrivateIp) ValidateEnumValue ¶

func (m PrivateIp) 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 PublicIp ¶

type PublicIp struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity the public IP is assigned to, or in the process of
	// being assigned to.
	AssignedEntityId *string `mandatory:"false" json:"assignedEntityId"`

	// The type of entity the public IP is assigned to, or in the process of being
	// assigned to.
	AssignedEntityType PublicIpAssignedEntityTypeEnum `mandatory:"false" json:"assignedEntityType,omitempty"`

	// The public IP's availability domain. This property is set only for ephemeral public IPs
	// that are assigned to a private IP (that is, when the `scope` of the public IP is set to
	// AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private IP.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP. For an ephemeral public IP, this is
	// the compartment of its assigned entity (which can be a private IP or a regional entity such
	// as a NAT gateway). For a reserved public IP that is currently assigned,
	// its compartment can be different from the assigned private IP's.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The public IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"false" json:"id"`

	// The public IP address of the `publicIp` object.
	// Example: `203.0.113.2`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// The public IP's current state.
	LifecycleState PublicIpLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Defines when the public IP is deleted and released back to Oracle's public IP pool.
	// * `EPHEMERAL`: The lifetime is tied to the lifetime of its assigned entity. An ephemeral
	// public IP must always be assigned to an entity. If the assigned entity is a private IP,
	// the ephemeral public IP is automatically deleted when the private IP is deleted, when
	// the VNIC is terminated, or when the instance is terminated. If the assigned entity is a
	// NatGateway, the ephemeral public IP is automatically
	// deleted when the NAT gateway is terminated.
	// * `RESERVED`: You control the public IP's lifetime. You can delete a reserved public IP
	// whenever you like. It does not need to be assigned to a private IP at all times.
	// For more information and comparison of the two types,
	// see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
	Lifetime PublicIpLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"`

	// Deprecated. Use `assignedEntityId` instead.
	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the
	// process of being assigned to.
	// **Note:** This is `null` if the public IP is not assigned to a private IP, or is
	// in the process of being assigned to one.
	PrivateIpId *string `mandatory:"false" json:"privateIpId"`

	// Whether the public IP is regional or specific to a particular availability domain.
	// * `REGION`: The public IP exists within a region and is assigned to a regional entity
	// (such as a NatGateway), or can be assigned to a private
	// IP in any availability domain in the region. Reserved public IPs and ephemeral public IPs
	// assigned to a regional entity have `scope` = `REGION`.
	// * `AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the entity
	// it's assigned to, which is specified by the `availabilityDomain` property of the public IP object.
	// Ephemeral public IPs that are assigned to private IPs have `scope` = `AVAILABILITY_DOMAIN`.
	Scope PublicIpScopeEnum `mandatory:"false" json:"scope,omitempty"`

	// The date and time the public IP was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool object created in the current tenancy.
	PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"`
}

PublicIp A *public IP* is a conceptual term that refers to a public IP address and related properties. The `publicIp` object is the API representation of a public IP. There are two types of public IPs: 1. Ephemeral 2. Reserved For more information and comparison of the two types, see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).

func (PublicIp) String ¶

func (m PublicIp) String() string

func (PublicIp) ValidateEnumValue ¶

func (m PublicIp) 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 PublicIpAssignedEntityTypeEnum ¶

type PublicIpAssignedEntityTypeEnum string

PublicIpAssignedEntityTypeEnum Enum with underlying type: string

const (
	PublicIpAssignedEntityTypePrivateIp  PublicIpAssignedEntityTypeEnum = "PRIVATE_IP"
	PublicIpAssignedEntityTypeNatGateway PublicIpAssignedEntityTypeEnum = "NAT_GATEWAY"
)

Set of constants representing the allowable values for PublicIpAssignedEntityTypeEnum

func GetMappingPublicIpAssignedEntityTypeEnum ¶

func GetMappingPublicIpAssignedEntityTypeEnum(val string) (PublicIpAssignedEntityTypeEnum, bool)

GetMappingPublicIpAssignedEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPublicIpAssignedEntityTypeEnumValues ¶

func GetPublicIpAssignedEntityTypeEnumValues() []PublicIpAssignedEntityTypeEnum

GetPublicIpAssignedEntityTypeEnumValues Enumerates the set of values for PublicIpAssignedEntityTypeEnum

type PublicIpLifecycleStateEnum ¶

type PublicIpLifecycleStateEnum string

PublicIpLifecycleStateEnum Enum with underlying type: string

const (
	PublicIpLifecycleStateProvisioning PublicIpLifecycleStateEnum = "PROVISIONING"
	PublicIpLifecycleStateAvailable    PublicIpLifecycleStateEnum = "AVAILABLE"
	PublicIpLifecycleStateAssigning    PublicIpLifecycleStateEnum = "ASSIGNING"
	PublicIpLifecycleStateAssigned     PublicIpLifecycleStateEnum = "ASSIGNED"
	PublicIpLifecycleStateUnassigning  PublicIpLifecycleStateEnum = "UNASSIGNING"
	PublicIpLifecycleStateUnassigned   PublicIpLifecycleStateEnum = "UNASSIGNED"
	PublicIpLifecycleStateTerminating  PublicIpLifecycleStateEnum = "TERMINATING"
	PublicIpLifecycleStateTerminated   PublicIpLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for PublicIpLifecycleStateEnum

func GetMappingPublicIpLifecycleStateEnum ¶

func GetMappingPublicIpLifecycleStateEnum(val string) (PublicIpLifecycleStateEnum, bool)

GetMappingPublicIpLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPublicIpLifecycleStateEnumValues ¶

func GetPublicIpLifecycleStateEnumValues() []PublicIpLifecycleStateEnum

GetPublicIpLifecycleStateEnumValues Enumerates the set of values for PublicIpLifecycleStateEnum

type PublicIpLifetimeEnum ¶

type PublicIpLifetimeEnum string

PublicIpLifetimeEnum Enum with underlying type: string

const (
	PublicIpLifetimeEphemeral PublicIpLifetimeEnum = "EPHEMERAL"
	PublicIpLifetimeReserved  PublicIpLifetimeEnum = "RESERVED"
)

Set of constants representing the allowable values for PublicIpLifetimeEnum

func GetMappingPublicIpLifetimeEnum ¶

func GetMappingPublicIpLifetimeEnum(val string) (PublicIpLifetimeEnum, bool)

GetMappingPublicIpLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPublicIpLifetimeEnumValues ¶

func GetPublicIpLifetimeEnumValues() []PublicIpLifetimeEnum

GetPublicIpLifetimeEnumValues Enumerates the set of values for PublicIpLifetimeEnum

type PublicIpPool ¶

type PublicIpPool struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the public IP pool was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block.
	CidrBlocks []string `mandatory:"false" json:"cidrBlocks"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The public IP pool's current state.
	LifecycleState PublicIpPoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

PublicIpPool A public IP pool is a set of public IP addresses represented as one or more IPv4 CIDR blocks. Resources like load balancers and compute instances can be allocated public IP addresses from a public IP pool.

func (PublicIpPool) String ¶

func (m PublicIpPool) String() string

func (PublicIpPool) ValidateEnumValue ¶

func (m PublicIpPool) 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 PublicIpPoolCollection ¶

type PublicIpPoolCollection struct {

	// A list of public IP pool summaries.
	Items []PublicIpPoolSummary `mandatory:"true" json:"items"`
}

PublicIpPoolCollection Results of a `ListPublicIpPool` operation.

func (PublicIpPoolCollection) String ¶

func (m PublicIpPoolCollection) String() string

func (PublicIpPoolCollection) ValidateEnumValue ¶

func (m PublicIpPoolCollection) 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 PublicIpPoolLifecycleStateEnum ¶

type PublicIpPoolLifecycleStateEnum string

PublicIpPoolLifecycleStateEnum Enum with underlying type: string

const (
	PublicIpPoolLifecycleStateInactive PublicIpPoolLifecycleStateEnum = "INACTIVE"
	PublicIpPoolLifecycleStateUpdating PublicIpPoolLifecycleStateEnum = "UPDATING"
	PublicIpPoolLifecycleStateActive   PublicIpPoolLifecycleStateEnum = "ACTIVE"
	PublicIpPoolLifecycleStateDeleting PublicIpPoolLifecycleStateEnum = "DELETING"
	PublicIpPoolLifecycleStateDeleted  PublicIpPoolLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for PublicIpPoolLifecycleStateEnum

func GetMappingPublicIpPoolLifecycleStateEnum ¶

func GetMappingPublicIpPoolLifecycleStateEnum(val string) (PublicIpPoolLifecycleStateEnum, bool)

GetMappingPublicIpPoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPublicIpPoolLifecycleStateEnumValues ¶

func GetPublicIpPoolLifecycleStateEnumValues() []PublicIpPoolLifecycleStateEnum

GetPublicIpPoolLifecycleStateEnumValues Enumerates the set of values for PublicIpPoolLifecycleStateEnum

type PublicIpPoolSummary ¶

type PublicIpPoolSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	Id *string `mandatory:"false" json:"id"`

	// The public IP pool's current state.
	LifecycleState PublicIpPoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the public IP pool was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

PublicIpPoolSummary Summary information about a public IP pool.

func (PublicIpPoolSummary) String ¶

func (m PublicIpPoolSummary) String() string

func (PublicIpPoolSummary) ValidateEnumValue ¶

func (m PublicIpPoolSummary) 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 PublicIpScopeEnum ¶

type PublicIpScopeEnum string

PublicIpScopeEnum Enum with underlying type: string

const (
	PublicIpScopeRegion             PublicIpScopeEnum = "REGION"
	PublicIpScopeAvailabilityDomain PublicIpScopeEnum = "AVAILABILITY_DOMAIN"
)

Set of constants representing the allowable values for PublicIpScopeEnum

func GetMappingPublicIpScopeEnum ¶

func GetMappingPublicIpScopeEnum(val string) (PublicIpScopeEnum, bool)

GetMappingPublicIpScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPublicIpScopeEnumValues ¶

func GetPublicIpScopeEnumValues() []PublicIpScopeEnum

GetPublicIpScopeEnumValues Enumerates the set of values for PublicIpScopeEnum

type RebootMigrateActionDetails ¶ added in v65.13.0

type RebootMigrateActionDetails struct {

	// For bare metal instances that have local storage, this must be set to true to verify that the local storage
	// will be deleted during the migration.  For instances without, this parameter has no effect.
	DeleteLocalStorage *bool `mandatory:"false" json:"deleteLocalStorage"`

	// If present, this parameter will set (or reset) the scheduled time that the instance will be reboot
	// migrated in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).  This will also change
	// the `timeMaintenanceRebootDue` field on the instance.
	// If not present, the reboot migration will be triggered immediately.
	TimeScheduled *common.SDKTime `mandatory:"false" json:"timeScheduled"`
}

RebootMigrateActionDetails Parameters for the `rebootMigrate` InstanceAction.

func (RebootMigrateActionDetails) MarshalJSON ¶ added in v65.13.0

func (m RebootMigrateActionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RebootMigrateActionDetails) String ¶ added in v65.13.0

func (RebootMigrateActionDetails) ValidateEnumValue ¶ added in v65.13.0

func (m RebootMigrateActionDetails) 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 RemotePeeringConnection ¶

type RemotePeeringConnection struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the RPC.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that this RPC belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC.
	Id *string `mandatory:"true" json:"id"`

	// Whether the VCN at the other end of the peering is in a different tenancy.
	// Example: `false`
	IsCrossTenancyPeering *bool `mandatory:"true" json:"isCrossTenancyPeering"`

	// The RPC's current lifecycle state.
	LifecycleState RemotePeeringConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Whether the RPC is peered with another RPC. `NEW` means the RPC has not yet been
	// peered. `PENDING` means the peering is being established. `REVOKED` means the
	// RPC at the other end of the peering has been deleted.
	PeeringStatus RemotePeeringConnectionPeeringStatusEnum `mandatory:"true" json:"peeringStatus"`

	// The date and time the RPC was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// If this RPC is peered, this value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC.
	PeerId *string `mandatory:"false" json:"peerId"`

	// If this RPC is peered, this value is the region that contains the other RPC.
	// Example: `us-ashburn-1`
	PeerRegionName *string `mandatory:"false" json:"peerRegionName"`

	// If this RPC is peered, this value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC's tenancy.
	PeerTenancyId *string `mandatory:"false" json:"peerTenancyId"`
}

RemotePeeringConnection A remote peering connection (RPC) is an object on a DRG that lets the VCN that is attached to the DRG peer with a VCN in a different region. *Peering* means that the two VCNs can communicate using private IP addresses, but without the traffic traversing the internet or routing through your on-premises network. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (RemotePeeringConnection) String ¶

func (m RemotePeeringConnection) String() string

func (RemotePeeringConnection) ValidateEnumValue ¶

func (m RemotePeeringConnection) 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 RemotePeeringConnectionDrgAttachmentNetworkDetails ¶

type RemotePeeringConnectionDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"false" json:"id"`
}

RemotePeeringConnectionDrgAttachmentNetworkDetails Specifies the DRG attachment to another DRG.

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) String ¶

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) ValidateEnumValue ¶

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 RemotePeeringConnectionLifecycleStateEnum ¶

type RemotePeeringConnectionLifecycleStateEnum string

RemotePeeringConnectionLifecycleStateEnum Enum with underlying type: string

const (
	RemotePeeringConnectionLifecycleStateAvailable    RemotePeeringConnectionLifecycleStateEnum = "AVAILABLE"
	RemotePeeringConnectionLifecycleStateProvisioning RemotePeeringConnectionLifecycleStateEnum = "PROVISIONING"
	RemotePeeringConnectionLifecycleStateTerminating  RemotePeeringConnectionLifecycleStateEnum = "TERMINATING"
	RemotePeeringConnectionLifecycleStateTerminated   RemotePeeringConnectionLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for RemotePeeringConnectionLifecycleStateEnum

func GetMappingRemotePeeringConnectionLifecycleStateEnum ¶

func GetMappingRemotePeeringConnectionLifecycleStateEnum(val string) (RemotePeeringConnectionLifecycleStateEnum, bool)

GetMappingRemotePeeringConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemotePeeringConnectionLifecycleStateEnumValues ¶

func GetRemotePeeringConnectionLifecycleStateEnumValues() []RemotePeeringConnectionLifecycleStateEnum

GetRemotePeeringConnectionLifecycleStateEnumValues Enumerates the set of values for RemotePeeringConnectionLifecycleStateEnum

type RemotePeeringConnectionPeeringStatusEnum ¶

type RemotePeeringConnectionPeeringStatusEnum string

RemotePeeringConnectionPeeringStatusEnum Enum with underlying type: string

const (
	RemotePeeringConnectionPeeringStatusInvalid RemotePeeringConnectionPeeringStatusEnum = "INVALID"
	RemotePeeringConnectionPeeringStatusNew     RemotePeeringConnectionPeeringStatusEnum = "NEW"
	RemotePeeringConnectionPeeringStatusPending RemotePeeringConnectionPeeringStatusEnum = "PENDING"
	RemotePeeringConnectionPeeringStatusPeered  RemotePeeringConnectionPeeringStatusEnum = "PEERED"
	RemotePeeringConnectionPeeringStatusRevoked RemotePeeringConnectionPeeringStatusEnum = "REVOKED"
)

Set of constants representing the allowable values for RemotePeeringConnectionPeeringStatusEnum

func GetMappingRemotePeeringConnectionPeeringStatusEnum ¶

func GetMappingRemotePeeringConnectionPeeringStatusEnum(val string) (RemotePeeringConnectionPeeringStatusEnum, bool)

GetMappingRemotePeeringConnectionPeeringStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRemotePeeringConnectionPeeringStatusEnumValues ¶

func GetRemotePeeringConnectionPeeringStatusEnumValues() []RemotePeeringConnectionPeeringStatusEnum

GetRemotePeeringConnectionPeeringStatusEnumValues Enumerates the set of values for RemotePeeringConnectionPeeringStatusEnum

type RemoveDrgRouteDistributionStatementsDetails ¶

type RemoveDrgRouteDistributionStatementsDetails struct {

	// The Oracle-assigned ID of each route distribution to remove.
	StatementIds []string `mandatory:"false" json:"statementIds"`
}

RemoveDrgRouteDistributionStatementsDetails Details request to remove statements from a route distribution.

func (RemoveDrgRouteDistributionStatementsDetails) String ¶

func (RemoveDrgRouteDistributionStatementsDetails) ValidateEnumValue ¶

func (m RemoveDrgRouteDistributionStatementsDetails) 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 RemoveDrgRouteDistributionStatementsRequest ¶

type RemoveDrgRouteDistributionStatementsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// Request with one or more route distribution statements to remove from the route distribution.
	RemoveDrgRouteDistributionStatementsDetails `contributesTo:"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 `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
}

RemoveDrgRouteDistributionStatementsRequest wrapper for the RemoveDrgRouteDistributionStatements operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatementsRequest.

func (RemoveDrgRouteDistributionStatementsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemoveDrgRouteDistributionStatementsRequest) HTTPRequest ¶

func (request RemoveDrgRouteDistributionStatementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveDrgRouteDistributionStatementsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveDrgRouteDistributionStatementsRequest) String ¶

func (RemoveDrgRouteDistributionStatementsRequest) ValidateEnumValue ¶

func (request RemoveDrgRouteDistributionStatementsRequest) 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 RemoveDrgRouteDistributionStatementsResponse ¶

type RemoveDrgRouteDistributionStatementsResponse 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"`
}

RemoveDrgRouteDistributionStatementsResponse wrapper for the RemoveDrgRouteDistributionStatements operation

func (RemoveDrgRouteDistributionStatementsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RemoveDrgRouteDistributionStatementsResponse) String ¶

type RemoveDrgRouteRulesDetails ¶

type RemoveDrgRouteRulesDetails struct {

	// The Oracle-assigned ID of each DRG route rule to be deleted.
	RouteRuleIds []string `mandatory:"false" json:"routeRuleIds"`
}

RemoveDrgRouteRulesDetails Details used in a request to remove static routes from a DRG route table.

func (RemoveDrgRouteRulesDetails) String ¶

func (RemoveDrgRouteRulesDetails) ValidateEnumValue ¶

func (m RemoveDrgRouteRulesDetails) 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 RemoveDrgRouteRulesRequest ¶

type RemoveDrgRouteRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// Request to remove one or more route rules in the DRG route table.
	RemoveDrgRouteRulesDetails `contributesTo:"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 `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
}

RemoveDrgRouteRulesRequest wrapper for the RemoveDrgRouteRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRulesRequest.

func (RemoveDrgRouteRulesRequest) BinaryRequestBody ¶

func (request RemoveDrgRouteRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveDrgRouteRulesRequest) HTTPRequest ¶

func (request RemoveDrgRouteRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveDrgRouteRulesRequest) RetryPolicy ¶

func (request RemoveDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveDrgRouteRulesRequest) String ¶

func (request RemoveDrgRouteRulesRequest) String() string

func (RemoveDrgRouteRulesRequest) ValidateEnumValue ¶

func (request RemoveDrgRouteRulesRequest) 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 RemoveDrgRouteRulesResponse ¶

type RemoveDrgRouteRulesResponse 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"`
}

RemoveDrgRouteRulesResponse wrapper for the RemoveDrgRouteRules operation

func (RemoveDrgRouteRulesResponse) HTTPResponse ¶

func (response RemoveDrgRouteRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveDrgRouteRulesResponse) String ¶

func (response RemoveDrgRouteRulesResponse) String() string

type RemoveExportDrgRouteDistributionRequest ¶

type RemoveExportDrgRouteDistributionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
	DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

RemoveExportDrgRouteDistributionRequest wrapper for the RemoveExportDrgRouteDistribution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistributionRequest.

func (RemoveExportDrgRouteDistributionRequest) BinaryRequestBody ¶

func (request RemoveExportDrgRouteDistributionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveExportDrgRouteDistributionRequest) HTTPRequest ¶

func (request RemoveExportDrgRouteDistributionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveExportDrgRouteDistributionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveExportDrgRouteDistributionRequest) String ¶

func (RemoveExportDrgRouteDistributionRequest) ValidateEnumValue ¶

func (request RemoveExportDrgRouteDistributionRequest) 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 RemoveExportDrgRouteDistributionResponse ¶

type RemoveExportDrgRouteDistributionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgAttachment instance
	DrgAttachment `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"`
}

RemoveExportDrgRouteDistributionResponse wrapper for the RemoveExportDrgRouteDistribution operation

func (RemoveExportDrgRouteDistributionResponse) HTTPResponse ¶

func (response RemoveExportDrgRouteDistributionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveExportDrgRouteDistributionResponse) String ¶

type RemoveImageShapeCompatibilityEntryRequest ¶

type RemoveImageShapeCompatibilityEntryRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Shape name.
	ShapeName *string `mandatory:"true" contributesTo:"path" name:"shapeName"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

RemoveImageShapeCompatibilityEntryRequest wrapper for the RemoveImageShapeCompatibilityEntry operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntryRequest.

func (RemoveImageShapeCompatibilityEntryRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemoveImageShapeCompatibilityEntryRequest) HTTPRequest ¶

func (request RemoveImageShapeCompatibilityEntryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveImageShapeCompatibilityEntryRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveImageShapeCompatibilityEntryRequest) String ¶

func (RemoveImageShapeCompatibilityEntryRequest) ValidateEnumValue ¶

func (request RemoveImageShapeCompatibilityEntryRequest) 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 RemoveImageShapeCompatibilityEntryResponse ¶

type RemoveImageShapeCompatibilityEntryResponse 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"`
}

RemoveImageShapeCompatibilityEntryResponse wrapper for the RemoveImageShapeCompatibilityEntry operation

func (RemoveImageShapeCompatibilityEntryResponse) HTTPResponse ¶

func (response RemoveImageShapeCompatibilityEntryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveImageShapeCompatibilityEntryResponse) String ¶

type RemoveImportDrgRouteDistributionRequest ¶

type RemoveImportDrgRouteDistributionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

RemoveImportDrgRouteDistributionRequest wrapper for the RemoveImportDrgRouteDistribution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistributionRequest.

func (RemoveImportDrgRouteDistributionRequest) BinaryRequestBody ¶

func (request RemoveImportDrgRouteDistributionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveImportDrgRouteDistributionRequest) HTTPRequest ¶

func (request RemoveImportDrgRouteDistributionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveImportDrgRouteDistributionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveImportDrgRouteDistributionRequest) String ¶

func (RemoveImportDrgRouteDistributionRequest) ValidateEnumValue ¶

func (request RemoveImportDrgRouteDistributionRequest) 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 RemoveImportDrgRouteDistributionResponse ¶

type RemoveImportDrgRouteDistributionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteTable instance
	DrgRouteTable `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"`
}

RemoveImportDrgRouteDistributionResponse wrapper for the RemoveImportDrgRouteDistribution operation

func (RemoveImportDrgRouteDistributionResponse) HTTPResponse ¶

func (response RemoveImportDrgRouteDistributionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveImportDrgRouteDistributionResponse) String ¶

type RemoveIpv6SubnetCidrRequest ¶ added in v65.1.0

type RemoveIpv6SubnetCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"`

	// Details object for removing an IPv6 SUBNET prefix.
	RemoveSubnetIpv6CidrDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

RemoveIpv6SubnetCidrRequest wrapper for the RemoveIpv6SubnetCidr operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidrRequest.

func (RemoveIpv6SubnetCidrRequest) BinaryRequestBody ¶ added in v65.1.0

func (request RemoveIpv6SubnetCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveIpv6SubnetCidrRequest) HTTPRequest ¶ added in v65.1.0

func (request RemoveIpv6SubnetCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveIpv6SubnetCidrRequest) RetryPolicy ¶ added in v65.1.0

func (request RemoveIpv6SubnetCidrRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveIpv6SubnetCidrRequest) String ¶ added in v65.1.0

func (request RemoveIpv6SubnetCidrRequest) String() string

func (RemoveIpv6SubnetCidrRequest) ValidateEnumValue ¶ added in v65.1.0

func (request RemoveIpv6SubnetCidrRequest) 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 RemoveIpv6SubnetCidrResponse ¶ added in v65.1.0

type RemoveIpv6SubnetCidrResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveIpv6SubnetCidrResponse wrapper for the RemoveIpv6SubnetCidr operation

func (RemoveIpv6SubnetCidrResponse) HTTPResponse ¶ added in v65.1.0

func (response RemoveIpv6SubnetCidrResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveIpv6SubnetCidrResponse) String ¶ added in v65.1.0

func (response RemoveIpv6SubnetCidrResponse) String() string

type RemoveIpv6VcnCidrRequest ¶ added in v65.1.0

type RemoveIpv6VcnCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Details object for removing a VCN IPv6 prefix.
	RemoveVcnIpv6CidrDetails `contributesTo:"body"`

	// 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
}

RemoveIpv6VcnCidrRequest wrapper for the RemoveIpv6VcnCidr operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidrRequest.

func (RemoveIpv6VcnCidrRequest) BinaryRequestBody ¶ added in v65.1.0

func (request RemoveIpv6VcnCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveIpv6VcnCidrRequest) HTTPRequest ¶ added in v65.1.0

func (request RemoveIpv6VcnCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveIpv6VcnCidrRequest) RetryPolicy ¶ added in v65.1.0

func (request RemoveIpv6VcnCidrRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveIpv6VcnCidrRequest) String ¶ added in v65.1.0

func (request RemoveIpv6VcnCidrRequest) String() string

func (RemoveIpv6VcnCidrRequest) ValidateEnumValue ¶ added in v65.1.0

func (request RemoveIpv6VcnCidrRequest) 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 RemoveIpv6VcnCidrResponse ¶ added in v65.1.0

type RemoveIpv6VcnCidrResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveIpv6VcnCidrResponse wrapper for the RemoveIpv6VcnCidr operation

func (RemoveIpv6VcnCidrResponse) HTTPResponse ¶ added in v65.1.0

func (response RemoveIpv6VcnCidrResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveIpv6VcnCidrResponse) String ¶ added in v65.1.0

func (response RemoveIpv6VcnCidrResponse) String() string

type RemoveNetworkSecurityGroupSecurityRulesDetails ¶

type RemoveNetworkSecurityGroupSecurityRulesDetails struct {

	// The Oracle-assigned ID of each SecurityRule to be deleted.
	SecurityRuleIds []string `mandatory:"false" json:"securityRuleIds"`
}

RemoveNetworkSecurityGroupSecurityRulesDetails The representation of RemoveNetworkSecurityGroupSecurityRulesDetails

func (RemoveNetworkSecurityGroupSecurityRulesDetails) String ¶

func (RemoveNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue ¶

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 RemoveNetworkSecurityGroupSecurityRulesRequest ¶

type RemoveNetworkSecurityGroupSecurityRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Request with one or more security rules associated with the network security group that
	// will be removed.
	RemoveNetworkSecurityGroupSecurityRulesDetails `contributesTo:"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 `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
}

RemoveNetworkSecurityGroupSecurityRulesRequest wrapper for the RemoveNetworkSecurityGroupSecurityRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRulesRequest.

func (RemoveNetworkSecurityGroupSecurityRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (RemoveNetworkSecurityGroupSecurityRulesRequest) HTTPRequest ¶

func (request RemoveNetworkSecurityGroupSecurityRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveNetworkSecurityGroupSecurityRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveNetworkSecurityGroupSecurityRulesRequest) String ¶

func (RemoveNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue ¶

func (request RemoveNetworkSecurityGroupSecurityRulesRequest) 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 RemoveNetworkSecurityGroupSecurityRulesResponse ¶

type RemoveNetworkSecurityGroupSecurityRulesResponse 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"`
}

RemoveNetworkSecurityGroupSecurityRulesResponse wrapper for the RemoveNetworkSecurityGroupSecurityRules operation

func (RemoveNetworkSecurityGroupSecurityRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (RemoveNetworkSecurityGroupSecurityRulesResponse) String ¶

type RemovePublicIpPoolCapacityDetails ¶

type RemovePublicIpPoolCapacityDetails struct {

	// The CIDR block to remove from the  public IP pool.
	// Example: `10.0.1.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

RemovePublicIpPoolCapacityDetails The information needed to remove capacity from a public IP pool.

func (RemovePublicIpPoolCapacityDetails) String ¶

func (RemovePublicIpPoolCapacityDetails) ValidateEnumValue ¶

func (m RemovePublicIpPoolCapacityDetails) 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 RemovePublicIpPoolCapacityRequest ¶

type RemovePublicIpPoolCapacityRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"`

	// The CIDR block to remove from the IP pool.
	RemovePublicIpPoolCapacityDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

RemovePublicIpPoolCapacityRequest wrapper for the RemovePublicIpPoolCapacity operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacityRequest.

func (RemovePublicIpPoolCapacityRequest) BinaryRequestBody ¶

func (request RemovePublicIpPoolCapacityRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemovePublicIpPoolCapacityRequest) HTTPRequest ¶

func (request RemovePublicIpPoolCapacityRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemovePublicIpPoolCapacityRequest) RetryPolicy ¶

func (request RemovePublicIpPoolCapacityRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemovePublicIpPoolCapacityRequest) String ¶

func (request RemovePublicIpPoolCapacityRequest) String() string

func (RemovePublicIpPoolCapacityRequest) ValidateEnumValue ¶

func (request RemovePublicIpPoolCapacityRequest) 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 RemovePublicIpPoolCapacityResponse ¶

type RemovePublicIpPoolCapacityResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIpPool instance
	PublicIpPool `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"`
}

RemovePublicIpPoolCapacityResponse wrapper for the RemovePublicIpPoolCapacity operation

func (RemovePublicIpPoolCapacityResponse) HTTPResponse ¶

func (response RemovePublicIpPoolCapacityResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemovePublicIpPoolCapacityResponse) String ¶

func (response RemovePublicIpPoolCapacityResponse) String() string

type RemoveSubnetIpv6CidrDetails ¶ added in v65.1.0

type RemoveSubnetIpv6CidrDetails struct {

	// This field is not required and should only be specified when removing an IPv6 prefix
	// from a subnet's IPv6 address space.
	// SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123::/64`
	Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"`
}

RemoveSubnetIpv6CidrDetails Details object for removing an IPv6 prefix from a subnet.

func (RemoveSubnetIpv6CidrDetails) String ¶ added in v65.1.0

func (RemoveSubnetIpv6CidrDetails) ValidateEnumValue ¶ added in v65.1.0

func (m RemoveSubnetIpv6CidrDetails) 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 RemoveVcnCidrDetails ¶

type RemoveVcnCidrDetails struct {

	// The CIDR block to remove.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

RemoveVcnCidrDetails Details for removing a CIDR block from a VCN.

func (RemoveVcnCidrDetails) String ¶

func (m RemoveVcnCidrDetails) String() string

func (RemoveVcnCidrDetails) ValidateEnumValue ¶

func (m RemoveVcnCidrDetails) 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 RemoveVcnCidrRequest ¶

type RemoveVcnCidrRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Details object for removing a VCN CIDR.
	RemoveVcnCidrDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// 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
}

RemoveVcnCidrRequest wrapper for the RemoveVcnCidr operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidrRequest.

func (RemoveVcnCidrRequest) BinaryRequestBody ¶

func (request RemoveVcnCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveVcnCidrRequest) HTTPRequest ¶

func (request RemoveVcnCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveVcnCidrRequest) RetryPolicy ¶

func (request RemoveVcnCidrRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveVcnCidrRequest) String ¶

func (request RemoveVcnCidrRequest) String() string

func (RemoveVcnCidrRequest) ValidateEnumValue ¶

func (request RemoveVcnCidrRequest) 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 RemoveVcnCidrResponse ¶

type RemoveVcnCidrResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

RemoveVcnCidrResponse wrapper for the RemoveVcnCidr operation

func (RemoveVcnCidrResponse) HTTPResponse ¶

func (response RemoveVcnCidrResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveVcnCidrResponse) String ¶

func (response RemoveVcnCidrResponse) String() string

type RemoveVcnIpv6CidrDetails ¶ added in v65.1.0

type RemoveVcnIpv6CidrDetails struct {

	// This field is not required and should only be specified when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix
	// from a VCN's IPv6 address space.
	// SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123::/56`
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`
}

RemoveVcnIpv6CidrDetails Details used when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix. You can only remove one of these per request.

func (RemoveVcnIpv6CidrDetails) String ¶ added in v65.1.0

func (m RemoveVcnIpv6CidrDetails) String() string

func (RemoveVcnIpv6CidrDetails) ValidateEnumValue ¶ added in v65.1.0

func (m RemoveVcnIpv6CidrDetails) 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 ResetActionDetails ¶ added in v65.4.0

type ResetActionDetails struct {

	// For instances that use a DenseIO shape, the flag denoting whether
	// reboot migration (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot)
	// is performed for the instance. The default value is `false`.
	// If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to `false`), the instance
	// will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the
	// maintenance process. The local NVMe-based SSD will be preserved.
	// If you want to minimize downtime and can delete the SSD, you can set this flag to `true` and proactively reboot the
	// instance before the scheduled maintenance time. The instance will be reboot migrated to a healthy host and the SSD will be
	// deleted. A short downtime occurs during the migration.
	// **Caution:** When `true`, the SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding.
	AllowDenseRebootMigration *bool `mandatory:"false" json:"allowDenseRebootMigration"`
}

ResetActionDetails Parameters for the `reset` InstanceAction. If omitted, default values are used.

func (ResetActionDetails) MarshalJSON ¶ added in v65.4.0

func (m ResetActionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ResetActionDetails) String ¶ added in v65.4.0

func (m ResetActionDetails) String() string

func (ResetActionDetails) ValidateEnumValue ¶ added in v65.4.0

func (m ResetActionDetails) 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 ResetInstancePoolRequest ¶

type ResetInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ResetInstancePoolRequest wrapper for the ResetInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePoolRequest.

func (ResetInstancePoolRequest) BinaryRequestBody ¶

func (request ResetInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ResetInstancePoolRequest) HTTPRequest ¶

func (request ResetInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ResetInstancePoolRequest) RetryPolicy ¶

func (request ResetInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ResetInstancePoolRequest) String ¶

func (request ResetInstancePoolRequest) String() string

func (ResetInstancePoolRequest) ValidateEnumValue ¶

func (request ResetInstancePoolRequest) 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 ResetInstancePoolResponse ¶

type ResetInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

ResetInstancePoolResponse wrapper for the ResetInstancePool operation

func (ResetInstancePoolResponse) HTTPResponse ¶

func (response ResetInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ResetInstancePoolResponse) String ¶

func (response ResetInstancePoolResponse) String() string

type RouteRule ¶

type RouteRule struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the route rule's target. For information about the type of
	// targets you can specify, see
	// Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm).
	NetworkEntityId *string `mandatory:"true" json:"networkEntityId"`

	// Deprecated. Instead use `destination` and `destinationType`. Requests that include both
	// `cidrBlock` and `destination` will be rejected.
	// A destination IP address range in CIDR notation. Matching packets will
	// be routed to the indicated network entity (the target).
	// Cannot be an IPv6 prefix.
	// Example: `0.0.0.0/0`
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// Conceptually, this is the range of IP addresses used for matching when routing
	// traffic. Required if you provide a `destinationType`.
	// Allowed values:
	//   * IP address range in CIDR notation. Can be an IPv4 CIDR block or IPv6 prefix. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`. If you set this to an IPv6 prefix, the route rule's target
	//   can only be a DRG or internet gateway.
	//   IPv6 addressing is supported for all commercial and government regions.
	//   See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a route rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule. Required if you provide a `destination`.
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	DestinationType RouteRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

	// An optional description of your choice for the rule.
	Description *string `mandatory:"false" json:"description"`

	// A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the route table.
	RouteType RouteRuleRouteTypeEnum `mandatory:"false" json:"routeType,omitempty"`
}

RouteRule A mapping between a destination IP address range and a virtual device to route matching packets to (a target).

func (RouteRule) String ¶

func (m RouteRule) String() string

func (RouteRule) ValidateEnumValue ¶

func (m RouteRule) 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 RouteRuleDestinationTypeEnum ¶

type RouteRuleDestinationTypeEnum string

RouteRuleDestinationTypeEnum Enum with underlying type: string

const (
	RouteRuleDestinationTypeCidrBlock        RouteRuleDestinationTypeEnum = "CIDR_BLOCK"
	RouteRuleDestinationTypeServiceCidrBlock RouteRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for RouteRuleDestinationTypeEnum

func GetMappingRouteRuleDestinationTypeEnum ¶

func GetMappingRouteRuleDestinationTypeEnum(val string) (RouteRuleDestinationTypeEnum, bool)

GetMappingRouteRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRouteRuleDestinationTypeEnumValues ¶

func GetRouteRuleDestinationTypeEnumValues() []RouteRuleDestinationTypeEnum

GetRouteRuleDestinationTypeEnumValues Enumerates the set of values for RouteRuleDestinationTypeEnum

type RouteRuleRouteTypeEnum ¶ added in v65.13.1

type RouteRuleRouteTypeEnum string

RouteRuleRouteTypeEnum Enum with underlying type: string

const (
	RouteRuleRouteTypeStatic RouteRuleRouteTypeEnum = "STATIC"
	RouteRuleRouteTypeLocal  RouteRuleRouteTypeEnum = "LOCAL"
)

Set of constants representing the allowable values for RouteRuleRouteTypeEnum

func GetMappingRouteRuleRouteTypeEnum ¶ added in v65.13.1

func GetMappingRouteRuleRouteTypeEnum(val string) (RouteRuleRouteTypeEnum, bool)

GetMappingRouteRuleRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRouteRuleRouteTypeEnumValues ¶ added in v65.13.1

func GetRouteRuleRouteTypeEnumValues() []RouteRuleRouteTypeEnum

GetRouteRuleRouteTypeEnumValues Enumerates the set of values for RouteRuleRouteTypeEnum

type RouteTable ¶

type RouteTable struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route table.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The route table's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The route table's current state.
	LifecycleState RouteTableLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The collection of rules for routing destination IPs to network devices.
	RouteRules []RouteRule `mandatory:"true" json:"routeRules"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table list belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The date and time the route table was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

RouteTable A collection of `RouteRule` objects, which are used to route packets based on destination IP to a particular network entity. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (RouteTable) String ¶

func (m RouteTable) String() string

func (RouteTable) ValidateEnumValue ¶

func (m RouteTable) 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 RouteTableLifecycleStateEnum ¶

type RouteTableLifecycleStateEnum string

RouteTableLifecycleStateEnum Enum with underlying type: string

const (
	RouteTableLifecycleStateProvisioning RouteTableLifecycleStateEnum = "PROVISIONING"
	RouteTableLifecycleStateAvailable    RouteTableLifecycleStateEnum = "AVAILABLE"
	RouteTableLifecycleStateTerminating  RouteTableLifecycleStateEnum = "TERMINATING"
	RouteTableLifecycleStateTerminated   RouteTableLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for RouteTableLifecycleStateEnum

func GetMappingRouteTableLifecycleStateEnum ¶

func GetMappingRouteTableLifecycleStateEnum(val string) (RouteTableLifecycleStateEnum, bool)

GetMappingRouteTableLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRouteTableLifecycleStateEnumValues ¶

func GetRouteTableLifecycleStateEnumValues() []RouteTableLifecycleStateEnum

GetRouteTableLifecycleStateEnumValues Enumerates the set of values for RouteTableLifecycleStateEnum

type SecurityList ¶

type SecurityList struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the security list.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Rules for allowing egress IP packets.
	EgressSecurityRules []EgressSecurityRule `mandatory:"true" json:"egressSecurityRules"`

	// The security list's Oracle Cloud ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// Rules for allowing ingress IP packets.
	IngressSecurityRules []IngressSecurityRule `mandatory:"true" json:"ingressSecurityRules"`

	// The security list's current state.
	LifecycleState SecurityListLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the security list was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

SecurityList A set of virtual firewall rules for your VCN. Security lists are configured at the subnet level, but the rules are applied to the ingress and egress traffic for the individual instances in the subnet. The rules can be stateful or stateless. For more information, see Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). **Note:** Compare security lists to NetworkSecurityGroups, which let you apply a set of security rules to a *specific set of VNICs* instead of an entire subnet. Oracle recommends using network security groups instead of security lists, although you can use either or both together. **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example, Linux iptables, Windows firewall). If there are issues with some type of access to an instance, make sure both the security lists associated with the instance's subnet and the instance's firewall rules are set correctly. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (SecurityList) String ¶

func (m SecurityList) String() string

func (SecurityList) ValidateEnumValue ¶

func (m SecurityList) 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 SecurityListLifecycleStateEnum ¶

type SecurityListLifecycleStateEnum string

SecurityListLifecycleStateEnum Enum with underlying type: string

const (
	SecurityListLifecycleStateProvisioning SecurityListLifecycleStateEnum = "PROVISIONING"
	SecurityListLifecycleStateAvailable    SecurityListLifecycleStateEnum = "AVAILABLE"
	SecurityListLifecycleStateTerminating  SecurityListLifecycleStateEnum = "TERMINATING"
	SecurityListLifecycleStateTerminated   SecurityListLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for SecurityListLifecycleStateEnum

func GetMappingSecurityListLifecycleStateEnum ¶

func GetMappingSecurityListLifecycleStateEnum(val string) (SecurityListLifecycleStateEnum, bool)

GetMappingSecurityListLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityListLifecycleStateEnumValues ¶

func GetSecurityListLifecycleStateEnumValues() []SecurityListLifecycleStateEnum

GetSecurityListLifecycleStateEnumValues Enumerates the set of values for SecurityListLifecycleStateEnum

type SecurityRule ¶

type SecurityRule struct {

	// Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
	// or `INGRESS` for rules to allow inbound IP packets.
	Direction SecurityRuleDirectionEnum `mandatory:"true" json:"direction"`

	// The transport protocol. Specify either `all` or an IPv4 protocol number as
	// defined in
	// Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
	// Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
	Protocol *string `mandatory:"true" json:"protocol"`

	// An optional description of your choice for the rule.
	Description *string `mandatory:"false" json:"description"`

	// Conceptually, this is the range of IP addresses that a packet originating from the instance
	// can go to.
	// Allowed values:
	//   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     IPv6 addressing is supported for all commercial and government regions.
	//     See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	//   * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same
	//     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
	//     traffic between VNICs in the same NSG.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule. Required if `direction` = `EGRESS`.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	//   * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a
	//     NetworkSecurityGroup.
	DestinationType SecurityRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	// An Oracle-assigned identifier for the security rule. You specify this ID when you want to
	// update or delete the rule.
	// Example: `04ABEC`
	Id *string `mandatory:"false" json:"id"`

	// A stateless rule allows traffic in one direction. Remember to add a corresponding
	// stateless rule in the other direction if you need to support bidirectional traffic. For
	// example, if egress traffic allows TCP destination port 80, there should be an ingress
	// rule to allow TCP source port 80. Defaults to false, which means the rule is stateful
	// and a corresponding rule is not necessary for bidirectional traffic.
	IsStateless *bool `mandatory:"false" json:"isStateless"`

	// Whether the rule is valid. The value is `True` when the rule is first created. If
	// the rule's `source` or `destination` is a network security group, the value changes to
	// `False` if that network security group is deleted.
	IsValid *bool `mandatory:"false" json:"isValid"`

	// Conceptually, this is the range of IP addresses that a packet coming into the instance
	// can come from.
	// Allowed values:
	//   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     IPv6 addressing is supported for all commercial and government regions.
	//     See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security rule for traffic coming from a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	//   * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same
	//     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
	//     traffic between VNICs in the same NSG.
	Source *string `mandatory:"false" json:"source"`

	// Type of source for the rule. Required if `direction` = `INGRESS`.
	//   * `CIDR_BLOCK`: If the rule's `source` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
	//     Service (the rule is for traffic coming from a
	//     particular `Service` through a service gateway).
	//   * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a
	//     NetworkSecurityGroup.
	SourceType SecurityRuleSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	// The date and time the security rule was created. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`
}

SecurityRule A security rule is one of the items in a NetworkSecurityGroup. It is a virtual firewall rule for the VNICs in the network security group. A rule can be for either inbound (`direction`= INGRESS) or outbound (`direction`= EGRESS) IP packets.

func (SecurityRule) String ¶

func (m SecurityRule) String() string

func (SecurityRule) ValidateEnumValue ¶

func (m SecurityRule) 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 SecurityRuleDestinationTypeEnum ¶

type SecurityRuleDestinationTypeEnum string

SecurityRuleDestinationTypeEnum Enum with underlying type: string

const (
	SecurityRuleDestinationTypeCidrBlock            SecurityRuleDestinationTypeEnum = "CIDR_BLOCK"
	SecurityRuleDestinationTypeServiceCidrBlock     SecurityRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
	SecurityRuleDestinationTypeNetworkSecurityGroup SecurityRuleDestinationTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for SecurityRuleDestinationTypeEnum

func GetMappingSecurityRuleDestinationTypeEnum ¶

func GetMappingSecurityRuleDestinationTypeEnum(val string) (SecurityRuleDestinationTypeEnum, bool)

GetMappingSecurityRuleDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityRuleDestinationTypeEnumValues ¶

func GetSecurityRuleDestinationTypeEnumValues() []SecurityRuleDestinationTypeEnum

GetSecurityRuleDestinationTypeEnumValues Enumerates the set of values for SecurityRuleDestinationTypeEnum

type SecurityRuleDirectionEnum ¶

type SecurityRuleDirectionEnum string

SecurityRuleDirectionEnum Enum with underlying type: string

const (
	SecurityRuleDirectionEgress  SecurityRuleDirectionEnum = "EGRESS"
	SecurityRuleDirectionIngress SecurityRuleDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for SecurityRuleDirectionEnum

func GetMappingSecurityRuleDirectionEnum ¶

func GetMappingSecurityRuleDirectionEnum(val string) (SecurityRuleDirectionEnum, bool)

GetMappingSecurityRuleDirectionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityRuleDirectionEnumValues ¶

func GetSecurityRuleDirectionEnumValues() []SecurityRuleDirectionEnum

GetSecurityRuleDirectionEnumValues Enumerates the set of values for SecurityRuleDirectionEnum

type SecurityRuleSourceTypeEnum ¶

type SecurityRuleSourceTypeEnum string

SecurityRuleSourceTypeEnum Enum with underlying type: string

const (
	SecurityRuleSourceTypeCidrBlock            SecurityRuleSourceTypeEnum = "CIDR_BLOCK"
	SecurityRuleSourceTypeServiceCidrBlock     SecurityRuleSourceTypeEnum = "SERVICE_CIDR_BLOCK"
	SecurityRuleSourceTypeNetworkSecurityGroup SecurityRuleSourceTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for SecurityRuleSourceTypeEnum

func GetMappingSecurityRuleSourceTypeEnum ¶

func GetMappingSecurityRuleSourceTypeEnum(val string) (SecurityRuleSourceTypeEnum, bool)

GetMappingSecurityRuleSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSecurityRuleSourceTypeEnumValues ¶

func GetSecurityRuleSourceTypeEnumValues() []SecurityRuleSourceTypeEnum

GetSecurityRuleSourceTypeEnumValues Enumerates the set of values for SecurityRuleSourceTypeEnum

type Service ¶

type Service struct {

	// A string that represents the regional public IP address ranges for the Oracle service or
	// services covered by this `Service` object. Also known as the `Service` object's *service
	// CIDR label*.
	// When you set up a route rule to route traffic to the service gateway, use this value as the
	// rule's destination. See RouteTable. Also, when you set up
	// a security list rule to cover traffic with the service gateway, use the `cidrBlock` value
	// as the rule's destination (for an egress rule) or the source (for an ingress rule).
	// See SecurityList.
	// Example: `oci-phx-objectstorage`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// Description of the Oracle service or services covered by this `Service` object.
	// Example: `OCI PHX Object Storage`
	Description *string `mandatory:"true" json:"description"`

	// The `Service` object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id *string `mandatory:"true" json:"id"`

	// Name of the `Service` object. This name can change and is not guaranteed to be unique.
	// Example: `OCI PHX Object Storage`
	Name *string `mandatory:"true" json:"name"`
}

Service An object that represents one or multiple Oracle services that you can enable for a ServiceGateway. In the User Guide topic Access to Oracle Services: Service Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm), the term *service CIDR label* is used to refer to the string that represents the regional public IP address ranges of the Oracle service or services covered by a given `Service` object. That unique string is the value of the `Service` object's `cidrBlock` attribute.

func (Service) String ¶

func (m Service) String() string

func (Service) ValidateEnumValue ¶

func (m Service) 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 ServiceGateway ¶

type ServiceGateway struct {

	// Whether the service gateway blocks all traffic through it. The default is `false`. When
	// this is `true`, traffic is not routed to any services, regardless of route rules.
	// Example: `true`
	BlockTraffic *bool `mandatory:"true" json:"blockTraffic"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the
	// service gateway.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service gateway.
	Id *string `mandatory:"true" json:"id"`

	// The service gateway's current state.
	LifecycleState ServiceGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// List of the Service objects enabled for this service gateway.
	// The list can be empty. You can enable a particular `Service` by using
	// AttachServiceId or
	// UpdateServiceGateway.
	Services []ServiceIdResponseDetails `mandatory:"true" json:"services"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the service gateway
	// belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway is using.
	// For information about why you would associate a route table with a service gateway, see
	// Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm).
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The date and time the service gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

ServiceGateway Represents a router that lets your VCN privately access specific Oracle services such as Object Storage without exposing the VCN to the public internet. Traffic leaving the VCN and destined for a supported Oracle service (see ListServices) is routed through the service gateway and does not traverse the internet. The instances in the VCN do not need to have public IP addresses nor be in a public subnet. The VCN does not need an internet gateway for this traffic. For more information, see Access to Oracle Services: Service Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (ServiceGateway) String ¶

func (m ServiceGateway) String() string

func (ServiceGateway) ValidateEnumValue ¶

func (m ServiceGateway) 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 ServiceGatewayLifecycleStateEnum ¶

type ServiceGatewayLifecycleStateEnum string

ServiceGatewayLifecycleStateEnum Enum with underlying type: string

const (
	ServiceGatewayLifecycleStateProvisioning ServiceGatewayLifecycleStateEnum = "PROVISIONING"
	ServiceGatewayLifecycleStateAvailable    ServiceGatewayLifecycleStateEnum = "AVAILABLE"
	ServiceGatewayLifecycleStateTerminating  ServiceGatewayLifecycleStateEnum = "TERMINATING"
	ServiceGatewayLifecycleStateTerminated   ServiceGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for ServiceGatewayLifecycleStateEnum

func GetMappingServiceGatewayLifecycleStateEnum ¶

func GetMappingServiceGatewayLifecycleStateEnum(val string) (ServiceGatewayLifecycleStateEnum, bool)

GetMappingServiceGatewayLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetServiceGatewayLifecycleStateEnumValues ¶

func GetServiceGatewayLifecycleStateEnumValues() []ServiceGatewayLifecycleStateEnum

GetServiceGatewayLifecycleStateEnumValues Enumerates the set of values for ServiceGatewayLifecycleStateEnum

type ServiceIdRequestDetails ¶

type ServiceIdRequestDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Service.
	ServiceId *string `mandatory:"true" json:"serviceId"`
}

ServiceIdRequestDetails The representation of ServiceIdRequestDetails

func (ServiceIdRequestDetails) String ¶

func (m ServiceIdRequestDetails) String() string

func (ServiceIdRequestDetails) ValidateEnumValue ¶

func (m ServiceIdRequestDetails) 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 ServiceIdResponseDetails ¶

type ServiceIdResponseDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service.
	ServiceId *string `mandatory:"true" json:"serviceId"`

	// The name of the service.
	ServiceName *string `mandatory:"true" json:"serviceName"`
}

ServiceIdResponseDetails The representation of ServiceIdResponseDetails

func (ServiceIdResponseDetails) String ¶

func (m ServiceIdResponseDetails) String() string

func (ServiceIdResponseDetails) ValidateEnumValue ¶

func (m ServiceIdResponseDetails) 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 Shape ¶

type Shape struct {

	// The name of the shape. You can enumerate all available shapes by calling
	// ListShapes.
	Shape *string `mandatory:"true" json:"shape"`

	// For a subcore burstable VM, the supported baseline OCPU utilization for instances that use this shape.
	BaselineOcpuUtilizations []ShapeBaselineOcpuUtilizationsEnum `mandatory:"false" json:"baselineOcpuUtilizations,omitempty"`

	// For a subcore burstable VM, the minimum total baseline OCPUs required. The total baseline OCPUs is equal to
	// baselineOcpuUtilization chosen multiplied by the number of OCPUs chosen.
	MinTotalBaselineOcpusRequired *float32 `mandatory:"false" json:"minTotalBaselineOcpusRequired"`

	// A short description of the shape's processor (CPU).
	ProcessorDescription *string `mandatory:"false" json:"processorDescription"`

	// The default number of OCPUs available for this shape.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The default amount of memory available for this shape, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

	// The number of physical network interface card (NIC) ports available for this shape.
	NetworkPorts *int `mandatory:"false" json:"networkPorts"`

	// The networking bandwidth available for this shape, in gigabits per second.
	NetworkingBandwidthInGbps *float32 `mandatory:"false" json:"networkingBandwidthInGbps"`

	// The maximum number of VNIC attachments available for this shape.
	MaxVnicAttachments *int `mandatory:"false" json:"maxVnicAttachments"`

	// The number of GPUs available for this shape.
	Gpus *int `mandatory:"false" json:"gpus"`

	// A short description of the graphics processing unit (GPU) available for this shape.
	// If the shape does not have any GPUs, this field is `null`.
	GpuDescription *string `mandatory:"false" json:"gpuDescription"`

	// The number of local disks available for this shape.
	LocalDisks *int `mandatory:"false" json:"localDisks"`

	// The aggregate size of the local disks available for this shape, in gigabytes.
	// If the shape does not have any local disks, this field is `null`.
	LocalDisksTotalSizeInGBs *float32 `mandatory:"false" json:"localDisksTotalSizeInGBs"`

	// A short description of the local disks available for this shape.
	// If the shape does not have any local disks, this field is `null`.
	LocalDiskDescription *string `mandatory:"false" json:"localDiskDescription"`

	// The number of networking ports available for the remote direct memory access (RDMA) network between nodes in
	// a high performance computing (HPC) cluster network. If the shape does not support cluster networks, this
	// value is `0`.
	RdmaPorts *int `mandatory:"false" json:"rdmaPorts"`

	// The networking bandwidth available for the remote direct memory access (RDMA) network for this shape, in
	// gigabits per second.
	RdmaBandwidthInGbps *int `mandatory:"false" json:"rdmaBandwidthInGbps"`

	// Whether live migration is supported for this shape.
	IsLiveMigrationSupported *bool `mandatory:"false" json:"isLiveMigrationSupported"`

	OcpuOptions *ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"`

	MemoryOptions *ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"`

	NetworkingBandwidthOptions *ShapeNetworkingBandwidthOptions `mandatory:"false" json:"networkingBandwidthOptions"`

	MaxVnicAttachmentOptions *ShapeMaxVnicAttachmentOptions `mandatory:"false" json:"maxVnicAttachmentOptions"`

	PlatformConfigOptions *ShapePlatformConfigOptions `mandatory:"false" json:"platformConfigOptions"`

	// Whether billing continues when the instances that use this shape are in the stopped state.
	IsBilledForStoppedInstance *bool `mandatory:"false" json:"isBilledForStoppedInstance"`

	// How instances that use this shape are charged.
	BillingType ShapeBillingTypeEnum `mandatory:"false" json:"billingType,omitempty"`

	// The list of of compartment quotas for the shape.
	QuotaNames []string `mandatory:"false" json:"quotaNames"`

	// Whether the shape supports creating subcore or burstable instances. A burstable instance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/burstable-instances.htm)
	// is a virtual machine (VM) instance that provides a baseline level of CPU performance with the ability to burst to a higher level to support occasional
	// spikes in usage.
	IsSubcore *bool `mandatory:"false" json:"isSubcore"`

	// Whether the shape supports creating flexible instances. A flexible shape (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible)
	// is a shape that lets you customize the number of OCPUs and the amount of memory when launching or resizing your instance.
	IsFlexible *bool `mandatory:"false" json:"isFlexible"`

	// The list of compatible shapes that this shape can be changed to. For more information,
	// see Changing the Shape of an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm).
	ResizeCompatibleShapes []string `mandatory:"false" json:"resizeCompatibleShapes"`

	// The list of shapes and shape details (if applicable) that Oracle recommends that you use as an alternative to the current shape.
	RecommendedAlternatives []ShapeAlternativeObject `mandatory:"false" json:"recommendedAlternatives"`
}

Shape A compute instance shape that can be used in LaunchInstance. For more information, see Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm) and Compute Shapes (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm).

func (Shape) String ¶

func (m Shape) String() string

func (Shape) ValidateEnumValue ¶

func (m Shape) 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 ShapeAccessControlServiceEnabledPlatformOptions ¶ added in v65.4.0

type ShapeAccessControlServiceEnabledPlatformOptions struct {

	// Whether the Access Control Service can be enabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether the Access Control Service is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeAccessControlServiceEnabledPlatformOptions Configuration options for the Access Control Service.

func (ShapeAccessControlServiceEnabledPlatformOptions) String ¶ added in v65.4.0

func (ShapeAccessControlServiceEnabledPlatformOptions) ValidateEnumValue ¶ added in v65.4.0

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 ShapeAlternativeObject ¶

type ShapeAlternativeObject struct {

	// The name of the shape.
	ShapeName *string `mandatory:"true" json:"shapeName"`
}

ShapeAlternativeObject The shape that Oracle recommends you to use an alternative to the current shape.

func (ShapeAlternativeObject) String ¶

func (m ShapeAlternativeObject) String() string

func (ShapeAlternativeObject) ValidateEnumValue ¶

func (m ShapeAlternativeObject) 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 ShapeBaselineOcpuUtilizationsEnum ¶

type ShapeBaselineOcpuUtilizationsEnum string

ShapeBaselineOcpuUtilizationsEnum Enum with underlying type: string

const (
	ShapeBaselineOcpuUtilizations8 ShapeBaselineOcpuUtilizationsEnum = "BASELINE_1_8"
	ShapeBaselineOcpuUtilizations2 ShapeBaselineOcpuUtilizationsEnum = "BASELINE_1_2"
	ShapeBaselineOcpuUtilizations1 ShapeBaselineOcpuUtilizationsEnum = "BASELINE_1_1"
)

Set of constants representing the allowable values for ShapeBaselineOcpuUtilizationsEnum

func GetMappingShapeBaselineOcpuUtilizationsEnum ¶

func GetMappingShapeBaselineOcpuUtilizationsEnum(val string) (ShapeBaselineOcpuUtilizationsEnum, bool)

GetMappingShapeBaselineOcpuUtilizationsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetShapeBaselineOcpuUtilizationsEnumValues ¶

func GetShapeBaselineOcpuUtilizationsEnumValues() []ShapeBaselineOcpuUtilizationsEnum

GetShapeBaselineOcpuUtilizationsEnumValues Enumerates the set of values for ShapeBaselineOcpuUtilizationsEnum

type ShapeBillingTypeEnum ¶

type ShapeBillingTypeEnum string

ShapeBillingTypeEnum Enum with underlying type: string

const (
	ShapeBillingTypeAlwaysFree  ShapeBillingTypeEnum = "ALWAYS_FREE"
	ShapeBillingTypeLimitedFree ShapeBillingTypeEnum = "LIMITED_FREE"
	ShapeBillingTypePaid        ShapeBillingTypeEnum = "PAID"
)

Set of constants representing the allowable values for ShapeBillingTypeEnum

func GetMappingShapeBillingTypeEnum ¶

func GetMappingShapeBillingTypeEnum(val string) (ShapeBillingTypeEnum, bool)

GetMappingShapeBillingTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetShapeBillingTypeEnumValues ¶

func GetShapeBillingTypeEnumValues() []ShapeBillingTypeEnum

GetShapeBillingTypeEnumValues Enumerates the set of values for ShapeBillingTypeEnum

type ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions ¶ added in v65.4.0

type ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions struct {

	// Whether the input-output memory management unit can be enabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether the input-output memory management unit is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions Configuration options for the input-output memory management unit (IOMMU).

func (ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions) String ¶ added in v65.4.0

func (ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions) ValidateEnumValue ¶ added in v65.4.0

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 ShapeMaxVnicAttachmentOptions ¶

type ShapeMaxVnicAttachmentOptions struct {

	// The lowest maximum value of VNIC attachments.
	Min *int `mandatory:"false" json:"min"`

	// The highest maximum value of VNIC attachments.
	Max *float32 `mandatory:"false" json:"max"`

	// The default number of VNIC attachments allowed per OCPU.
	DefaultPerOcpu *float32 `mandatory:"false" json:"defaultPerOcpu"`
}

ShapeMaxVnicAttachmentOptions For a flexible shape, the number of VNIC attachments that are available for instances that use this shape. If this field is null, then this shape has a fixed maximum number of VNIC attachments equal to `maxVnicAttachments`.

func (ShapeMaxVnicAttachmentOptions) String ¶

func (ShapeMaxVnicAttachmentOptions) ValidateEnumValue ¶

func (m ShapeMaxVnicAttachmentOptions) 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 ShapeMeasuredBootOptions ¶

type ShapeMeasuredBootOptions struct {

	// Boolean values that indicate whether the Measured Boot feature can be enabled or disabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether the Measured Boot feature is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeMeasuredBootOptions Configuration options for the Measured Boot feature.

func (ShapeMeasuredBootOptions) String ¶

func (m ShapeMeasuredBootOptions) String() string

func (ShapeMeasuredBootOptions) ValidateEnumValue ¶

func (m ShapeMeasuredBootOptions) 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 ShapeMemoryEncryptionOptions ¶ added in v65.28.3

type ShapeMemoryEncryptionOptions struct {

	// Whether memory encryption can be enabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether memory encryption is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeMemoryEncryptionOptions Configuration options for memory encryption.

func (ShapeMemoryEncryptionOptions) String ¶ added in v65.28.3

func (ShapeMemoryEncryptionOptions) ValidateEnumValue ¶ added in v65.28.3

func (m ShapeMemoryEncryptionOptions) 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 ShapeMemoryOptions ¶

type ShapeMemoryOptions struct {

	// The minimum amount of memory, in gigabytes.
	MinInGBs *float32 `mandatory:"false" json:"minInGBs"`

	// The maximum amount of memory, in gigabytes.
	MaxInGBs *float32 `mandatory:"false" json:"maxInGBs"`

	// The default amount of memory per OCPU available for this shape, in gigabytes.
	DefaultPerOcpuInGBs *float32 `mandatory:"false" json:"defaultPerOcpuInGBs"`

	// The minimum amount of memory per OCPU available for this shape, in gigabytes.
	MinPerOcpuInGBs *float32 `mandatory:"false" json:"minPerOcpuInGBs"`

	// The maximum amount of memory per OCPU available for this shape, in gigabytes.
	MaxPerOcpuInGBs *float32 `mandatory:"false" json:"maxPerOcpuInGBs"`

	// The maximum amount of memory per NUMA node, in gigabytes.
	MaxPerNumaNodeInGBs *float32 `mandatory:"false" json:"maxPerNumaNodeInGBs"`
}

ShapeMemoryOptions For a flexible shape, the amount of memory available for instances that use this shape. If this field is null, then this shape has a fixed amount of memory equivalent to `memoryInGBs`.

func (ShapeMemoryOptions) String ¶

func (m ShapeMemoryOptions) String() string

func (ShapeMemoryOptions) ValidateEnumValue ¶

func (m ShapeMemoryOptions) 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 ShapeNetworkingBandwidthOptions ¶

type ShapeNetworkingBandwidthOptions struct {

	// The minimum amount of networking bandwidth, in gigabits per second.
	MinInGbps *float32 `mandatory:"false" json:"minInGbps"`

	// The maximum amount of networking bandwidth, in gigabits per second.
	MaxInGbps *float32 `mandatory:"false" json:"maxInGbps"`

	// The default amount of networking bandwidth per OCPU, in gigabits per second.
	DefaultPerOcpuInGbps *float32 `mandatory:"false" json:"defaultPerOcpuInGbps"`
}

ShapeNetworkingBandwidthOptions For a flexible shape, the amount of networking bandwidth available for instances that use this shape. If this field is null, then this shape has a fixed amount of bandwidth equivalent to `networkingBandwidthInGbps`.

func (ShapeNetworkingBandwidthOptions) String ¶

func (ShapeNetworkingBandwidthOptions) ValidateEnumValue ¶

func (m ShapeNetworkingBandwidthOptions) 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 ShapeNumaNodesPerSocketPlatformOptions ¶

type ShapeNumaNodesPerSocketPlatformOptions struct {

	// The supported values for this platform configuration property.
	AllowedValues []ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum `mandatory:"false" json:"allowedValues,omitempty"`

	// The default NUMA nodes per socket configuration.
	DefaultValue *string `mandatory:"false" json:"defaultValue"`
}

ShapeNumaNodesPerSocketPlatformOptions Configuration options for NUMA nodes per socket.

func (ShapeNumaNodesPerSocketPlatformOptions) String ¶

func (ShapeNumaNodesPerSocketPlatformOptions) ValidateEnumValue ¶

func (m ShapeNumaNodesPerSocketPlatformOptions) 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 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum ¶

type ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum string

ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum Enum with underlying type: string

const (
	ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps0 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS0"
	ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps1 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS1"
	ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps2 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS2"
	ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps4 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS4"
)

Set of constants representing the allowable values for ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum

func GetMappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum ¶

func GetMappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum(val string) (ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum, bool)

GetMappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumValues ¶

func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumValues() []ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum

GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumValues Enumerates the set of values for ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum

type ShapeOcpuOptions ¶

type ShapeOcpuOptions struct {

	// The minimum number of OCPUs.
	Min *float32 `mandatory:"false" json:"min"`

	// The maximum number of OCPUs.
	Max *float32 `mandatory:"false" json:"max"`

	// The maximum number of cores available per NUMA node.
	MaxPerNumaNode *float32 `mandatory:"false" json:"maxPerNumaNode"`
}

ShapeOcpuOptions For a flexible shape, the number of OCPUs available for instances that use this shape. If this field is null, then this shape has a fixed number of OCPUs equal to `ocpus`.

func (ShapeOcpuOptions) String ¶

func (m ShapeOcpuOptions) String() string

func (ShapeOcpuOptions) ValidateEnumValue ¶

func (m ShapeOcpuOptions) 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 ShapePlatformConfigOptions ¶

type ShapePlatformConfigOptions struct {

	// The type of platform being configured.
	Type ShapePlatformConfigOptionsTypeEnum `mandatory:"false" json:"type,omitempty"`

	SecureBootOptions *ShapeSecureBootOptions `mandatory:"false" json:"secureBootOptions"`

	MeasuredBootOptions *ShapeMeasuredBootOptions `mandatory:"false" json:"measuredBootOptions"`

	TrustedPlatformModuleOptions *ShapeTrustedPlatformModuleOptions `mandatory:"false" json:"trustedPlatformModuleOptions"`

	NumaNodesPerSocketPlatformOptions *ShapeNumaNodesPerSocketPlatformOptions `mandatory:"false" json:"numaNodesPerSocketPlatformOptions"`

	MemoryEncryptionOptions *ShapeMemoryEncryptionOptions `mandatory:"false" json:"memoryEncryptionOptions"`

	SymmetricMultiThreadingOptions *ShapeSymmetricMultiThreadingEnabledPlatformOptions `mandatory:"false" json:"symmetricMultiThreadingOptions"`

	AccessControlServiceOptions *ShapeAccessControlServiceEnabledPlatformOptions `mandatory:"false" json:"accessControlServiceOptions"`

	VirtualInstructionsOptions *ShapeVirtualInstructionsEnabledPlatformOptions `mandatory:"false" json:"virtualInstructionsOptions"`

	InputOutputMemoryManagementUnitOptions *ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions `mandatory:"false" json:"inputOutputMemoryManagementUnitOptions"`

	PercentageOfCoresEnabledOptions *PercentageOfCoresEnabledOptions `mandatory:"false" json:"percentageOfCoresEnabledOptions"`
}

ShapePlatformConfigOptions The list of supported platform configuration options for this shape.

func (ShapePlatformConfigOptions) String ¶

func (ShapePlatformConfigOptions) ValidateEnumValue ¶

func (m ShapePlatformConfigOptions) 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 ShapePlatformConfigOptionsTypeEnum ¶

type ShapePlatformConfigOptionsTypeEnum string

ShapePlatformConfigOptionsTypeEnum Enum with underlying type: string

const (
	ShapePlatformConfigOptionsTypeAmdMilanBm     ShapePlatformConfigOptionsTypeEnum = "AMD_MILAN_BM"
	ShapePlatformConfigOptionsTypeAmdMilanBmGpu  ShapePlatformConfigOptionsTypeEnum = "AMD_MILAN_BM_GPU"
	ShapePlatformConfigOptionsTypeAmdRomeBm      ShapePlatformConfigOptionsTypeEnum = "AMD_ROME_BM"
	ShapePlatformConfigOptionsTypeAmdRomeBmGpu   ShapePlatformConfigOptionsTypeEnum = "AMD_ROME_BM_GPU"
	ShapePlatformConfigOptionsTypeGenericBm      ShapePlatformConfigOptionsTypeEnum = "GENERIC_BM"
	ShapePlatformConfigOptionsTypeIntelIcelakeBm ShapePlatformConfigOptionsTypeEnum = "INTEL_ICELAKE_BM"
	ShapePlatformConfigOptionsTypeIntelSkylakeBm ShapePlatformConfigOptionsTypeEnum = "INTEL_SKYLAKE_BM"
	ShapePlatformConfigOptionsTypeAmdVm          ShapePlatformConfigOptionsTypeEnum = "AMD_VM"
	ShapePlatformConfigOptionsTypeIntelVm        ShapePlatformConfigOptionsTypeEnum = "INTEL_VM"
)

Set of constants representing the allowable values for ShapePlatformConfigOptionsTypeEnum

func GetMappingShapePlatformConfigOptionsTypeEnum ¶

func GetMappingShapePlatformConfigOptionsTypeEnum(val string) (ShapePlatformConfigOptionsTypeEnum, bool)

GetMappingShapePlatformConfigOptionsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetShapePlatformConfigOptionsTypeEnumValues ¶

func GetShapePlatformConfigOptionsTypeEnumValues() []ShapePlatformConfigOptionsTypeEnum

GetShapePlatformConfigOptionsTypeEnumValues Enumerates the set of values for ShapePlatformConfigOptionsTypeEnum

type ShapeSecureBootOptions ¶

type ShapeSecureBootOptions struct {

	// Boolean values that indicate whether Secure Boot can be enabled or disabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether Secure Boot is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeSecureBootOptions Configuration options for Secure Boot.

func (ShapeSecureBootOptions) String ¶

func (m ShapeSecureBootOptions) String() string

func (ShapeSecureBootOptions) ValidateEnumValue ¶

func (m ShapeSecureBootOptions) 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 ShapeSymmetricMultiThreadingEnabledPlatformOptions ¶ added in v65.4.0

type ShapeSymmetricMultiThreadingEnabledPlatformOptions struct {

	// Whether symmetric multithreading can be enabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether symmetric multithreading is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeSymmetricMultiThreadingEnabledPlatformOptions Configuration options for symmetric multithreading (also called simultaneous multithreading or SMT).

func (ShapeSymmetricMultiThreadingEnabledPlatformOptions) String ¶ added in v65.4.0

func (ShapeSymmetricMultiThreadingEnabledPlatformOptions) ValidateEnumValue ¶ added in v65.4.0

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 ShapeTrustedPlatformModuleOptions ¶

type ShapeTrustedPlatformModuleOptions struct {

	// Boolean values that indicate whether the Trusted Platform Module can be enabled or disabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether the Trusted Platform Module is enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeTrustedPlatformModuleOptions Configuration options for the Trusted Platform Module (TPM).

func (ShapeTrustedPlatformModuleOptions) String ¶

func (ShapeTrustedPlatformModuleOptions) ValidateEnumValue ¶

func (m ShapeTrustedPlatformModuleOptions) 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 ShapeVirtualInstructionsEnabledPlatformOptions ¶ added in v65.4.0

type ShapeVirtualInstructionsEnabledPlatformOptions struct {

	// Whether virtualization instructions can be enabled.
	AllowedValues []bool `mandatory:"false" json:"allowedValues"`

	// Whether virtualization instructions are enabled by default.
	IsDefaultEnabled *bool `mandatory:"false" json:"isDefaultEnabled"`
}

ShapeVirtualInstructionsEnabledPlatformOptions Configuration options for the virtualization instructions.

func (ShapeVirtualInstructionsEnabledPlatformOptions) String ¶ added in v65.4.0

func (ShapeVirtualInstructionsEnabledPlatformOptions) ValidateEnumValue ¶ added in v65.4.0

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 SoftResetActionDetails ¶ added in v65.4.0

type SoftResetActionDetails struct {

	// For instances that use a DenseIO shape, the flag denoting whether
	// reboot migration (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot)
	// is performed for the instance. The default value is `false`.
	// If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to `false`), the instance
	// will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the
	// maintenance process. The local NVMe-based SSD will be preserved.
	// If you want to minimize downtime and can delete the SSD, you can set this flag to `true` and proactively reboot the
	// instance before the scheduled maintenance time. The instance will be reboot migrated to a healthy host and the SSD will be
	// deleted. A short downtime occurs during the migration.
	// **Caution:** When `true`, the SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding.
	AllowDenseRebootMigration *bool `mandatory:"false" json:"allowDenseRebootMigration"`
}

SoftResetActionDetails Parameters for the `softReset` InstanceAction. If omitted, default values are used.

func (SoftResetActionDetails) MarshalJSON ¶ added in v65.4.0

func (m SoftResetActionDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SoftResetActionDetails) String ¶ added in v65.4.0

func (m SoftResetActionDetails) String() string

func (SoftResetActionDetails) ValidateEnumValue ¶ added in v65.4.0

func (m SoftResetActionDetails) 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 SoftresetInstancePoolRequest ¶

type SoftresetInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

SoftresetInstancePoolRequest wrapper for the SoftresetInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePoolRequest.

func (SoftresetInstancePoolRequest) BinaryRequestBody ¶

func (request SoftresetInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SoftresetInstancePoolRequest) HTTPRequest ¶

func (request SoftresetInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SoftresetInstancePoolRequest) RetryPolicy ¶

func (request SoftresetInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SoftresetInstancePoolRequest) String ¶

func (request SoftresetInstancePoolRequest) String() string

func (SoftresetInstancePoolRequest) ValidateEnumValue ¶

func (request SoftresetInstancePoolRequest) 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 SoftresetInstancePoolResponse ¶

type SoftresetInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

SoftresetInstancePoolResponse wrapper for the SoftresetInstancePool operation

func (SoftresetInstancePoolResponse) HTTPResponse ¶

func (response SoftresetInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SoftresetInstancePoolResponse) String ¶

func (response SoftresetInstancePoolResponse) String() string

type SoftstopInstancePoolRequest ¶ added in v65.37.1

type SoftstopInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

SoftstopInstancePoolRequest wrapper for the SoftstopInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftstopInstancePool.go.html to see an example of how to use SoftstopInstancePoolRequest.

func (SoftstopInstancePoolRequest) BinaryRequestBody ¶ added in v65.37.1

func (request SoftstopInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (SoftstopInstancePoolRequest) HTTPRequest ¶ added in v65.37.1

func (request SoftstopInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (SoftstopInstancePoolRequest) RetryPolicy ¶ added in v65.37.1

func (request SoftstopInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (SoftstopInstancePoolRequest) String ¶ added in v65.37.1

func (request SoftstopInstancePoolRequest) String() string

func (SoftstopInstancePoolRequest) ValidateEnumValue ¶ added in v65.37.1

func (request SoftstopInstancePoolRequest) 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 SoftstopInstancePoolResponse ¶ added in v65.37.1

type SoftstopInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

SoftstopInstancePoolResponse wrapper for the SoftstopInstancePool operation

func (SoftstopInstancePoolResponse) HTTPResponse ¶ added in v65.37.1

func (response SoftstopInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (SoftstopInstancePoolResponse) String ¶ added in v65.37.1

func (response SoftstopInstancePoolResponse) String() string

type StartInstancePoolRequest ¶

type StartInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

StartInstancePoolRequest wrapper for the StartInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePoolRequest.

func (StartInstancePoolRequest) BinaryRequestBody ¶

func (request StartInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StartInstancePoolRequest) HTTPRequest ¶

func (request StartInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartInstancePoolRequest) RetryPolicy ¶

func (request StartInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StartInstancePoolRequest) String ¶

func (request StartInstancePoolRequest) String() string

func (StartInstancePoolRequest) ValidateEnumValue ¶

func (request StartInstancePoolRequest) 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 StartInstancePoolResponse ¶

type StartInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

StartInstancePoolResponse wrapper for the StartInstancePool operation

func (StartInstancePoolResponse) HTTPResponse ¶

func (response StartInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StartInstancePoolResponse) String ¶

func (response StartInstancePoolResponse) String() string

type StopInstancePoolRequest ¶

type StopInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

StopInstancePoolRequest wrapper for the StopInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePoolRequest.

func (StopInstancePoolRequest) BinaryRequestBody ¶

func (request StopInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StopInstancePoolRequest) HTTPRequest ¶

func (request StopInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StopInstancePoolRequest) RetryPolicy ¶

func (request StopInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (StopInstancePoolRequest) String ¶

func (request StopInstancePoolRequest) String() string

func (StopInstancePoolRequest) ValidateEnumValue ¶

func (request StopInstancePoolRequest) 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 StopInstancePoolResponse ¶

type StopInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

StopInstancePoolResponse wrapper for the StopInstancePool operation

func (StopInstancePoolResponse) HTTPResponse ¶

func (response StopInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (StopInstancePoolResponse) String ¶

func (response StopInstancePoolResponse) String() string

type Subnet ¶

type Subnet struct {

	// The subnet's CIDR block.
	// Example: `10.0.1.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the subnet.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The subnet's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The subnet's current state.
	LifecycleState SubnetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the subnet uses.
	RouteTableId *string `mandatory:"true" json:"routeTableId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the subnet is in.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The IP address of the virtual router.
	// Example: `10.0.14.1`
	VirtualRouterIp *string `mandatory:"true" json:"virtualRouterIp"`

	// The MAC address of the virtual router.
	// Example: `00:00:00:00:00:01`
	VirtualRouterMac *string `mandatory:"true" json:"virtualRouterMac"`

	// The subnet's availability domain. This attribute will be null if this is a regional subnet
	// instead of an AD-specific subnet. Oracle recommends creating regional subnets.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options that the subnet uses.
	DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A DNS label for the subnet, used in conjunction with the VNIC's hostname and
	// VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC
	// within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be an alphanumeric string that begins with a letter and is unique within the VCN.
	// The value cannot be changed.
	// The absence of this parameter means the Internet and VCN Resolver
	// will not resolve hostnames of instances in this subnet.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `subnet123`
	DnsLabel *string `mandatory:"false" json:"dnsLabel"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// For an IPv6-enabled subnet, this is the IPv6 prefix for the subnet's IP address space.
	// The subnet size is always /64. See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123:1111::/64`
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// The list of all IPv6 prefixes (Oracle allocated IPv6 GUA, ULA or private IPv6 prefixes, BYOIPv6 prefixes) for the subnet.
	Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"`

	// For an IPv6-enabled subnet, this is the IPv6 address of the virtual router.
	// Example: `2001:0db8:0123:1111:89ab:cdef:1234:5678`
	Ipv6VirtualRouterIp *string `mandatory:"false" json:"ipv6VirtualRouterIp"`

	// Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false.
	// For IPV4, `prohibitInternetIngress` behaves similarly to `prohibitPublicIpOnVnic`.
	// If it is set to false, VNICs created in this subnet will automatically be assigned public IP
	// addresses unless specified otherwise during instance launch or VNIC creation (with the `assignPublicIp`
	// flag in CreateVnicDetails).
	// If `prohibitInternetIngress` is set to true, VNICs created in this subnet cannot have public IP addresses
	// (that is, it's a privatesubnet).
	// For IPv6, if `prohibitInternetIngress` is set to `true`, internet access is not allowed for any
	// IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet traffic is allowed by default.
	// Example: `true`
	ProhibitInternetIngress *bool `mandatory:"false" json:"prohibitInternetIngress"`

	// Whether VNICs within this subnet can have public IP addresses.
	// Defaults to false, which means VNICs created in this subnet will
	// automatically be assigned public IP addresses unless specified
	// otherwise during instance launch or VNIC creation (with the
	// `assignPublicIp` flag in
	// CreateVnicDetails).
	// If `prohibitPublicIpOnVnic` is set to true, VNICs created in this
	// subnet cannot have public IP addresses (that is, it's a private
	// subnet).
	// Example: `true`
	ProhibitPublicIpOnVnic *bool `mandatory:"false" json:"prohibitPublicIpOnVnic"`

	// The OCIDs of the security list or lists that the subnet uses. Remember
	// that security lists are associated *with the subnet*, but the
	// rules are applied to the individual VNICs in the subnet.
	SecurityListIds []string `mandatory:"false" json:"securityListIds"`

	// The subnet's domain name, which consists of the subnet's DNS label,
	// the VCN's DNS label, and the `oraclevcn.com` domain.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `subnet123.vcn1.oraclevcn.com`
	SubnetDomainName *string `mandatory:"false" json:"subnetDomainName"`

	// The date and time the subnet was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

Subnet A logical subdivision of a VCN. Each subnet consists of a contiguous range of IP addresses that do not overlap with other subnets in the VCN. Example: 172.16.1.0/24. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm) and VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Subnet) String ¶

func (m Subnet) String() string

func (Subnet) ValidateEnumValue ¶

func (m Subnet) 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 SubnetLifecycleStateEnum ¶

type SubnetLifecycleStateEnum string

SubnetLifecycleStateEnum Enum with underlying type: string

const (
	SubnetLifecycleStateProvisioning SubnetLifecycleStateEnum = "PROVISIONING"
	SubnetLifecycleStateAvailable    SubnetLifecycleStateEnum = "AVAILABLE"
	SubnetLifecycleStateTerminating  SubnetLifecycleStateEnum = "TERMINATING"
	SubnetLifecycleStateTerminated   SubnetLifecycleStateEnum = "TERMINATED"
	SubnetLifecycleStateUpdating     SubnetLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for SubnetLifecycleStateEnum

func GetMappingSubnetLifecycleStateEnum ¶

func GetMappingSubnetLifecycleStateEnum(val string) (SubnetLifecycleStateEnum, bool)

GetMappingSubnetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSubnetLifecycleStateEnumValues ¶

func GetSubnetLifecycleStateEnumValues() []SubnetLifecycleStateEnum

GetSubnetLifecycleStateEnumValues Enumerates the set of values for SubnetLifecycleStateEnum

type SubnetTopology ¶

type SubnetTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Lists entities that are limited during ingestion.
	// The values for the items in the list are the entity type names of the limitedEntities.
	// Example: `vcn`
	LimitedEntities []string `mandatory:"true" json:"limitedEntities"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet for which the visualization is generated.
	SubnetId *string `mandatory:"false" json:"subnetId"`
}

SubnetTopology Defines the visualization of a subnet in a VCN. See Network Visualizer Documentation (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including conventions and pictures of symbols.

func (SubnetTopology) GetEntities ¶

func (m SubnetTopology) GetEntities() []interface{}

GetEntities returns Entities

func (SubnetTopology) GetLimitedEntities ¶ added in v65.47.0

func (m SubnetTopology) GetLimitedEntities() []string

GetLimitedEntities returns LimitedEntities

func (SubnetTopology) GetRelationships ¶

func (m SubnetTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (SubnetTopology) GetTimeCreated ¶

func (m SubnetTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SubnetTopology) MarshalJSON ¶

func (m SubnetTopology) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SubnetTopology) String ¶

func (m SubnetTopology) String() string

func (*SubnetTopology) UnmarshalJSON ¶

func (m *SubnetTopology) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (SubnetTopology) ValidateEnumValue ¶

func (m SubnetTopology) 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 TcpOptions ¶

type TcpOptions struct {
	DestinationPortRange *PortRange `mandatory:"false" json:"destinationPortRange"`

	SourcePortRange *PortRange `mandatory:"false" json:"sourcePortRange"`
}

TcpOptions Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.

func (TcpOptions) String ¶

func (m TcpOptions) String() string

func (TcpOptions) ValidateEnumValue ¶

func (m TcpOptions) 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 TerminateClusterNetworkRequest ¶

type TerminateClusterNetworkRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

TerminateClusterNetworkRequest wrapper for the TerminateClusterNetwork operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetworkRequest.

func (TerminateClusterNetworkRequest) BinaryRequestBody ¶

func (request TerminateClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TerminateClusterNetworkRequest) HTTPRequest ¶

func (request TerminateClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TerminateClusterNetworkRequest) RetryPolicy ¶

func (request TerminateClusterNetworkRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TerminateClusterNetworkRequest) String ¶

func (request TerminateClusterNetworkRequest) String() string

func (TerminateClusterNetworkRequest) ValidateEnumValue ¶

func (request TerminateClusterNetworkRequest) 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 TerminateClusterNetworkResponse ¶

type TerminateClusterNetworkResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

TerminateClusterNetworkResponse wrapper for the TerminateClusterNetwork operation

func (TerminateClusterNetworkResponse) HTTPResponse ¶

func (response TerminateClusterNetworkResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TerminateClusterNetworkResponse) String ¶

func (response TerminateClusterNetworkResponse) String() string

type TerminateInstancePoolRequest ¶

type TerminateInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

TerminateInstancePoolRequest wrapper for the TerminateInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePoolRequest.

func (TerminateInstancePoolRequest) BinaryRequestBody ¶

func (request TerminateInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TerminateInstancePoolRequest) HTTPRequest ¶

func (request TerminateInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TerminateInstancePoolRequest) RetryPolicy ¶

func (request TerminateInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TerminateInstancePoolRequest) String ¶

func (request TerminateInstancePoolRequest) String() string

func (TerminateInstancePoolRequest) ValidateEnumValue ¶

func (request TerminateInstancePoolRequest) 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 TerminateInstancePoolResponse ¶

type TerminateInstancePoolResponse 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"`
}

TerminateInstancePoolResponse wrapper for the TerminateInstancePool operation

func (TerminateInstancePoolResponse) HTTPResponse ¶

func (response TerminateInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TerminateInstancePoolResponse) String ¶

func (response TerminateInstancePoolResponse) String() string

type TerminateInstanceRequest ¶

type TerminateInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// 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"`

	// Specifies whether to delete or preserve the boot volume when terminating an instance.
	// When set to `true`, the boot volume is preserved. The default value is `false`.
	PreserveBootVolume *bool `mandatory:"false" contributesTo:"query" name:"preserveBootVolume"`

	// Specifies whether to delete or preserve the data volumes created during launch when
	// terminating an instance. When set to `true`, the data volumes are preserved. The
	// default value is `true`.
	PreserveDataVolumesCreatedAtLaunch *bool `mandatory:"false" contributesTo:"query" name:"preserveDataVolumesCreatedAtLaunch"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

TerminateInstanceRequest wrapper for the TerminateInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstanceRequest.

func (TerminateInstanceRequest) BinaryRequestBody ¶

func (request TerminateInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (TerminateInstanceRequest) HTTPRequest ¶

func (request TerminateInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (TerminateInstanceRequest) RetryPolicy ¶

func (request TerminateInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (TerminateInstanceRequest) String ¶

func (request TerminateInstanceRequest) String() string

func (TerminateInstanceRequest) ValidateEnumValue ¶

func (request TerminateInstanceRequest) 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 TerminateInstanceResponse ¶

type TerminateInstanceResponse 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"`
}

TerminateInstanceResponse wrapper for the TerminateInstance operation

func (TerminateInstanceResponse) HTTPResponse ¶

func (response TerminateInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (TerminateInstanceResponse) String ¶

func (response TerminateInstanceResponse) String() string

type TerminatePreemptionAction ¶

type TerminatePreemptionAction struct {

	// Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
	PreserveBootVolume *bool `mandatory:"false" json:"preserveBootVolume"`
}

TerminatePreemptionAction Terminates the preemptible instance when it is interrupted for eviction.

func (TerminatePreemptionAction) MarshalJSON ¶

func (m TerminatePreemptionAction) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TerminatePreemptionAction) String ¶

func (m TerminatePreemptionAction) String() string

func (TerminatePreemptionAction) ValidateEnumValue ¶

func (m TerminatePreemptionAction) 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 Topology ¶

type Topology interface {

	// Lists entities comprising the virtual network topology.
	GetEntities() []interface{}

	// Lists relationships between entities in the virtual network topology.
	GetRelationships() []TopologyEntityRelationship

	// Lists entities that are limited during ingestion.
	// The values for the items in the list are the entity type names of the limitedEntities.
	// Example: `vcn`
	GetLimitedEntities() []string

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	GetTimeCreated() *common.SDKTime
}

Topology Defines the representation of a virtual network topology.

type TopologyAssociatedWithEntityRelationship ¶

type TopologyAssociatedWithEntityRelationship struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	Id1 *string `mandatory:"true" json:"id1"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	Id2 *string `mandatory:"true" json:"id2"`

	AssociatedWithDetails *TopologyAssociatedWithRelationshipDetails `mandatory:"false" json:"associatedWithDetails"`
}

TopologyAssociatedWithEntityRelationship Defines the `AssociatedWith` relationship between virtual network topology entities. An `AssociatedWith` relationship is defined when there is no obvious `contains` relationship but entities are still related. For example, a DRG is associated with a VCN because a DRG is not managed by VCN but can be attached to a VCN.

func (TopologyAssociatedWithEntityRelationship) GetId1 ¶

GetId1 returns Id1

func (TopologyAssociatedWithEntityRelationship) GetId2 ¶

GetId2 returns Id2

func (TopologyAssociatedWithEntityRelationship) MarshalJSON ¶

func (m TopologyAssociatedWithEntityRelationship) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TopologyAssociatedWithEntityRelationship) String ¶

func (TopologyAssociatedWithEntityRelationship) ValidateEnumValue ¶

func (m TopologyAssociatedWithEntityRelationship) 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 TopologyAssociatedWithRelationshipDetails ¶

type TopologyAssociatedWithRelationshipDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entities via which the relationship is created. For example an instance is associated with a network security group via the VNIC attachment and the VNIC.
	Via []string `mandatory:"false" json:"via"`
}

TopologyAssociatedWithRelationshipDetails Defines association details for an `associatedWith` relationship.

func (TopologyAssociatedWithRelationshipDetails) String ¶

func (TopologyAssociatedWithRelationshipDetails) ValidateEnumValue ¶

func (m TopologyAssociatedWithRelationshipDetails) 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 TopologyContainsEntityRelationship ¶

type TopologyContainsEntityRelationship struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	Id1 *string `mandatory:"true" json:"id1"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	Id2 *string `mandatory:"true" json:"id2"`
}

TopologyContainsEntityRelationship Defines the `contains` relationship between virtual network topology entities. A `Contains` relationship is defined when an entity fully owns, contains or manages another entity. For example, a subnet is contained and managed in the scope of a VCN, therefore a VCN has a `contains` relationship to a subnet.

func (TopologyContainsEntityRelationship) GetId1 ¶

GetId1 returns Id1

func (TopologyContainsEntityRelationship) GetId2 ¶

GetId2 returns Id2

func (TopologyContainsEntityRelationship) MarshalJSON ¶

func (m TopologyContainsEntityRelationship) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TopologyContainsEntityRelationship) String ¶

func (TopologyContainsEntityRelationship) ValidateEnumValue ¶

func (m TopologyContainsEntityRelationship) 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 TopologyEntityRelationship ¶

type TopologyEntityRelationship interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	GetId1() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	GetId2() *string
}

TopologyEntityRelationship Defines the relationship between Virtual Network topology entities.

type TopologyEntityRelationshipTypeEnum ¶

type TopologyEntityRelationshipTypeEnum string

TopologyEntityRelationshipTypeEnum Enum with underlying type: string

const (
	TopologyEntityRelationshipTypeContains       TopologyEntityRelationshipTypeEnum = "CONTAINS"
	TopologyEntityRelationshipTypeAssociatedWith TopologyEntityRelationshipTypeEnum = "ASSOCIATED_WITH"
	TopologyEntityRelationshipTypeRoutesTo       TopologyEntityRelationshipTypeEnum = "ROUTES_TO"
)

Set of constants representing the allowable values for TopologyEntityRelationshipTypeEnum

func GetMappingTopologyEntityRelationshipTypeEnum ¶

func GetMappingTopologyEntityRelationshipTypeEnum(val string) (TopologyEntityRelationshipTypeEnum, bool)

GetMappingTopologyEntityRelationshipTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTopologyEntityRelationshipTypeEnumValues ¶

func GetTopologyEntityRelationshipTypeEnumValues() []TopologyEntityRelationshipTypeEnum

GetTopologyEntityRelationshipTypeEnumValues Enumerates the set of values for TopologyEntityRelationshipTypeEnum

type TopologyRoutesToEntityRelationship ¶

type TopologyRoutesToEntityRelationship struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	Id1 *string `mandatory:"true" json:"id1"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	Id2 *string `mandatory:"true" json:"id2"`

	RouteRuleDetails *TopologyRoutesToRelationshipDetails `mandatory:"true" json:"routeRuleDetails"`
}

TopologyRoutesToEntityRelationship Defines the `routesTo` relationship between virtual network topology entities. A `RoutesTo` relationship is defined when a routing table and a routing rule are used to govern how to route traffic from one entity to another. For example, a DRG might have a routing rule to send certain traffic to an LPG.

func (TopologyRoutesToEntityRelationship) GetId1 ¶

GetId1 returns Id1

func (TopologyRoutesToEntityRelationship) GetId2 ¶

GetId2 returns Id2

func (TopologyRoutesToEntityRelationship) MarshalJSON ¶

func (m TopologyRoutesToEntityRelationship) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (TopologyRoutesToEntityRelationship) String ¶

func (TopologyRoutesToEntityRelationship) ValidateEnumValue ¶

func (m TopologyRoutesToEntityRelationship) 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 TopologyRoutesToRelationshipDetails ¶

type TopologyRoutesToRelationshipDetails struct {

	// The destinationType can be set to one of two values:
	// * Use `CIDR_BLOCK` if the rule's `destination` is an IP address range in CIDR notation.
	// * Use `SERVICE_CIDR_BLOCK` if the rule's `destination` is the `cidrBlock` value for a Service.
	DestinationType *string `mandatory:"true" json:"destinationType"`

	// An IP address range in CIDR notation or the `cidrBlock` value for a Service.
	Destination *string `mandatory:"true" json:"destination"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the routing table that contains the route rule.
	RouteTableId *string `mandatory:"true" json:"routeTableId"`

	// A route rule can be `STATIC` if manually added to the route table or `DYNAMIC` if imported from another route table.
	RouteType TopologyRoutesToRelationshipDetailsRouteTypeEnum `mandatory:"false" json:"routeType,omitempty"`
}

TopologyRoutesToRelationshipDetails Defines route rule details for a `routesTo` relationship.

func (TopologyRoutesToRelationshipDetails) String ¶

func (TopologyRoutesToRelationshipDetails) ValidateEnumValue ¶

func (m TopologyRoutesToRelationshipDetails) 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 TopologyRoutesToRelationshipDetailsRouteTypeEnum ¶

type TopologyRoutesToRelationshipDetailsRouteTypeEnum string

TopologyRoutesToRelationshipDetailsRouteTypeEnum Enum with underlying type: string

const (
	TopologyRoutesToRelationshipDetailsRouteTypeStatic  TopologyRoutesToRelationshipDetailsRouteTypeEnum = "STATIC"
	TopologyRoutesToRelationshipDetailsRouteTypeDynamic TopologyRoutesToRelationshipDetailsRouteTypeEnum = "DYNAMIC"
)

Set of constants representing the allowable values for TopologyRoutesToRelationshipDetailsRouteTypeEnum

func GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum ¶

func GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum(val string) (TopologyRoutesToRelationshipDetailsRouteTypeEnum, bool)

GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues ¶

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues() []TopologyRoutesToRelationshipDetailsRouteTypeEnum

GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues Enumerates the set of values for TopologyRoutesToRelationshipDetailsRouteTypeEnum

type TopologyTypeEnum ¶

type TopologyTypeEnum string

TopologyTypeEnum Enum with underlying type: string

const (
	TopologyTypeNetworking TopologyTypeEnum = "NETWORKING"
	TopologyTypeVcn        TopologyTypeEnum = "VCN"
	TopologyTypeSubnet     TopologyTypeEnum = "SUBNET"
	TopologyTypePath       TopologyTypeEnum = "PATH"
)

Set of constants representing the allowable values for TopologyTypeEnum

func GetMappingTopologyTypeEnum ¶

func GetMappingTopologyTypeEnum(val string) (TopologyTypeEnum, bool)

GetMappingTopologyTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTopologyTypeEnumValues ¶

func GetTopologyTypeEnumValues() []TopologyTypeEnum

GetTopologyTypeEnumValues Enumerates the set of values for TopologyTypeEnum

type TunnelConfig ¶

type TunnelConfig struct {

	// The IP address of Oracle's VPN headend.
	// Example: `203.0.113.50 `
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The shared secret of the IPSec tunnel.
	SharedSecret *string `mandatory:"true" json:"sharedSecret"`

	// The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

TunnelConfig Deprecated. For tunnel information, instead see:

  • IPSecConnectionTunnel
  • IPSecConnectionTunnelSharedSecret

func (TunnelConfig) String ¶

func (m TunnelConfig) String() string

func (TunnelConfig) ValidateEnumValue ¶

func (m TunnelConfig) 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 TunnelCpeDeviceConfig ¶

type TunnelCpeDeviceConfig struct {
	TunnelCpeDeviceConfigParameter []CpeDeviceConfigAnswer `mandatory:"false" json:"tunnelCpeDeviceConfigParameter"`
}

TunnelCpeDeviceConfig The set of CPE configuration answers for the tunnel, which the customer provides in UpdateTunnelCpeDeviceConfig. The answers correlate to the questions that are specific to the CPE device type (see the `parameters` attribute of CpeDeviceShapeDetail). See these related operations:

  • GetTunnelCpeDeviceConfig
  • GetTunnelCpeDeviceConfigContent
  • GetIpsecCpeDeviceConfigContent
  • GetCpeDeviceConfigContent

func (TunnelCpeDeviceConfig) String ¶

func (m TunnelCpeDeviceConfig) String() string

func (TunnelCpeDeviceConfig) ValidateEnumValue ¶

func (m TunnelCpeDeviceConfig) 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 TunnelPhaseOneDetails ¶

type TunnelPhaseOneDetails struct {

	// Indicates whether custom phase one configuration is enabled.
	// If this option is not enabled, default settings are proposed.
	IsCustomPhaseOneConfig *bool `mandatory:"false" json:"isCustomPhaseOneConfig"`

	// The total configured lifetime of the IKE security association.
	Lifetime *int64 `mandatory:"false" json:"lifetime"`

	// The remaining lifetime before the key is refreshed.
	RemainingLifetime *int64 `mandatory:"false" json:"remainingLifetime"`

	// The proposed custom authentication algorithm.
	CustomAuthenticationAlgorithm *string `mandatory:"false" json:"customAuthenticationAlgorithm"`

	// The negotiated authentication algorithm.
	NegotiatedAuthenticationAlgorithm *string `mandatory:"false" json:"negotiatedAuthenticationAlgorithm"`

	// The proposed custom encryption algorithm.
	CustomEncryptionAlgorithm *string `mandatory:"false" json:"customEncryptionAlgorithm"`

	// The negotiated encryption algorithm.
	NegotiatedEncryptionAlgorithm *string `mandatory:"false" json:"negotiatedEncryptionAlgorithm"`

	// The proposed custom Diffie-Hellman group.
	CustomDhGroup *string `mandatory:"false" json:"customDhGroup"`

	// The negotiated Diffie-Hellman group.
	NegotiatedDhGroup *string `mandatory:"false" json:"negotiatedDhGroup"`

	// Indicates whether IKE phase one is established.
	IsIkeEstablished *bool `mandatory:"false" json:"isIkeEstablished"`

	// The date and time we retrieved the remaining lifetime, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	RemainingLifetimeLastRetrieved *common.SDKTime `mandatory:"false" json:"remainingLifetimeLastRetrieved"`
}

TunnelPhaseOneDetails IPSec tunnel details specific to ISAKMP phase one.

func (TunnelPhaseOneDetails) String ¶

func (m TunnelPhaseOneDetails) String() string

func (TunnelPhaseOneDetails) ValidateEnumValue ¶

func (m TunnelPhaseOneDetails) 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 TunnelPhaseTwoDetails ¶

type TunnelPhaseTwoDetails struct {

	// Indicates whether custom phase two configuration is enabled.
	// If this option is not enabled, default settings are proposed.
	IsCustomPhaseTwoConfig *bool `mandatory:"false" json:"isCustomPhaseTwoConfig"`

	// The total configured lifetime of the IKE security association.
	Lifetime *int64 `mandatory:"false" json:"lifetime"`

	// The remaining lifetime before the key is refreshed.
	RemainingLifetime *int64 `mandatory:"false" json:"remainingLifetime"`

	// Phase two authentication algorithm proposed during tunnel negotiation.
	CustomAuthenticationAlgorithm *string `mandatory:"false" json:"customAuthenticationAlgorithm"`

	// The negotiated phase two authentication algorithm.
	NegotiatedAuthenticationAlgorithm *string `mandatory:"false" json:"negotiatedAuthenticationAlgorithm"`

	// The proposed custom phase two encryption algorithm.
	CustomEncryptionAlgorithm *string `mandatory:"false" json:"customEncryptionAlgorithm"`

	// The negotiated encryption algorithm.
	NegotiatedEncryptionAlgorithm *string `mandatory:"false" json:"negotiatedEncryptionAlgorithm"`

	// The proposed Diffie-Hellman group.
	DhGroup *string `mandatory:"false" json:"dhGroup"`

	// The negotiated Diffie-Hellman group.
	NegotiatedDhGroup *string `mandatory:"false" json:"negotiatedDhGroup"`

	// Indicates that ESP phase two is established.
	IsEspEstablished *bool `mandatory:"false" json:"isEspEstablished"`

	// Indicates that PFS (perfect forward secrecy) is enabled.
	IsPfsEnabled *bool `mandatory:"false" json:"isPfsEnabled"`

	// The date and time the remaining lifetime was last retrieved, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	RemainingLifetimeLastRetrieved *common.SDKTime `mandatory:"false" json:"remainingLifetimeLastRetrieved"`
}

TunnelPhaseTwoDetails IPsec tunnel detail information specific to phase two.

func (TunnelPhaseTwoDetails) String ¶

func (m TunnelPhaseTwoDetails) String() string

func (TunnelPhaseTwoDetails) ValidateEnumValue ¶

func (m TunnelPhaseTwoDetails) 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 TunnelRouteSummary ¶

type TunnelRouteSummary struct {

	// The BGP network layer reachability information.
	Prefix *string `mandatory:"false" json:"prefix"`

	// The age of the route.
	Age *int64 `mandatory:"false" json:"age"`

	// Indicates this is the best route.
	IsBestPath *bool `mandatory:"false" json:"isBestPath"`

	// A list of ASNs in AS_Path.
	AsPath []int `mandatory:"false" json:"asPath"`

	// The source of the route advertisement.
	Advertiser TunnelRouteSummaryAdvertiserEnum `mandatory:"false" json:"advertiser,omitempty"`
}

TunnelRouteSummary A summary of the routes advertised to and received from the on-premises network.

func (TunnelRouteSummary) String ¶

func (m TunnelRouteSummary) String() string

func (TunnelRouteSummary) ValidateEnumValue ¶

func (m TunnelRouteSummary) 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 TunnelRouteSummaryAdvertiserEnum ¶

type TunnelRouteSummaryAdvertiserEnum string

TunnelRouteSummaryAdvertiserEnum Enum with underlying type: string

const (
	TunnelRouteSummaryAdvertiserCustomer TunnelRouteSummaryAdvertiserEnum = "CUSTOMER"
	TunnelRouteSummaryAdvertiserOracle   TunnelRouteSummaryAdvertiserEnum = "ORACLE"
)

Set of constants representing the allowable values for TunnelRouteSummaryAdvertiserEnum

func GetMappingTunnelRouteSummaryAdvertiserEnum ¶

func GetMappingTunnelRouteSummaryAdvertiserEnum(val string) (TunnelRouteSummaryAdvertiserEnum, bool)

GetMappingTunnelRouteSummaryAdvertiserEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTunnelRouteSummaryAdvertiserEnumValues ¶

func GetTunnelRouteSummaryAdvertiserEnumValues() []TunnelRouteSummaryAdvertiserEnum

GetTunnelRouteSummaryAdvertiserEnumValues Enumerates the set of values for TunnelRouteSummaryAdvertiserEnum

type TunnelSecurityAssociationSummary ¶

type TunnelSecurityAssociationSummary struct {

	// The IP address and mask of the partner subnet used in policy based VPNs or static routes.
	CpeSubnet *string `mandatory:"false" json:"cpeSubnet"`

	// The IP address and mask of the local subnet used in policy based VPNs or static routes.
	OracleSubnet *string `mandatory:"false" json:"oracleSubnet"`

	// The IPSec tunnel's phase one status.
	TunnelSaStatus TunnelSecurityAssociationSummaryTunnelSaStatusEnum `mandatory:"false" json:"tunnelSaStatus,omitempty"`

	// Current state if the IPSec tunnel status is not `UP`, including phase one and phase two details and a possible reason the tunnel is not `UP`.
	TunnelSaErrorInfo *string `mandatory:"false" json:"tunnelSaErrorInfo"`

	// Time in the current state, in seconds.
	Time *string `mandatory:"false" json:"time"`
}

TunnelSecurityAssociationSummary A summary of the IPSec tunnel security association details.

func (TunnelSecurityAssociationSummary) String ¶

func (TunnelSecurityAssociationSummary) ValidateEnumValue ¶

func (m TunnelSecurityAssociationSummary) 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 TunnelSecurityAssociationSummaryTunnelSaStatusEnum ¶

type TunnelSecurityAssociationSummaryTunnelSaStatusEnum string

TunnelSecurityAssociationSummaryTunnelSaStatusEnum Enum with underlying type: string

const (
	TunnelSecurityAssociationSummaryTunnelSaStatusInitiating TunnelSecurityAssociationSummaryTunnelSaStatusEnum = "INITIATING"
	TunnelSecurityAssociationSummaryTunnelSaStatusListening  TunnelSecurityAssociationSummaryTunnelSaStatusEnum = "LISTENING"
	TunnelSecurityAssociationSummaryTunnelSaStatusUp         TunnelSecurityAssociationSummaryTunnelSaStatusEnum = "UP"
	TunnelSecurityAssociationSummaryTunnelSaStatusDown       TunnelSecurityAssociationSummaryTunnelSaStatusEnum = "DOWN"
	TunnelSecurityAssociationSummaryTunnelSaStatusError      TunnelSecurityAssociationSummaryTunnelSaStatusEnum = "ERROR"
	TunnelSecurityAssociationSummaryTunnelSaStatusUnknown    TunnelSecurityAssociationSummaryTunnelSaStatusEnum = "UNKNOWN"
)

Set of constants representing the allowable values for TunnelSecurityAssociationSummaryTunnelSaStatusEnum

func GetMappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum ¶

func GetMappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum(val string) (TunnelSecurityAssociationSummaryTunnelSaStatusEnum, bool)

GetMappingTunnelSecurityAssociationSummaryTunnelSaStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumValues ¶

func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumValues() []TunnelSecurityAssociationSummaryTunnelSaStatusEnum

GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumValues Enumerates the set of values for TunnelSecurityAssociationSummaryTunnelSaStatusEnum

type TunnelStatus ¶

type TunnelStatus struct {

	// The IP address of Oracle's VPN headend.
	// Example: `203.0.113.50`
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The tunnel's current state.
	LifecycleState TunnelStatusLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// When the state of the tunnel last changed, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeStateModified *common.SDKTime `mandatory:"false" json:"timeStateModified"`
}

TunnelStatus Deprecated. For tunnel information, instead see IPSecConnectionTunnel.

func (TunnelStatus) String ¶

func (m TunnelStatus) String() string

func (TunnelStatus) ValidateEnumValue ¶

func (m TunnelStatus) 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 TunnelStatusLifecycleStateEnum ¶

type TunnelStatusLifecycleStateEnum string

TunnelStatusLifecycleStateEnum Enum with underlying type: string

const (
	TunnelStatusLifecycleStateUp                 TunnelStatusLifecycleStateEnum = "UP"
	TunnelStatusLifecycleStateDown               TunnelStatusLifecycleStateEnum = "DOWN"
	TunnelStatusLifecycleStateDownForMaintenance TunnelStatusLifecycleStateEnum = "DOWN_FOR_MAINTENANCE"
	TunnelStatusLifecycleStatePartialUp          TunnelStatusLifecycleStateEnum = "PARTIAL_UP"
)

Set of constants representing the allowable values for TunnelStatusLifecycleStateEnum

func GetMappingTunnelStatusLifecycleStateEnum ¶

func GetMappingTunnelStatusLifecycleStateEnum(val string) (TunnelStatusLifecycleStateEnum, bool)

GetMappingTunnelStatusLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTunnelStatusLifecycleStateEnumValues ¶

func GetTunnelStatusLifecycleStateEnumValues() []TunnelStatusLifecycleStateEnum

GetTunnelStatusLifecycleStateEnumValues Enumerates the set of values for TunnelStatusLifecycleStateEnum

type UdpOptions ¶

type UdpOptions struct {
	DestinationPortRange *PortRange `mandatory:"false" json:"destinationPortRange"`

	SourcePortRange *PortRange `mandatory:"false" json:"sourcePortRange"`
}

UdpOptions Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.

func (UdpOptions) String ¶

func (m UdpOptions) String() string

func (UdpOptions) ValidateEnumValue ¶

func (m UdpOptions) 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 UpdateBootVolumeBackupDetails ¶

type UpdateBootVolumeBackupDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the Vault service key which is the master encryption key for the volume backup.
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

UpdateBootVolumeBackupDetails The representation of UpdateBootVolumeBackupDetails

func (UpdateBootVolumeBackupDetails) String ¶

func (UpdateBootVolumeBackupDetails) ValidateEnumValue ¶

func (m UpdateBootVolumeBackupDetails) 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 UpdateBootVolumeBackupRequest ¶

type UpdateBootVolumeBackupRequest struct {

	// The OCID of the boot volume backup.
	BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"`

	// Update boot volume backup fields
	UpdateBootVolumeBackupDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateBootVolumeBackupRequest wrapper for the UpdateBootVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackupRequest.

func (UpdateBootVolumeBackupRequest) BinaryRequestBody ¶

func (request UpdateBootVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBootVolumeBackupRequest) HTTPRequest ¶

func (request UpdateBootVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBootVolumeBackupRequest) RetryPolicy ¶

func (request UpdateBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBootVolumeBackupRequest) String ¶

func (request UpdateBootVolumeBackupRequest) String() string

func (UpdateBootVolumeBackupRequest) ValidateEnumValue ¶

func (request UpdateBootVolumeBackupRequest) 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 UpdateBootVolumeBackupResponse ¶

type UpdateBootVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeBackup instance
	BootVolumeBackup `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateBootVolumeBackupResponse wrapper for the UpdateBootVolumeBackup operation

func (UpdateBootVolumeBackupResponse) HTTPResponse ¶

func (response UpdateBootVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBootVolumeBackupResponse) String ¶

func (response UpdateBootVolumeBackupResponse) String() string

type UpdateBootVolumeDetails ¶

type UpdateBootVolumeDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The size to resize the volume to in GBs. Has to be larger than the current size.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated.
	// Use the `DetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The list of boot volume replicas that this boot volume will be updated to have
	// in the specified destination availability domains.
	BootVolumeReplicas []BootVolumeReplicaDetails `mandatory:"false" json:"bootVolumeReplicas"`

	// The list of autotune policies to be enabled for this volume.
	AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

UpdateBootVolumeDetails The representation of UpdateBootVolumeDetails

func (UpdateBootVolumeDetails) String ¶

func (m UpdateBootVolumeDetails) String() string

func (*UpdateBootVolumeDetails) UnmarshalJSON ¶ added in v65.18.1

func (m *UpdateBootVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateBootVolumeDetails) ValidateEnumValue ¶

func (m UpdateBootVolumeDetails) 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 UpdateBootVolumeKmsKeyDetails ¶

type UpdateBootVolumeKmsKeyDetails struct {

	// The OCID of the new Vault service key to assign to protect the specified volume.
	// This key has to be a valid Vault service key, and policies must exist to allow the user and the Block Volume service to access this key.
	// If you specify the same OCID as the previous key's OCID, the Block Volume service will use it to regenerate a volume encryption key.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

UpdateBootVolumeKmsKeyDetails The representation of UpdateBootVolumeKmsKeyDetails

func (UpdateBootVolumeKmsKeyDetails) String ¶

func (UpdateBootVolumeKmsKeyDetails) ValidateEnumValue ¶

func (m UpdateBootVolumeKmsKeyDetails) 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 UpdateBootVolumeKmsKeyRequest ¶

type UpdateBootVolumeKmsKeyRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// Updates the Vault service master encryption key assigned to the specified boot volume.
	UpdateBootVolumeKmsKeyDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateBootVolumeKmsKeyRequest wrapper for the UpdateBootVolumeKmsKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKeyRequest.

func (UpdateBootVolumeKmsKeyRequest) BinaryRequestBody ¶

func (request UpdateBootVolumeKmsKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBootVolumeKmsKeyRequest) HTTPRequest ¶

func (request UpdateBootVolumeKmsKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBootVolumeKmsKeyRequest) RetryPolicy ¶

func (request UpdateBootVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBootVolumeKmsKeyRequest) String ¶

func (request UpdateBootVolumeKmsKeyRequest) String() string

func (UpdateBootVolumeKmsKeyRequest) ValidateEnumValue ¶

func (request UpdateBootVolumeKmsKeyRequest) 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 UpdateBootVolumeKmsKeyResponse ¶

type UpdateBootVolumeKmsKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolumeKmsKey instance
	BootVolumeKmsKey `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"`
}

UpdateBootVolumeKmsKeyResponse wrapper for the UpdateBootVolumeKmsKey operation

func (UpdateBootVolumeKmsKeyResponse) HTTPResponse ¶

func (response UpdateBootVolumeKmsKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBootVolumeKmsKeyResponse) String ¶

func (response UpdateBootVolumeKmsKeyResponse) String() string

type UpdateBootVolumeRequest ¶

type UpdateBootVolumeRequest struct {

	// The OCID of the boot volume.
	BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"`

	// Update boot volume's display name.
	UpdateBootVolumeDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateBootVolumeRequest wrapper for the UpdateBootVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolumeRequest.

func (UpdateBootVolumeRequest) BinaryRequestBody ¶

func (request UpdateBootVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBootVolumeRequest) HTTPRequest ¶

func (request UpdateBootVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBootVolumeRequest) RetryPolicy ¶

func (request UpdateBootVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBootVolumeRequest) String ¶

func (request UpdateBootVolumeRequest) String() string

func (UpdateBootVolumeRequest) ValidateEnumValue ¶

func (request UpdateBootVolumeRequest) 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 UpdateBootVolumeResponse ¶

type UpdateBootVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The BootVolume instance
	BootVolume `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"`
}

UpdateBootVolumeResponse wrapper for the UpdateBootVolume operation

func (UpdateBootVolumeResponse) HTTPResponse ¶

func (response UpdateBootVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBootVolumeResponse) String ¶

func (response UpdateBootVolumeResponse) String() string

type UpdateByoipRangeDetails ¶

type UpdateByoipRangeDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateByoipRangeDetails The information used to update a `ByoipRange` resource.

func (UpdateByoipRangeDetails) String ¶

func (m UpdateByoipRangeDetails) String() string

func (UpdateByoipRangeDetails) ValidateEnumValue ¶

func (m UpdateByoipRangeDetails) 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 UpdateByoipRangeRequest ¶

type UpdateByoipRangeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Byoip Range details.
	UpdateByoipRangeDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

UpdateByoipRangeRequest wrapper for the UpdateByoipRange operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRangeRequest.

func (UpdateByoipRangeRequest) BinaryRequestBody ¶

func (request UpdateByoipRangeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateByoipRangeRequest) HTTPRequest ¶

func (request UpdateByoipRangeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateByoipRangeRequest) RetryPolicy ¶

func (request UpdateByoipRangeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateByoipRangeRequest) String ¶

func (request UpdateByoipRangeRequest) String() string

func (UpdateByoipRangeRequest) ValidateEnumValue ¶

func (request UpdateByoipRangeRequest) 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 UpdateByoipRangeResponse ¶

type UpdateByoipRangeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ByoipRange instance
	ByoipRange `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"`
}

UpdateByoipRangeResponse wrapper for the UpdateByoipRange operation

func (UpdateByoipRangeResponse) HTTPResponse ¶

func (response UpdateByoipRangeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateByoipRangeResponse) String ¶

func (response UpdateByoipRangeResponse) String() string

type UpdateCapacitySourceDetails ¶ added in v65.53.0

type UpdateCapacitySourceDetails interface {
}

UpdateCapacitySourceDetails A capacity source of bare metal hosts.

type UpdateCaptureFilterDetails ¶ added in v65.3.0

type UpdateCaptureFilterDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The set of rules governing what traffic a VTAP mirrors.
	VtapCaptureFilterRules []VtapCaptureFilterRuleDetails `mandatory:"false" json:"vtapCaptureFilterRules"`

	// The set of rules governing what traffic the VCN flow log collects.
	FlowLogCaptureFilterRules []FlowLogCaptureFilterRuleDetails `mandatory:"false" json:"flowLogCaptureFilterRules"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateCaptureFilterDetails These details can be included in a request to update a capture filter. A capture filter contains a set of rules governing what traffic a VTAP mirrors or a VCN flow log collects.

func (UpdateCaptureFilterDetails) String ¶ added in v65.3.0

func (UpdateCaptureFilterDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateCaptureFilterDetails) 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 UpdateCaptureFilterRequest ¶ added in v65.3.0

type UpdateCaptureFilterRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter.
	CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"`

	// Details object for updating a VTAP.
	UpdateCaptureFilterDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateCaptureFilterRequest wrapper for the UpdateCaptureFilter operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilterRequest.

func (UpdateCaptureFilterRequest) BinaryRequestBody ¶ added in v65.3.0

func (request UpdateCaptureFilterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCaptureFilterRequest) HTTPRequest ¶ added in v65.3.0

func (request UpdateCaptureFilterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCaptureFilterRequest) RetryPolicy ¶ added in v65.3.0

func (request UpdateCaptureFilterRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCaptureFilterRequest) String ¶ added in v65.3.0

func (request UpdateCaptureFilterRequest) String() string

func (UpdateCaptureFilterRequest) ValidateEnumValue ¶ added in v65.3.0

func (request UpdateCaptureFilterRequest) 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 UpdateCaptureFilterResponse ¶ added in v65.3.0

type UpdateCaptureFilterResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CaptureFilter instance
	CaptureFilter `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"`
}

UpdateCaptureFilterResponse wrapper for the UpdateCaptureFilter operation

func (UpdateCaptureFilterResponse) HTTPResponse ¶ added in v65.3.0

func (response UpdateCaptureFilterResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCaptureFilterResponse) String ¶ added in v65.3.0

func (response UpdateCaptureFilterResponse) String() string

type UpdateClusterNetworkDetails ¶

type UpdateClusterNetworkDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The instance pools in the cluster network to update.
	InstancePools []UpdateClusterNetworkInstancePoolDetails `mandatory:"false" json:"instancePools"`
}

UpdateClusterNetworkDetails The data to update a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm).

func (UpdateClusterNetworkDetails) String ¶

func (UpdateClusterNetworkDetails) ValidateEnumValue ¶

func (m UpdateClusterNetworkDetails) 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 UpdateClusterNetworkInstancePoolDetails ¶

type UpdateClusterNetworkInstancePoolDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	Id *string `mandatory:"true" json:"id"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The number of instances that should be in the instance pool.
	// To determine whether capacity is available for a specific shape before you resize an instance pool,
	// use the CreateComputeCapacityReport
	// operation.
	Size *int `mandatory:"false" json:"size"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated with the instance pool.
	InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"`
}

UpdateClusterNetworkInstancePoolDetails The data to update an instance pool within a cluster network.

func (UpdateClusterNetworkInstancePoolDetails) String ¶

func (UpdateClusterNetworkInstancePoolDetails) ValidateEnumValue ¶

func (m UpdateClusterNetworkInstancePoolDetails) 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 UpdateClusterNetworkRequest ¶

type UpdateClusterNetworkRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network.
	ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"`

	// Update cluster network
	UpdateClusterNetworkDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateClusterNetworkRequest wrapper for the UpdateClusterNetwork operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetworkRequest.

func (UpdateClusterNetworkRequest) BinaryRequestBody ¶

func (request UpdateClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateClusterNetworkRequest) HTTPRequest ¶

func (request UpdateClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateClusterNetworkRequest) RetryPolicy ¶

func (request UpdateClusterNetworkRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateClusterNetworkRequest) String ¶

func (request UpdateClusterNetworkRequest) String() string

func (UpdateClusterNetworkRequest) ValidateEnumValue ¶

func (request UpdateClusterNetworkRequest) 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 UpdateClusterNetworkResponse ¶

type UpdateClusterNetworkResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ClusterNetwork instance
	ClusterNetwork `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"`
}

UpdateClusterNetworkResponse wrapper for the UpdateClusterNetwork operation

func (UpdateClusterNetworkResponse) HTTPResponse ¶

func (response UpdateClusterNetworkResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateClusterNetworkResponse) String ¶

func (response UpdateClusterNetworkResponse) String() string

type UpdateComputeCapacityReservationDetails ¶

type UpdateComputeCapacityReservationDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether this capacity reservation is the default.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"`

	// The capacity configurations for the capacity reservation.
	// To use the reservation for the desired shape, specify the shape, count, and
	// optionally the fault domain where you want this configuration.
	InstanceReservationConfigs []InstanceReservationConfigDetails `mandatory:"false" json:"instanceReservationConfigs"`
}

UpdateComputeCapacityReservationDetails Details for updating the compute capacity reservation.

func (UpdateComputeCapacityReservationDetails) String ¶

func (UpdateComputeCapacityReservationDetails) ValidateEnumValue ¶

func (m UpdateComputeCapacityReservationDetails) 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 UpdateComputeCapacityReservationRequest ¶

type UpdateComputeCapacityReservationRequest struct {

	// The OCID of the compute capacity reservation.
	CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"`

	// Update compute capacity reservation details.
	UpdateComputeCapacityReservationDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateComputeCapacityReservationRequest wrapper for the UpdateComputeCapacityReservation operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservationRequest.

func (UpdateComputeCapacityReservationRequest) BinaryRequestBody ¶

func (request UpdateComputeCapacityReservationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateComputeCapacityReservationRequest) HTTPRequest ¶

func (request UpdateComputeCapacityReservationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateComputeCapacityReservationRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateComputeCapacityReservationRequest) String ¶

func (UpdateComputeCapacityReservationRequest) ValidateEnumValue ¶

func (request UpdateComputeCapacityReservationRequest) 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 UpdateComputeCapacityReservationResponse ¶

type UpdateComputeCapacityReservationResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateComputeCapacityReservationResponse wrapper for the UpdateComputeCapacityReservation operation

func (UpdateComputeCapacityReservationResponse) HTTPResponse ¶

func (response UpdateComputeCapacityReservationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateComputeCapacityReservationResponse) String ¶

type UpdateComputeCapacityTopologyDetails ¶ added in v65.53.0

type UpdateComputeCapacityTopologyDetails struct {
	CapacitySource UpdateCapacitySourceDetails `mandatory:"false" json:"capacitySource"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateComputeCapacityTopologyDetails The details for updating the compute capacity topology.

func (UpdateComputeCapacityTopologyDetails) String ¶ added in v65.53.0

func (*UpdateComputeCapacityTopologyDetails) UnmarshalJSON ¶ added in v65.53.0

func (m *UpdateComputeCapacityTopologyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateComputeCapacityTopologyDetails) ValidateEnumValue ¶ added in v65.53.0

func (m UpdateComputeCapacityTopologyDetails) 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 UpdateComputeCapacityTopologyRequest ¶ added in v65.53.0

type UpdateComputeCapacityTopologyRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology.
	ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"`

	// Update compute capacity topology details.
	UpdateComputeCapacityTopologyDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateComputeCapacityTopologyRequest wrapper for the UpdateComputeCapacityTopology operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityTopology.go.html to see an example of how to use UpdateComputeCapacityTopologyRequest.

func (UpdateComputeCapacityTopologyRequest) BinaryRequestBody ¶ added in v65.53.0

func (request UpdateComputeCapacityTopologyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateComputeCapacityTopologyRequest) HTTPRequest ¶ added in v65.53.0

func (request UpdateComputeCapacityTopologyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateComputeCapacityTopologyRequest) RetryPolicy ¶ added in v65.53.0

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateComputeCapacityTopologyRequest) String ¶ added in v65.53.0

func (UpdateComputeCapacityTopologyRequest) ValidateEnumValue ¶ added in v65.53.0

func (request UpdateComputeCapacityTopologyRequest) 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 UpdateComputeCapacityTopologyResponse ¶ added in v65.53.0

type UpdateComputeCapacityTopologyResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateComputeCapacityTopologyResponse wrapper for the UpdateComputeCapacityTopology operation

func (UpdateComputeCapacityTopologyResponse) HTTPResponse ¶ added in v65.53.0

func (response UpdateComputeCapacityTopologyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateComputeCapacityTopologyResponse) String ¶ added in v65.53.0

type UpdateComputeClusterDetails ¶ added in v65.33.1

type UpdateComputeClusterDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateComputeClusterDetails The data to update a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group.

func (UpdateComputeClusterDetails) String ¶ added in v65.33.1

func (UpdateComputeClusterDetails) ValidateEnumValue ¶ added in v65.33.1

func (m UpdateComputeClusterDetails) 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 UpdateComputeClusterRequest ¶ added in v65.33.1

type UpdateComputeClusterRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster.
	// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory
	// access (RDMA) network group.
	ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"`

	// Details for updating the compute cluster.
	UpdateComputeClusterDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// 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
}

UpdateComputeClusterRequest wrapper for the UpdateComputeCluster operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeClusterRequest.

func (UpdateComputeClusterRequest) BinaryRequestBody ¶ added in v65.33.1

func (request UpdateComputeClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateComputeClusterRequest) HTTPRequest ¶ added in v65.33.1

func (request UpdateComputeClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateComputeClusterRequest) RetryPolicy ¶ added in v65.33.1

func (request UpdateComputeClusterRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateComputeClusterRequest) String ¶ added in v65.33.1

func (request UpdateComputeClusterRequest) String() string

func (UpdateComputeClusterRequest) ValidateEnumValue ¶ added in v65.33.1

func (request UpdateComputeClusterRequest) 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 UpdateComputeClusterResponse ¶ added in v65.33.1

type UpdateComputeClusterResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeCluster instance
	ComputeCluster `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"`
}

UpdateComputeClusterResponse wrapper for the UpdateComputeCluster operation

func (UpdateComputeClusterResponse) HTTPResponse ¶ added in v65.33.1

func (response UpdateComputeClusterResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateComputeClusterResponse) String ¶ added in v65.33.1

func (response UpdateComputeClusterResponse) String() string

type UpdateComputeImageCapabilitySchemaDetails ¶

type UpdateComputeImageCapabilitySchemaDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The map of each capability name to its ImageCapabilitySchemaDescriptor.
	SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"false" json:"schemaData"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateComputeImageCapabilitySchemaDetails Create Image Capability Schema for an image.

func (UpdateComputeImageCapabilitySchemaDetails) String ¶

func (*UpdateComputeImageCapabilitySchemaDetails) UnmarshalJSON ¶

func (m *UpdateComputeImageCapabilitySchemaDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateComputeImageCapabilitySchemaDetails) ValidateEnumValue ¶

func (m UpdateComputeImageCapabilitySchemaDetails) 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 UpdateComputeImageCapabilitySchemaRequest ¶

type UpdateComputeImageCapabilitySchemaRequest struct {

	// The id of the compute image capability schema or the image ocid
	ComputeImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeImageCapabilitySchemaId"`

	// Updates the freeFormTags, definedTags, and display name of the image capability schema
	UpdateComputeImageCapabilitySchemaDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateComputeImageCapabilitySchemaRequest wrapper for the UpdateComputeImageCapabilitySchema operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchemaRequest.

func (UpdateComputeImageCapabilitySchemaRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateComputeImageCapabilitySchemaRequest) HTTPRequest ¶

func (request UpdateComputeImageCapabilitySchemaRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateComputeImageCapabilitySchemaRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateComputeImageCapabilitySchemaRequest) String ¶

func (UpdateComputeImageCapabilitySchemaRequest) ValidateEnumValue ¶

func (request UpdateComputeImageCapabilitySchemaRequest) 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 UpdateComputeImageCapabilitySchemaResponse ¶

type UpdateComputeImageCapabilitySchemaResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ComputeImageCapabilitySchema instance
	ComputeImageCapabilitySchema `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"`
}

UpdateComputeImageCapabilitySchemaResponse wrapper for the UpdateComputeImageCapabilitySchema operation

func (UpdateComputeImageCapabilitySchemaResponse) HTTPResponse ¶

func (response UpdateComputeImageCapabilitySchemaResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateComputeImageCapabilitySchemaResponse) String ¶

type UpdateConsoleHistoryDetails ¶

type UpdateConsoleHistoryDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateConsoleHistoryDetails The representation of UpdateConsoleHistoryDetails

func (UpdateConsoleHistoryDetails) String ¶

func (UpdateConsoleHistoryDetails) ValidateEnumValue ¶

func (m UpdateConsoleHistoryDetails) 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 UpdateConsoleHistoryRequest ¶

type UpdateConsoleHistoryRequest struct {

	// The OCID of the console history.
	InstanceConsoleHistoryId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleHistoryId"`

	// Update instance fields
	UpdateConsoleHistoryDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateConsoleHistoryRequest wrapper for the UpdateConsoleHistory operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistoryRequest.

func (UpdateConsoleHistoryRequest) BinaryRequestBody ¶

func (request UpdateConsoleHistoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateConsoleHistoryRequest) HTTPRequest ¶

func (request UpdateConsoleHistoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateConsoleHistoryRequest) RetryPolicy ¶

func (request UpdateConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateConsoleHistoryRequest) String ¶

func (request UpdateConsoleHistoryRequest) String() string

func (UpdateConsoleHistoryRequest) ValidateEnumValue ¶

func (request UpdateConsoleHistoryRequest) 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 UpdateConsoleHistoryResponse ¶

type UpdateConsoleHistoryResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ConsoleHistory instance
	ConsoleHistory `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"`
}

UpdateConsoleHistoryResponse wrapper for the UpdateConsoleHistory operation

func (UpdateConsoleHistoryResponse) HTTPResponse ¶

func (response UpdateConsoleHistoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateConsoleHistoryResponse) String ¶

func (response UpdateConsoleHistoryResponse) String() string

type UpdateCpeDetails ¶

type UpdateCpeDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide
	// a value if you want to generate CPE device configuration content for IPSec connections
	// that use this CPE. For a list of possible values, see
	// ListCpeDeviceShapes.
	// For more information about generating CPE device configuration content, see:
	//   * GetCpeDeviceConfigContent
	//   * GetIpsecCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfigContent
	//   * GetTunnelCpeDeviceConfig
	CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"`
}

UpdateCpeDetails The representation of UpdateCpeDetails

func (UpdateCpeDetails) String ¶

func (m UpdateCpeDetails) String() string

func (UpdateCpeDetails) ValidateEnumValue ¶

func (m UpdateCpeDetails) 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 UpdateCpeRequest ¶

type UpdateCpeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE.
	CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"`

	// Details object for updating a CPE.
	UpdateCpeDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateCpeRequest wrapper for the UpdateCpe operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpeRequest.

func (UpdateCpeRequest) BinaryRequestBody ¶

func (request UpdateCpeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCpeRequest) HTTPRequest ¶

func (request UpdateCpeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCpeRequest) RetryPolicy ¶

func (request UpdateCpeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCpeRequest) String ¶

func (request UpdateCpeRequest) String() string

func (UpdateCpeRequest) ValidateEnumValue ¶

func (request UpdateCpeRequest) 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 UpdateCpeResponse ¶

type UpdateCpeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Cpe instance
	Cpe `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"`
}

UpdateCpeResponse wrapper for the UpdateCpe operation

func (UpdateCpeResponse) HTTPResponse ¶

func (response UpdateCpeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCpeResponse) String ¶

func (response UpdateCpeResponse) String() string

type UpdateCrossConnectDetails ¶

type UpdateCrossConnectDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Set to true to activate the cross-connect. You activate it after the physical cabling
	// is complete, and you've confirmed the cross-connect's light levels are good and your side
	// of the interface is up. Activation indicates to Oracle that the physical connection is ready.
	// Example: `true`
	IsActive *bool `mandatory:"false" json:"isActive"`

	// A reference name or identifier for the physical fiber connection this cross-connect uses.
	CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"`

	MacsecProperties *UpdateMacsecProperties `mandatory:"false" json:"macsecProperties"`
}

UpdateCrossConnectDetails Update a CrossConnect

func (UpdateCrossConnectDetails) String ¶

func (m UpdateCrossConnectDetails) String() string

func (UpdateCrossConnectDetails) ValidateEnumValue ¶

func (m UpdateCrossConnectDetails) 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 UpdateCrossConnectGroupDetails ¶

type UpdateCrossConnectGroupDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A reference name or identifier for the physical fiber connection this cross-connect group uses.
	CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	MacsecProperties *UpdateMacsecProperties `mandatory:"false" json:"macsecProperties"`
}

UpdateCrossConnectGroupDetails The representation of UpdateCrossConnectGroupDetails

func (UpdateCrossConnectGroupDetails) String ¶

func (UpdateCrossConnectGroupDetails) ValidateEnumValue ¶

func (m UpdateCrossConnectGroupDetails) 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 UpdateCrossConnectGroupRequest ¶

type UpdateCrossConnectGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group.
	CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"`

	// Update CrossConnectGroup fields
	UpdateCrossConnectGroupDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateCrossConnectGroupRequest wrapper for the UpdateCrossConnectGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroupRequest.

func (UpdateCrossConnectGroupRequest) BinaryRequestBody ¶

func (request UpdateCrossConnectGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCrossConnectGroupRequest) HTTPRequest ¶

func (request UpdateCrossConnectGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCrossConnectGroupRequest) RetryPolicy ¶

func (request UpdateCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCrossConnectGroupRequest) String ¶

func (request UpdateCrossConnectGroupRequest) String() string

func (UpdateCrossConnectGroupRequest) ValidateEnumValue ¶

func (request UpdateCrossConnectGroupRequest) 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 UpdateCrossConnectGroupResponse ¶

type UpdateCrossConnectGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnectGroup instance
	CrossConnectGroup `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"`
}

UpdateCrossConnectGroupResponse wrapper for the UpdateCrossConnectGroup operation

func (UpdateCrossConnectGroupResponse) HTTPResponse ¶

func (response UpdateCrossConnectGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCrossConnectGroupResponse) String ¶

func (response UpdateCrossConnectGroupResponse) String() string

type UpdateCrossConnectRequest ¶

type UpdateCrossConnectRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"`

	// Update CrossConnect fields.
	UpdateCrossConnectDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateCrossConnectRequest wrapper for the UpdateCrossConnect operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnectRequest.

func (UpdateCrossConnectRequest) BinaryRequestBody ¶

func (request UpdateCrossConnectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateCrossConnectRequest) HTTPRequest ¶

func (request UpdateCrossConnectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateCrossConnectRequest) RetryPolicy ¶

func (request UpdateCrossConnectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateCrossConnectRequest) String ¶

func (request UpdateCrossConnectRequest) String() string

func (UpdateCrossConnectRequest) ValidateEnumValue ¶

func (request UpdateCrossConnectRequest) 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 UpdateCrossConnectResponse ¶

type UpdateCrossConnectResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The CrossConnect instance
	CrossConnect `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"`
}

UpdateCrossConnectResponse wrapper for the UpdateCrossConnect operation

func (UpdateCrossConnectResponse) HTTPResponse ¶

func (response UpdateCrossConnectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateCrossConnectResponse) String ¶

func (response UpdateCrossConnectResponse) String() string

type UpdateDedicatedCapacitySourceDetails ¶ added in v65.53.0

type UpdateDedicatedCapacitySourceDetails struct {
}

UpdateDedicatedCapacitySourceDetails A capacity source of bare metal hosts that is dedicated to a user.

func (UpdateDedicatedCapacitySourceDetails) MarshalJSON ¶ added in v65.53.0

func (m UpdateDedicatedCapacitySourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDedicatedCapacitySourceDetails) String ¶ added in v65.53.0

func (UpdateDedicatedCapacitySourceDetails) ValidateEnumValue ¶ added in v65.53.0

func (m UpdateDedicatedCapacitySourceDetails) 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 UpdateDedicatedVmHostDetails ¶

type UpdateDedicatedVmHostDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateDedicatedVmHostDetails Details for updating the dedicated virtual machine host details.

func (UpdateDedicatedVmHostDetails) String ¶

func (UpdateDedicatedVmHostDetails) ValidateEnumValue ¶

func (m UpdateDedicatedVmHostDetails) 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 UpdateDedicatedVmHostRequest ¶

type UpdateDedicatedVmHostRequest struct {

	// The OCID of the dedicated VM host.
	DedicatedVmHostId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVmHostId"`

	// Update dedicated VM host details
	UpdateDedicatedVmHostDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

UpdateDedicatedVmHostRequest wrapper for the UpdateDedicatedVmHost operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHostRequest.

func (UpdateDedicatedVmHostRequest) BinaryRequestBody ¶

func (request UpdateDedicatedVmHostRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDedicatedVmHostRequest) HTTPRequest ¶

func (request UpdateDedicatedVmHostRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDedicatedVmHostRequest) RetryPolicy ¶

func (request UpdateDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDedicatedVmHostRequest) String ¶

func (request UpdateDedicatedVmHostRequest) String() string

func (UpdateDedicatedVmHostRequest) ValidateEnumValue ¶

func (request UpdateDedicatedVmHostRequest) 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 UpdateDedicatedVmHostResponse ¶

type UpdateDedicatedVmHostResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DedicatedVmHost instance
	DedicatedVmHost `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"`
}

UpdateDedicatedVmHostResponse wrapper for the UpdateDedicatedVmHost operation

func (UpdateDedicatedVmHostResponse) HTTPResponse ¶

func (response UpdateDedicatedVmHostResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDedicatedVmHostResponse) String ¶

func (response UpdateDedicatedVmHostResponse) String() string

type UpdateDhcpDetails ¶

type UpdateDhcpDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	Options []DhcpOption `mandatory:"false" json:"options"`

	// The search domain name type of DHCP options
	DomainNameType UpdateDhcpDetailsDomainNameTypeEnum `mandatory:"false" json:"domainNameType,omitempty"`
}

UpdateDhcpDetails The representation of UpdateDhcpDetails

func (UpdateDhcpDetails) String ¶

func (m UpdateDhcpDetails) String() string

func (*UpdateDhcpDetails) UnmarshalJSON ¶

func (m *UpdateDhcpDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDhcpDetails) ValidateEnumValue ¶

func (m UpdateDhcpDetails) 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 UpdateDhcpDetailsDomainNameTypeEnum ¶

type UpdateDhcpDetailsDomainNameTypeEnum string

UpdateDhcpDetailsDomainNameTypeEnum Enum with underlying type: string

const (
	UpdateDhcpDetailsDomainNameTypeSubnetDomain UpdateDhcpDetailsDomainNameTypeEnum = "SUBNET_DOMAIN"
	UpdateDhcpDetailsDomainNameTypeVcnDomain    UpdateDhcpDetailsDomainNameTypeEnum = "VCN_DOMAIN"
	UpdateDhcpDetailsDomainNameTypeCustomDomain UpdateDhcpDetailsDomainNameTypeEnum = "CUSTOM_DOMAIN"
)

Set of constants representing the allowable values for UpdateDhcpDetailsDomainNameTypeEnum

func GetMappingUpdateDhcpDetailsDomainNameTypeEnum ¶

func GetMappingUpdateDhcpDetailsDomainNameTypeEnum(val string) (UpdateDhcpDetailsDomainNameTypeEnum, bool)

GetMappingUpdateDhcpDetailsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateDhcpDetailsDomainNameTypeEnumValues ¶

func GetUpdateDhcpDetailsDomainNameTypeEnumValues() []UpdateDhcpDetailsDomainNameTypeEnum

GetUpdateDhcpDetailsDomainNameTypeEnumValues Enumerates the set of values for UpdateDhcpDetailsDomainNameTypeEnum

type UpdateDhcpOptionsRequest ¶

type UpdateDhcpOptionsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options.
	DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"`

	// Request object for updating a set of DHCP options.
	UpdateDhcpDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateDhcpOptionsRequest wrapper for the UpdateDhcpOptions operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptionsRequest.

func (UpdateDhcpOptionsRequest) BinaryRequestBody ¶

func (request UpdateDhcpOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDhcpOptionsRequest) HTTPRequest ¶

func (request UpdateDhcpOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDhcpOptionsRequest) RetryPolicy ¶

func (request UpdateDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDhcpOptionsRequest) String ¶

func (request UpdateDhcpOptionsRequest) String() string

func (UpdateDhcpOptionsRequest) ValidateEnumValue ¶

func (request UpdateDhcpOptionsRequest) 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 UpdateDhcpOptionsResponse ¶

type UpdateDhcpOptionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DhcpOptions instance
	DhcpOptions `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"`
}

UpdateDhcpOptionsResponse wrapper for the UpdateDhcpOptions operation

func (UpdateDhcpOptionsResponse) HTTPResponse ¶

func (response UpdateDhcpOptionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDhcpOptionsResponse) String ¶

func (response UpdateDhcpOptionsResponse) String() string

type UpdateDrgAttachmentDetails ¶

type UpdateDrgAttachmentDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment.
	// The DRG route table manages traffic inside the DRG.
	// You can't remove a DRG route table from a DRG attachment, but you can reassign which
	// DRG route table it uses.
	DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`

	NetworkDetails DrgAttachmentNetworkUpdateDetails `mandatory:"false" json:"networkDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table
	// are advertised out through the attachment.
	// If this value is null, no routes are advertised through this attachment.
	ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"`

	// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

UpdateDrgAttachmentDetails The representation of UpdateDrgAttachmentDetails

func (UpdateDrgAttachmentDetails) String ¶

func (*UpdateDrgAttachmentDetails) UnmarshalJSON ¶

func (m *UpdateDrgAttachmentDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDrgAttachmentDetails) ValidateEnumValue ¶

func (m UpdateDrgAttachmentDetails) 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 UpdateDrgAttachmentRequest ¶

type UpdateDrgAttachmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.
	DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"`

	// Details object for updating a `DrgAttachment`.
	UpdateDrgAttachmentDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateDrgAttachmentRequest wrapper for the UpdateDrgAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachmentRequest.

func (UpdateDrgAttachmentRequest) BinaryRequestBody ¶

func (request UpdateDrgAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrgAttachmentRequest) HTTPRequest ¶

func (request UpdateDrgAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrgAttachmentRequest) RetryPolicy ¶

func (request UpdateDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrgAttachmentRequest) String ¶

func (request UpdateDrgAttachmentRequest) String() string

func (UpdateDrgAttachmentRequest) ValidateEnumValue ¶

func (request UpdateDrgAttachmentRequest) 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 UpdateDrgAttachmentResponse ¶

type UpdateDrgAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgAttachment instance
	DrgAttachment `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"`
}

UpdateDrgAttachmentResponse wrapper for the UpdateDrgAttachment operation

func (UpdateDrgAttachmentResponse) HTTPResponse ¶

func (response UpdateDrgAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrgAttachmentResponse) String ¶

func (response UpdateDrgAttachmentResponse) String() string

type UpdateDrgDetails ¶

type UpdateDrgDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	DefaultDrgRouteTables *DefaultDrgRouteTables `mandatory:"false" json:"defaultDrgRouteTables"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateDrgDetails The representation of UpdateDrgDetails

func (UpdateDrgDetails) String ¶

func (m UpdateDrgDetails) String() string

func (UpdateDrgDetails) ValidateEnumValue ¶

func (m UpdateDrgDetails) 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 UpdateDrgRequest ¶

type UpdateDrgRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Details object for updating a DRG.
	UpdateDrgDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateDrgRequest wrapper for the UpdateDrg operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrgRequest.

func (UpdateDrgRequest) BinaryRequestBody ¶

func (request UpdateDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrgRequest) HTTPRequest ¶

func (request UpdateDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrgRequest) RetryPolicy ¶

func (request UpdateDrgRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrgRequest) String ¶

func (request UpdateDrgRequest) String() string

func (UpdateDrgRequest) ValidateEnumValue ¶

func (request UpdateDrgRequest) 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 UpdateDrgResponse ¶

type UpdateDrgResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Drg instance
	Drg `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"`
}

UpdateDrgResponse wrapper for the UpdateDrg operation

func (UpdateDrgResponse) HTTPResponse ¶

func (response UpdateDrgResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrgResponse) String ¶

func (response UpdateDrgResponse) String() string

type UpdateDrgRouteDistributionDetails ¶

type UpdateDrgRouteDistributionDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateDrgRouteDistributionDetails Details used in a request to update a route distribution. You cannot assign a table to a virtual circuit or IPSec tunnel attachment if there is a static route rule for an RPC attachment.

func (UpdateDrgRouteDistributionDetails) String ¶

func (UpdateDrgRouteDistributionDetails) ValidateEnumValue ¶

func (m UpdateDrgRouteDistributionDetails) 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 UpdateDrgRouteDistributionRequest ¶

type UpdateDrgRouteDistributionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// Details object for updating a route distribution
	UpdateDrgRouteDistributionDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateDrgRouteDistributionRequest wrapper for the UpdateDrgRouteDistribution operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistributionRequest.

func (UpdateDrgRouteDistributionRequest) BinaryRequestBody ¶

func (request UpdateDrgRouteDistributionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrgRouteDistributionRequest) HTTPRequest ¶

func (request UpdateDrgRouteDistributionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrgRouteDistributionRequest) RetryPolicy ¶

func (request UpdateDrgRouteDistributionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrgRouteDistributionRequest) String ¶

func (request UpdateDrgRouteDistributionRequest) String() string

func (UpdateDrgRouteDistributionRequest) ValidateEnumValue ¶

func (request UpdateDrgRouteDistributionRequest) 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 UpdateDrgRouteDistributionResponse ¶

type UpdateDrgRouteDistributionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteDistribution instance
	DrgRouteDistribution `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"`
}

UpdateDrgRouteDistributionResponse wrapper for the UpdateDrgRouteDistribution operation

func (UpdateDrgRouteDistributionResponse) HTTPResponse ¶

func (response UpdateDrgRouteDistributionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrgRouteDistributionResponse) String ¶

func (response UpdateDrgRouteDistributionResponse) String() string

type UpdateDrgRouteDistributionStatementDetails ¶

type UpdateDrgRouteDistributionStatementDetails struct {

	// The Oracle-assigned ID of each route distribution statement to be updated.
	Id *string `mandatory:"true" json:"id"`

	// The action is applied only if all of the match criteria is met.
	MatchCriteria []DrgRouteDistributionMatchCriteria `mandatory:"false" json:"matchCriteria"`

	// The priority of the statement you'd like to update.
	Priority *int `mandatory:"false" json:"priority"`
}

UpdateDrgRouteDistributionStatementDetails Route distribution statements to update in the route distribution.

func (UpdateDrgRouteDistributionStatementDetails) String ¶

func (*UpdateDrgRouteDistributionStatementDetails) UnmarshalJSON ¶

func (m *UpdateDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateDrgRouteDistributionStatementDetails) ValidateEnumValue ¶

func (m UpdateDrgRouteDistributionStatementDetails) 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 UpdateDrgRouteDistributionStatementsDetails ¶

type UpdateDrgRouteDistributionStatementsDetails struct {

	// The route distribution statements to update, and the details to be updated.
	Statements []UpdateDrgRouteDistributionStatementDetails `mandatory:"true" json:"statements"`
}

UpdateDrgRouteDistributionStatementsDetails Details request to update statements in a route distribution.

func (UpdateDrgRouteDistributionStatementsDetails) String ¶

func (UpdateDrgRouteDistributionStatementsDetails) ValidateEnumValue ¶

func (m UpdateDrgRouteDistributionStatementsDetails) 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 UpdateDrgRouteDistributionStatementsRequest ¶

type UpdateDrgRouteDistributionStatementsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution.
	DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"`

	// Request to update one or more route distribution statements in the route distribution.
	UpdateDrgRouteDistributionStatementsDetails `contributesTo:"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 `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
}

UpdateDrgRouteDistributionStatementsRequest wrapper for the UpdateDrgRouteDistributionStatements operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatementsRequest.

func (UpdateDrgRouteDistributionStatementsRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrgRouteDistributionStatementsRequest) HTTPRequest ¶

func (request UpdateDrgRouteDistributionStatementsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrgRouteDistributionStatementsRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrgRouteDistributionStatementsRequest) String ¶

func (UpdateDrgRouteDistributionStatementsRequest) ValidateEnumValue ¶

func (request UpdateDrgRouteDistributionStatementsRequest) 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 UpdateDrgRouteDistributionStatementsResponse ¶

type UpdateDrgRouteDistributionStatementsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []DrgRouteDistributionStatement instance
	Items []DrgRouteDistributionStatement `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"`
}

UpdateDrgRouteDistributionStatementsResponse wrapper for the UpdateDrgRouteDistributionStatements operation

func (UpdateDrgRouteDistributionStatementsResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateDrgRouteDistributionStatementsResponse) String ¶

type UpdateDrgRouteRuleDetails ¶

type UpdateDrgRouteRuleDetails struct {

	// The Oracle-assigned ID of each DRG route rule to update.
	Id *string `mandatory:"true" json:"id"`

	// The range of IP addresses used for matching when routing traffic.
	// Potential values:
	//   * IP address range in CIDR notation. Can be an IPv4 CIDR block or IPv6 prefix. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	DestinationType UpdateDrgRouteRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment. The next hop DRG attachment is responsible
	// for reaching the network destination.
	NextHopDrgAttachmentId *string `mandatory:"false" json:"nextHopDrgAttachmentId"`
}

UpdateDrgRouteRuleDetails Details used to update a route rule in the DRG route table.

func (UpdateDrgRouteRuleDetails) String ¶

func (m UpdateDrgRouteRuleDetails) String() string

func (UpdateDrgRouteRuleDetails) ValidateEnumValue ¶

func (m UpdateDrgRouteRuleDetails) 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 UpdateDrgRouteRuleDetailsDestinationTypeEnum ¶

type UpdateDrgRouteRuleDetailsDestinationTypeEnum string

UpdateDrgRouteRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	UpdateDrgRouteRuleDetailsDestinationTypeCidrBlock UpdateDrgRouteRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
)

Set of constants representing the allowable values for UpdateDrgRouteRuleDetailsDestinationTypeEnum

func GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum ¶

func GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum(val string) (UpdateDrgRouteRuleDetailsDestinationTypeEnum, bool)

GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues ¶

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues() []UpdateDrgRouteRuleDetailsDestinationTypeEnum

GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for UpdateDrgRouteRuleDetailsDestinationTypeEnum

type UpdateDrgRouteRulesDetails ¶

type UpdateDrgRouteRulesDetails struct {

	// The DRG rute rules to update.
	RouteRules []UpdateDrgRouteRuleDetails `mandatory:"false" json:"routeRules"`
}

UpdateDrgRouteRulesDetails Details used to update route rules in a DRG route table.

func (UpdateDrgRouteRulesDetails) String ¶

func (UpdateDrgRouteRulesDetails) ValidateEnumValue ¶

func (m UpdateDrgRouteRulesDetails) 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 UpdateDrgRouteRulesRequest ¶

type UpdateDrgRouteRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// Request to update one or more route rules in the DRG route table.
	UpdateDrgRouteRulesDetails `contributesTo:"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 `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
}

UpdateDrgRouteRulesRequest wrapper for the UpdateDrgRouteRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRulesRequest.

func (UpdateDrgRouteRulesRequest) BinaryRequestBody ¶

func (request UpdateDrgRouteRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrgRouteRulesRequest) HTTPRequest ¶

func (request UpdateDrgRouteRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrgRouteRulesRequest) RetryPolicy ¶

func (request UpdateDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrgRouteRulesRequest) String ¶

func (request UpdateDrgRouteRulesRequest) String() string

func (UpdateDrgRouteRulesRequest) ValidateEnumValue ¶

func (request UpdateDrgRouteRulesRequest) 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 UpdateDrgRouteRulesResponse ¶

type UpdateDrgRouteRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []DrgRouteRule instance
	Items []DrgRouteRule `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"`
}

UpdateDrgRouteRulesResponse wrapper for the UpdateDrgRouteRules operation

func (UpdateDrgRouteRulesResponse) HTTPResponse ¶

func (response UpdateDrgRouteRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrgRouteRulesResponse) String ¶

func (response UpdateDrgRouteRulesResponse) String() string

type UpdateDrgRouteTableDetails ¶

type UpdateDrgRouteTableDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through
	// referenced attachements are inserted into the DRG route table.
	ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"`

	// If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to
	// your on-prem networks, set this value to true on the route table.
	IsEcmpEnabled *bool `mandatory:"false" json:"isEcmpEnabled"`
}

UpdateDrgRouteTableDetails Details used in a request to update a DRG route table. You can't assign a table to a virtual circuit or IPSec tunnel attachment if there is a static route rule for an RPC attachment.

func (UpdateDrgRouteTableDetails) String ¶

func (UpdateDrgRouteTableDetails) ValidateEnumValue ¶

func (m UpdateDrgRouteTableDetails) 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 UpdateDrgRouteTableRequest ¶

type UpdateDrgRouteTableRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table.
	DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"`

	// Details object used to updating a DRG route table.
	UpdateDrgRouteTableDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateDrgRouteTableRequest wrapper for the UpdateDrgRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTableRequest.

func (UpdateDrgRouteTableRequest) BinaryRequestBody ¶

func (request UpdateDrgRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDrgRouteTableRequest) HTTPRequest ¶

func (request UpdateDrgRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDrgRouteTableRequest) RetryPolicy ¶

func (request UpdateDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDrgRouteTableRequest) String ¶

func (request UpdateDrgRouteTableRequest) String() string

func (UpdateDrgRouteTableRequest) ValidateEnumValue ¶

func (request UpdateDrgRouteTableRequest) 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 UpdateDrgRouteTableResponse ¶

type UpdateDrgRouteTableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DrgRouteTable instance
	DrgRouteTable `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"`
}

UpdateDrgRouteTableResponse wrapper for the UpdateDrgRouteTable operation

func (UpdateDrgRouteTableResponse) HTTPResponse ¶

func (response UpdateDrgRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDrgRouteTableResponse) String ¶

func (response UpdateDrgRouteTableResponse) String() string

type UpdateIPSecConnectionRequest ¶

type UpdateIPSecConnectionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// Details object for updating an IPSec connection.
	UpdateIpSecConnectionDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateIPSecConnectionRequest wrapper for the UpdateIPSecConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnectionRequest.

func (UpdateIPSecConnectionRequest) BinaryRequestBody ¶

func (request UpdateIPSecConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateIPSecConnectionRequest) HTTPRequest ¶

func (request UpdateIPSecConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateIPSecConnectionRequest) RetryPolicy ¶

func (request UpdateIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateIPSecConnectionRequest) String ¶

func (request UpdateIPSecConnectionRequest) String() string

func (UpdateIPSecConnectionRequest) ValidateEnumValue ¶

func (request UpdateIPSecConnectionRequest) 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 UpdateIPSecConnectionResponse ¶

type UpdateIPSecConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnection instance
	IpSecConnection `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"`
}

UpdateIPSecConnectionResponse wrapper for the UpdateIPSecConnection operation

func (UpdateIPSecConnectionResponse) HTTPResponse ¶

func (response UpdateIPSecConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateIPSecConnectionResponse) String ¶

func (response UpdateIPSecConnectionResponse) String() string

type UpdateIPSecConnectionTunnelRequest ¶

type UpdateIPSecConnectionTunnelRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Details object for updating a IPSecConnection tunnel's details.
	UpdateIpSecConnectionTunnelDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateIPSecConnectionTunnelRequest wrapper for the UpdateIPSecConnectionTunnel operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnelRequest.

func (UpdateIPSecConnectionTunnelRequest) BinaryRequestBody ¶

func (request UpdateIPSecConnectionTunnelRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateIPSecConnectionTunnelRequest) HTTPRequest ¶

func (request UpdateIPSecConnectionTunnelRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateIPSecConnectionTunnelRequest) RetryPolicy ¶

func (request UpdateIPSecConnectionTunnelRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateIPSecConnectionTunnelRequest) String ¶

func (request UpdateIPSecConnectionTunnelRequest) String() string

func (UpdateIPSecConnectionTunnelRequest) ValidateEnumValue ¶

func (request UpdateIPSecConnectionTunnelRequest) 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 UpdateIPSecConnectionTunnelResponse ¶

type UpdateIPSecConnectionTunnelResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionTunnel instance
	IpSecConnectionTunnel `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"`
}

UpdateIPSecConnectionTunnelResponse wrapper for the UpdateIPSecConnectionTunnel operation

func (UpdateIPSecConnectionTunnelResponse) HTTPResponse ¶

func (response UpdateIPSecConnectionTunnelResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateIPSecConnectionTunnelResponse) String ¶

func (response UpdateIPSecConnectionTunnelResponse) String() string

type UpdateIPSecConnectionTunnelSharedSecretRequest ¶

type UpdateIPSecConnectionTunnelSharedSecretRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Details object for updating a IPSec connection tunnel's sharedSecret.
	UpdateIpSecConnectionTunnelSharedSecretDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateIPSecConnectionTunnelSharedSecretRequest wrapper for the UpdateIPSecConnectionTunnelSharedSecret operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecretRequest.

func (UpdateIPSecConnectionTunnelSharedSecretRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateIPSecConnectionTunnelSharedSecretRequest) HTTPRequest ¶

func (request UpdateIPSecConnectionTunnelSharedSecretRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateIPSecConnectionTunnelSharedSecretRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateIPSecConnectionTunnelSharedSecretRequest) String ¶

func (UpdateIPSecConnectionTunnelSharedSecretRequest) ValidateEnumValue ¶

func (request UpdateIPSecConnectionTunnelSharedSecretRequest) 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 UpdateIPSecConnectionTunnelSharedSecretResponse ¶

type UpdateIPSecConnectionTunnelSharedSecretResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The IpSecConnectionTunnelSharedSecret instance
	IpSecConnectionTunnelSharedSecret `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"`
}

UpdateIPSecConnectionTunnelSharedSecretResponse wrapper for the UpdateIPSecConnectionTunnelSharedSecret operation

func (UpdateIPSecConnectionTunnelSharedSecretResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateIPSecConnectionTunnelSharedSecretResponse) String ¶

type UpdateImageDetails ¶

type UpdateImageDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Operating system
	// Example: `Oracle Linux`
	OperatingSystem *string `mandatory:"false" json:"operatingSystem"`

	// Operating system version
	// Example: `7.4`
	OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"`
}

UpdateImageDetails The representation of UpdateImageDetails

func (UpdateImageDetails) String ¶

func (m UpdateImageDetails) String() string

func (UpdateImageDetails) ValidateEnumValue ¶

func (m UpdateImageDetails) 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 UpdateImageRequest ¶

type UpdateImageRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image.
	ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

	// Updates the image display name field. Avoid entering confidential information.
	UpdateImageDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateImageRequest wrapper for the UpdateImage operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImageRequest.

func (UpdateImageRequest) BinaryRequestBody ¶

func (request UpdateImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateImageRequest) HTTPRequest ¶

func (request UpdateImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateImageRequest) RetryPolicy ¶

func (request UpdateImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateImageRequest) String ¶

func (request UpdateImageRequest) String() string

func (UpdateImageRequest) ValidateEnumValue ¶

func (request UpdateImageRequest) 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 UpdateImageResponse ¶

type UpdateImageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Image instance
	Image `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"`
}

UpdateImageResponse wrapper for the UpdateImage operation

func (UpdateImageResponse) HTTPResponse ¶

func (response UpdateImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateImageResponse) String ¶

func (response UpdateImageResponse) String() string

type UpdateInstanceAgentConfigDetails ¶

type UpdateInstanceAgentConfigDetails struct {

	// Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
	// monitoring plugins.
	// These are the monitoring plugins: Compute Instance Monitoring
	// and Custom Logs Monitoring.
	// The monitoring plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You
	// can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig`
	// object.
	IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"`

	// Whether Oracle Cloud Agent can run all the available management plugins.
	// These are the management plugins: OS Management Service Agent and Compute Instance
	// Run Command.
	// The management plugins are controlled by this parameter and by the per-plugin
	// configuration in the `pluginsConfig` object.
	// - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of
	// the per-plugin configuration.
	// - If `isManagementDisabled` is false, all of the management plugins are enabled. You
	// can optionally disable individual management plugins by providing a value in the `pluginsConfig`
	// object.
	IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"`

	// Whether Oracle Cloud Agent can run all the available plugins.
	// This includes the management and monitoring plugins.
	// To get a list of available plugins, use the
	// ListInstanceagentAvailablePlugins
	// operation in the Oracle Cloud Agent API. For more information about the available plugins, see
	// Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
	AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"`

	// The configuration of plugins associated with this instance.
	PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"`
}

UpdateInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance.

func (UpdateInstanceAgentConfigDetails) String ¶

func (UpdateInstanceAgentConfigDetails) ValidateEnumValue ¶

func (m UpdateInstanceAgentConfigDetails) 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 UpdateInstanceAvailabilityConfigDetails ¶

type UpdateInstanceAvailabilityConfigDetails struct {

	// Whether to live migrate supported VM instances to a healthy physical VM host without
	// disrupting running instances during infrastructure maintenance events. If null, Oracle
	// chooses the best option for migrating the VM during infrastructure maintenance events.
	IsLiveMigrationPreferred *bool `mandatory:"false" json:"isLiveMigrationPreferred"`

	// The lifecycle state for an instance when it is recovered after infrastructure maintenance.
	// * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event.
	// If the instance was running, it is automatically rebooted. This is the default action when a value is not set.
	// * `STOP_INSTANCE` - The instance is recovered in the stopped state.
	RecoveryAction UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"`
}

UpdateInstanceAvailabilityConfigDetails Options for defining the availability of a VM instance after a maintenance event that impacts the underlying hardware, including whether to live migrate supported VM instances when possible without sending a prior customer notification.

func (UpdateInstanceAvailabilityConfigDetails) String ¶

func (UpdateInstanceAvailabilityConfigDetails) ValidateEnumValue ¶

func (m UpdateInstanceAvailabilityConfigDetails) 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 UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum ¶

type UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum string

UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum Enum with underlying type: string

const (
	UpdateInstanceAvailabilityConfigDetailsRecoveryActionRestoreInstance UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum = "RESTORE_INSTANCE"
	UpdateInstanceAvailabilityConfigDetailsRecoveryActionStopInstance    UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum = "STOP_INSTANCE"
)

Set of constants representing the allowable values for UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum

func GetMappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum ¶

func GetMappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum(val string) (UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum, bool)

GetMappingUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumValues ¶

func GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumValues() []UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum

GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumValues Enumerates the set of values for UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum

type UpdateInstanceConfigurationDetails ¶

type UpdateInstanceConfigurationDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateInstanceConfigurationDetails The representation of UpdateInstanceConfigurationDetails

func (UpdateInstanceConfigurationDetails) String ¶

func (UpdateInstanceConfigurationDetails) ValidateEnumValue ¶

func (m UpdateInstanceConfigurationDetails) 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 UpdateInstanceConfigurationRequest ¶

type UpdateInstanceConfigurationRequest struct {

	// The OCID of the instance configuration.
	InstanceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"instanceConfigurationId"`

	// Updates the freeFormTags, definedTags, and display name of an instance configuration.
	UpdateInstanceConfigurationDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateInstanceConfigurationRequest wrapper for the UpdateInstanceConfiguration operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfigurationRequest.

func (UpdateInstanceConfigurationRequest) BinaryRequestBody ¶

func (request UpdateInstanceConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateInstanceConfigurationRequest) HTTPRequest ¶

func (request UpdateInstanceConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateInstanceConfigurationRequest) RetryPolicy ¶

func (request UpdateInstanceConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateInstanceConfigurationRequest) String ¶

func (request UpdateInstanceConfigurationRequest) String() string

func (UpdateInstanceConfigurationRequest) ValidateEnumValue ¶

func (request UpdateInstanceConfigurationRequest) 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 UpdateInstanceConfigurationResponse ¶

type UpdateInstanceConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceConfiguration instance
	InstanceConfiguration `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"`
}

UpdateInstanceConfigurationResponse wrapper for the UpdateInstanceConfiguration operation

func (UpdateInstanceConfigurationResponse) HTTPResponse ¶

func (response UpdateInstanceConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateInstanceConfigurationResponse) String ¶

func (response UpdateInstanceConfigurationResponse) String() string

type UpdateInstanceConsoleConnectionDetails ¶

type UpdateInstanceConsoleConnectionDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateInstanceConsoleConnectionDetails Specifies the properties for updating tags for an instance console connection.

func (UpdateInstanceConsoleConnectionDetails) String ¶

func (UpdateInstanceConsoleConnectionDetails) ValidateEnumValue ¶

func (m UpdateInstanceConsoleConnectionDetails) 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 UpdateInstanceConsoleConnectionRequest ¶

type UpdateInstanceConsoleConnectionRequest struct {

	// The OCID of the instance console connection.
	InstanceConsoleConnectionId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleConnectionId"`

	// Update instanceConsoleConnection tags
	UpdateInstanceConsoleConnectionDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

UpdateInstanceConsoleConnectionRequest wrapper for the UpdateInstanceConsoleConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnectionRequest.

func (UpdateInstanceConsoleConnectionRequest) BinaryRequestBody ¶

func (request UpdateInstanceConsoleConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateInstanceConsoleConnectionRequest) HTTPRequest ¶

func (request UpdateInstanceConsoleConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateInstanceConsoleConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateInstanceConsoleConnectionRequest) String ¶

func (UpdateInstanceConsoleConnectionRequest) ValidateEnumValue ¶

func (request UpdateInstanceConsoleConnectionRequest) 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 UpdateInstanceConsoleConnectionResponse ¶

type UpdateInstanceConsoleConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstanceConsoleConnection instance
	InstanceConsoleConnection `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"`
}

UpdateInstanceConsoleConnectionResponse wrapper for the UpdateInstanceConsoleConnection operation

func (UpdateInstanceConsoleConnectionResponse) HTTPResponse ¶

func (response UpdateInstanceConsoleConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateInstanceConsoleConnectionResponse) String ¶

type UpdateInstanceDetails ¶

type UpdateInstanceDetails struct {

	// The OCID of the compute capacity reservation this instance is launched under.
	// You can remove the instance from a reservation by specifying an empty string as input for this field.
	// For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
	CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	AgentConfig *UpdateInstanceAgentConfigDetails `mandatory:"false" json:"agentConfig"`

	// Custom metadata key/value string pairs that you provide. Any set of key/value pairs
	// provided here will completely replace the current set of key/value pairs in the `metadata`
	// field on the instance.
	// The "user_data" field and the "ssh_authorized_keys" field cannot be changed after an instance
	// has launched. Any request that updates, removes, or adds either of these fields will be
	// rejected. You must provide the same values for "user_data" and "ssh_authorized_keys" that
	// already exist on the instance.
	// The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of
	// 32,000 bytes.
	Metadata map[string]string `mandatory:"false" json:"metadata"`

	// Additional metadata key/value pairs that you provide. They serve the same purpose and
	// functionality as fields in the `metadata` object.
	// They are distinguished from `metadata` fields in that these can be nested JSON objects
	// (whereas `metadata` fields are string/string maps only).
	// The "user_data" field and the "ssh_authorized_keys" field cannot be changed after an instance
	// has launched. Any request that updates, removes, or adds either of these fields will be
	// rejected. You must provide the same values for "user_data" and "ssh_authorized_keys" that
	// already exist on the instance.
	// The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of
	// 32,000 bytes.
	ExtendedMetadata map[string]interface{} `mandatory:"false" json:"extendedMetadata"`

	// The shape of the instance. The shape determines the number of CPUs and the amount of memory
	// allocated to the instance. For more information about how to change shapes, and a list of
	// shapes that are supported, see
	// Editing an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm).
	// For details about the CPUs, memory, and other properties of each shape, see
	// Compute Shapes (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm).
	// The new shape must be compatible with the image that was used to launch the instance. You
	// can enumerate all available shapes and determine image compatibility by calling
	// ListShapes.
	// To determine whether capacity is available for a specific shape before you change the shape of an instance,
	// use the CreateComputeCapacityReport
	// operation.
	// If the instance is running when you change the shape, the instance is rebooted.
	// Example: `VM.Standard2.1`
	Shape *string `mandatory:"false" json:"shape"`

	ShapeConfig *UpdateInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"`

	SourceDetails UpdateInstanceSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The parameter acts as a fail-safe to prevent unwanted downtime when updating a running instance.
	// The default is ALLOW_DOWNTIME.
	// * `ALLOW_DOWNTIME` - Compute might reboot the instance while updating the instance if a reboot is required.
	// * `AVOID_DOWNTIME` - If the instance is in running state, Compute tries to update the instance without rebooting
	//                   it. If the instance requires a reboot to be updated, an error is returned and the instance
	//                   is not updated. If the instance is stopped, it is updated and remains in the stopped state.
	UpdateOperationConstraint UpdateInstanceDetailsUpdateOperationConstraintEnum `mandatory:"false" json:"updateOperationConstraint,omitempty"`

	InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"`

	// A fault domain is a grouping of hardware and infrastructure within an availability domain.
	// Each availability domain contains three fault domains. Fault domains let you distribute your
	// instances so that they are not on the same physical hardware within a single availability domain.
	// A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
	// instances in other fault domains.
	// To get a list of fault domains, use the
	// ListFaultDomains operation in the
	// Identity and Access Management Service API.
	// Example: `FAULT-DOMAIN-1`
	FaultDomain *string `mandatory:"false" json:"faultDomain"`

	LaunchOptions *UpdateLaunchOptions `mandatory:"false" json:"launchOptions"`

	AvailabilityConfig *UpdateInstanceAvailabilityConfigDetails `mandatory:"false" json:"availabilityConfig"`

	// For a VM instance, resets the scheduled time that the instance will be reboot migrated for
	// infrastructure maintenance, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// If the instance hasn't been rebooted after this date, Oracle reboots the instance within 24 hours of the time
	// and date that maintenance is due.
	// To get the maximum possible date that a maintenance reboot can be extended,
	// use GetInstanceMaintenanceReboot.
	// Regardless of how the instance is stopped, this flag is reset to empty as soon as the instance reaches the
	// Stopped state.
	// To reboot migrate a bare metal instance, use the InstanceAction operation.
	// For more information, see
	// Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm).
	// Example: `2018-05-25T21:10:29.600Z`
	TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"`

	// The OCID of the dedicated virtual machine host to place the instance on.
	// Supported only if this VM instance was already placed on a dedicated virtual machine host
	// - that is, you can't move an instance from on-demand capacity to dedicated capacity,
	// nor can you move an instance from dedicated capacity to on-demand capacity.
	DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"`

	PlatformConfig UpdateInstancePlatformConfig `mandatory:"false" json:"platformConfig"`
}

UpdateInstanceDetails The representation of UpdateInstanceDetails

func (UpdateInstanceDetails) String ¶

func (m UpdateInstanceDetails) String() string

func (*UpdateInstanceDetails) UnmarshalJSON ¶ added in v65.59.0

func (m *UpdateInstanceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateInstanceDetails) ValidateEnumValue ¶

func (m UpdateInstanceDetails) 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 UpdateInstanceDetailsUpdateOperationConstraintEnum ¶ added in v65.32.0

type UpdateInstanceDetailsUpdateOperationConstraintEnum string

UpdateInstanceDetailsUpdateOperationConstraintEnum Enum with underlying type: string

const (
	UpdateInstanceDetailsUpdateOperationConstraintAllowDowntime UpdateInstanceDetailsUpdateOperationConstraintEnum = "ALLOW_DOWNTIME"
	UpdateInstanceDetailsUpdateOperationConstraintAvoidDowntime UpdateInstanceDetailsUpdateOperationConstraintEnum = "AVOID_DOWNTIME"
)

Set of constants representing the allowable values for UpdateInstanceDetailsUpdateOperationConstraintEnum

func GetMappingUpdateInstanceDetailsUpdateOperationConstraintEnum ¶ added in v65.32.0

func GetMappingUpdateInstanceDetailsUpdateOperationConstraintEnum(val string) (UpdateInstanceDetailsUpdateOperationConstraintEnum, bool)

GetMappingUpdateInstanceDetailsUpdateOperationConstraintEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateInstanceDetailsUpdateOperationConstraintEnumValues ¶ added in v65.32.0

func GetUpdateInstanceDetailsUpdateOperationConstraintEnumValues() []UpdateInstanceDetailsUpdateOperationConstraintEnum

GetUpdateInstanceDetailsUpdateOperationConstraintEnumValues Enumerates the set of values for UpdateInstanceDetailsUpdateOperationConstraintEnum

type UpdateInstancePlatformConfig ¶ added in v65.59.0

type UpdateInstancePlatformConfig interface {
}

UpdateInstancePlatformConfig The platform configuration to be updated for the instance.

type UpdateInstancePlatformConfigTypeEnum ¶ added in v65.59.0

type UpdateInstancePlatformConfigTypeEnum string

UpdateInstancePlatformConfigTypeEnum Enum with underlying type: string

const (
	UpdateInstancePlatformConfigTypeAmdVm   UpdateInstancePlatformConfigTypeEnum = "AMD_VM"
	UpdateInstancePlatformConfigTypeIntelVm UpdateInstancePlatformConfigTypeEnum = "INTEL_VM"
)

Set of constants representing the allowable values for UpdateInstancePlatformConfigTypeEnum

func GetMappingUpdateInstancePlatformConfigTypeEnum ¶ added in v65.59.0

func GetMappingUpdateInstancePlatformConfigTypeEnum(val string) (UpdateInstancePlatformConfigTypeEnum, bool)

GetMappingUpdateInstancePlatformConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateInstancePlatformConfigTypeEnumValues ¶ added in v65.59.0

func GetUpdateInstancePlatformConfigTypeEnumValues() []UpdateInstancePlatformConfigTypeEnum

GetUpdateInstancePlatformConfigTypeEnumValues Enumerates the set of values for UpdateInstancePlatformConfigTypeEnum

type UpdateInstancePoolDetails ¶

type UpdateInstancePoolDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated with the
	// instance pool.
	InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"`

	// The placement configurations for the instance pool. Provide one placement configuration for
	// each availability domain.
	// To use the instance pool with a regional subnet, provide a placement configuration for
	// each availability domain, and include the regional subnet in each placement
	// configuration.
	PlacementConfigurations []UpdateInstancePoolPlacementConfigurationDetails `mandatory:"false" json:"placementConfigurations"`

	// The number of instances that should be in the instance pool.
	// To determine whether capacity is available for a specific shape before you resize an instance pool,
	// use the CreateComputeCapacityReport
	// operation.
	Size *int `mandatory:"false" json:"size"`

	// A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format.
	// The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
	InstanceDisplayNameFormatter *string `mandatory:"false" json:"instanceDisplayNameFormatter"`

	// A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format.
	// The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format
	InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"`
}

UpdateInstancePoolDetails The data to update an instance pool.

func (UpdateInstancePoolDetails) String ¶

func (m UpdateInstancePoolDetails) String() string

func (UpdateInstancePoolDetails) ValidateEnumValue ¶

func (m UpdateInstancePoolDetails) 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 UpdateInstancePoolPlacementConfigurationDetails ¶

type UpdateInstancePoolPlacementConfigurationDetails struct {

	// The availability domain to place instances.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The fault domains to place instances.
	// If you don't provide any values, the system makes a best effort to distribute
	// instances across all fault domains based on capacity.
	// To distribute the instances evenly across selected fault domains, provide a
	// set of fault domains. For example, you might want instances to be evenly
	// distributed if your applications require high availability.
	// To get a list of fault domains, use the
	// ListFaultDomains operation
	// in the Identity and Access Management Service API.
	// Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]`
	FaultDomains []string `mandatory:"false" json:"faultDomains"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated.
	// Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
	PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`

	PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`

	// The set of secondary VNIC data for instances in the pool.
	SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}

UpdateInstancePoolPlacementConfigurationDetails The location for where an instance pool will place instances.

func (UpdateInstancePoolPlacementConfigurationDetails) String ¶

func (UpdateInstancePoolPlacementConfigurationDetails) ValidateEnumValue ¶

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 UpdateInstancePoolRequest ¶

type UpdateInstancePoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool.
	InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"`

	// Update instance pool configuration
	UpdateInstancePoolDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateInstancePoolRequest wrapper for the UpdateInstancePool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePoolRequest.

func (UpdateInstancePoolRequest) BinaryRequestBody ¶

func (request UpdateInstancePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateInstancePoolRequest) HTTPRequest ¶

func (request UpdateInstancePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateInstancePoolRequest) RetryPolicy ¶

func (request UpdateInstancePoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateInstancePoolRequest) String ¶

func (request UpdateInstancePoolRequest) String() string

func (UpdateInstancePoolRequest) ValidateEnumValue ¶

func (request UpdateInstancePoolRequest) 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 UpdateInstancePoolResponse ¶

type UpdateInstancePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InstancePool instance
	InstancePool `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"`
}

UpdateInstancePoolResponse wrapper for the UpdateInstancePool operation

func (UpdateInstancePoolResponse) HTTPResponse ¶

func (response UpdateInstancePoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateInstancePoolResponse) String ¶

func (response UpdateInstancePoolResponse) String() string

type UpdateInstanceRequest ¶

type UpdateInstanceRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance.
	InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"`

	// Update instance fields
	UpdateInstanceDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateInstanceRequest wrapper for the UpdateInstance operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstanceRequest.

func (UpdateInstanceRequest) BinaryRequestBody ¶

func (request UpdateInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateInstanceRequest) HTTPRequest ¶

func (request UpdateInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateInstanceRequest) RetryPolicy ¶

func (request UpdateInstanceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateInstanceRequest) String ¶

func (request UpdateInstanceRequest) String() string

func (UpdateInstanceRequest) ValidateEnumValue ¶

func (request UpdateInstanceRequest) 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 UpdateInstanceResponse ¶

type UpdateInstanceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Instance instance
	Instance `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateInstanceResponse wrapper for the UpdateInstance operation

func (UpdateInstanceResponse) HTTPResponse ¶

func (response UpdateInstanceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateInstanceResponse) String ¶

func (response UpdateInstanceResponse) String() string

type UpdateInstanceShapeConfigDetails ¶

type UpdateInstanceShapeConfigDetails struct {

	// The total number of OCPUs available to the instance.
	Ocpus *float32 `mandatory:"false" json:"ocpus"`

	// The total number of VCPUs available to the instance. This can be used instead of OCPUs,
	// in which case the actual number of OCPUs will be calculated based on this value
	// and the actual hardware. This must be a multiple of 2.
	Vcpus *int `mandatory:"false" json:"vcpus"`

	// The total amount of memory available to the instance, in gigabytes.
	MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

	// The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a
	// non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`.
	// The following values are supported:
	// - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU.
	// - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU.
	// - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance.
	BaselineOcpuUtilization UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"`

	// The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
	Nvmes *int `mandatory:"false" json:"nvmes"`
}

UpdateInstanceShapeConfigDetails The shape configuration requested for the instance. If provided, the instance will be updated with the resources specified. In the case where some properties are missing, the missing values will be set to the default for the provided `shape`. Each shape only supports certain configurable values. If the `shape` is provided and the configuration values are invalid for that new `shape`, an error will be returned. If no `shape` is provided and the configuration values are invalid for the instance's existing shape, an error will be returned.

func (UpdateInstanceShapeConfigDetails) String ¶

func (UpdateInstanceShapeConfigDetails) ValidateEnumValue ¶

func (m UpdateInstanceShapeConfigDetails) 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 UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum ¶

type UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum string

UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum Enum with underlying type: string

const (
	UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization8 UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_8"
	UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization2 UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_2"
	UpdateInstanceShapeConfigDetailsBaselineOcpuUtilization1 UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_1"
)

Set of constants representing the allowable values for UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum ¶

func GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool)

GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues ¶

func GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for UpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

type UpdateInstanceSourceDetails ¶ added in v65.64.0

type UpdateInstanceSourceDetails interface {

	// Whether to preserve the boot volume that was previously attached to the instance after a successful replacement of that boot volume.
	GetIsPreserveBootVolumeEnabled() *bool
}

UpdateInstanceSourceDetails The details for updating the instance source.

type UpdateInstanceSourceViaBootVolumeDetails ¶ added in v65.64.0

type UpdateInstanceSourceViaBootVolumeDetails struct {

	// The OCID of the boot volume used to boot the instance.
	BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`

	// Whether to preserve the boot volume that was previously attached to the instance after a successful replacement of that boot volume.
	IsPreserveBootVolumeEnabled *bool `mandatory:"false" json:"isPreserveBootVolumeEnabled"`
}

UpdateInstanceSourceViaBootVolumeDetails The details for updating the instance source from an existing boot volume.

func (UpdateInstanceSourceViaBootVolumeDetails) GetIsPreserveBootVolumeEnabled ¶ added in v65.64.0

func (m UpdateInstanceSourceViaBootVolumeDetails) GetIsPreserveBootVolumeEnabled() *bool

GetIsPreserveBootVolumeEnabled returns IsPreserveBootVolumeEnabled

func (UpdateInstanceSourceViaBootVolumeDetails) MarshalJSON ¶ added in v65.64.0

func (m UpdateInstanceSourceViaBootVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateInstanceSourceViaBootVolumeDetails) String ¶ added in v65.64.0

func (UpdateInstanceSourceViaBootVolumeDetails) ValidateEnumValue ¶ added in v65.64.0

func (m UpdateInstanceSourceViaBootVolumeDetails) 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 UpdateInstanceSourceViaImageDetails ¶ added in v65.64.0

type UpdateInstanceSourceViaImageDetails struct {

	// The OCID of the image used to boot the instance.
	ImageId *string `mandatory:"true" json:"imageId"`

	// Whether to preserve the boot volume that was previously attached to the instance after a successful replacement of that boot volume.
	IsPreserveBootVolumeEnabled *bool `mandatory:"false" json:"isPreserveBootVolumeEnabled"`

	// The size of the boot volume in GBs. Minimum value is 50 GB and maximum value is 32,768 GB (32 TB).
	BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"`

	// The OCID of the Vault service key to assign as the master encryption key for the boot volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

UpdateInstanceSourceViaImageDetails The details for updating the instance source from an image.

func (UpdateInstanceSourceViaImageDetails) GetIsPreserveBootVolumeEnabled ¶ added in v65.64.0

func (m UpdateInstanceSourceViaImageDetails) GetIsPreserveBootVolumeEnabled() *bool

GetIsPreserveBootVolumeEnabled returns IsPreserveBootVolumeEnabled

func (UpdateInstanceSourceViaImageDetails) MarshalJSON ¶ added in v65.64.0

func (m UpdateInstanceSourceViaImageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateInstanceSourceViaImageDetails) String ¶ added in v65.64.0

func (UpdateInstanceSourceViaImageDetails) ValidateEnumValue ¶ added in v65.64.0

func (m UpdateInstanceSourceViaImageDetails) 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 UpdateInternetGatewayDetails ¶

type UpdateInternetGatewayDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether the gateway is enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

UpdateInternetGatewayDetails The representation of UpdateInternetGatewayDetails

func (UpdateInternetGatewayDetails) String ¶

func (UpdateInternetGatewayDetails) ValidateEnumValue ¶

func (m UpdateInternetGatewayDetails) 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 UpdateInternetGatewayRequest ¶

type UpdateInternetGatewayRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway.
	IgId *string `mandatory:"true" contributesTo:"path" name:"igId"`

	// Details for updating the internet gateway.
	UpdateInternetGatewayDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateInternetGatewayRequest wrapper for the UpdateInternetGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGatewayRequest.

func (UpdateInternetGatewayRequest) BinaryRequestBody ¶

func (request UpdateInternetGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateInternetGatewayRequest) HTTPRequest ¶

func (request UpdateInternetGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateInternetGatewayRequest) RetryPolicy ¶

func (request UpdateInternetGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateInternetGatewayRequest) String ¶

func (request UpdateInternetGatewayRequest) String() string

func (UpdateInternetGatewayRequest) ValidateEnumValue ¶

func (request UpdateInternetGatewayRequest) 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 UpdateInternetGatewayResponse ¶

type UpdateInternetGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The InternetGateway instance
	InternetGateway `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"`
}

UpdateInternetGatewayResponse wrapper for the UpdateInternetGateway operation

func (UpdateInternetGatewayResponse) HTTPResponse ¶

func (response UpdateInternetGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateInternetGatewayResponse) String ¶

func (response UpdateInternetGatewayResponse) String() string

type UpdateIpSecConnectionDetails ¶

type UpdateIpSecConnectionDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the
	// fully qualified domain name (FQDN)). The type of identifier you provide here must correspond
	// to the value for `cpeLocalIdentifierType`.
	// For information about why you'd provide this value, see
	// If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat).
	// Example IP address: `10.0.3.3`
	// Example hostname: `cpe.example.com`
	CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"`

	// The type of identifier for your CPE device. The value you provide here must correspond to the value
	// for `cpeLocalIdentifier`.
	CpeLocalIdentifierType UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum `mandatory:"false" json:"cpeLocalIdentifierType,omitempty"`

	// Static routes to the CPE. If you provide this attribute, it replaces the entire current set of
	// static routes. A static route's CIDR must not be a multicast address or class E address.
	// The CIDR can be either IPv4 or IPv6.
	// IPv6 addressing is supported for all commercial and government regions.
	// See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `10.0.1.0/24`
	// Example: `2001:db8::/32`
	StaticRoutes []string `mandatory:"false" json:"staticRoutes"`
}

UpdateIpSecConnectionDetails The representation of UpdateIpSecConnectionDetails

func (UpdateIpSecConnectionDetails) String ¶

func (UpdateIpSecConnectionDetails) ValidateEnumValue ¶

func (m UpdateIpSecConnectionDetails) 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 UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum ¶

type UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum string

UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum Enum with underlying type: string

const (
	UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeIpAddress UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = "IP_ADDRESS"
	UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname  UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = "HOSTNAME"
)

Set of constants representing the allowable values for UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

func GetMappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum ¶

func GetMappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(val string) (UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, bool)

GetMappingUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues ¶

func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues() []UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues Enumerates the set of values for UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum

type UpdateIpSecConnectionTunnelDetails ¶

type UpdateIpSecConnectionTunnelDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
	Routing UpdateIpSecConnectionTunnelDetailsRoutingEnum `mandatory:"false" json:"routing,omitempty"`

	// Internet Key Exchange protocol version.
	IkeVersion UpdateIpSecConnectionTunnelDetailsIkeVersionEnum `mandatory:"false" json:"ikeVersion,omitempty"`

	BgpSessionConfig *UpdateIpSecTunnelBgpSessionDetails `mandatory:"false" json:"bgpSessionConfig"`

	// Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.
	OracleInitiation UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum `mandatory:"false" json:"oracleInitiation,omitempty"`

	// By default (the `AUTO` setting), IKE sends packets with a source and destination port set to 500,
	// and when it detects that the port used to forward packets has changed (most likely because a NAT device
	// is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.
	// The `ENABLED` option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets.
	// The `DISABLED` option directs IKE to completely refuse to negotiate NAT-T
	// even if it senses there may be a NAT device in use.
	NatTranslationEnabled UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum `mandatory:"false" json:"natTranslationEnabled,omitempty"`

	PhaseOneConfig *PhaseOneConfigDetails `mandatory:"false" json:"phaseOneConfig"`

	PhaseTwoConfig *PhaseTwoConfigDetails `mandatory:"false" json:"phaseTwoConfig"`

	DpdConfig *DpdConfig `mandatory:"false" json:"dpdConfig"`

	EncryptionDomainConfig *UpdateIpSecTunnelEncryptionDomainDetails `mandatory:"false" json:"encryptionDomainConfig"`
}

UpdateIpSecConnectionTunnelDetails The representation of UpdateIpSecConnectionTunnelDetails

func (UpdateIpSecConnectionTunnelDetails) String ¶

func (UpdateIpSecConnectionTunnelDetails) ValidateEnumValue ¶

func (m UpdateIpSecConnectionTunnelDetails) 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 UpdateIpSecConnectionTunnelDetailsIkeVersionEnum ¶

type UpdateIpSecConnectionTunnelDetailsIkeVersionEnum string

UpdateIpSecConnectionTunnelDetailsIkeVersionEnum Enum with underlying type: string

const (
	UpdateIpSecConnectionTunnelDetailsIkeVersionV1 UpdateIpSecConnectionTunnelDetailsIkeVersionEnum = "V1"
	UpdateIpSecConnectionTunnelDetailsIkeVersionV2 UpdateIpSecConnectionTunnelDetailsIkeVersionEnum = "V2"
)

Set of constants representing the allowable values for UpdateIpSecConnectionTunnelDetailsIkeVersionEnum

func GetMappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum ¶

func GetMappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum(val string) (UpdateIpSecConnectionTunnelDetailsIkeVersionEnum, bool)

GetMappingUpdateIpSecConnectionTunnelDetailsIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumValues ¶

func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumValues() []UpdateIpSecConnectionTunnelDetailsIkeVersionEnum

GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsIkeVersionEnum

type UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum ¶

type UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum string

UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum Enum with underlying type: string

const (
	UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnabled  UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "ENABLED"
	UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledDisabled UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "DISABLED"
	UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto     UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "AUTO"
)

Set of constants representing the allowable values for UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

func GetMappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum ¶

func GetMappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(val string) (UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, bool)

GetMappingUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues ¶

func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues() []UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum

type UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum ¶

type UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum string

UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum Enum with underlying type: string

const (
	UpdateIpSecConnectionTunnelDetailsOracleInitiationInitiatorOrResponder UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum = "INITIATOR_OR_RESPONDER"
	UpdateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly        UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum = "RESPONDER_ONLY"
)

Set of constants representing the allowable values for UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum

func GetMappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum ¶

func GetMappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum(val string) (UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum, bool)

GetMappingUpdateIpSecConnectionTunnelDetailsOracleInitiationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumValues ¶

func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumValues() []UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum

GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum

type UpdateIpSecConnectionTunnelDetailsRoutingEnum ¶

type UpdateIpSecConnectionTunnelDetailsRoutingEnum string

UpdateIpSecConnectionTunnelDetailsRoutingEnum Enum with underlying type: string

const (
	UpdateIpSecConnectionTunnelDetailsRoutingBgp    UpdateIpSecConnectionTunnelDetailsRoutingEnum = "BGP"
	UpdateIpSecConnectionTunnelDetailsRoutingStatic UpdateIpSecConnectionTunnelDetailsRoutingEnum = "STATIC"
	UpdateIpSecConnectionTunnelDetailsRoutingPolicy UpdateIpSecConnectionTunnelDetailsRoutingEnum = "POLICY"
)

Set of constants representing the allowable values for UpdateIpSecConnectionTunnelDetailsRoutingEnum

func GetMappingUpdateIpSecConnectionTunnelDetailsRoutingEnum ¶

func GetMappingUpdateIpSecConnectionTunnelDetailsRoutingEnum(val string) (UpdateIpSecConnectionTunnelDetailsRoutingEnum, bool)

GetMappingUpdateIpSecConnectionTunnelDetailsRoutingEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumValues ¶

func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumValues() []UpdateIpSecConnectionTunnelDetailsRoutingEnum

GetUpdateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsRoutingEnum

type UpdateIpSecConnectionTunnelSharedSecretDetails ¶

type UpdateIpSecConnectionTunnelSharedSecretDetails struct {

	// The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and spaces
	// are allowed.
	SharedSecret *string `mandatory:"false" json:"sharedSecret"`
}

UpdateIpSecConnectionTunnelSharedSecretDetails The representation of UpdateIpSecConnectionTunnelSharedSecretDetails

func (UpdateIpSecConnectionTunnelSharedSecretDetails) String ¶

func (UpdateIpSecConnectionTunnelSharedSecretDetails) ValidateEnumValue ¶

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 UpdateIpSecTunnelBgpSessionDetails ¶

type UpdateIpSecTunnelBgpSessionDetails struct {

	// The IP address for the Oracle end of the inside tunnel interface.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see UpdateIPSecConnectionTunnelDetails), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP address to troubleshoot or
	// monitor the tunnel.
	// The value must be a /30 or /31.
	// If you are switching the tunnel from using BGP dynamic routing to static routing and want
	// to remove the value for `oracleInterfaceIp`, you can set the value to an empty string.
	// Example: `10.0.0.4/31`
	OracleInterfaceIp *string `mandatory:"false" json:"oracleInterfaceIp"`

	// The IP address for the CPE end of the inside tunnel interface.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see UpdateIPSecConnectionTunnelDetails), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP address to troubleshoot or
	// monitor the tunnel.
	// The value must be a /30 or /31.
	// If you are switching the tunnel from using BGP dynamic routing to static routing and want
	// to remove the value for `customerInterfaceIp`, you can set the value to an empty string.
	// Example: `10.0.0.5/31`
	CustomerInterfaceIp *string `mandatory:"false" json:"customerInterfaceIp"`

	// The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP
	// address to troubleshoot or monitor the tunnel.
	// Only subnet masks from /64 up to /127 are allowed.
	// Example: `2001:db8::1/64`
	OracleInterfaceIpv6 *string `mandatory:"false" json:"oracleInterfaceIpv6"`

	// The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional.
	// If the tunnel's `routing` attribute is set to `BGP`
	// (see IPSecConnectionTunnel), this IP address
	// is used for the tunnel's BGP session.
	// If `routing` is instead set to `STATIC`, you can set this IP
	// address to troubleshoot or monitor the tunnel.
	// Only subnet masks from /64 up to /127 are allowed.
	// Example: `2001:db8::1/64`
	CustomerInterfaceIpv6 *string `mandatory:"false" json:"customerInterfaceIpv6"`

	// The BGP ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN.
	// Uses "asplain" format.
	// If you are switching the tunnel from using BGP dynamic routing to static routing, the
	// `customerBgpAsn` must be null.
	// Example: `12345` (2-byte) or `1587232876` (4-byte)
	CustomerBgpAsn *string `mandatory:"false" json:"customerBgpAsn"`
}

UpdateIpSecTunnelBgpSessionDetails The representation of UpdateIpSecTunnelBgpSessionDetails

func (UpdateIpSecTunnelBgpSessionDetails) String ¶

func (UpdateIpSecTunnelBgpSessionDetails) ValidateEnumValue ¶

func (m UpdateIpSecTunnelBgpSessionDetails) 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 UpdateIpSecTunnelEncryptionDomainDetails ¶

type UpdateIpSecTunnelEncryptionDomainDetails struct {

	// Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
	OracleTrafficSelector []string `mandatory:"false" json:"oracleTrafficSelector"`

	// Lists IPv4 or IPv6-enabled subnets in your on-premises network.
	CpeTrafficSelector []string `mandatory:"false" json:"cpeTrafficSelector"`
}

UpdateIpSecTunnelEncryptionDomainDetails Request to update a multi-encryption domain policy on the IPSec tunnel. There can't be more than 50 security associations in use at one time. See Encryption domain for policy-based tunnels (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more.

func (UpdateIpSecTunnelEncryptionDomainDetails) String ¶

func (UpdateIpSecTunnelEncryptionDomainDetails) ValidateEnumValue ¶

func (m UpdateIpSecTunnelEncryptionDomainDetails) 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 UpdateIpv6Details ¶

type UpdateIpv6Details struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the IPv6 to.
	// The VNIC must be in the same subnet as the current VNIC.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

UpdateIpv6Details The representation of UpdateIpv6Details

func (UpdateIpv6Details) String ¶

func (m UpdateIpv6Details) String() string

func (UpdateIpv6Details) ValidateEnumValue ¶

func (m UpdateIpv6Details) 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 UpdateIpv6Request ¶

type UpdateIpv6Request struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6.
	Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"`

	// IPv6 details to be updated.
	UpdateIpv6Details `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateIpv6Request wrapper for the UpdateIpv6 operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6Request.

func (UpdateIpv6Request) BinaryRequestBody ¶

func (request UpdateIpv6Request) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateIpv6Request) HTTPRequest ¶

func (request UpdateIpv6Request) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateIpv6Request) RetryPolicy ¶

func (request UpdateIpv6Request) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateIpv6Request) String ¶

func (request UpdateIpv6Request) String() string

func (UpdateIpv6Request) ValidateEnumValue ¶

func (request UpdateIpv6Request) 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 UpdateIpv6Response ¶

type UpdateIpv6Response struct {

	// The underlying http response
	RawResponse *http.Response

	// The Ipv6 instance
	Ipv6 `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"`
}

UpdateIpv6Response wrapper for the UpdateIpv6 operation

func (UpdateIpv6Response) HTTPResponse ¶

func (response UpdateIpv6Response) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateIpv6Response) String ¶

func (response UpdateIpv6Response) String() string

type UpdateLaunchOptions ¶

type UpdateLaunchOptions struct {

	// Emulation type for the boot volume.
	// * `ISCSI` - ISCSI attached block storage device.
	// * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
	// storage volumes on platform images.
	// Before you change the boot volume attachment type, detach all block volumes and VNICs except for
	// the boot volume and the primary VNIC.
	// If the instance is running when you change the boot volume attachment type, it will be rebooted.
	// **Note:** Some instances might not function properly if you change the boot volume attachment type. After
	// the instance reboots and is running, connect to it. If the connection fails or the OS doesn't behave
	// as expected, the changes are not supported. Revert the instance to the original boot volume attachment type.
	BootVolumeType UpdateLaunchOptionsBootVolumeTypeEnum `mandatory:"false" json:"bootVolumeType,omitempty"`

	// Emulation type for the physical network interface card (NIC).
	// * `VFIO` - Direct attached Virtual Function network controller. This is the networking type
	// when you launch an instance using hardware-assisted (SR-IOV) networking.
	// * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
	// Before you change the networking type, detach all VNICs and block volumes except for the primary
	// VNIC and the boot volume.
	// The image must have paravirtualized drivers installed. For more information, see
	// Editing an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm).
	// If the instance is running when you change the network type, it will be rebooted.
	// **Note:** Some instances might not function properly if you change the networking type. After
	// the instance reboots and is running, connect to it. If the connection fails or the OS doesn't behave
	// as expected, the changes are not supported. Revert the instance to the original networking type.
	NetworkType UpdateLaunchOptionsNetworkTypeEnum `mandatory:"false" json:"networkType,omitempty"`

	// Whether to enable in-transit encryption for the volume's paravirtualized attachment.
	// To enable in-transit encryption for block volumes and boot volumes, this field must be set to `true`.
	// Data in transit is transferred over an internal and highly secure network. If you have specific
	// compliance requirements related to the encryption of the data while it is moving between the
	// instance and the boot volume or the block volume, you can enable in-transit encryption.
	// In-transit encryption is not enabled by default.
	// All boot volumes and block volumes are encrypted at rest.
	// For more information, see Block Volume Encryption (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti).
	IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
}

UpdateLaunchOptions Options for tuning the compatibility and performance of VM shapes.

func (UpdateLaunchOptions) String ¶

func (m UpdateLaunchOptions) String() string

func (UpdateLaunchOptions) ValidateEnumValue ¶

func (m UpdateLaunchOptions) 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 UpdateLaunchOptionsBootVolumeTypeEnum ¶

type UpdateLaunchOptionsBootVolumeTypeEnum string

UpdateLaunchOptionsBootVolumeTypeEnum Enum with underlying type: string

const (
	UpdateLaunchOptionsBootVolumeTypeIscsi           UpdateLaunchOptionsBootVolumeTypeEnum = "ISCSI"
	UpdateLaunchOptionsBootVolumeTypeParavirtualized UpdateLaunchOptionsBootVolumeTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for UpdateLaunchOptionsBootVolumeTypeEnum

func GetMappingUpdateLaunchOptionsBootVolumeTypeEnum ¶

func GetMappingUpdateLaunchOptionsBootVolumeTypeEnum(val string) (UpdateLaunchOptionsBootVolumeTypeEnum, bool)

GetMappingUpdateLaunchOptionsBootVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateLaunchOptionsBootVolumeTypeEnumValues ¶

func GetUpdateLaunchOptionsBootVolumeTypeEnumValues() []UpdateLaunchOptionsBootVolumeTypeEnum

GetUpdateLaunchOptionsBootVolumeTypeEnumValues Enumerates the set of values for UpdateLaunchOptionsBootVolumeTypeEnum

type UpdateLaunchOptionsNetworkTypeEnum ¶

type UpdateLaunchOptionsNetworkTypeEnum string

UpdateLaunchOptionsNetworkTypeEnum Enum with underlying type: string

const (
	UpdateLaunchOptionsNetworkTypeVfio            UpdateLaunchOptionsNetworkTypeEnum = "VFIO"
	UpdateLaunchOptionsNetworkTypeParavirtualized UpdateLaunchOptionsNetworkTypeEnum = "PARAVIRTUALIZED"
)

Set of constants representing the allowable values for UpdateLaunchOptionsNetworkTypeEnum

func GetMappingUpdateLaunchOptionsNetworkTypeEnum ¶

func GetMappingUpdateLaunchOptionsNetworkTypeEnum(val string) (UpdateLaunchOptionsNetworkTypeEnum, bool)

GetMappingUpdateLaunchOptionsNetworkTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateLaunchOptionsNetworkTypeEnumValues ¶

func GetUpdateLaunchOptionsNetworkTypeEnumValues() []UpdateLaunchOptionsNetworkTypeEnum

GetUpdateLaunchOptionsNetworkTypeEnumValues Enumerates the set of values for UpdateLaunchOptionsNetworkTypeEnum

type UpdateLocalPeeringGatewayDetails ¶

type UpdateLocalPeeringGatewayDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use.
	// For information about why you would associate a route table with an LPG, see
	// Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm).
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

UpdateLocalPeeringGatewayDetails The representation of UpdateLocalPeeringGatewayDetails

func (UpdateLocalPeeringGatewayDetails) String ¶

func (UpdateLocalPeeringGatewayDetails) ValidateEnumValue ¶

func (m UpdateLocalPeeringGatewayDetails) 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 UpdateLocalPeeringGatewayRequest ¶

type UpdateLocalPeeringGatewayRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway.
	LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"`

	// Details object for updating a local peering gateway.
	UpdateLocalPeeringGatewayDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateLocalPeeringGatewayRequest wrapper for the UpdateLocalPeeringGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGatewayRequest.

func (UpdateLocalPeeringGatewayRequest) BinaryRequestBody ¶

func (request UpdateLocalPeeringGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateLocalPeeringGatewayRequest) HTTPRequest ¶

func (request UpdateLocalPeeringGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateLocalPeeringGatewayRequest) RetryPolicy ¶

func (request UpdateLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateLocalPeeringGatewayRequest) String ¶

func (request UpdateLocalPeeringGatewayRequest) String() string

func (UpdateLocalPeeringGatewayRequest) ValidateEnumValue ¶

func (request UpdateLocalPeeringGatewayRequest) 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 UpdateLocalPeeringGatewayResponse ¶

type UpdateLocalPeeringGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LocalPeeringGateway instance
	LocalPeeringGateway `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"`
}

UpdateLocalPeeringGatewayResponse wrapper for the UpdateLocalPeeringGateway operation

func (UpdateLocalPeeringGatewayResponse) HTTPResponse ¶

func (response UpdateLocalPeeringGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateLocalPeeringGatewayResponse) String ¶

func (response UpdateLocalPeeringGatewayResponse) String() string

type UpdateMacsecKey ¶

type UpdateMacsecKey struct {

	// Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key Name (CKN) of this MACsec key.
	ConnectivityAssociationNameSecretId *string `mandatory:"true" json:"connectivityAssociationNameSecretId"`

	// The secret version of the connectivity association name secret in Vault.
	ConnectivityAssociationNameSecretVersion *int64 `mandatory:"true" json:"connectivityAssociationNameSecretVersion"`

	// Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key.
	ConnectivityAssociationKeySecretId *string `mandatory:"true" json:"connectivityAssociationKeySecretId"`

	// The secret version of the connectivityAssociationKey secret in Vault.
	ConnectivityAssociationKeySecretVersion *int64 `mandatory:"true" json:"connectivityAssociationKeySecretVersion"`
}

UpdateMacsecKey An object defining the OCID of the Secret held in Vault that represent the MACsec key.

func (UpdateMacsecKey) String ¶

func (m UpdateMacsecKey) String() string

func (UpdateMacsecKey) ValidateEnumValue ¶

func (m UpdateMacsecKey) 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 UpdateMacsecProperties ¶

type UpdateMacsecProperties struct {

	// Indicates whether or not MACsec is enabled.
	State MacsecStateEnum `mandatory:"true" json:"state"`

	PrimaryKey *UpdateMacsecKey `mandatory:"false" json:"primaryKey"`

	// Type of encryption cipher suite to use for the MACsec connection.
	EncryptionCipher MacsecEncryptionCipherEnum `mandatory:"false" json:"encryptionCipher,omitempty"`

	// Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
	IsUnprotectedTrafficAllowed *bool `mandatory:"false" json:"isUnprotectedTrafficAllowed"`
}

UpdateMacsecProperties Properties used to update MACsec settings.

func (UpdateMacsecProperties) String ¶

func (m UpdateMacsecProperties) String() string

func (UpdateMacsecProperties) ValidateEnumValue ¶

func (m UpdateMacsecProperties) 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 UpdateNatGatewayDetails ¶

type UpdateNatGatewayDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Whether the NAT gateway blocks traffic through it. The default is `false`.
	// Example: `true`
	BlockTraffic *bool `mandatory:"false" json:"blockTraffic"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway.
	// If you don't specify a route table here, the NAT gateway is created without an associated route
	// table. The Networking service does NOT automatically associate the attached VCN's default route
	// table with the NAT gateway.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

UpdateNatGatewayDetails The representation of UpdateNatGatewayDetails

func (UpdateNatGatewayDetails) String ¶

func (m UpdateNatGatewayDetails) String() string

func (UpdateNatGatewayDetails) ValidateEnumValue ¶

func (m UpdateNatGatewayDetails) 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 UpdateNatGatewayRequest ¶

type UpdateNatGatewayRequest struct {

	// The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"`

	// Details object for updating a NAT gateway.
	UpdateNatGatewayDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateNatGatewayRequest wrapper for the UpdateNatGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGatewayRequest.

func (UpdateNatGatewayRequest) BinaryRequestBody ¶

func (request UpdateNatGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNatGatewayRequest) HTTPRequest ¶

func (request UpdateNatGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNatGatewayRequest) RetryPolicy ¶

func (request UpdateNatGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNatGatewayRequest) String ¶

func (request UpdateNatGatewayRequest) String() string

func (UpdateNatGatewayRequest) ValidateEnumValue ¶

func (request UpdateNatGatewayRequest) 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 UpdateNatGatewayResponse ¶

type UpdateNatGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NatGateway instance
	NatGateway `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"`
}

UpdateNatGatewayResponse wrapper for the UpdateNatGateway operation

func (UpdateNatGatewayResponse) HTTPResponse ¶

func (response UpdateNatGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNatGatewayResponse) String ¶

func (response UpdateNatGatewayResponse) String() string

type UpdateNetworkSecurityGroupDetails ¶

type UpdateNetworkSecurityGroupDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateNetworkSecurityGroupDetails The representation of UpdateNetworkSecurityGroupDetails

func (UpdateNetworkSecurityGroupDetails) String ¶

func (UpdateNetworkSecurityGroupDetails) ValidateEnumValue ¶

func (m UpdateNetworkSecurityGroupDetails) 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 UpdateNetworkSecurityGroupRequest ¶

type UpdateNetworkSecurityGroupRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Details object for updating a network security group.
	UpdateNetworkSecurityGroupDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateNetworkSecurityGroupRequest wrapper for the UpdateNetworkSecurityGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroupRequest.

func (UpdateNetworkSecurityGroupRequest) BinaryRequestBody ¶

func (request UpdateNetworkSecurityGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkSecurityGroupRequest) HTTPRequest ¶

func (request UpdateNetworkSecurityGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkSecurityGroupRequest) RetryPolicy ¶

func (request UpdateNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNetworkSecurityGroupRequest) String ¶

func (request UpdateNetworkSecurityGroupRequest) String() string

func (UpdateNetworkSecurityGroupRequest) ValidateEnumValue ¶

func (request UpdateNetworkSecurityGroupRequest) 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 UpdateNetworkSecurityGroupResponse ¶

type UpdateNetworkSecurityGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The NetworkSecurityGroup instance
	NetworkSecurityGroup `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"`
}

UpdateNetworkSecurityGroupResponse wrapper for the UpdateNetworkSecurityGroup operation

func (UpdateNetworkSecurityGroupResponse) HTTPResponse ¶

func (response UpdateNetworkSecurityGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkSecurityGroupResponse) String ¶

func (response UpdateNetworkSecurityGroupResponse) String() string

type UpdateNetworkSecurityGroupSecurityRulesDetails ¶

type UpdateNetworkSecurityGroupSecurityRulesDetails struct {

	// The NSG security rules to update.
	SecurityRules []UpdateSecurityRuleDetails `mandatory:"false" json:"securityRules"`
}

UpdateNetworkSecurityGroupSecurityRulesDetails The representation of UpdateNetworkSecurityGroupSecurityRulesDetails

func (UpdateNetworkSecurityGroupSecurityRulesDetails) String ¶

func (UpdateNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue ¶

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 UpdateNetworkSecurityGroupSecurityRulesRequest ¶

type UpdateNetworkSecurityGroupSecurityRulesRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"`

	// Request with one or more security rules associated with the network security group that
	// will be updated.
	UpdateNetworkSecurityGroupSecurityRulesDetails `contributesTo:"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 `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
}

UpdateNetworkSecurityGroupSecurityRulesRequest wrapper for the UpdateNetworkSecurityGroupSecurityRules operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRulesRequest.

func (UpdateNetworkSecurityGroupSecurityRulesRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkSecurityGroupSecurityRulesRequest) HTTPRequest ¶

func (request UpdateNetworkSecurityGroupSecurityRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkSecurityGroupSecurityRulesRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNetworkSecurityGroupSecurityRulesRequest) String ¶

func (UpdateNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue ¶

func (request UpdateNetworkSecurityGroupSecurityRulesRequest) 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 UpdateNetworkSecurityGroupSecurityRulesResponse ¶

type UpdateNetworkSecurityGroupSecurityRulesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UpdatedNetworkSecurityGroupSecurityRules instance
	UpdatedNetworkSecurityGroupSecurityRules `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"`
}

UpdateNetworkSecurityGroupSecurityRulesResponse wrapper for the UpdateNetworkSecurityGroupSecurityRules operation

func (UpdateNetworkSecurityGroupSecurityRulesResponse) HTTPResponse ¶

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkSecurityGroupSecurityRulesResponse) String ¶

type UpdatePrivateIpDetails ¶

type UpdatePrivateIpDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The hostname for the private IP. Used for DNS. The value
	// is the hostname portion of the private IP's fully qualified domain name (FQDN)
	// (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `bminstance1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the private IP to. The VNIC must
	// be in the same subnet as the current VNIC.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

UpdatePrivateIpDetails The representation of UpdatePrivateIpDetails

func (UpdatePrivateIpDetails) String ¶

func (m UpdatePrivateIpDetails) String() string

func (UpdatePrivateIpDetails) ValidateEnumValue ¶

func (m UpdatePrivateIpDetails) 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 UpdatePrivateIpRequest ¶

type UpdatePrivateIpRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6.
	PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"`

	// Private IP details.
	UpdatePrivateIpDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdatePrivateIpRequest wrapper for the UpdatePrivateIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIpRequest.

func (UpdatePrivateIpRequest) BinaryRequestBody ¶

func (request UpdatePrivateIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdatePrivateIpRequest) HTTPRequest ¶

func (request UpdatePrivateIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdatePrivateIpRequest) RetryPolicy ¶

func (request UpdatePrivateIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdatePrivateIpRequest) String ¶

func (request UpdatePrivateIpRequest) String() string

func (UpdatePrivateIpRequest) ValidateEnumValue ¶

func (request UpdatePrivateIpRequest) 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 UpdatePrivateIpResponse ¶

type UpdatePrivateIpResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PrivateIp instance
	PrivateIp `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"`
}

UpdatePrivateIpResponse wrapper for the UpdatePrivateIp operation

func (UpdatePrivateIpResponse) HTTPResponse ¶

func (response UpdatePrivateIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdatePrivateIpResponse) String ¶

func (response UpdatePrivateIpResponse) String() string

type UpdatePublicIpDetails ¶

type UpdatePublicIpDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to.
	// * If the public IP is already assigned to a different private IP, it will be unassigned
	// and then reassigned to the specified private IP.
	// * If you set this field to an empty string, the public IP will be unassigned from the
	// private IP it is currently assigned to.
	PrivateIpId *string `mandatory:"false" json:"privateIpId"`
}

UpdatePublicIpDetails The representation of UpdatePublicIpDetails

func (UpdatePublicIpDetails) String ¶

func (m UpdatePublicIpDetails) String() string

func (UpdatePublicIpDetails) ValidateEnumValue ¶

func (m UpdatePublicIpDetails) 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 UpdatePublicIpPoolDetails ¶

type UpdatePublicIpPoolDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdatePublicIpPoolDetails The data to update for a public IP pool.

func (UpdatePublicIpPoolDetails) String ¶

func (m UpdatePublicIpPoolDetails) String() string

func (UpdatePublicIpPoolDetails) ValidateEnumValue ¶

func (m UpdatePublicIpPoolDetails) 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 UpdatePublicIpPoolRequest ¶

type UpdatePublicIpPoolRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool.
	PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"`

	// Public IP pool details.
	UpdatePublicIpPoolDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

UpdatePublicIpPoolRequest wrapper for the UpdatePublicIpPool operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPoolRequest.

func (UpdatePublicIpPoolRequest) BinaryRequestBody ¶

func (request UpdatePublicIpPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdatePublicIpPoolRequest) HTTPRequest ¶

func (request UpdatePublicIpPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdatePublicIpPoolRequest) RetryPolicy ¶

func (request UpdatePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdatePublicIpPoolRequest) String ¶

func (request UpdatePublicIpPoolRequest) String() string

func (UpdatePublicIpPoolRequest) ValidateEnumValue ¶

func (request UpdatePublicIpPoolRequest) 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 UpdatePublicIpPoolResponse ¶

type UpdatePublicIpPoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIpPool instance
	PublicIpPool `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"`
}

UpdatePublicIpPoolResponse wrapper for the UpdatePublicIpPool operation

func (UpdatePublicIpPoolResponse) HTTPResponse ¶

func (response UpdatePublicIpPoolResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdatePublicIpPoolResponse) String ¶

func (response UpdatePublicIpPoolResponse) String() string

type UpdatePublicIpRequest ¶

type UpdatePublicIpRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP.
	PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"`

	// Public IP details.
	UpdatePublicIpDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdatePublicIpRequest wrapper for the UpdatePublicIp operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIpRequest.

func (UpdatePublicIpRequest) BinaryRequestBody ¶

func (request UpdatePublicIpRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdatePublicIpRequest) HTTPRequest ¶

func (request UpdatePublicIpRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdatePublicIpRequest) RetryPolicy ¶

func (request UpdatePublicIpRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdatePublicIpRequest) String ¶

func (request UpdatePublicIpRequest) String() string

func (UpdatePublicIpRequest) ValidateEnumValue ¶

func (request UpdatePublicIpRequest) 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 UpdatePublicIpResponse ¶

type UpdatePublicIpResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The PublicIp instance
	PublicIp `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"`
}

UpdatePublicIpResponse wrapper for the UpdatePublicIp operation

func (UpdatePublicIpResponse) HTTPResponse ¶

func (response UpdatePublicIpResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdatePublicIpResponse) String ¶

func (response UpdatePublicIpResponse) String() string

type UpdateRemotePeeringConnectionDetails ¶

type UpdateRemotePeeringConnectionDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateRemotePeeringConnectionDetails The representation of UpdateRemotePeeringConnectionDetails

func (UpdateRemotePeeringConnectionDetails) String ¶

func (UpdateRemotePeeringConnectionDetails) ValidateEnumValue ¶

func (m UpdateRemotePeeringConnectionDetails) 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 UpdateRemotePeeringConnectionRequest ¶

type UpdateRemotePeeringConnectionRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC).
	RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"`

	// Request to the update the peering connection to remote region
	UpdateRemotePeeringConnectionDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateRemotePeeringConnectionRequest wrapper for the UpdateRemotePeeringConnection operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnectionRequest.

func (UpdateRemotePeeringConnectionRequest) BinaryRequestBody ¶

func (request UpdateRemotePeeringConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRemotePeeringConnectionRequest) HTTPRequest ¶

func (request UpdateRemotePeeringConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateRemotePeeringConnectionRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRemotePeeringConnectionRequest) String ¶

func (UpdateRemotePeeringConnectionRequest) ValidateEnumValue ¶

func (request UpdateRemotePeeringConnectionRequest) 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 UpdateRemotePeeringConnectionResponse ¶

type UpdateRemotePeeringConnectionResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The RemotePeeringConnection instance
	RemotePeeringConnection `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"`
}

UpdateRemotePeeringConnectionResponse wrapper for the UpdateRemotePeeringConnection operation

func (UpdateRemotePeeringConnectionResponse) HTTPResponse ¶

func (response UpdateRemotePeeringConnectionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRemotePeeringConnectionResponse) String ¶

type UpdateRouteTableDetails ¶

type UpdateRouteTableDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The collection of rules used for routing destination IPs to network devices.
	RouteRules []RouteRule `mandatory:"false" json:"routeRules"`
}

UpdateRouteTableDetails The representation of UpdateRouteTableDetails

func (UpdateRouteTableDetails) String ¶

func (m UpdateRouteTableDetails) String() string

func (UpdateRouteTableDetails) ValidateEnumValue ¶

func (m UpdateRouteTableDetails) 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 UpdateRouteTableRequest ¶

type UpdateRouteTableRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table.
	RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"`

	// Details object for updating a route table.
	UpdateRouteTableDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateRouteTableRequest wrapper for the UpdateRouteTable operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTableRequest.

func (UpdateRouteTableRequest) BinaryRequestBody ¶

func (request UpdateRouteTableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRouteTableRequest) HTTPRequest ¶

func (request UpdateRouteTableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateRouteTableRequest) RetryPolicy ¶

func (request UpdateRouteTableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRouteTableRequest) String ¶

func (request UpdateRouteTableRequest) String() string

func (UpdateRouteTableRequest) ValidateEnumValue ¶

func (request UpdateRouteTableRequest) 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 UpdateRouteTableResponse ¶

type UpdateRouteTableResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The RouteTable instance
	RouteTable `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"`
}

UpdateRouteTableResponse wrapper for the UpdateRouteTable operation

func (UpdateRouteTableResponse) HTTPResponse ¶

func (response UpdateRouteTableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRouteTableResponse) String ¶

func (response UpdateRouteTableResponse) String() string

type UpdateSecurityListDetails ¶

type UpdateSecurityListDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Rules for allowing egress IP packets.
	EgressSecurityRules []EgressSecurityRule `mandatory:"false" json:"egressSecurityRules"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Rules for allowing ingress IP packets.
	IngressSecurityRules []IngressSecurityRule `mandatory:"false" json:"ingressSecurityRules"`
}

UpdateSecurityListDetails The representation of UpdateSecurityListDetails

func (UpdateSecurityListDetails) String ¶

func (m UpdateSecurityListDetails) String() string

func (UpdateSecurityListDetails) ValidateEnumValue ¶

func (m UpdateSecurityListDetails) 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 UpdateSecurityListRequest ¶

type UpdateSecurityListRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list.
	SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"`

	// Updated details for the security list.
	UpdateSecurityListDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateSecurityListRequest wrapper for the UpdateSecurityList operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityListRequest.

func (UpdateSecurityListRequest) BinaryRequestBody ¶

func (request UpdateSecurityListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSecurityListRequest) HTTPRequest ¶

func (request UpdateSecurityListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSecurityListRequest) RetryPolicy ¶

func (request UpdateSecurityListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSecurityListRequest) String ¶

func (request UpdateSecurityListRequest) String() string

func (UpdateSecurityListRequest) ValidateEnumValue ¶

func (request UpdateSecurityListRequest) 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 UpdateSecurityListResponse ¶

type UpdateSecurityListResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The SecurityList instance
	SecurityList `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"`
}

UpdateSecurityListResponse wrapper for the UpdateSecurityList operation

func (UpdateSecurityListResponse) HTTPResponse ¶

func (response UpdateSecurityListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSecurityListResponse) String ¶

func (response UpdateSecurityListResponse) String() string

type UpdateSecurityRuleDetails ¶

type UpdateSecurityRuleDetails struct {

	// Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
	// or `INGRESS` for rules to allow inbound IP packets.
	Direction UpdateSecurityRuleDetailsDirectionEnum `mandatory:"true" json:"direction"`

	// The Oracle-assigned ID of the security rule that you want to update. You can't change this value.
	// Example: `04ABEC`
	Id *string `mandatory:"true" json:"id"`

	// The transport protocol. Specify either `all` or an IPv4 protocol number as
	// defined in
	// Protocol Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
	// Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
	Protocol *string `mandatory:"true" json:"protocol"`

	// An optional description of your choice for the rule. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// Conceptually, this is the range of IP addresses that a packet originating from the instance
	// can go to.
	// Allowed values:
	//   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     IPv6 addressing is supported for all commercial and government regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	//   * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same
	//     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
	//     traffic between VNICs in the same NSG.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule. Required if `direction` = `EGRESS`.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	//   * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a
	//     NetworkSecurityGroup.
	DestinationType UpdateSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	// A stateless rule allows traffic in one direction. Remember to add a corresponding
	// stateless rule in the other direction if you need to support bidirectional traffic. For
	// example, if egress traffic allows TCP destination port 80, there should be an ingress
	// rule to allow TCP source port 80. Defaults to false, which means the rule is stateful
	// and a corresponding rule is not necessary for bidirectional traffic.
	IsStateless *bool `mandatory:"false" json:"isStateless"`

	// Conceptually, this is the range of IP addresses that a packet coming into the instance
	// can come from.
	// Allowed values:
	//   * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     IPv6 addressing is supported for all commercial and government regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security rule for traffic coming from a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	//   * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same
	//     VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control
	//     traffic between VNICs in the same NSG.
	Source *string `mandatory:"false" json:"source"`

	// Type of source for the rule. Required if `direction` = `INGRESS`.
	//   * `CIDR_BLOCK`: If the rule's `source` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
	//     Service (the rule is for traffic coming from a
	//     particular `Service` through a service gateway).
	//   * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a
	//     NetworkSecurityGroup.
	SourceType UpdateSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`
}

UpdateSecurityRuleDetails A rule for allowing inbound (`direction`= INGRESS) or outbound (`direction`= EGRESS) IP packets.

func (UpdateSecurityRuleDetails) String ¶

func (m UpdateSecurityRuleDetails) String() string

func (UpdateSecurityRuleDetails) ValidateEnumValue ¶

func (m UpdateSecurityRuleDetails) 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 UpdateSecurityRuleDetailsDestinationTypeEnum ¶

type UpdateSecurityRuleDetailsDestinationTypeEnum string

UpdateSecurityRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	UpdateSecurityRuleDetailsDestinationTypeCidrBlock            UpdateSecurityRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
	UpdateSecurityRuleDetailsDestinationTypeServiceCidrBlock     UpdateSecurityRuleDetailsDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
	UpdateSecurityRuleDetailsDestinationTypeNetworkSecurityGroup UpdateSecurityRuleDetailsDestinationTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for UpdateSecurityRuleDetailsDestinationTypeEnum

func GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum ¶

func GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum(val string) (UpdateSecurityRuleDetailsDestinationTypeEnum, bool)

GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSecurityRuleDetailsDestinationTypeEnumValues ¶

func GetUpdateSecurityRuleDetailsDestinationTypeEnumValues() []UpdateSecurityRuleDetailsDestinationTypeEnum

GetUpdateSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsDestinationTypeEnum

type UpdateSecurityRuleDetailsDirectionEnum ¶

type UpdateSecurityRuleDetailsDirectionEnum string

UpdateSecurityRuleDetailsDirectionEnum Enum with underlying type: string

const (
	UpdateSecurityRuleDetailsDirectionEgress  UpdateSecurityRuleDetailsDirectionEnum = "EGRESS"
	UpdateSecurityRuleDetailsDirectionIngress UpdateSecurityRuleDetailsDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for UpdateSecurityRuleDetailsDirectionEnum

func GetMappingUpdateSecurityRuleDetailsDirectionEnum ¶

func GetMappingUpdateSecurityRuleDetailsDirectionEnum(val string) (UpdateSecurityRuleDetailsDirectionEnum, bool)

GetMappingUpdateSecurityRuleDetailsDirectionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSecurityRuleDetailsDirectionEnumValues ¶

func GetUpdateSecurityRuleDetailsDirectionEnumValues() []UpdateSecurityRuleDetailsDirectionEnum

GetUpdateSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsDirectionEnum

type UpdateSecurityRuleDetailsSourceTypeEnum ¶

type UpdateSecurityRuleDetailsSourceTypeEnum string

UpdateSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string

const (
	UpdateSecurityRuleDetailsSourceTypeCidrBlock            UpdateSecurityRuleDetailsSourceTypeEnum = "CIDR_BLOCK"
	UpdateSecurityRuleDetailsSourceTypeServiceCidrBlock     UpdateSecurityRuleDetailsSourceTypeEnum = "SERVICE_CIDR_BLOCK"
	UpdateSecurityRuleDetailsSourceTypeNetworkSecurityGroup UpdateSecurityRuleDetailsSourceTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for UpdateSecurityRuleDetailsSourceTypeEnum

func GetMappingUpdateSecurityRuleDetailsSourceTypeEnum ¶

func GetMappingUpdateSecurityRuleDetailsSourceTypeEnum(val string) (UpdateSecurityRuleDetailsSourceTypeEnum, bool)

GetMappingUpdateSecurityRuleDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSecurityRuleDetailsSourceTypeEnumValues ¶

func GetUpdateSecurityRuleDetailsSourceTypeEnumValues() []UpdateSecurityRuleDetailsSourceTypeEnum

GetUpdateSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsSourceTypeEnum

type UpdateServiceGatewayDetails ¶

type UpdateServiceGatewayDetails struct {

	// Whether the service gateway blocks all traffic through it. The default is `false`. When
	// this is `true`, traffic is not routed to any services, regardless of route rules.
	// Example: `true`
	BlockTraffic *bool `mandatory:"false" json:"blockTraffic"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use.
	// For information about why you would associate a route table with a service gateway, see
	// Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm).
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// List of all the `Service` objects you want enabled on this service gateway. Sending an empty list
	// means you want to disable all services. Omitting this parameter entirely keeps the
	// existing list of services intact.
	// You can also enable or disable a particular `Service` by using
	// AttachServiceId or
	// DetachServiceId.
	// For each enabled `Service`, make sure there's a route rule with the `Service` object's `cidrBlock`
	// as the rule's destination and the service gateway as the rule's target. See
	// RouteTable.
	Services []ServiceIdRequestDetails `mandatory:"false" json:"services"`
}

UpdateServiceGatewayDetails The representation of UpdateServiceGatewayDetails

func (UpdateServiceGatewayDetails) String ¶

func (UpdateServiceGatewayDetails) ValidateEnumValue ¶

func (m UpdateServiceGatewayDetails) 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 UpdateServiceGatewayRequest ¶

type UpdateServiceGatewayRequest struct {

	// The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"`

	// Details object for updating a service gateway.
	UpdateServiceGatewayDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateServiceGatewayRequest wrapper for the UpdateServiceGateway operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGatewayRequest.

func (UpdateServiceGatewayRequest) BinaryRequestBody ¶

func (request UpdateServiceGatewayRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateServiceGatewayRequest) HTTPRequest ¶

func (request UpdateServiceGatewayRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateServiceGatewayRequest) RetryPolicy ¶

func (request UpdateServiceGatewayRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateServiceGatewayRequest) String ¶

func (request UpdateServiceGatewayRequest) String() string

func (UpdateServiceGatewayRequest) ValidateEnumValue ¶

func (request UpdateServiceGatewayRequest) 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 UpdateServiceGatewayResponse ¶

type UpdateServiceGatewayResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ServiceGateway instance
	ServiceGateway `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"`
}

UpdateServiceGatewayResponse wrapper for the UpdateServiceGateway operation

func (UpdateServiceGatewayResponse) HTTPResponse ¶

func (response UpdateServiceGatewayResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateServiceGatewayResponse) String ¶

func (response UpdateServiceGatewayResponse) String() string

type UpdateSubnetDetails ¶

type UpdateSubnetDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use.
	DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The OCIDs of the security list or lists the subnet will use. This
	// replaces the entire current set of security lists. Remember that
	// security lists are associated *with the subnet*, but the rules are
	// applied to the individual VNICs in the subnet.
	SecurityListIds []string `mandatory:"false" json:"securityListIds"`

	// The CIDR block of the subnet. The new CIDR block must meet the following criteria:
	// - Must be valid.
	// - The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges.
	// - The old and new CIDR block ranges must use the same network address. Example: `10.0.0.0/25` and `10.0.0.0/24`.
	// - Must contain all IP addresses in use in the old CIDR range.
	// - The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range.
	// **Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress.
	// Example: `172.16.0.0/16`
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// This is the IPv6 prefix for the subnet's IP address space.
	// The subnet size is always /64.
	// See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// The provided prefix must maintain the following rules -
	// a. The IPv6 prefix is valid and correctly formatted.
	// b. The IPv6 prefix is within the parent VCN IPv6 range.
	// Example: `2001:0db8:0123:1111::/64`
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// The list of all IPv6 prefixes (Oracle allocated IPv6 GUA, ULA or private IPv6 prefix, BYOIPv6 prefixes) for the subnet that meets the following criteria:
	// - The prefixes must be valid.
	// - Multiple prefixes must not overlap each other or the on-premises network prefix.
	// - The number of prefixes must not exceed the limit of IPv6 prefixes allowed to a subnet.
	Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"`
}

UpdateSubnetDetails The representation of UpdateSubnetDetails

func (UpdateSubnetDetails) String ¶

func (m UpdateSubnetDetails) String() string

func (UpdateSubnetDetails) ValidateEnumValue ¶

func (m UpdateSubnetDetails) 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 UpdateSubnetRequest ¶

type UpdateSubnetRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
	SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"`

	// Details object for updating a subnet.
	UpdateSubnetDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateSubnetRequest wrapper for the UpdateSubnet operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnetRequest.

func (UpdateSubnetRequest) BinaryRequestBody ¶

func (request UpdateSubnetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSubnetRequest) HTTPRequest ¶

func (request UpdateSubnetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSubnetRequest) RetryPolicy ¶

func (request UpdateSubnetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSubnetRequest) String ¶

func (request UpdateSubnetRequest) String() string

func (UpdateSubnetRequest) ValidateEnumValue ¶

func (request UpdateSubnetRequest) 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 UpdateSubnetResponse ¶

type UpdateSubnetResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Subnet instance
	Subnet `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"`
}

UpdateSubnetResponse wrapper for the UpdateSubnet operation

func (UpdateSubnetResponse) HTTPResponse ¶

func (response UpdateSubnetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSubnetResponse) String ¶

func (response UpdateSubnetResponse) String() string

type UpdateTunnelCpeDeviceConfigDetails ¶

type UpdateTunnelCpeDeviceConfigDetails struct {

	// The set of configuration answers for a CPE device.
	TunnelCpeDeviceConfig []CpeDeviceConfigAnswer `mandatory:"false" json:"tunnelCpeDeviceConfig"`
}

UpdateTunnelCpeDeviceConfigDetails The representation of UpdateTunnelCpeDeviceConfigDetails

func (UpdateTunnelCpeDeviceConfigDetails) String ¶

func (UpdateTunnelCpeDeviceConfigDetails) ValidateEnumValue ¶

func (m UpdateTunnelCpeDeviceConfigDetails) 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 UpdateTunnelCpeDeviceConfigRequest ¶

type UpdateTunnelCpeDeviceConfigRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection.
	IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel.
	TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"`

	// Request to input the tunnel's cpe configuration parameters
	UpdateTunnelCpeDeviceConfigDetails `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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateTunnelCpeDeviceConfigRequest wrapper for the UpdateTunnelCpeDeviceConfig operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfigRequest.

func (UpdateTunnelCpeDeviceConfigRequest) BinaryRequestBody ¶

func (request UpdateTunnelCpeDeviceConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTunnelCpeDeviceConfigRequest) HTTPRequest ¶

func (request UpdateTunnelCpeDeviceConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTunnelCpeDeviceConfigRequest) RetryPolicy ¶

func (request UpdateTunnelCpeDeviceConfigRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTunnelCpeDeviceConfigRequest) String ¶

func (request UpdateTunnelCpeDeviceConfigRequest) String() string

func (UpdateTunnelCpeDeviceConfigRequest) ValidateEnumValue ¶

func (request UpdateTunnelCpeDeviceConfigRequest) 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 UpdateTunnelCpeDeviceConfigResponse ¶

type UpdateTunnelCpeDeviceConfigResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The TunnelCpeDeviceConfig instance
	TunnelCpeDeviceConfig `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"`
}

UpdateTunnelCpeDeviceConfigResponse wrapper for the UpdateTunnelCpeDeviceConfig operation

func (UpdateTunnelCpeDeviceConfigResponse) HTTPResponse ¶

func (response UpdateTunnelCpeDeviceConfigResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTunnelCpeDeviceConfigResponse) String ¶

func (response UpdateTunnelCpeDeviceConfigResponse) String() string

type UpdateVcnDetails ¶

type UpdateVcnDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateVcnDetails The representation of UpdateVcnDetails

func (UpdateVcnDetails) String ¶

func (m UpdateVcnDetails) String() string

func (UpdateVcnDetails) ValidateEnumValue ¶

func (m UpdateVcnDetails) 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 UpdateVcnRequest ¶

type UpdateVcnRequest struct {

	// Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
	VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"`

	// Details object for updating a VCN.
	UpdateVcnDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVcnRequest wrapper for the UpdateVcn operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcnRequest.

func (UpdateVcnRequest) BinaryRequestBody ¶

func (request UpdateVcnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVcnRequest) HTTPRequest ¶

func (request UpdateVcnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVcnRequest) RetryPolicy ¶

func (request UpdateVcnRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVcnRequest) String ¶

func (request UpdateVcnRequest) String() string

func (UpdateVcnRequest) ValidateEnumValue ¶

func (request UpdateVcnRequest) 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 UpdateVcnResponse ¶

type UpdateVcnResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vcn instance
	Vcn `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"`
}

UpdateVcnResponse wrapper for the UpdateVcn operation

func (UpdateVcnResponse) HTTPResponse ¶

func (response UpdateVcnResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVcnResponse) String ¶

func (response UpdateVcnResponse) String() string

type UpdateVirtualCircuitDetails ¶

type UpdateVirtualCircuitDetails struct {

	// The provisioned data rate of the connection. To get a list of the
	// available bandwidth levels (that is, shapes), see
	// ListFastConnectProviderVirtualCircuitBandwidthShapes.
	// To be updated only by the customer who owns the virtual circuit.
	BandwidthShapeName *string `mandatory:"false" json:"bandwidthShapeName"`

	// An array of mappings, each containing properties for a cross-connect or
	// cross-connect group associated with this virtual circuit.
	// The customer and provider can update different properties in the mapping
	// depending on the situation. See the description of the
	// CrossConnectMapping.
	CrossConnectMappings []CrossConnectMapping `mandatory:"false" json:"crossConnectMappings"`

	// The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit.
	// Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`.
	// See Route Filtering (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details.
	// By default, routing information is shared for all routes in the same market.
	RoutingPolicy []UpdateVirtualCircuitDetailsRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"`

	// Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit.
	BgpAdminState UpdateVirtualCircuitDetailsBgpAdminStateEnum `mandatory:"false" json:"bgpAdminState,omitempty"`

	// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
	IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`

	// Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
	IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`

	// Deprecated. Instead use `customerAsn`.
	// If you specify values for both, the request will be rejected.
	CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`

	// The BGP ASN of the network at the other end of the BGP
	// session from Oracle.
	// If the BGP session is from the customer's edge router to Oracle, the
	// required value is the customer's ASN, and it can be updated only
	// by the customer.
	// If the BGP session is from the provider's edge router to Oracle, the
	// required value is the provider's ASN, and it can be updated only
	// by the provider.
	// Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
	CustomerAsn *int64 `mandatory:"false" json:"customerAsn"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Drg
	// that this private virtual circuit uses.
	// To be updated only by the customer who owns the virtual circuit.
	GatewayId *string `mandatory:"false" json:"gatewayId"`

	// The provider's state in relation to this virtual circuit. Relevant only
	// if the customer is using FastConnect via a provider. ACTIVE
	// means the provider has provisioned the virtual circuit from their
	// end. INACTIVE means the provider has not yet provisioned the virtual
	// circuit, or has de-provisioned it.
	// To be updated only by the provider.
	ProviderState UpdateVirtualCircuitDetailsProviderStateEnum `mandatory:"false" json:"providerState,omitempty"`

	// The service key name offered by the provider (if the customer is connecting via a provider).
	ProviderServiceKeyName *string `mandatory:"false" json:"providerServiceKeyName"`

	// Provider-supplied reference information about this virtual circuit.
	// Relevant only if the customer is using FastConnect via a provider.
	// To be updated only by the provider.
	ReferenceComment *string `mandatory:"false" json:"referenceComment"`

	// The layer 3 IP MTU to use on this virtual circuit.
	IpMtu VirtualCircuitIpMtuEnum `mandatory:"false" json:"ipMtu,omitempty"`
}

UpdateVirtualCircuitDetails The representation of UpdateVirtualCircuitDetails

func (UpdateVirtualCircuitDetails) String ¶

func (UpdateVirtualCircuitDetails) ValidateEnumValue ¶

func (m UpdateVirtualCircuitDetails) 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 UpdateVirtualCircuitDetailsBgpAdminStateEnum ¶

type UpdateVirtualCircuitDetailsBgpAdminStateEnum string

UpdateVirtualCircuitDetailsBgpAdminStateEnum Enum with underlying type: string

const (
	UpdateVirtualCircuitDetailsBgpAdminStateEnabled  UpdateVirtualCircuitDetailsBgpAdminStateEnum = "ENABLED"
	UpdateVirtualCircuitDetailsBgpAdminStateDisabled UpdateVirtualCircuitDetailsBgpAdminStateEnum = "DISABLED"
)

Set of constants representing the allowable values for UpdateVirtualCircuitDetailsBgpAdminStateEnum

func GetMappingUpdateVirtualCircuitDetailsBgpAdminStateEnum ¶

func GetMappingUpdateVirtualCircuitDetailsBgpAdminStateEnum(val string) (UpdateVirtualCircuitDetailsBgpAdminStateEnum, bool)

GetMappingUpdateVirtualCircuitDetailsBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumValues ¶

func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumValues() []UpdateVirtualCircuitDetailsBgpAdminStateEnum

GetUpdateVirtualCircuitDetailsBgpAdminStateEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsBgpAdminStateEnum

type UpdateVirtualCircuitDetailsProviderStateEnum ¶

type UpdateVirtualCircuitDetailsProviderStateEnum string

UpdateVirtualCircuitDetailsProviderStateEnum Enum with underlying type: string

const (
	UpdateVirtualCircuitDetailsProviderStateActive   UpdateVirtualCircuitDetailsProviderStateEnum = "ACTIVE"
	UpdateVirtualCircuitDetailsProviderStateInactive UpdateVirtualCircuitDetailsProviderStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for UpdateVirtualCircuitDetailsProviderStateEnum

func GetMappingUpdateVirtualCircuitDetailsProviderStateEnum ¶

func GetMappingUpdateVirtualCircuitDetailsProviderStateEnum(val string) (UpdateVirtualCircuitDetailsProviderStateEnum, bool)

GetMappingUpdateVirtualCircuitDetailsProviderStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVirtualCircuitDetailsProviderStateEnumValues ¶

func GetUpdateVirtualCircuitDetailsProviderStateEnumValues() []UpdateVirtualCircuitDetailsProviderStateEnum

GetUpdateVirtualCircuitDetailsProviderStateEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsProviderStateEnum

type UpdateVirtualCircuitDetailsRoutingPolicyEnum ¶

type UpdateVirtualCircuitDetailsRoutingPolicyEnum string

UpdateVirtualCircuitDetailsRoutingPolicyEnum Enum with underlying type: string

const (
	UpdateVirtualCircuitDetailsRoutingPolicyOracleServiceNetwork UpdateVirtualCircuitDetailsRoutingPolicyEnum = "ORACLE_SERVICE_NETWORK"
	UpdateVirtualCircuitDetailsRoutingPolicyRegional             UpdateVirtualCircuitDetailsRoutingPolicyEnum = "REGIONAL"
	UpdateVirtualCircuitDetailsRoutingPolicyMarketLevel          UpdateVirtualCircuitDetailsRoutingPolicyEnum = "MARKET_LEVEL"
	UpdateVirtualCircuitDetailsRoutingPolicyGlobal               UpdateVirtualCircuitDetailsRoutingPolicyEnum = "GLOBAL"
)

Set of constants representing the allowable values for UpdateVirtualCircuitDetailsRoutingPolicyEnum

func GetMappingUpdateVirtualCircuitDetailsRoutingPolicyEnum ¶

func GetMappingUpdateVirtualCircuitDetailsRoutingPolicyEnum(val string) (UpdateVirtualCircuitDetailsRoutingPolicyEnum, bool)

GetMappingUpdateVirtualCircuitDetailsRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumValues ¶

func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumValues() []UpdateVirtualCircuitDetailsRoutingPolicyEnum

GetUpdateVirtualCircuitDetailsRoutingPolicyEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsRoutingPolicyEnum

type UpdateVirtualCircuitRequest ¶

type UpdateVirtualCircuitRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
	VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`

	// Update VirtualCircuit fields.
	UpdateVirtualCircuitDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVirtualCircuitRequest wrapper for the UpdateVirtualCircuit operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuitRequest.

func (UpdateVirtualCircuitRequest) BinaryRequestBody ¶

func (request UpdateVirtualCircuitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVirtualCircuitRequest) HTTPRequest ¶

func (request UpdateVirtualCircuitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVirtualCircuitRequest) RetryPolicy ¶

func (request UpdateVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVirtualCircuitRequest) String ¶

func (request UpdateVirtualCircuitRequest) String() string

func (UpdateVirtualCircuitRequest) ValidateEnumValue ¶

func (request UpdateVirtualCircuitRequest) 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 UpdateVirtualCircuitResponse ¶

type UpdateVirtualCircuitResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VirtualCircuit instance
	VirtualCircuit `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"`
}

UpdateVirtualCircuitResponse wrapper for the UpdateVirtualCircuit operation

func (UpdateVirtualCircuitResponse) HTTPResponse ¶

func (response UpdateVirtualCircuitResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVirtualCircuitResponse) String ¶

func (response UpdateVirtualCircuitResponse) String() string

type UpdateVlanDetails ¶

type UpdateVlanDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// A list of the OCIDs of the network security groups (NSGs) to use with
	// this VLAN. All VNICs in the VLAN will belong to these NSGs. For more
	// information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The CIDR block of the VLAN. The new CIDR block must meet the following criteria:
	// - Must be valid.
	// - The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges.
	// - The old and new CIDR block ranges must use the same network address. Example: `10.0.0.0/25` and `10.0.0.0/24`.
	// - Must contain all IP addresses in use in the old CIDR range.
	// - The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range.
	// **Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress.
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`
}

UpdateVlanDetails The representation of UpdateVlanDetails

func (UpdateVlanDetails) String ¶

func (m UpdateVlanDetails) String() string

func (UpdateVlanDetails) ValidateEnumValue ¶

func (m UpdateVlanDetails) 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 UpdateVlanRequest ¶

type UpdateVlanRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
	VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"`

	// Details object for updating a subnet.
	UpdateVlanDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVlanRequest wrapper for the UpdateVlan operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlanRequest.

func (UpdateVlanRequest) BinaryRequestBody ¶

func (request UpdateVlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVlanRequest) HTTPRequest ¶

func (request UpdateVlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVlanRequest) RetryPolicy ¶

func (request UpdateVlanRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVlanRequest) String ¶

func (request UpdateVlanRequest) String() string

func (UpdateVlanRequest) ValidateEnumValue ¶

func (request UpdateVlanRequest) 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 UpdateVlanResponse ¶

type UpdateVlanResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vlan instance
	Vlan `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"`
}

UpdateVlanResponse wrapper for the UpdateVlan operation

func (UpdateVlanResponse) HTTPResponse ¶

func (response UpdateVlanResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVlanResponse) String ¶

func (response UpdateVlanResponse) String() string

type UpdateVnicDetails ¶

type UpdateVnicDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname
	// portion of the primary private IP's fully qualified domain name (FQDN)
	// (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// The value appears in the `Vnic` object and also the
	// PrivateIp object returned by
	// ListPrivateIps and
	// GetPrivateIp.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting this as
	// an empty array removes the VNIC from all network security groups.
	// If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of
	// belonging to a subnet), the value of the `nsgIds` attribute is ignored. Instead, the
	// VNIC belongs to the NSGs that are associated with the VLAN itself. See Vlan.
	// For more information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// Whether the source/destination check is disabled on the VNIC.
	// Defaults to `false`, which means the check is performed. For information about why you would
	// skip the source/destination check, see
	// Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).
	// If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of
	// belonging to a subnet), the value of the `skipSourceDestCheck` attribute is ignored.
	// This is because the source/destination check is always disabled for VNICs in a VLAN.
	// Example: `true`
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`
}

UpdateVnicDetails The representation of UpdateVnicDetails

func (UpdateVnicDetails) String ¶

func (m UpdateVnicDetails) String() string

func (UpdateVnicDetails) ValidateEnumValue ¶

func (m UpdateVnicDetails) 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 UpdateVnicRequest ¶

type UpdateVnicRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC.
	VnicId *string `mandatory:"true" contributesTo:"path" name:"vnicId"`

	// Details object for updating a VNIC.
	UpdateVnicDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVnicRequest wrapper for the UpdateVnic operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnicRequest.

func (UpdateVnicRequest) BinaryRequestBody ¶

func (request UpdateVnicRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVnicRequest) HTTPRequest ¶

func (request UpdateVnicRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVnicRequest) RetryPolicy ¶

func (request UpdateVnicRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVnicRequest) String ¶

func (request UpdateVnicRequest) String() string

func (UpdateVnicRequest) ValidateEnumValue ¶

func (request UpdateVnicRequest) 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 UpdateVnicResponse ¶

type UpdateVnicResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vnic instance
	Vnic `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"`
}

UpdateVnicResponse wrapper for the UpdateVnic operation

func (UpdateVnicResponse) HTTPResponse ¶

func (response UpdateVnicResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVnicResponse) String ¶

func (response UpdateVnicResponse) String() string

type UpdateVolumeAttachmentDetails ¶

type UpdateVolumeAttachmentDetails struct {

	// The iscsi login state of the volume attachment. For a multipath volume attachment,
	// all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
	IscsiLoginState UpdateVolumeAttachmentDetailsIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"`
}

UpdateVolumeAttachmentDetails details for updating a volume attachment.

func (UpdateVolumeAttachmentDetails) String ¶

func (UpdateVolumeAttachmentDetails) ValidateEnumValue ¶

func (m UpdateVolumeAttachmentDetails) 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 UpdateVolumeAttachmentDetailsIscsiLoginStateEnum ¶

type UpdateVolumeAttachmentDetailsIscsiLoginStateEnum string

UpdateVolumeAttachmentDetailsIscsiLoginStateEnum Enum with underlying type: string

const (
	UpdateVolumeAttachmentDetailsIscsiLoginStateUnknown         UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "UNKNOWN"
	UpdateVolumeAttachmentDetailsIscsiLoginStateLoggingIn       UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "LOGGING_IN"
	UpdateVolumeAttachmentDetailsIscsiLoginStateLoginSucceeded  UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "LOGIN_SUCCEEDED"
	UpdateVolumeAttachmentDetailsIscsiLoginStateLoginFailed     UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "LOGIN_FAILED"
	UpdateVolumeAttachmentDetailsIscsiLoginStateLoggingOut      UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "LOGGING_OUT"
	UpdateVolumeAttachmentDetailsIscsiLoginStateLogoutSucceeded UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "LOGOUT_SUCCEEDED"
	UpdateVolumeAttachmentDetailsIscsiLoginStateLogoutFailed    UpdateVolumeAttachmentDetailsIscsiLoginStateEnum = "LOGOUT_FAILED"
)

Set of constants representing the allowable values for UpdateVolumeAttachmentDetailsIscsiLoginStateEnum

func GetMappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum ¶

func GetMappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum(val string) (UpdateVolumeAttachmentDetailsIscsiLoginStateEnum, bool)

GetMappingUpdateVolumeAttachmentDetailsIscsiLoginStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumValues ¶

func GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumValues() []UpdateVolumeAttachmentDetailsIscsiLoginStateEnum

GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumValues Enumerates the set of values for UpdateVolumeAttachmentDetailsIscsiLoginStateEnum

type UpdateVolumeAttachmentRequest ¶

type UpdateVolumeAttachmentRequest struct {

	// The OCID of the volume attachment.
	VolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"volumeAttachmentId"`

	// Update information about the specified volume attachment.
	UpdateVolumeAttachmentDetails `contributesTo:"body"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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"`

	// 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
}

UpdateVolumeAttachmentRequest wrapper for the UpdateVolumeAttachment operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachmentRequest.

func (UpdateVolumeAttachmentRequest) BinaryRequestBody ¶

func (request UpdateVolumeAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeAttachmentRequest) HTTPRequest ¶

func (request UpdateVolumeAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeAttachmentRequest) RetryPolicy ¶

func (request UpdateVolumeAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeAttachmentRequest) String ¶

func (request UpdateVolumeAttachmentRequest) String() string

func (UpdateVolumeAttachmentRequest) ValidateEnumValue ¶

func (request UpdateVolumeAttachmentRequest) 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 UpdateVolumeAttachmentResponse ¶

type UpdateVolumeAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeAttachment instance
	VolumeAttachment `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"`
}

UpdateVolumeAttachmentResponse wrapper for the UpdateVolumeAttachment operation

func (UpdateVolumeAttachmentResponse) HTTPResponse ¶

func (response UpdateVolumeAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeAttachmentResponse) String ¶

func (response UpdateVolumeAttachmentResponse) String() string

type UpdateVolumeBackupDetails ¶

type UpdateVolumeBackupDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the Vault service key which is the master encryption key for the volume backup.
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

UpdateVolumeBackupDetails The representation of UpdateVolumeBackupDetails

func (UpdateVolumeBackupDetails) String ¶

func (m UpdateVolumeBackupDetails) String() string

func (UpdateVolumeBackupDetails) ValidateEnumValue ¶

func (m UpdateVolumeBackupDetails) 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 UpdateVolumeBackupPolicyDetails ¶

type UpdateVolumeBackupPolicyDetails struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The paired destination region for copying scheduled backups to. Example: `us-ashburn-1`.
	// Specify `none` to reset the `destinationRegion` parameter.
	// See Region Pairs (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions.
	DestinationRegion *string `mandatory:"false" json:"destinationRegion"`

	// The collection of schedules for the volume backup policy. See
	// see Schedules (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in
	// Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information.
	Schedules []VolumeBackupSchedule `mandatory:"false" json:"schedules"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateVolumeBackupPolicyDetails Specifies the properties for updating a user defined backup policy. For more information about user defined backup policies, see User Defined Policies (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).

func (UpdateVolumeBackupPolicyDetails) String ¶

func (UpdateVolumeBackupPolicyDetails) ValidateEnumValue ¶

func (m UpdateVolumeBackupPolicyDetails) 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 UpdateVolumeBackupPolicyRequest ¶

type UpdateVolumeBackupPolicyRequest struct {

	// The OCID of the volume backup policy.
	PolicyId *string `mandatory:"true" contributesTo:"path" name:"policyId"`

	// Update volume backup policy fields
	UpdateVolumeBackupPolicyDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

UpdateVolumeBackupPolicyRequest wrapper for the UpdateVolumeBackupPolicy operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicyRequest.

func (UpdateVolumeBackupPolicyRequest) BinaryRequestBody ¶

func (request UpdateVolumeBackupPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeBackupPolicyRequest) HTTPRequest ¶

func (request UpdateVolumeBackupPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeBackupPolicyRequest) RetryPolicy ¶

func (request UpdateVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeBackupPolicyRequest) String ¶

func (request UpdateVolumeBackupPolicyRequest) String() string

func (UpdateVolumeBackupPolicyRequest) ValidateEnumValue ¶

func (request UpdateVolumeBackupPolicyRequest) 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 UpdateVolumeBackupPolicyResponse ¶

type UpdateVolumeBackupPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackupPolicy instance
	VolumeBackupPolicy `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"`
}

UpdateVolumeBackupPolicyResponse wrapper for the UpdateVolumeBackupPolicy operation

func (UpdateVolumeBackupPolicyResponse) HTTPResponse ¶

func (response UpdateVolumeBackupPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeBackupPolicyResponse) String ¶

func (response UpdateVolumeBackupPolicyResponse) String() string

type UpdateVolumeBackupRequest ¶

type UpdateVolumeBackupRequest struct {

	// The OCID of the volume backup.
	VolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeBackupId"`

	// Update volume backup fields
	UpdateVolumeBackupDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVolumeBackupRequest wrapper for the UpdateVolumeBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackupRequest.

func (UpdateVolumeBackupRequest) BinaryRequestBody ¶

func (request UpdateVolumeBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeBackupRequest) HTTPRequest ¶

func (request UpdateVolumeBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeBackupRequest) RetryPolicy ¶

func (request UpdateVolumeBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeBackupRequest) String ¶

func (request UpdateVolumeBackupRequest) String() string

func (UpdateVolumeBackupRequest) ValidateEnumValue ¶

func (request UpdateVolumeBackupRequest) 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 UpdateVolumeBackupResponse ¶

type UpdateVolumeBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeBackup instance
	VolumeBackup `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateVolumeBackupResponse wrapper for the UpdateVolumeBackup operation

func (UpdateVolumeBackupResponse) HTTPResponse ¶

func (response UpdateVolumeBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeBackupResponse) String ¶

func (response UpdateVolumeBackupResponse) String() string

type UpdateVolumeDetails ¶

type UpdateVolumeDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `0`: Represents Lower Cost option.
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// The size to resize the volume to in GBs. Has to be larger than the current size.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated.
	// Use the `DetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The list of block volume replicas that this volume will be updated to have
	// in the specified destination availability domains.
	BlockVolumeReplicas []BlockVolumeReplicaDetails `mandatory:"false" json:"blockVolumeReplicas"`

	// The list of autotune policies enabled for this volume.
	AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

UpdateVolumeDetails The representation of UpdateVolumeDetails

func (UpdateVolumeDetails) String ¶

func (m UpdateVolumeDetails) String() string

func (*UpdateVolumeDetails) UnmarshalJSON ¶ added in v65.18.1

func (m *UpdateVolumeDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (UpdateVolumeDetails) ValidateEnumValue ¶

func (m UpdateVolumeDetails) 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 UpdateVolumeGroupBackupDetails ¶

type UpdateVolumeGroupBackupDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateVolumeGroupBackupDetails The representation of UpdateVolumeGroupBackupDetails

func (UpdateVolumeGroupBackupDetails) String ¶

func (UpdateVolumeGroupBackupDetails) ValidateEnumValue ¶

func (m UpdateVolumeGroupBackupDetails) 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 UpdateVolumeGroupBackupRequest ¶

type UpdateVolumeGroupBackupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup.
	VolumeGroupBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupBackupId"`

	// Update volume group backup fields
	UpdateVolumeGroupBackupDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVolumeGroupBackupRequest wrapper for the UpdateVolumeGroupBackup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackupRequest.

func (UpdateVolumeGroupBackupRequest) BinaryRequestBody ¶

func (request UpdateVolumeGroupBackupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeGroupBackupRequest) HTTPRequest ¶

func (request UpdateVolumeGroupBackupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeGroupBackupRequest) RetryPolicy ¶

func (request UpdateVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeGroupBackupRequest) String ¶

func (request UpdateVolumeGroupBackupRequest) String() string

func (UpdateVolumeGroupBackupRequest) ValidateEnumValue ¶

func (request UpdateVolumeGroupBackupRequest) 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 UpdateVolumeGroupBackupResponse ¶

type UpdateVolumeGroupBackupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroupBackup instance
	VolumeGroupBackup `presentIn:"body"`

	// For optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateVolumeGroupBackupResponse wrapper for the UpdateVolumeGroupBackup operation

func (UpdateVolumeGroupBackupResponse) HTTPResponse ¶

func (response UpdateVolumeGroupBackupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeGroupBackupResponse) String ¶

func (response UpdateVolumeGroupBackupResponse) String() string

type UpdateVolumeGroupDetails ¶

type UpdateVolumeGroupDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// OCIDs for the volumes in this volume group.
	VolumeIds []string `mandatory:"false" json:"volumeIds"`

	// The list of volume group replicas that this volume group will be updated to have
	// in the specified destination availability domains.
	VolumeGroupReplicas []VolumeGroupReplicaDetails `mandatory:"false" json:"volumeGroupReplicas"`
}

UpdateVolumeGroupDetails The representation of UpdateVolumeGroupDetails

func (UpdateVolumeGroupDetails) String ¶

func (m UpdateVolumeGroupDetails) String() string

func (UpdateVolumeGroupDetails) ValidateEnumValue ¶

func (m UpdateVolumeGroupDetails) 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 UpdateVolumeGroupRequest ¶

type UpdateVolumeGroupRequest struct {

	// The Oracle Cloud ID (OCID) that uniquely identifies the volume group.
	VolumeGroupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupId"`

	// Update volume group's set of volumes and/or display name
	UpdateVolumeGroupDetails `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"`

	// Specifies whether to disable or preserve the individual volume replication when removing a volume from the
	// replication enabled volume group. When set to `true`, the individual volume replica is preserved. The default
	// value is `true`.
	PreserveVolumeReplica *bool `mandatory:"false" contributesTo:"query" name:"preserveVolumeReplica"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVolumeGroupRequest wrapper for the UpdateVolumeGroup operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroupRequest.

func (UpdateVolumeGroupRequest) BinaryRequestBody ¶

func (request UpdateVolumeGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeGroupRequest) HTTPRequest ¶

func (request UpdateVolumeGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeGroupRequest) RetryPolicy ¶

func (request UpdateVolumeGroupRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeGroupRequest) String ¶

func (request UpdateVolumeGroupRequest) String() string

func (UpdateVolumeGroupRequest) ValidateEnumValue ¶

func (request UpdateVolumeGroupRequest) 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 UpdateVolumeGroupResponse ¶

type UpdateVolumeGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeGroup instance
	VolumeGroup `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"`
}

UpdateVolumeGroupResponse wrapper for the UpdateVolumeGroup operation

func (UpdateVolumeGroupResponse) HTTPResponse ¶

func (response UpdateVolumeGroupResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeGroupResponse) String ¶

func (response UpdateVolumeGroupResponse) String() string

type UpdateVolumeKmsKeyDetails ¶

type UpdateVolumeKmsKeyDetails struct {

	// The OCID of the new Vault service key to assign to protect the specified volume.
	// This key has to be a valid Vault service key, and policies must exist to allow the user and the Block Volume service to access this key.
	// If you specify the same OCID as the previous key's OCID, the Block Volume service will use it to regenerate a volume encryption key.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

UpdateVolumeKmsKeyDetails The representation of UpdateVolumeKmsKeyDetails

func (UpdateVolumeKmsKeyDetails) String ¶

func (m UpdateVolumeKmsKeyDetails) String() string

func (UpdateVolumeKmsKeyDetails) ValidateEnumValue ¶

func (m UpdateVolumeKmsKeyDetails) 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 UpdateVolumeKmsKeyRequest ¶

type UpdateVolumeKmsKeyRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// Updates the Vault service master encryption key assigned to the specified volume.
	UpdateVolumeKmsKeyDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVolumeKmsKeyRequest wrapper for the UpdateVolumeKmsKey operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKeyRequest.

func (UpdateVolumeKmsKeyRequest) BinaryRequestBody ¶

func (request UpdateVolumeKmsKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeKmsKeyRequest) HTTPRequest ¶

func (request UpdateVolumeKmsKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeKmsKeyRequest) RetryPolicy ¶

func (request UpdateVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeKmsKeyRequest) String ¶

func (request UpdateVolumeKmsKeyRequest) String() string

func (UpdateVolumeKmsKeyRequest) ValidateEnumValue ¶

func (request UpdateVolumeKmsKeyRequest) 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 UpdateVolumeKmsKeyResponse ¶

type UpdateVolumeKmsKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The VolumeKmsKey instance
	VolumeKmsKey `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"`
}

UpdateVolumeKmsKeyResponse wrapper for the UpdateVolumeKmsKey operation

func (UpdateVolumeKmsKeyResponse) HTTPResponse ¶

func (response UpdateVolumeKmsKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeKmsKeyResponse) String ¶

func (response UpdateVolumeKmsKeyResponse) String() string

type UpdateVolumeRequest ¶

type UpdateVolumeRequest struct {

	// The OCID of the volume.
	VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"`

	// Update volume's display name. Avoid entering confidential information.
	UpdateVolumeDetails `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"`

	// Unique Oracle-assigned identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVolumeRequest wrapper for the UpdateVolume operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolumeRequest.

func (UpdateVolumeRequest) BinaryRequestBody ¶

func (request UpdateVolumeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVolumeRequest) HTTPRequest ¶

func (request UpdateVolumeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVolumeRequest) RetryPolicy ¶

func (request UpdateVolumeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVolumeRequest) String ¶

func (request UpdateVolumeRequest) String() string

func (UpdateVolumeRequest) ValidateEnumValue ¶

func (request UpdateVolumeRequest) 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 UpdateVolumeResponse ¶

type UpdateVolumeResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Volume instance
	Volume `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"`
}

UpdateVolumeResponse wrapper for the UpdateVolume operation

func (UpdateVolumeResponse) HTTPResponse ¶

func (response UpdateVolumeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVolumeResponse) String ¶

func (response UpdateVolumeResponse) String() string

type UpdateVtapDetails ¶ added in v65.3.0

type UpdateVtapDetails struct {

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured.
	SourceId *string `mandatory:"false" json:"sourceId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The IP address of the destination resource where mirrored packets are sent.
	TargetIp *string `mandatory:"false" json:"targetIp"`

	// The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	CaptureFilterId *string `mandatory:"false" json:"captureFilterId"`

	// Defines an encapsulation header type for the VTAP's mirrored traffic.
	EncapsulationProtocol UpdateVtapDetailsEncapsulationProtocolEnum `mandatory:"false" json:"encapsulationProtocol,omitempty"`

	// The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
	VxlanNetworkIdentifier *int64 `mandatory:"false" json:"vxlanNetworkIdentifier"`

	// Used to start or stop a `Vtap` resource.
	// * `TRUE` directs the VTAP to start mirroring traffic.
	// * `FALSE` (Default) directs the VTAP to stop mirroring traffic.
	IsVtapEnabled *bool `mandatory:"false" json:"isVtapEnabled"`

	// Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT
	TrafficMode UpdateVtapDetailsTrafficModeEnum `mandatory:"false" json:"trafficMode,omitempty"`

	// The maximum size of the packets to be included in the filter.
	MaxPacketSize *int `mandatory:"false" json:"maxPacketSize"`

	// The IP Address of the source private endpoint.
	SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to.
	SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"`

	// The target type for the VTAP.
	TargetType UpdateVtapDetailsTargetTypeEnum `mandatory:"false" json:"targetType,omitempty"`

	// The source type for the VTAP.
	SourceType UpdateVtapDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
}

UpdateVtapDetails These details can be included in a request to update a virtual test access point (VTAP).

func (UpdateVtapDetails) String ¶ added in v65.3.0

func (m UpdateVtapDetails) String() string

func (UpdateVtapDetails) ValidateEnumValue ¶ added in v65.3.0

func (m UpdateVtapDetails) 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 UpdateVtapDetailsEncapsulationProtocolEnum ¶ added in v65.3.0

type UpdateVtapDetailsEncapsulationProtocolEnum string

UpdateVtapDetailsEncapsulationProtocolEnum Enum with underlying type: string

const (
	UpdateVtapDetailsEncapsulationProtocolVxlan UpdateVtapDetailsEncapsulationProtocolEnum = "VXLAN"
)

Set of constants representing the allowable values for UpdateVtapDetailsEncapsulationProtocolEnum

func GetMappingUpdateVtapDetailsEncapsulationProtocolEnum ¶ added in v65.3.0

func GetMappingUpdateVtapDetailsEncapsulationProtocolEnum(val string) (UpdateVtapDetailsEncapsulationProtocolEnum, bool)

GetMappingUpdateVtapDetailsEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVtapDetailsEncapsulationProtocolEnumValues ¶ added in v65.3.0

func GetUpdateVtapDetailsEncapsulationProtocolEnumValues() []UpdateVtapDetailsEncapsulationProtocolEnum

GetUpdateVtapDetailsEncapsulationProtocolEnumValues Enumerates the set of values for UpdateVtapDetailsEncapsulationProtocolEnum

type UpdateVtapDetailsSourceTypeEnum ¶ added in v65.3.0

type UpdateVtapDetailsSourceTypeEnum string

UpdateVtapDetailsSourceTypeEnum Enum with underlying type: string

const (
	UpdateVtapDetailsSourceTypeVnic                    UpdateVtapDetailsSourceTypeEnum = "VNIC"
	UpdateVtapDetailsSourceTypeSubnet                  UpdateVtapDetailsSourceTypeEnum = "SUBNET"
	UpdateVtapDetailsSourceTypeLoadBalancer            UpdateVtapDetailsSourceTypeEnum = "LOAD_BALANCER"
	UpdateVtapDetailsSourceTypeDbSystem                UpdateVtapDetailsSourceTypeEnum = "DB_SYSTEM"
	UpdateVtapDetailsSourceTypeExadataVmCluster        UpdateVtapDetailsSourceTypeEnum = "EXADATA_VM_CLUSTER"
	UpdateVtapDetailsSourceTypeAutonomousDataWarehouse UpdateVtapDetailsSourceTypeEnum = "AUTONOMOUS_DATA_WAREHOUSE"
)

Set of constants representing the allowable values for UpdateVtapDetailsSourceTypeEnum

func GetMappingUpdateVtapDetailsSourceTypeEnum ¶ added in v65.3.0

func GetMappingUpdateVtapDetailsSourceTypeEnum(val string) (UpdateVtapDetailsSourceTypeEnum, bool)

GetMappingUpdateVtapDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVtapDetailsSourceTypeEnumValues ¶ added in v65.3.0

func GetUpdateVtapDetailsSourceTypeEnumValues() []UpdateVtapDetailsSourceTypeEnum

GetUpdateVtapDetailsSourceTypeEnumValues Enumerates the set of values for UpdateVtapDetailsSourceTypeEnum

type UpdateVtapDetailsTargetTypeEnum ¶ added in v65.3.0

type UpdateVtapDetailsTargetTypeEnum string

UpdateVtapDetailsTargetTypeEnum Enum with underlying type: string

const (
	UpdateVtapDetailsTargetTypeVnic                UpdateVtapDetailsTargetTypeEnum = "VNIC"
	UpdateVtapDetailsTargetTypeNetworkLoadBalancer UpdateVtapDetailsTargetTypeEnum = "NETWORK_LOAD_BALANCER"
	UpdateVtapDetailsTargetTypeIpAddress           UpdateVtapDetailsTargetTypeEnum = "IP_ADDRESS"
)

Set of constants representing the allowable values for UpdateVtapDetailsTargetTypeEnum

func GetMappingUpdateVtapDetailsTargetTypeEnum ¶ added in v65.3.0

func GetMappingUpdateVtapDetailsTargetTypeEnum(val string) (UpdateVtapDetailsTargetTypeEnum, bool)

GetMappingUpdateVtapDetailsTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVtapDetailsTargetTypeEnumValues ¶ added in v65.3.0

func GetUpdateVtapDetailsTargetTypeEnumValues() []UpdateVtapDetailsTargetTypeEnum

GetUpdateVtapDetailsTargetTypeEnumValues Enumerates the set of values for UpdateVtapDetailsTargetTypeEnum

type UpdateVtapDetailsTrafficModeEnum ¶ added in v65.3.0

type UpdateVtapDetailsTrafficModeEnum string

UpdateVtapDetailsTrafficModeEnum Enum with underlying type: string

const (
	UpdateVtapDetailsTrafficModeDefault  UpdateVtapDetailsTrafficModeEnum = "DEFAULT"
	UpdateVtapDetailsTrafficModePriority UpdateVtapDetailsTrafficModeEnum = "PRIORITY"
)

Set of constants representing the allowable values for UpdateVtapDetailsTrafficModeEnum

func GetMappingUpdateVtapDetailsTrafficModeEnum ¶ added in v65.3.0

func GetMappingUpdateVtapDetailsTrafficModeEnum(val string) (UpdateVtapDetailsTrafficModeEnum, bool)

GetMappingUpdateVtapDetailsTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateVtapDetailsTrafficModeEnumValues ¶ added in v65.3.0

func GetUpdateVtapDetailsTrafficModeEnumValues() []UpdateVtapDetailsTrafficModeEnum

GetUpdateVtapDetailsTrafficModeEnumValues Enumerates the set of values for UpdateVtapDetailsTrafficModeEnum

type UpdateVtapRequest ¶ added in v65.3.0

type UpdateVtapRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP.
	VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"`

	// Details object for updating a VTAP.
	UpdateVtapDetails `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"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

UpdateVtapRequest wrapper for the UpdateVtap operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtapRequest.

func (UpdateVtapRequest) BinaryRequestBody ¶ added in v65.3.0

func (request UpdateVtapRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateVtapRequest) HTTPRequest ¶ added in v65.3.0

func (request UpdateVtapRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateVtapRequest) RetryPolicy ¶ added in v65.3.0

func (request UpdateVtapRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateVtapRequest) String ¶ added in v65.3.0

func (request UpdateVtapRequest) String() string

func (UpdateVtapRequest) ValidateEnumValue ¶ added in v65.3.0

func (request UpdateVtapRequest) 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 UpdateVtapResponse ¶ added in v65.3.0

type UpdateVtapResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Vtap instance
	Vtap `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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateVtapResponse wrapper for the UpdateVtap operation

func (UpdateVtapResponse) HTTPResponse ¶ added in v65.3.0

func (response UpdateVtapResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateVtapResponse) String ¶ added in v65.3.0

func (response UpdateVtapResponse) String() string

type UpdatedNetworkSecurityGroupSecurityRules ¶

type UpdatedNetworkSecurityGroupSecurityRules struct {

	// The NSG security rules that were updated.
	SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"`
}

UpdatedNetworkSecurityGroupSecurityRules The representation of UpdatedNetworkSecurityGroupSecurityRules

func (UpdatedNetworkSecurityGroupSecurityRules) String ¶

func (UpdatedNetworkSecurityGroupSecurityRules) ValidateEnumValue ¶

func (m UpdatedNetworkSecurityGroupSecurityRules) 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 UpgradeDrgRequest ¶

type UpgradeDrgRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// 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
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// 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
}

UpgradeDrgRequest wrapper for the UpgradeDrg operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrgRequest.

func (UpgradeDrgRequest) BinaryRequestBody ¶

func (request UpgradeDrgRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpgradeDrgRequest) HTTPRequest ¶

func (request UpgradeDrgRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpgradeDrgRequest) RetryPolicy ¶

func (request UpgradeDrgRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpgradeDrgRequest) String ¶

func (request UpgradeDrgRequest) String() string

func (UpgradeDrgRequest) ValidateEnumValue ¶

func (request UpgradeDrgRequest) 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 UpgradeDrgResponse ¶

type UpgradeDrgResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpgradeDrgResponse wrapper for the UpgradeDrg operation

func (UpgradeDrgResponse) HTTPResponse ¶

func (response UpgradeDrgResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpgradeDrgResponse) String ¶

func (response UpgradeDrgResponse) String() string

type UpgradeStatus ¶

type UpgradeStatus struct {

	// The `drgId` of the upgraded DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The current upgrade status of the DRG attachment.
	Status UpgradeStatusStatusEnum `mandatory:"true" json:"status"`

	// The number of upgraded connections.
	UpgradedConnections *string `mandatory:"true" json:"upgradedConnections"`
}

UpgradeStatus The upgrade status of a DRG.

func (UpgradeStatus) String ¶

func (m UpgradeStatus) String() string

func (UpgradeStatus) ValidateEnumValue ¶

func (m UpgradeStatus) 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 UpgradeStatusStatusEnum ¶

type UpgradeStatusStatusEnum string

UpgradeStatusStatusEnum Enum with underlying type: string

const (
	UpgradeStatusStatusNotUpgraded UpgradeStatusStatusEnum = "NOT_UPGRADED"
	UpgradeStatusStatusInProgress  UpgradeStatusStatusEnum = "IN_PROGRESS"
	UpgradeStatusStatusUpgraded    UpgradeStatusStatusEnum = "UPGRADED"
)

Set of constants representing the allowable values for UpgradeStatusStatusEnum

func GetMappingUpgradeStatusStatusEnum ¶

func GetMappingUpgradeStatusStatusEnum(val string) (UpgradeStatusStatusEnum, bool)

GetMappingUpgradeStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpgradeStatusStatusEnumValues ¶

func GetUpgradeStatusStatusEnumValues() []UpgradeStatusStatusEnum

GetUpgradeStatusStatusEnumValues Enumerates the set of values for UpgradeStatusStatusEnum

type ValidateByoipRangeRequest ¶

type ValidateByoipRangeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

ValidateByoipRangeRequest wrapper for the ValidateByoipRange operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRangeRequest.

func (ValidateByoipRangeRequest) BinaryRequestBody ¶

func (request ValidateByoipRangeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ValidateByoipRangeRequest) HTTPRequest ¶

func (request ValidateByoipRangeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ValidateByoipRangeRequest) RetryPolicy ¶

func (request ValidateByoipRangeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ValidateByoipRangeRequest) String ¶

func (request ValidateByoipRangeRequest) String() string

func (ValidateByoipRangeRequest) ValidateEnumValue ¶

func (request ValidateByoipRangeRequest) 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 ValidateByoipRangeResponse ¶

type ValidateByoipRangeResponse 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"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	// Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest)
	// with this ID to track the status of the request.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ValidateByoipRangeResponse wrapper for the ValidateByoipRange operation

func (ValidateByoipRangeResponse) HTTPResponse ¶

func (response ValidateByoipRangeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ValidateByoipRangeResponse) String ¶

func (response ValidateByoipRangeResponse) String() string

type Vcn ¶

type Vcn struct {

	// Deprecated. The first CIDR IP address from cidrBlocks.
	// Example: `172.16.0.0/16`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// The list of IPv4 CIDR blocks the VCN will use.
	CidrBlocks []string `mandatory:"true" json:"cidrBlocks"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The VCN's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The VCN's current state.
	LifecycleState VcnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The list of BYOIPv6 prefixes required to create a VCN that uses BYOIPv6 ranges.
	Byoipv6CidrBlocks []string `mandatory:"false" json:"byoipv6CidrBlocks"`

	// For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space.
	Ipv6PrivateCidrBlocks []string `mandatory:"false" json:"ipv6PrivateCidrBlocks"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options.
	DefaultDhcpOptionsId *string `mandatory:"false" json:"defaultDhcpOptionsId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default route table.
	DefaultRouteTableId *string `mandatory:"false" json:"defaultRouteTableId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default security list.
	DefaultSecurityListId *string `mandatory:"false" json:"defaultSecurityListId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// A DNS label for the VCN, used in conjunction with the VNIC's hostname and
	// subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC
	// within this subnet (for example, `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be an alphanumeric string that begins with a letter.
	// The value cannot be changed.
	// The absence of this parameter means the Internet and VCN Resolver will
	// not work for this VCN.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `vcn1`
	DnsLabel *string `mandatory:"false" json:"dnsLabel"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// For an IPv6-enabled VCN, this is the list of IPv6 prefixes for the VCN's IP address space.
	// The prefixes are provided by Oracle and the sizes are always /56.
	Ipv6CidrBlocks []string `mandatory:"false" json:"ipv6CidrBlocks"`

	// The date and time the VCN was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The VCN's domain name, which consists of the VCN's DNS label, and the
	// `oraclevcn.com` domain.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `vcn1.oraclevcn.com`
	VcnDomainName *string `mandatory:"false" json:"vcnDomainName"`
}

Vcn A virtual cloud network (VCN). For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Vcn) String ¶

func (m Vcn) String() string

func (Vcn) ValidateEnumValue ¶

func (m Vcn) 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 VcnDnsResolverAssociation ¶

type VcnDnsResolverAssociation struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN in the association.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The current state of the association.
	LifecycleState VcnDnsResolverAssociationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS resolver in the association.
	DnsResolverId *string `mandatory:"false" json:"dnsResolverId"`
}

VcnDnsResolverAssociation The information about the VCN and the DNS resolver in the association.

func (VcnDnsResolverAssociation) String ¶

func (m VcnDnsResolverAssociation) String() string

func (VcnDnsResolverAssociation) ValidateEnumValue ¶

func (m VcnDnsResolverAssociation) 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 VcnDnsResolverAssociationLifecycleStateEnum ¶

type VcnDnsResolverAssociationLifecycleStateEnum string

VcnDnsResolverAssociationLifecycleStateEnum Enum with underlying type: string

const (
	VcnDnsResolverAssociationLifecycleStateProvisioning VcnDnsResolverAssociationLifecycleStateEnum = "PROVISIONING"
	VcnDnsResolverAssociationLifecycleStateAvailable    VcnDnsResolverAssociationLifecycleStateEnum = "AVAILABLE"
	VcnDnsResolverAssociationLifecycleStateTerminating  VcnDnsResolverAssociationLifecycleStateEnum = "TERMINATING"
	VcnDnsResolverAssociationLifecycleStateTerminated   VcnDnsResolverAssociationLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VcnDnsResolverAssociationLifecycleStateEnum

func GetMappingVcnDnsResolverAssociationLifecycleStateEnum ¶

func GetMappingVcnDnsResolverAssociationLifecycleStateEnum(val string) (VcnDnsResolverAssociationLifecycleStateEnum, bool)

GetMappingVcnDnsResolverAssociationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVcnDnsResolverAssociationLifecycleStateEnumValues ¶

func GetVcnDnsResolverAssociationLifecycleStateEnumValues() []VcnDnsResolverAssociationLifecycleStateEnum

GetVcnDnsResolverAssociationLifecycleStateEnumValues Enumerates the set of values for VcnDnsResolverAssociationLifecycleStateEnum

type VcnDrgAttachmentNetworkCreateDetails ¶

type VcnDrgAttachmentNetworkCreateDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"false" json:"id"`

	// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
	// For information about why you would associate a route table with a DRG attachment, see
	// Advanced Scenario: Transit Routing (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm).
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment.
	// Routes from the VCN ingress route table are always imported.
	VcnRouteType VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum `mandatory:"false" json:"vcnRouteType,omitempty"`
}

VcnDrgAttachmentNetworkCreateDetails Specifies the VCN Attachment

func (VcnDrgAttachmentNetworkCreateDetails) GetId ¶

GetId returns Id

func (VcnDrgAttachmentNetworkCreateDetails) MarshalJSON ¶

func (m VcnDrgAttachmentNetworkCreateDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnDrgAttachmentNetworkCreateDetails) String ¶

func (VcnDrgAttachmentNetworkCreateDetails) ValidateEnumValue ¶

func (m VcnDrgAttachmentNetworkCreateDetails) 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 VcnDrgAttachmentNetworkDetails ¶

type VcnDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"false" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment.
	// Routes from the VCN ingress route table are always imported.
	VcnRouteType VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum `mandatory:"false" json:"vcnRouteType,omitempty"`
}

VcnDrgAttachmentNetworkDetails Specifies details within the VCN.

func (VcnDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (VcnDrgAttachmentNetworkDetails) MarshalJSON ¶

func (m VcnDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnDrgAttachmentNetworkDetails) String ¶

func (VcnDrgAttachmentNetworkDetails) ValidateEnumValue ¶

func (m VcnDrgAttachmentNetworkDetails) 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 VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum ¶

type VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum string

VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum Enum with underlying type: string

const (
	VcnDrgAttachmentNetworkDetailsVcnRouteTypeVcnCidrs    VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum = "VCN_CIDRS"
	VcnDrgAttachmentNetworkDetailsVcnRouteTypeSubnetCidrs VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum = "SUBNET_CIDRS"
)

Set of constants representing the allowable values for VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum

func GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum ¶

func GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum(val string) (VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum, bool)

GetMappingVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumValues ¶

func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumValues() []VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum

GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumValues Enumerates the set of values for VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum

type VcnDrgAttachmentNetworkUpdateDetails ¶

type VcnDrgAttachmentNetworkUpdateDetails struct {

	// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment.
	// Routes from the VCN ingress route table are always imported.
	VcnRouteType VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum `mandatory:"false" json:"vcnRouteType,omitempty"`
}

VcnDrgAttachmentNetworkUpdateDetails Specifies the update details for the VCN attachment.

func (VcnDrgAttachmentNetworkUpdateDetails) MarshalJSON ¶

func (m VcnDrgAttachmentNetworkUpdateDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnDrgAttachmentNetworkUpdateDetails) String ¶

func (VcnDrgAttachmentNetworkUpdateDetails) ValidateEnumValue ¶

func (m VcnDrgAttachmentNetworkUpdateDetails) 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 VcnLifecycleStateEnum ¶

type VcnLifecycleStateEnum string

VcnLifecycleStateEnum Enum with underlying type: string

const (
	VcnLifecycleStateProvisioning VcnLifecycleStateEnum = "PROVISIONING"
	VcnLifecycleStateAvailable    VcnLifecycleStateEnum = "AVAILABLE"
	VcnLifecycleStateTerminating  VcnLifecycleStateEnum = "TERMINATING"
	VcnLifecycleStateTerminated   VcnLifecycleStateEnum = "TERMINATED"
	VcnLifecycleStateUpdating     VcnLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for VcnLifecycleStateEnum

func GetMappingVcnLifecycleStateEnum ¶

func GetMappingVcnLifecycleStateEnum(val string) (VcnLifecycleStateEnum, bool)

GetMappingVcnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVcnLifecycleStateEnumValues ¶

func GetVcnLifecycleStateEnumValues() []VcnLifecycleStateEnum

GetVcnLifecycleStateEnumValues Enumerates the set of values for VcnLifecycleStateEnum

type VcnTopology ¶

type VcnTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Lists entities that are limited during ingestion.
	// The values for the items in the list are the entity type names of the limitedEntities.
	// Example: `vcn`
	LimitedEntities []string `mandatory:"true" json:"limitedEntities"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN for which the topology is generated.
	VcnId *string `mandatory:"false" json:"vcnId"`
}

VcnTopology Defines the representation of a virtual network topology for a VCN. See Network Visualizer Documentation (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including conventions and pictures of symbols.

func (VcnTopology) GetEntities ¶

func (m VcnTopology) GetEntities() []interface{}

GetEntities returns Entities

func (VcnTopology) GetLimitedEntities ¶ added in v65.47.0

func (m VcnTopology) GetLimitedEntities() []string

GetLimitedEntities returns LimitedEntities

func (VcnTopology) GetRelationships ¶

func (m VcnTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (VcnTopology) GetTimeCreated ¶

func (m VcnTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VcnTopology) MarshalJSON ¶

func (m VcnTopology) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnTopology) String ¶

func (m VcnTopology) String() string

func (*VcnTopology) UnmarshalJSON ¶

func (m *VcnTopology) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (VcnTopology) ValidateEnumValue ¶

func (m VcnTopology) 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 VirtualCircuit ¶

type VirtualCircuit struct {

	// The provisioned data rate of the connection. To get a list of the
	// available bandwidth levels (that is, shapes), see
	// ListFastConnectProviderVirtualCircuitBandwidthShapes.
	// Example: `10 Gbps`
	BandwidthShapeName *string `mandatory:"false" json:"bandwidthShapeName"`

	// Deprecated. Instead use the information in
	// FastConnectProviderService.
	BgpManagement VirtualCircuitBgpManagementEnum `mandatory:"false" json:"bgpManagement,omitempty"`

	// The state of the Ipv4 BGP session associated with the virtual circuit.
	BgpSessionState VirtualCircuitBgpSessionStateEnum `mandatory:"false" json:"bgpSessionState,omitempty"`

	// The state of the Ipv6 BGP session associated with the virtual circuit.
	BgpIpv6SessionState VirtualCircuitBgpIpv6SessionStateEnum `mandatory:"false" json:"bgpIpv6SessionState,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the virtual circuit.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// An array of mappings, each containing properties for a
	// cross-connect or cross-connect group that is associated with this
	// virtual circuit.
	CrossConnectMappings []CrossConnectMapping `mandatory:"false" json:"crossConnectMappings"`

	// The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit.
	// Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`.
	// See Route Filtering (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details.
	// By default, routing information is shared for all routes in the same market.
	RoutingPolicy []VirtualCircuitRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"`

	// Set to `ENABLED` (the default) to activate the BGP session of the virtual circuit, set to `DISABLED` to deactivate the virtual circuit.
	BgpAdminState VirtualCircuitBgpAdminStateEnum `mandatory:"false" json:"bgpAdminState,omitempty"`

	// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
	IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`

	// Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
	IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`

	// Deprecated. Instead use `customerAsn`.
	// If you specify values for both, the request will be rejected.
	CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`

	// The BGP ASN of the network at the other end of the BGP
	// session from Oracle. If the session is between the customer's
	// edge router and Oracle, the value is the customer's ASN. If the BGP
	// session is between the provider's edge router and Oracle, the value
	// is the provider's ASN.
	// Can be a 2-byte or 4-byte ASN. Uses "asplain" format.
	CustomerAsn *int64 `mandatory:"false" json:"customerAsn"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's Drg
	// that this virtual circuit uses. Applicable only to private virtual circuits.
	GatewayId *string `mandatory:"false" json:"gatewayId"`

	// The virtual circuit's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"false" json:"id"`

	// The virtual circuit's current state. For information about
	// the different states, see
	// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
	LifecycleState VirtualCircuitLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The Oracle BGP ASN.
	OracleBgpAsn *int `mandatory:"false" json:"oracleBgpAsn"`

	// Deprecated. Instead use `providerServiceId`.
	ProviderName *string `mandatory:"false" json:"providerName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if the customer is connecting via a provider).
	ProviderServiceId *string `mandatory:"false" json:"providerServiceId"`

	// The service key name offered by the provider (if the customer is connecting via a provider).
	ProviderServiceKeyName *string `mandatory:"false" json:"providerServiceKeyName"`

	// Deprecated. Instead use `providerServiceId`.
	ProviderServiceName *string `mandatory:"false" json:"providerServiceName"`

	// The provider's state in relation to this virtual circuit (if the
	// customer is connecting via a provider). ACTIVE means
	// the provider has provisioned the virtual circuit from their end.
	// INACTIVE means the provider has not yet provisioned the virtual
	// circuit, or has de-provisioned it.
	ProviderState VirtualCircuitProviderStateEnum `mandatory:"false" json:"providerState,omitempty"`

	// For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to
	// advertise across the connection. All prefix sizes are allowed.
	PublicPrefixes []string `mandatory:"false" json:"publicPrefixes"`

	// Provider-supplied reference information about this virtual circuit
	// (if the customer is connecting via a provider).
	ReferenceComment *string `mandatory:"false" json:"referenceComment"`

	// The Oracle Cloud Infrastructure region where this virtual
	// circuit is located.
	Region *string `mandatory:"false" json:"region"`

	// Provider service type.
	ServiceType VirtualCircuitServiceTypeEnum `mandatory:"false" json:"serviceType,omitempty"`

	// The date and time the virtual circuit was created,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Whether the virtual circuit supports private or public peering. For more information,
	// see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
	Type VirtualCircuitTypeEnum `mandatory:"false" json:"type,omitempty"`

	// The layer 3 IP MTU to use on this virtual circuit.
	IpMtu VirtualCircuitIpMtuEnum `mandatory:"false" json:"ipMtu,omitempty"`
}

VirtualCircuit For use with Oracle Cloud Infrastructure FastConnect. A virtual circuit is an isolated network path that runs over one or more physical network connections to provide a single, logical connection between the edge router on the customer's existing network and Oracle Cloud Infrastructure. *Private* virtual circuits support private peering, and *public* virtual circuits support public peering. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). Each virtual circuit is made up of information shared between a customer, Oracle, and a provider (if the customer is using FastConnect via a provider). Who fills in a given property of a virtual circuit depends on whether the BGP session related to that virtual circuit goes from the customer's edge router to Oracle, or from the provider's edge router to Oracle. Also, in the case where the customer is using a provider, values for some of the properties may not be present immediately, but may get filled in as the provider and Oracle each do their part to provision the virtual circuit. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (VirtualCircuit) String ¶

func (m VirtualCircuit) String() string

func (VirtualCircuit) ValidateEnumValue ¶

func (m VirtualCircuit) 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 VirtualCircuitAssociatedTunnelDetails ¶ added in v65.48.0

type VirtualCircuitAssociatedTunnelDetails struct {

	// The type of the tunnel associated with the virtual circuit.
	TunnelType VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum `mandatory:"true" json:"tunnelType"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec tunnel associated with the virtual circuit.
	TunnelId *string `mandatory:"true" json:"tunnelId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IPSec connection associated with the virtual circuit.
	IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`
}

VirtualCircuitAssociatedTunnelDetails Detailed private tunnel info associated with the virtual circuit.

func (VirtualCircuitAssociatedTunnelDetails) String ¶ added in v65.48.0

func (VirtualCircuitAssociatedTunnelDetails) ValidateEnumValue ¶ added in v65.48.0

func (m VirtualCircuitAssociatedTunnelDetails) 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 VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum ¶ added in v65.48.0

type VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum string

VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum Enum with underlying type: string

const (
	VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum = "IPSEC"
)

Set of constants representing the allowable values for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum

func GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum ¶ added in v65.48.0

func GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum(val string) (VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum, bool)

GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues ¶ added in v65.48.0

func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues() []VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum

GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues Enumerates the set of values for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum

type VirtualCircuitBandwidthShape ¶

type VirtualCircuitBandwidthShape struct {

	// The name of the bandwidth shape.
	// Example: `10 Gbps`
	Name *string `mandatory:"true" json:"name"`

	// The bandwidth in Mbps.
	// Example: `10000`
	BandwidthInMbps *int `mandatory:"false" json:"bandwidthInMbps"`
}

VirtualCircuitBandwidthShape An individual bandwidth level for virtual circuits.

func (VirtualCircuitBandwidthShape) String ¶

func (VirtualCircuitBandwidthShape) ValidateEnumValue ¶

func (m VirtualCircuitBandwidthShape) 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 VirtualCircuitBgpAdminStateEnum ¶

type VirtualCircuitBgpAdminStateEnum string

VirtualCircuitBgpAdminStateEnum Enum with underlying type: string

const (
	VirtualCircuitBgpAdminStateEnabled  VirtualCircuitBgpAdminStateEnum = "ENABLED"
	VirtualCircuitBgpAdminStateDisabled VirtualCircuitBgpAdminStateEnum = "DISABLED"
)

Set of constants representing the allowable values for VirtualCircuitBgpAdminStateEnum

func GetMappingVirtualCircuitBgpAdminStateEnum ¶

func GetMappingVirtualCircuitBgpAdminStateEnum(val string) (VirtualCircuitBgpAdminStateEnum, bool)

GetMappingVirtualCircuitBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitBgpAdminStateEnumValues ¶

func GetVirtualCircuitBgpAdminStateEnumValues() []VirtualCircuitBgpAdminStateEnum

GetVirtualCircuitBgpAdminStateEnumValues Enumerates the set of values for VirtualCircuitBgpAdminStateEnum

type VirtualCircuitBgpIpv6SessionStateEnum ¶

type VirtualCircuitBgpIpv6SessionStateEnum string

VirtualCircuitBgpIpv6SessionStateEnum Enum with underlying type: string

const (
	VirtualCircuitBgpIpv6SessionStateUp   VirtualCircuitBgpIpv6SessionStateEnum = "UP"
	VirtualCircuitBgpIpv6SessionStateDown VirtualCircuitBgpIpv6SessionStateEnum = "DOWN"
)

Set of constants representing the allowable values for VirtualCircuitBgpIpv6SessionStateEnum

func GetMappingVirtualCircuitBgpIpv6SessionStateEnum ¶

func GetMappingVirtualCircuitBgpIpv6SessionStateEnum(val string) (VirtualCircuitBgpIpv6SessionStateEnum, bool)

GetMappingVirtualCircuitBgpIpv6SessionStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitBgpIpv6SessionStateEnumValues ¶

func GetVirtualCircuitBgpIpv6SessionStateEnumValues() []VirtualCircuitBgpIpv6SessionStateEnum

GetVirtualCircuitBgpIpv6SessionStateEnumValues Enumerates the set of values for VirtualCircuitBgpIpv6SessionStateEnum

type VirtualCircuitBgpManagementEnum ¶

type VirtualCircuitBgpManagementEnum string

VirtualCircuitBgpManagementEnum Enum with underlying type: string

const (
	VirtualCircuitBgpManagementCustomerManaged VirtualCircuitBgpManagementEnum = "CUSTOMER_MANAGED"
	VirtualCircuitBgpManagementProviderManaged VirtualCircuitBgpManagementEnum = "PROVIDER_MANAGED"
	VirtualCircuitBgpManagementOracleManaged   VirtualCircuitBgpManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for VirtualCircuitBgpManagementEnum

func GetMappingVirtualCircuitBgpManagementEnum ¶

func GetMappingVirtualCircuitBgpManagementEnum(val string) (VirtualCircuitBgpManagementEnum, bool)

GetMappingVirtualCircuitBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitBgpManagementEnumValues ¶

func GetVirtualCircuitBgpManagementEnumValues() []VirtualCircuitBgpManagementEnum

GetVirtualCircuitBgpManagementEnumValues Enumerates the set of values for VirtualCircuitBgpManagementEnum

type VirtualCircuitBgpSessionStateEnum ¶

type VirtualCircuitBgpSessionStateEnum string

VirtualCircuitBgpSessionStateEnum Enum with underlying type: string

const (
	VirtualCircuitBgpSessionStateUp   VirtualCircuitBgpSessionStateEnum = "UP"
	VirtualCircuitBgpSessionStateDown VirtualCircuitBgpSessionStateEnum = "DOWN"
)

Set of constants representing the allowable values for VirtualCircuitBgpSessionStateEnum

func GetMappingVirtualCircuitBgpSessionStateEnum ¶

func GetMappingVirtualCircuitBgpSessionStateEnum(val string) (VirtualCircuitBgpSessionStateEnum, bool)

GetMappingVirtualCircuitBgpSessionStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitBgpSessionStateEnumValues ¶

func GetVirtualCircuitBgpSessionStateEnumValues() []VirtualCircuitBgpSessionStateEnum

GetVirtualCircuitBgpSessionStateEnumValues Enumerates the set of values for VirtualCircuitBgpSessionStateEnum

type VirtualCircuitDrgAttachmentNetworkDetails ¶

type VirtualCircuitDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"false" json:"id"`

	// Boolean flag that determines wether all traffic over the virtual circuits is encrypted.
	// Example: `true`
	TransportOnlyMode *bool `mandatory:"false" json:"transportOnlyMode"`
}

VirtualCircuitDrgAttachmentNetworkDetails Specifies the virtual circuit attached to the DRG.

func (VirtualCircuitDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (VirtualCircuitDrgAttachmentNetworkDetails) MarshalJSON ¶

func (m VirtualCircuitDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VirtualCircuitDrgAttachmentNetworkDetails) String ¶

func (VirtualCircuitDrgAttachmentNetworkDetails) ValidateEnumValue ¶

func (m VirtualCircuitDrgAttachmentNetworkDetails) 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 VirtualCircuitIpMtuEnum ¶

type VirtualCircuitIpMtuEnum string

VirtualCircuitIpMtuEnum Enum with underlying type: string

const (
	VirtualCircuitIpMtuMtu1500 VirtualCircuitIpMtuEnum = "MTU_1500"
	VirtualCircuitIpMtuMtu9000 VirtualCircuitIpMtuEnum = "MTU_9000"
)

Set of constants representing the allowable values for VirtualCircuitIpMtuEnum

func GetMappingVirtualCircuitIpMtuEnum ¶

func GetMappingVirtualCircuitIpMtuEnum(val string) (VirtualCircuitIpMtuEnum, bool)

GetMappingVirtualCircuitIpMtuEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitIpMtuEnumValues ¶

func GetVirtualCircuitIpMtuEnumValues() []VirtualCircuitIpMtuEnum

GetVirtualCircuitIpMtuEnumValues Enumerates the set of values for VirtualCircuitIpMtuEnum

type VirtualCircuitLifecycleStateEnum ¶

type VirtualCircuitLifecycleStateEnum string

VirtualCircuitLifecycleStateEnum Enum with underlying type: string

const (
	VirtualCircuitLifecycleStatePendingProvider VirtualCircuitLifecycleStateEnum = "PENDING_PROVIDER"
	VirtualCircuitLifecycleStateVerifying       VirtualCircuitLifecycleStateEnum = "VERIFYING"
	VirtualCircuitLifecycleStateProvisioning    VirtualCircuitLifecycleStateEnum = "PROVISIONING"
	VirtualCircuitLifecycleStateProvisioned     VirtualCircuitLifecycleStateEnum = "PROVISIONED"
	VirtualCircuitLifecycleStateFailed          VirtualCircuitLifecycleStateEnum = "FAILED"
	VirtualCircuitLifecycleStateInactive        VirtualCircuitLifecycleStateEnum = "INACTIVE"
	VirtualCircuitLifecycleStateTerminating     VirtualCircuitLifecycleStateEnum = "TERMINATING"
	VirtualCircuitLifecycleStateTerminated      VirtualCircuitLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VirtualCircuitLifecycleStateEnum

func GetMappingVirtualCircuitLifecycleStateEnum ¶

func GetMappingVirtualCircuitLifecycleStateEnum(val string) (VirtualCircuitLifecycleStateEnum, bool)

GetMappingVirtualCircuitLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitLifecycleStateEnumValues ¶

func GetVirtualCircuitLifecycleStateEnumValues() []VirtualCircuitLifecycleStateEnum

GetVirtualCircuitLifecycleStateEnumValues Enumerates the set of values for VirtualCircuitLifecycleStateEnum

type VirtualCircuitProviderStateEnum ¶

type VirtualCircuitProviderStateEnum string

VirtualCircuitProviderStateEnum Enum with underlying type: string

const (
	VirtualCircuitProviderStateActive   VirtualCircuitProviderStateEnum = "ACTIVE"
	VirtualCircuitProviderStateInactive VirtualCircuitProviderStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for VirtualCircuitProviderStateEnum

func GetMappingVirtualCircuitProviderStateEnum ¶

func GetMappingVirtualCircuitProviderStateEnum(val string) (VirtualCircuitProviderStateEnum, bool)

GetMappingVirtualCircuitProviderStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitProviderStateEnumValues ¶

func GetVirtualCircuitProviderStateEnumValues() []VirtualCircuitProviderStateEnum

GetVirtualCircuitProviderStateEnumValues Enumerates the set of values for VirtualCircuitProviderStateEnum

type VirtualCircuitPublicPrefix ¶

type VirtualCircuitPublicPrefix struct {

	// Publix IP prefix (CIDR) that the customer specified.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// Oracle must verify that the customer owns the public IP prefix before traffic
	// for that prefix can flow across the virtual circuit. Verification can take a
	// few business days. `IN_PROGRESS` means Oracle is verifying the prefix. `COMPLETED`
	// means verification succeeded. `FAILED` means verification failed and traffic for
	// this prefix will not flow across the connection.
	VerificationState VirtualCircuitPublicPrefixVerificationStateEnum `mandatory:"true" json:"verificationState"`
}

VirtualCircuitPublicPrefix A public IP prefix and its details. With a public virtual circuit, the customer specifies the customer-owned public IP prefixes to advertise across the connection. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

func (VirtualCircuitPublicPrefix) String ¶

func (VirtualCircuitPublicPrefix) ValidateEnumValue ¶

func (m VirtualCircuitPublicPrefix) 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 VirtualCircuitPublicPrefixVerificationStateEnum ¶

type VirtualCircuitPublicPrefixVerificationStateEnum string

VirtualCircuitPublicPrefixVerificationStateEnum Enum with underlying type: string

const (
	VirtualCircuitPublicPrefixVerificationStateInProgress VirtualCircuitPublicPrefixVerificationStateEnum = "IN_PROGRESS"
	VirtualCircuitPublicPrefixVerificationStateCompleted  VirtualCircuitPublicPrefixVerificationStateEnum = "COMPLETED"
	VirtualCircuitPublicPrefixVerificationStateFailed     VirtualCircuitPublicPrefixVerificationStateEnum = "FAILED"
)

Set of constants representing the allowable values for VirtualCircuitPublicPrefixVerificationStateEnum

func GetMappingVirtualCircuitPublicPrefixVerificationStateEnum ¶

func GetMappingVirtualCircuitPublicPrefixVerificationStateEnum(val string) (VirtualCircuitPublicPrefixVerificationStateEnum, bool)

GetMappingVirtualCircuitPublicPrefixVerificationStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitPublicPrefixVerificationStateEnumValues ¶

func GetVirtualCircuitPublicPrefixVerificationStateEnumValues() []VirtualCircuitPublicPrefixVerificationStateEnum

GetVirtualCircuitPublicPrefixVerificationStateEnumValues Enumerates the set of values for VirtualCircuitPublicPrefixVerificationStateEnum

type VirtualCircuitRoutingPolicyEnum ¶

type VirtualCircuitRoutingPolicyEnum string

VirtualCircuitRoutingPolicyEnum Enum with underlying type: string

const (
	VirtualCircuitRoutingPolicyOracleServiceNetwork VirtualCircuitRoutingPolicyEnum = "ORACLE_SERVICE_NETWORK"
	VirtualCircuitRoutingPolicyRegional             VirtualCircuitRoutingPolicyEnum = "REGIONAL"
	VirtualCircuitRoutingPolicyMarketLevel          VirtualCircuitRoutingPolicyEnum = "MARKET_LEVEL"
	VirtualCircuitRoutingPolicyGlobal               VirtualCircuitRoutingPolicyEnum = "GLOBAL"
)

Set of constants representing the allowable values for VirtualCircuitRoutingPolicyEnum

func GetMappingVirtualCircuitRoutingPolicyEnum ¶

func GetMappingVirtualCircuitRoutingPolicyEnum(val string) (VirtualCircuitRoutingPolicyEnum, bool)

GetMappingVirtualCircuitRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitRoutingPolicyEnumValues ¶

func GetVirtualCircuitRoutingPolicyEnumValues() []VirtualCircuitRoutingPolicyEnum

GetVirtualCircuitRoutingPolicyEnumValues Enumerates the set of values for VirtualCircuitRoutingPolicyEnum

type VirtualCircuitServiceTypeEnum ¶

type VirtualCircuitServiceTypeEnum string

VirtualCircuitServiceTypeEnum Enum with underlying type: string

const (
	VirtualCircuitServiceTypeColocated VirtualCircuitServiceTypeEnum = "COLOCATED"
	VirtualCircuitServiceTypeLayer2    VirtualCircuitServiceTypeEnum = "LAYER2"
	VirtualCircuitServiceTypeLayer3    VirtualCircuitServiceTypeEnum = "LAYER3"
)

Set of constants representing the allowable values for VirtualCircuitServiceTypeEnum

func GetMappingVirtualCircuitServiceTypeEnum ¶

func GetMappingVirtualCircuitServiceTypeEnum(val string) (VirtualCircuitServiceTypeEnum, bool)

GetMappingVirtualCircuitServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitServiceTypeEnumValues ¶

func GetVirtualCircuitServiceTypeEnumValues() []VirtualCircuitServiceTypeEnum

GetVirtualCircuitServiceTypeEnumValues Enumerates the set of values for VirtualCircuitServiceTypeEnum

type VirtualCircuitTypeEnum ¶

type VirtualCircuitTypeEnum string

VirtualCircuitTypeEnum Enum with underlying type: string

const (
	VirtualCircuitTypePublic  VirtualCircuitTypeEnum = "PUBLIC"
	VirtualCircuitTypePrivate VirtualCircuitTypeEnum = "PRIVATE"
)

Set of constants representing the allowable values for VirtualCircuitTypeEnum

func GetMappingVirtualCircuitTypeEnum ¶

func GetMappingVirtualCircuitTypeEnum(val string) (VirtualCircuitTypeEnum, bool)

GetMappingVirtualCircuitTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitTypeEnumValues ¶

func GetVirtualCircuitTypeEnumValues() []VirtualCircuitTypeEnum

GetVirtualCircuitTypeEnumValues Enumerates the set of values for VirtualCircuitTypeEnum

type VirtualNetworkClient ¶

type VirtualNetworkClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

VirtualNetworkClient a client for VirtualNetwork

func NewVirtualNetworkClientWithConfigurationProvider ¶

func NewVirtualNetworkClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client VirtualNetworkClient, err error)

NewVirtualNetworkClientWithConfigurationProvider Creates a new default VirtualNetwork client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewVirtualNetworkClientWithOboToken ¶

func NewVirtualNetworkClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VirtualNetworkClient, err error)

NewVirtualNetworkClientWithOboToken Creates a new default VirtualNetwork 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 (VirtualNetworkClient) AddDrgRouteDistributionStatements ¶

func (client VirtualNetworkClient) AddDrgRouteDistributionStatements(ctx context.Context, request AddDrgRouteDistributionStatementsRequest) (response AddDrgRouteDistributionStatementsResponse, err error)

AddDrgRouteDistributionStatements Adds one or more route distribution statements to the specified route distribution.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatements API.

func (VirtualNetworkClient) AddDrgRouteRules ¶

func (client VirtualNetworkClient) AddDrgRouteRules(ctx context.Context, request AddDrgRouteRulesRequest) (response AddDrgRouteRulesResponse, err error)

AddDrgRouteRules Adds one or more static route rules to the specified DRG route table.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRules API.

func (VirtualNetworkClient) AddIpv6SubnetCidr ¶ added in v65.1.0

func (client VirtualNetworkClient) AddIpv6SubnetCidr(ctx context.Context, request AddIpv6SubnetCidrRequest) (response AddIpv6SubnetCidrResponse, err error)

AddIpv6SubnetCidr Add an IPv6 prefix to a subnet.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidr API.

func (VirtualNetworkClient) AddIpv6VcnCidr ¶

func (client VirtualNetworkClient) AddIpv6VcnCidr(ctx context.Context, request AddIpv6VcnCidrRequest) (response AddIpv6VcnCidrResponse, err error)

AddIpv6VcnCidr Add an IPv6 prefix to a VCN. The VCN size is always /56 and assigned by Oracle. Once added the IPv6 prefix cannot be removed or modified.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidr API.

func (VirtualNetworkClient) AddNetworkSecurityGroupSecurityRules ¶

func (client VirtualNetworkClient) AddNetworkSecurityGroupSecurityRules(ctx context.Context, request AddNetworkSecurityGroupSecurityRulesRequest) (response AddNetworkSecurityGroupSecurityRulesResponse, err error)

AddNetworkSecurityGroupSecurityRules Adds one or more security rules to the specified network security group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRules API.

func (VirtualNetworkClient) AddPublicIpPoolCapacity ¶

func (client VirtualNetworkClient) AddPublicIpPoolCapacity(ctx context.Context, request AddPublicIpPoolCapacityRequest) (response AddPublicIpPoolCapacityResponse, err error)

AddPublicIpPoolCapacity Adds some or all of a CIDR block to a public IP pool. The CIDR block (or subrange) must not overlap with any other CIDR block already added to this or any other public IP pool.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacity API.

func (VirtualNetworkClient) AddVcnCidr ¶

func (client VirtualNetworkClient) AddVcnCidr(ctx context.Context, request AddVcnCidrRequest) (response AddVcnCidrResponse, err error)

AddVcnCidr Adds a CIDR block to a VCN. The CIDR block you add: - Must be valid. - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. - Must not exceed the limit of CIDR blocks allowed per VCN. **Note:** Adding a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidr API.

func (VirtualNetworkClient) AdvertiseByoipRange ¶

func (client VirtualNetworkClient) AdvertiseByoipRange(ctx context.Context, request AdvertiseByoipRangeRequest) (response AdvertiseByoipRangeResponse, err error)

AdvertiseByoipRange Begins BGP route advertisements for the BYOIP CIDR block you imported to the Oracle Cloud. The `ByoipRange` resource must be in the PROVISIONED state before the BYOIP CIDR block routes can be advertised with BGP.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRange API.

func (VirtualNetworkClient) AttachServiceId ¶

func (client VirtualNetworkClient) AttachServiceId(ctx context.Context, request AttachServiceIdRequest) (response AttachServiceIdResponse, err error)

AttachServiceId Adds the specified Service to the list of enabled `Service` objects for the specified gateway. You must also set up a route rule with the `cidrBlock` of the `Service` as the rule's destination and the service gateway as the rule's target. See RouteTable. **Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to the service gateway. Compare it with UpdateServiceGateway, which replaces the entire existing list of enabled `Service` objects with the list that you provide in the `Update` call.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceId API.

func (VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes ¶

func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error)

BulkAddVirtualCircuitPublicPrefixes Adds one or more customer public IP prefixes to the specified public virtual circuit. Use this operation (and not UpdateVirtualCircuit) to add prefixes to the virtual circuit. Oracle must verify the customer's ownership of each prefix before traffic for that prefix will flow across the virtual circuit.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixes API. A default retry strategy applies to this operation BulkAddVirtualCircuitPublicPrefixes()

func (VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes ¶

func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error)

BulkDeleteVirtualCircuitPublicPrefixes Removes one or more customer public IP prefixes from the specified public virtual circuit. Use this operation (and not UpdateVirtualCircuit) to remove prefixes from the virtual circuit. When the virtual circuit's state switches back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixes API. A default retry strategy applies to this operation BulkDeleteVirtualCircuitPublicPrefixes()

func (VirtualNetworkClient) ChangeByoipRangeCompartment ¶

func (client VirtualNetworkClient) ChangeByoipRangeCompartment(ctx context.Context, request ChangeByoipRangeCompartmentRequest) (response ChangeByoipRangeCompartmentResponse, err error)

ChangeByoipRangeCompartment Moves a BYOIP CIDR block to a different compartment. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartment API.

func (VirtualNetworkClient) ChangeCaptureFilterCompartment ¶ added in v65.3.0

func (client VirtualNetworkClient) ChangeCaptureFilterCompartment(ctx context.Context, request ChangeCaptureFilterCompartmentRequest) (response ChangeCaptureFilterCompartmentResponse, err error)

ChangeCaptureFilterCompartment Moves a capture filter to a new compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartment API.

func (VirtualNetworkClient) ChangeCpeCompartment ¶

func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, request ChangeCpeCompartmentRequest) (response ChangeCpeCompartmentResponse, err error)

ChangeCpeCompartment Moves a CPE object into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartment API. A default retry strategy applies to this operation ChangeCpeCompartment()

func (VirtualNetworkClient) ChangeCrossConnectCompartment ¶

func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Context, request ChangeCrossConnectCompartmentRequest) (response ChangeCrossConnectCompartmentResponse, err error)

ChangeCrossConnectCompartment Moves a cross-connect into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartment API. A default retry strategy applies to this operation ChangeCrossConnectCompartment()

func (VirtualNetworkClient) ChangeCrossConnectGroupCompartment ¶

func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx context.Context, request ChangeCrossConnectGroupCompartmentRequest) (response ChangeCrossConnectGroupCompartmentResponse, err error)

ChangeCrossConnectGroupCompartment Moves a cross-connect group into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartment API. A default retry strategy applies to this operation ChangeCrossConnectGroupCompartment()

func (VirtualNetworkClient) ChangeDhcpOptionsCompartment ¶

func (client VirtualNetworkClient) ChangeDhcpOptionsCompartment(ctx context.Context, request ChangeDhcpOptionsCompartmentRequest) (response ChangeDhcpOptionsCompartmentResponse, err error)

ChangeDhcpOptionsCompartment Moves a set of DHCP options into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartment API.

func (VirtualNetworkClient) ChangeDrgCompartment ¶

func (client VirtualNetworkClient) ChangeDrgCompartment(ctx context.Context, request ChangeDrgCompartmentRequest) (response ChangeDrgCompartmentResponse, err error)

ChangeDrgCompartment Moves a DRG into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartment API.

func (VirtualNetworkClient) ChangeIPSecConnectionCompartment ¶

func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context.Context, request ChangeIPSecConnectionCompartmentRequest) (response ChangeIPSecConnectionCompartmentResponse, err error)

ChangeIPSecConnectionCompartment Moves an IPSec connection into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartment API. A default retry strategy applies to this operation ChangeIPSecConnectionCompartment()

func (VirtualNetworkClient) ChangeInternetGatewayCompartment ¶

func (client VirtualNetworkClient) ChangeInternetGatewayCompartment(ctx context.Context, request ChangeInternetGatewayCompartmentRequest) (response ChangeInternetGatewayCompartmentResponse, err error)

ChangeInternetGatewayCompartment Moves an internet gateway into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartment API.

func (VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment ¶

func (client VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment(ctx context.Context, request ChangeLocalPeeringGatewayCompartmentRequest) (response ChangeLocalPeeringGatewayCompartmentResponse, err error)

ChangeLocalPeeringGatewayCompartment Moves a local peering gateway into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartment API.

func (VirtualNetworkClient) ChangeNatGatewayCompartment ¶

func (client VirtualNetworkClient) ChangeNatGatewayCompartment(ctx context.Context, request ChangeNatGatewayCompartmentRequest) (response ChangeNatGatewayCompartmentResponse, err error)

ChangeNatGatewayCompartment Moves a NAT gateway into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartment API.

func (VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment ¶

func (client VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment(ctx context.Context, request ChangeNetworkSecurityGroupCompartmentRequest) (response ChangeNetworkSecurityGroupCompartmentResponse, err error)

ChangeNetworkSecurityGroupCompartment Moves a network security group into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartment API.

func (VirtualNetworkClient) ChangePublicIpCompartment ¶

func (client VirtualNetworkClient) ChangePublicIpCompartment(ctx context.Context, request ChangePublicIpCompartmentRequest) (response ChangePublicIpCompartmentResponse, err error)

ChangePublicIpCompartment Moves a public IP into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the same compartment as their VNIC and move accordingly.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartment API.

func (VirtualNetworkClient) ChangePublicIpPoolCompartment ¶

func (client VirtualNetworkClient) ChangePublicIpPoolCompartment(ctx context.Context, request ChangePublicIpPoolCompartmentRequest) (response ChangePublicIpPoolCompartmentResponse, err error)

ChangePublicIpPoolCompartment Moves a public IP pool to a different compartment. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartment API.

func (VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment ¶

func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx context.Context, request ChangeRemotePeeringConnectionCompartmentRequest) (response ChangeRemotePeeringConnectionCompartmentResponse, err error)

ChangeRemotePeeringConnectionCompartment Moves a remote peering connection (RPC) into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartment API. A default retry strategy applies to this operation ChangeRemotePeeringConnectionCompartment()

func (VirtualNetworkClient) ChangeRouteTableCompartment ¶

func (client VirtualNetworkClient) ChangeRouteTableCompartment(ctx context.Context, request ChangeRouteTableCompartmentRequest) (response ChangeRouteTableCompartmentResponse, err error)

ChangeRouteTableCompartment Moves a route table into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartment API.

func (VirtualNetworkClient) ChangeSecurityListCompartment ¶

func (client VirtualNetworkClient) ChangeSecurityListCompartment(ctx context.Context, request ChangeSecurityListCompartmentRequest) (response ChangeSecurityListCompartmentResponse, err error)

ChangeSecurityListCompartment Moves a security list into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartment API.

func (VirtualNetworkClient) ChangeServiceGatewayCompartment ¶

func (client VirtualNetworkClient) ChangeServiceGatewayCompartment(ctx context.Context, request ChangeServiceGatewayCompartmentRequest) (response ChangeServiceGatewayCompartmentResponse, err error)

ChangeServiceGatewayCompartment Moves a service gateway into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartment API.

func (VirtualNetworkClient) ChangeSubnetCompartment ¶

func (client VirtualNetworkClient) ChangeSubnetCompartment(ctx context.Context, request ChangeSubnetCompartmentRequest) (response ChangeSubnetCompartmentResponse, err error)

ChangeSubnetCompartment Moves a subnet into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartment API.

func (VirtualNetworkClient) ChangeVcnCompartment ¶

func (client VirtualNetworkClient) ChangeVcnCompartment(ctx context.Context, request ChangeVcnCompartmentRequest) (response ChangeVcnCompartmentResponse, err error)

ChangeVcnCompartment Moves a VCN into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartment API.

func (VirtualNetworkClient) ChangeVirtualCircuitCompartment ¶

func (client VirtualNetworkClient) ChangeVirtualCircuitCompartment(ctx context.Context, request ChangeVirtualCircuitCompartmentRequest) (response ChangeVirtualCircuitCompartmentResponse, err error)

ChangeVirtualCircuitCompartment Moves a virtual circuit into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartment API. A default retry strategy applies to this operation ChangeVirtualCircuitCompartment()

func (VirtualNetworkClient) ChangeVlanCompartment ¶

func (client VirtualNetworkClient) ChangeVlanCompartment(ctx context.Context, request ChangeVlanCompartmentRequest) (response ChangeVlanCompartmentResponse, err error)

ChangeVlanCompartment Moves a VLAN into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartment API.

func (VirtualNetworkClient) ChangeVtapCompartment ¶ added in v65.3.0

func (client VirtualNetworkClient) ChangeVtapCompartment(ctx context.Context, request ChangeVtapCompartmentRequest) (response ChangeVtapCompartmentResponse, err error)

ChangeVtapCompartment Moves a VTAP to a new compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartment API.

func (*VirtualNetworkClient) ConfigurationProvider ¶

func (client *VirtualNetworkClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (VirtualNetworkClient) ConnectLocalPeeringGateways ¶

func (client VirtualNetworkClient) ConnectLocalPeeringGateways(ctx context.Context, request ConnectLocalPeeringGatewaysRequest) (response ConnectLocalPeeringGatewaysResponse, err error)

ConnectLocalPeeringGateways Connects this local peering gateway (LPG) to another one in the same region. This operation must be called by the VCN administrator who is designated as the *requestor* in the peering relationship. The *acceptor* must implement an Identity and Access Management (IAM) policy that gives the requestor permission to connect to LPGs in the acceptor's compartment. Without that permission, this operation will fail. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGateways API.

func (VirtualNetworkClient) ConnectRemotePeeringConnections ¶

func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.Context, request ConnectRemotePeeringConnectionsRequest) (response ConnectRemotePeeringConnectionsResponse, err error)

ConnectRemotePeeringConnections Connects this RPC to another one in a different region. This operation must be called by the VCN administrator who is designated as the *requestor* in the peering relationship. The *acceptor* must implement an Identity and Access Management (IAM) policy that gives the requestor permission to connect to RPCs in the acceptor's compartment. Without that permission, this operation will fail. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnections API. A default retry strategy applies to this operation ConnectRemotePeeringConnections()

func (VirtualNetworkClient) CreateByoipRange ¶

func (client VirtualNetworkClient) CreateByoipRange(ctx context.Context, request CreateByoipRangeRequest) (response CreateByoipRangeResponse, err error)

CreateByoipRange Creates a subrange of the BYOIP CIDR block.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRange API.

func (VirtualNetworkClient) CreateCaptureFilter ¶ added in v65.3.0

func (client VirtualNetworkClient) CreateCaptureFilter(ctx context.Context, request CreateCaptureFilterRequest) (response CreateCaptureFilterResponse, err error)

CreateCaptureFilter Creates a virtual test access point (VTAP) capture filter in the specified compartment. For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the VTAP, otherwise a default is provided. It does not have to be unique, and you can change it.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilter API.

func (VirtualNetworkClient) CreateCpe ¶

func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request CreateCpeRequest) (response CreateCpeResponse, err error)

CreateCpe Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For more information, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the CPE to reside. Notice that the CPE doesn't have to be in the same compartment as the IPSec connection or other Networking Service components. If you're not sure which compartment to use, put the CPE in the same compartment as the DRG. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You must provide the public IP address of your on-premises router. See CPE Configuration (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). You may optionally specify a *display name* for the CPE, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpe API. A default retry strategy applies to this operation CreateCpe()

func (VirtualNetworkClient) CreateCrossConnect ¶

func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, request CreateCrossConnectRequest) (response CreateCrossConnectResponse, err error)

CreateCrossConnect Creates a new cross-connect. Oracle recommends you create each cross-connect in a CrossConnectGroup so you can use link aggregation with the connection. After creating the `CrossConnect` object, you need to go the FastConnect location and request to have the physical cable installed. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the cross-connect to reside. If you're not sure which compartment to use, put the cross-connect in the same compartment with your VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the cross-connect. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnect API. A default retry strategy applies to this operation CreateCrossConnect()

func (VirtualNetworkClient) CreateCrossConnectGroup ¶

func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request CreateCrossConnectGroupRequest) (response CreateCrossConnectGroupResponse, err error)

CreateCrossConnectGroup Creates a new cross-connect group to use with Oracle Cloud Infrastructure FastConnect. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the cross-connect group to reside. If you're not sure which compartment to use, put the cross-connect group in the same compartment with your VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the cross-connect group. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroup API. A default retry strategy applies to this operation CreateCrossConnectGroup()

func (VirtualNetworkClient) CreateDhcpOptions ¶

func (client VirtualNetworkClient) CreateDhcpOptions(ctx context.Context, request CreateDhcpOptionsRequest) (response CreateDhcpOptionsResponse, err error)

CreateDhcpOptions Creates a new set of DHCP options for the specified VCN. For more information, see DhcpOptions. For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of DHCP options to reside. Notice that the set of options doesn't have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you're not sure which compartment to use, put the set of DHCP options in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptions API.

func (VirtualNetworkClient) CreateDrg ¶

func (client VirtualNetworkClient) CreateDrg(ctx context.Context, request CreateDrgRequest) (response CreateDrgResponse, err error)

CreateDrg Creates a new dynamic routing gateway (DRG) in the specified compartment. For more information, see Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the DRG to reside. Notice that the DRG doesn't have to be in the same compartment as the VCN, the DRG attachment, or other Networking Service components. If you're not sure which compartment to use, put the DRG in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the DRG, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrg API.

func (VirtualNetworkClient) CreateDrgAttachment ¶

func (client VirtualNetworkClient) CreateDrgAttachment(ctx context.Context, request CreateDrgAttachmentRequest) (response CreateDrgAttachmentResponse, err error)

CreateDrgAttachment Attaches the specified DRG to the specified network resource. A VCN can be attached to only one DRG at a time, but a DRG can be attached to more than one VCN. The response includes a `DrgAttachment` object with its own OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For more information about DRGs, see Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). You may optionally specify a *display name* for the attachment, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information. For the purposes of access control, the DRG attachment is automatically placed into the currently selected compartment. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachment API.

func (VirtualNetworkClient) CreateDrgRouteDistribution ¶

func (client VirtualNetworkClient) CreateDrgRouteDistribution(ctx context.Context, request CreateDrgRouteDistributionRequest) (response CreateDrgRouteDistributionResponse, err error)

CreateDrgRouteDistribution Creates a new route distribution for the specified DRG. Assign the route distribution as an import distribution to a DRG route table using the `UpdateDrgRouteTable` or `CreateDrgRouteTable` operations. Assign the route distribution as an export distribution to a DRG attachment using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistribution API.

func (VirtualNetworkClient) CreateDrgRouteTable ¶

func (client VirtualNetworkClient) CreateDrgRouteTable(ctx context.Context, request CreateDrgRouteTableRequest) (response CreateDrgRouteTableResponse, err error)

CreateDrgRouteTable Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTable API.

func (VirtualNetworkClient) CreateIPSecConnection ¶

func (client VirtualNetworkClient) CreateIPSecConnection(ctx context.Context, request CreateIPSecConnectionRequest) (response CreateIPSecConnectionResponse, err error)

CreateIPSecConnection Creates a new IPSec connection between the specified DRG and CPE. For more information, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). If you configure at least one tunnel to use static routing, then in the request you must provide at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16. If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. For more information, see the important note in IPSecConnection. For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to use, put the IPSec connection in the same compartment as the DRG. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information. After creating the IPSec connection, you need to configure your on-premises router with tunnel-specific information. For tunnel status and the required configuration information, see:

  • IPSecConnectionTunnel
  • IPSecConnectionTunnelSharedSecret

For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret (that is, the pre-shared key). For more information, see CPE Configuration (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnection API. A default retry strategy applies to this operation CreateIPSecConnection()

func (VirtualNetworkClient) CreateInternetGateway ¶

func (client VirtualNetworkClient) CreateInternetGateway(ctx context.Context, request CreateInternetGatewayRequest) (response CreateInternetGatewayResponse, err error)

CreateInternetGateway Creates a new internet gateway for the specified VCN. For more information, see Access to the Internet (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIGs.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the Internet Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or other Networking Service components. If you're not sure which compartment to use, put the Internet Gateway in the same compartment with the VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information. For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See UpdateRouteTable. You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no traffic will flow to/from the internet even if there's a route rule that enables that traffic. You can later use UpdateInternetGateway to easily disable/enable the gateway without changing the route rule.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGateway API.

func (VirtualNetworkClient) CreateIpv6 ¶

func (client VirtualNetworkClient) CreateIpv6(ctx context.Context, request CreateIpv6Request) (response CreateIpv6Response, err error)

CreateIpv6 Creates an IPv6 for the specified VNIC.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6 API.

func (VirtualNetworkClient) CreateLocalPeeringGateway ¶

func (client VirtualNetworkClient) CreateLocalPeeringGateway(ctx context.Context, request CreateLocalPeeringGatewayRequest) (response CreateLocalPeeringGatewayResponse, err error)

CreateLocalPeeringGateway Creates a new local peering gateway (LPG) for the specified VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGateway API.

func (VirtualNetworkClient) CreateNatGateway ¶

func (client VirtualNetworkClient) CreateNatGateway(ctx context.Context, request CreateNatGatewayRequest) (response CreateNatGatewayResponse, err error)

CreateNatGateway Creates a new NAT gateway for the specified VCN. You must also set up a route rule with the NAT gateway as the rule's target. See RouteTable.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGateway API.

func (VirtualNetworkClient) CreateNetworkSecurityGroup ¶

func (client VirtualNetworkClient) CreateNetworkSecurityGroup(ctx context.Context, request CreateNetworkSecurityGroupRequest) (response CreateNetworkSecurityGroupResponse, err error)

CreateNetworkSecurityGroup Creates a new network security group for the specified VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroup API.

func (VirtualNetworkClient) CreatePrivateIp ¶

func (client VirtualNetworkClient) CreatePrivateIp(ctx context.Context, request CreatePrivateIpRequest) (response CreatePrivateIpResponse, err error)

CreatePrivateIp Creates a secondary private IP for the specified VNIC. For more information about secondary private IPs, see IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIp API.

func (VirtualNetworkClient) CreatePublicIp ¶

func (client VirtualNetworkClient) CreatePublicIp(ctx context.Context, request CreatePublicIpRequest) (response CreatePublicIpResponse, err error)

CreatePublicIp Creates a public IP. Use the `lifetime` property to specify whether it's an ephemeral or reserved public IP. For information about limits on how many you can create, see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). * **For an ephemeral public IP assigned to a private IP:** You must also specify a `privateIpId` with the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary private IP you want to assign the public IP to. The public IP is created in the same availability domain as the private IP. An ephemeral public IP must always be assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary private IP. Exception: If you create a NatGateway, Oracle automatically assigns the NAT gateway a regional ephemeral public IP that you cannot remove. * **For a reserved public IP:** You may also optionally assign the public IP to a private IP by specifying `privateIpId`. Or you can later assign the public IP with UpdatePublicIp. **Note:** When assigning a public IP to a private IP, the private IP must not already have a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned. Also, for reserved public IPs, the optional assignment part of this operation is asynchronous. Poll the public IP's `lifecycleState` to determine if the assignment succeeded.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIp API.

func (VirtualNetworkClient) CreatePublicIpPool ¶

func (client VirtualNetworkClient) CreatePublicIpPool(ctx context.Context, request CreatePublicIpPoolRequest) (response CreatePublicIpPoolResponse, err error)

CreatePublicIpPool Creates a public IP pool.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPool API.

func (VirtualNetworkClient) CreateRemotePeeringConnection ¶

func (client VirtualNetworkClient) CreateRemotePeeringConnection(ctx context.Context, request CreateRemotePeeringConnectionRequest) (response CreateRemotePeeringConnectionResponse, err error)

CreateRemotePeeringConnection Creates a new remote peering connection (RPC) for the specified DRG.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnection API. A default retry strategy applies to this operation CreateRemotePeeringConnection()

func (VirtualNetworkClient) CreateRouteTable ¶

func (client VirtualNetworkClient) CreateRouteTable(ctx context.Context, request CreateRouteTableRequest) (response CreateRouteTableResponse, err error)

CreateRouteTable Creates a new route table for the specified VCN. In the request you must also include at least one route rule for the new route table. For information on the number of rules you can have in a route table, see Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For general information about route tables in your VCN and the types of targets you can use in route rules, see Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the route table to reside. Notice that the route table doesn't have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you're not sure which compartment to use, put the route table in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the route table, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTable API.

func (VirtualNetworkClient) CreateSecurityList ¶

func (client VirtualNetworkClient) CreateSecurityList(ctx context.Context, request CreateSecurityListRequest) (response CreateSecurityListResponse, err error)

CreateSecurityList Creates a new security list for the specified VCN. For more information about security lists, see Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For information on the number of rules you can have in a security list, see Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the security list to reside. Notice that the security list doesn't have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you're not sure which compartment to use, put the security list in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the security list, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityList API.

func (VirtualNetworkClient) CreateServiceGateway ¶

func (client VirtualNetworkClient) CreateServiceGateway(ctx context.Context, request CreateServiceGatewayRequest) (response CreateServiceGatewayResponse, err error)

CreateServiceGateway Creates a new service gateway in the specified compartment. For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the service gateway to reside. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the service gateway, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGateway API.

func (VirtualNetworkClient) CreateSubnet ¶

func (client VirtualNetworkClient) CreateSubnet(ctx context.Context, request CreateSubnetRequest) (response CreateSubnetResponse, err error)

CreateSubnet Creates a new subnet in the specified VCN. You can't change the size of the subnet after creation, so it's important to think about the size of subnets you need before creating them. For more information, see VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). For information on the number of subnets you can have in a VCN, see Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the subnet to reside. Notice that the subnet doesn't have to be in the same compartment as the VCN, route tables, or other Networking Service components. If you're not sure which compartment to use, put the subnet in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally associate a route table with the subnet. If you don't, the subnet will use the VCN's default route table. For more information about route tables, see Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). You may optionally associate a security list with the subnet. If you don't, the subnet will use the VCN's default security list. For more information about security lists, see Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). You may optionally associate a set of DHCP options with the subnet. If you don't, the subnet will use the VCN's default set. For more information about DHCP options, see DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). You may optionally specify a *display name* for the subnet, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information. You can also add a DNS label for the subnet, which is required if you want the Internet and VCN Resolver to resolve hostnames for instances in the subnet. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnet API.

func (VirtualNetworkClient) CreateVcn ¶

func (client VirtualNetworkClient) CreateVcn(ctx context.Context, request CreateVcnRequest) (response CreateVcnResponse, err error)

CreateVcn Creates a new virtual cloud network (VCN). For more information, see VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). For the VCN, you specify a list of one or more IPv4 CIDR blocks that meet the following criteria: - The CIDR blocks must be valid. - They must not overlap with each other or with the on-premises network CIDR block. - The number of CIDR blocks does not exceed the limit of CIDR blocks allowed per VCN. For a CIDR block, Oracle recommends that you use one of the private IP address ranges specified in RFC 1918 (https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, 172.16/12, and 192.168/16). Example: 172.16.0.0/16. The CIDR blocks can range from /16 to /30. For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the VCN to reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which compartment to use. Notice that the VCN doesn't have to be in the same compartment as the subnets or other Networking Service components. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the VCN, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information. You can also add a DNS label for the VCN, which is required if you want the instances to use the Interent and VCN Resolver option for DNS in the VCN. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). The VCN automatically comes with a default route table, default security list, and default set of DHCP options. The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for each is returned in the response. You can't delete these default objects, but you can change their contents (that is, change the route rules, security list rules, and so on). The VCN and subnets you create are not accessible until you attach an internet gateway or set up a Site-to-Site VPN or FastConnect. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcn API.

func (VirtualNetworkClient) CreateVirtualCircuit ¶

func (client VirtualNetworkClient) CreateVirtualCircuit(ctx context.Context, request CreateVirtualCircuitRequest) (response CreateVirtualCircuitResponse, err error)

CreateVirtualCircuit Creates a new virtual circuit to use with Oracle Cloud Infrastructure FastConnect. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the virtual circuit to reside. If you're not sure which compartment to use, put the virtual circuit in the same compartment with the DRG it's using. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the virtual circuit. It does not have to be unique, and you can change it. Avoid entering confidential information. **Important:** When creating a virtual circuit, you specify a DRG for the traffic to flow through. Make sure you attach the DRG to your VCN and confirm the VCN's routing sends traffic to the DRG. Otherwise traffic will not flow. For more information, see Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuit API. A default retry strategy applies to this operation CreateVirtualCircuit()

func (VirtualNetworkClient) CreateVlan ¶

func (client VirtualNetworkClient) CreateVlan(ctx context.Context, request CreateVlanRequest) (response CreateVlanResponse, err error)

CreateVlan Creates a VLAN in the specified VCN and the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlan API.

func (VirtualNetworkClient) CreateVtap ¶ added in v65.3.0

func (client VirtualNetworkClient) CreateVtap(ctx context.Context, request CreateVtapRequest) (response CreateVtapResponse, err error)

CreateVtap Creates a virtual test access point (VTAP) in the specified compartment. For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. For more information about compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You may optionally specify a *display name* for the VTAP, otherwise a default is provided. It does not have to be unique, and you can change it.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtap API.

func (VirtualNetworkClient) DeleteByoipRange ¶

func (client VirtualNetworkClient) DeleteByoipRange(ctx context.Context, request DeleteByoipRangeRequest) (response DeleteByoipRangeResponse, err error)

DeleteByoipRange Deletes the specified `ByoipRange` resource. The resource must be in one of the following states: CREATING, PROVISIONED, ACTIVE, or FAILED. It must not have any subranges currently allocated to a PublicIpPool object or the deletion will fail. You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). If the `ByoipRange` resource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRange API.

func (VirtualNetworkClient) DeleteCaptureFilter ¶ added in v65.3.0

func (client VirtualNetworkClient) DeleteCaptureFilter(ctx context.Context, request DeleteCaptureFilterRequest) (response DeleteCaptureFilterResponse, err error)

DeleteCaptureFilter Deletes the specified VTAP capture filter. This is an asynchronous operation. The VTAP capture filter's `lifecycleState` will change to TERMINATING temporarily until the VTAP capture filter is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilter API.

func (VirtualNetworkClient) DeleteCpe ¶

func (client VirtualNetworkClient) DeleteCpe(ctx context.Context, request DeleteCpeRequest) (response DeleteCpeResponse, err error)

DeleteCpe Deletes the specified CPE object. The CPE must not be connected to a DRG. This is an asynchronous operation. The CPE's `lifecycleState` will change to TERMINATING temporarily until the CPE is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpe API. A default retry strategy applies to this operation DeleteCpe()

func (VirtualNetworkClient) DeleteCrossConnect ¶

func (client VirtualNetworkClient) DeleteCrossConnect(ctx context.Context, request DeleteCrossConnectRequest) (response DeleteCrossConnectResponse, err error)

DeleteCrossConnect Deletes the specified cross-connect. It must not be mapped to a VirtualCircuit.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnect API. A default retry strategy applies to this operation DeleteCrossConnect()

func (VirtualNetworkClient) DeleteCrossConnectGroup ¶

func (client VirtualNetworkClient) DeleteCrossConnectGroup(ctx context.Context, request DeleteCrossConnectGroupRequest) (response DeleteCrossConnectGroupResponse, err error)

DeleteCrossConnectGroup Deletes the specified cross-connect group. It must not contain any cross-connects, and it cannot be mapped to a VirtualCircuit.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroup API. A default retry strategy applies to this operation DeleteCrossConnectGroup()

func (VirtualNetworkClient) DeleteDhcpOptions ¶

func (client VirtualNetworkClient) DeleteDhcpOptions(ctx context.Context, request DeleteDhcpOptionsRequest) (response DeleteDhcpOptionsResponse, err error)

DeleteDhcpOptions Deletes the specified set of DHCP options, but only if it's not associated with a subnet. You can't delete a VCN's default set of DHCP options. This is an asynchronous operation. The state of the set of options will switch to TERMINATING temporarily until the set is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptions API.

func (VirtualNetworkClient) DeleteDrg ¶

func (client VirtualNetworkClient) DeleteDrg(ctx context.Context, request DeleteDrgRequest) (response DeleteDrgResponse, err error)

DeleteDrg Deletes the specified DRG. The DRG must not be attached to a VCN or be connected to your on-premise network. Also, there must not be a route table that lists the DRG as a target. This is an asynchronous operation. The DRG's `lifecycleState` will change to TERMINATING temporarily until the DRG is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrg API.

func (VirtualNetworkClient) DeleteDrgAttachment ¶

func (client VirtualNetworkClient) DeleteDrgAttachment(ctx context.Context, request DeleteDrgAttachmentRequest) (response DeleteDrgAttachmentResponse, err error)

DeleteDrgAttachment Detaches a DRG from a network resource by deleting the corresponding `DrgAttachment` resource. This is an asynchronous operation. The attachment's `lifecycleState` will temporarily change to DETACHING until the attachment is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachment API.

func (VirtualNetworkClient) DeleteDrgRouteDistribution ¶

func (client VirtualNetworkClient) DeleteDrgRouteDistribution(ctx context.Context, request DeleteDrgRouteDistributionRequest) (response DeleteDrgRouteDistributionResponse, err error)

DeleteDrgRouteDistribution Deletes the specified route distribution. You can't delete a route distribution currently in use by a DRG attachment or DRG route table. Remove the DRG route distribution from a DRG attachment or DRG route table by using the "RemoveExportDrgRouteDistribution" or "RemoveImportDrgRouteDistribution' operations.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistribution API.

func (VirtualNetworkClient) DeleteDrgRouteTable ¶

func (client VirtualNetworkClient) DeleteDrgRouteTable(ctx context.Context, request DeleteDrgRouteTableRequest) (response DeleteDrgRouteTableResponse, err error)

DeleteDrgRouteTable Deletes the specified DRG route table. There must not be any DRG attachments assigned.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTable API.

func (VirtualNetworkClient) DeleteIPSecConnection ¶

func (client VirtualNetworkClient) DeleteIPSecConnection(ctx context.Context, request DeleteIPSecConnectionRequest) (response DeleteIPSecConnectionResponse, err error)

DeleteIPSecConnection Deletes the specified IPSec connection. If your goal is to disable the Site-to-Site VPN between your VCN and on-premises network, it's easiest to simply detach the DRG but keep all the Site-to-Site VPN components intact. If you were to delete all the components and then later need to create an Site-to-Site VPN again, you would need to configure your on-premises router again with the new information returned from CreateIPSecConnection. This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily until the connection is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnection API. A default retry strategy applies to this operation DeleteIPSecConnection()

func (VirtualNetworkClient) DeleteInternetGateway ¶

func (client VirtualNetworkClient) DeleteInternetGateway(ctx context.Context, request DeleteInternetGatewayRequest) (response DeleteInternetGatewayResponse, err error)

DeleteInternetGateway Deletes the specified internet gateway. The internet gateway does not have to be disabled, but there must not be a route table that lists it as a target. This is an asynchronous operation. The gateway's `lifecycleState` will change to TERMINATING temporarily until the gateway is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGateway API.

func (VirtualNetworkClient) DeleteIpv6 ¶

func (client VirtualNetworkClient) DeleteIpv6(ctx context.Context, request DeleteIpv6Request) (response DeleteIpv6Response, err error)

DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The IPv6 address is returned to the subnet's pool of available addresses.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6 API.

func (VirtualNetworkClient) DeleteLocalPeeringGateway ¶

func (client VirtualNetworkClient) DeleteLocalPeeringGateway(ctx context.Context, request DeleteLocalPeeringGatewayRequest) (response DeleteLocalPeeringGatewayResponse, err error)

DeleteLocalPeeringGateway Deletes the specified local peering gateway (LPG). This is an asynchronous operation; the local peering gateway's `lifecycleState` changes to TERMINATING temporarily until the local peering gateway is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGateway API.

func (VirtualNetworkClient) DeleteNatGateway ¶

func (client VirtualNetworkClient) DeleteNatGateway(ctx context.Context, request DeleteNatGatewayRequest) (response DeleteNatGatewayResponse, err error)

DeleteNatGateway Deletes the specified NAT gateway. The NAT gateway does not have to be disabled, but there must not be a route rule that lists the NAT gateway as a target. This is an asynchronous operation. The NAT gateway's `lifecycleState` will change to TERMINATING temporarily until the NAT gateway is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGateway API.

func (VirtualNetworkClient) DeleteNetworkSecurityGroup ¶

func (client VirtualNetworkClient) DeleteNetworkSecurityGroup(ctx context.Context, request DeleteNetworkSecurityGroupRequest) (response DeleteNetworkSecurityGroupResponse, err error)

DeleteNetworkSecurityGroup Deletes the specified network security group. The group must not contain any VNICs. To get a list of the VNICs in a network security group, use ListNetworkSecurityGroupVnics. Each returned NetworkSecurityGroupVnic object contains both the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC's parent resource (for example, the Compute instance that the VNIC is attached to).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroup API.

func (VirtualNetworkClient) DeletePrivateIp ¶

func (client VirtualNetworkClient) DeletePrivateIp(ctx context.Context, request DeletePrivateIpRequest) (response DeletePrivateIpResponse, err error)

DeletePrivateIp Unassigns and deletes the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The private IP address is returned to the subnet's pool of available addresses. This operation cannot be used with primary private IPs, which are automatically unassigned and deleted when the VNIC is terminated. **Important:** If a secondary private IP is the target of a route rule (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), unassigning it from the VNIC causes that route rule to blackhole and the traffic will be dropped.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIp API.

func (VirtualNetworkClient) DeletePublicIp ¶

func (client VirtualNetworkClient) DeletePublicIp(ctx context.Context, request DeletePublicIpRequest) (response DeletePublicIpResponse, err error)

DeletePublicIp Unassigns and deletes the specified public IP (either ephemeral or reserved). You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the Oracle Cloud Infrastructure public IP pool. **Note:** You cannot update, unassign, or delete the public IP that Oracle automatically assigned to an entity for you (such as a load balancer or NAT gateway). The public IP is automatically deleted if the assigned entity is terminated. For an assigned reserved public IP, the initial unassignment portion of this operation is asynchronous. Poll the public IP's `lifecycleState` to determine if the operation succeeded. If you want to simply unassign a reserved public IP and return it to your pool of reserved public IPs, instead use UpdatePublicIp.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIp API.

func (VirtualNetworkClient) DeletePublicIpPool ¶

func (client VirtualNetworkClient) DeletePublicIpPool(ctx context.Context, request DeletePublicIpPoolRequest) (response DeletePublicIpPoolResponse, err error)

DeletePublicIpPool Deletes the specified public IP pool. To delete a public IP pool it must not have any active IP address allocations. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) when deleting an IP pool.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPool API.

func (VirtualNetworkClient) DeleteRemotePeeringConnection ¶

func (client VirtualNetworkClient) DeleteRemotePeeringConnection(ctx context.Context, request DeleteRemotePeeringConnectionRequest) (response DeleteRemotePeeringConnectionResponse, err error)

DeleteRemotePeeringConnection Deletes the remote peering connection (RPC). This is an asynchronous operation; the RPC's `lifecycleState` changes to TERMINATING temporarily until the RPC is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnection API. A default retry strategy applies to this operation DeleteRemotePeeringConnection()

func (VirtualNetworkClient) DeleteRouteTable ¶

func (client VirtualNetworkClient) DeleteRouteTable(ctx context.Context, request DeleteRouteTableRequest) (response DeleteRouteTableResponse, err error)

DeleteRouteTable Deletes the specified route table, but only if it's not associated with a subnet. You can't delete a VCN's default route table. This is an asynchronous operation. The route table's `lifecycleState` will change to TERMINATING temporarily until the route table is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTable API.

func (VirtualNetworkClient) DeleteSecurityList ¶

func (client VirtualNetworkClient) DeleteSecurityList(ctx context.Context, request DeleteSecurityListRequest) (response DeleteSecurityListResponse, err error)

DeleteSecurityList Deletes the specified security list, but only if it's not associated with a subnet. You can't delete a VCN's default security list. This is an asynchronous operation. The security list's `lifecycleState` will change to TERMINATING temporarily until the security list is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityList API.

func (VirtualNetworkClient) DeleteServiceGateway ¶

func (client VirtualNetworkClient) DeleteServiceGateway(ctx context.Context, request DeleteServiceGatewayRequest) (response DeleteServiceGatewayResponse, err error)

DeleteServiceGateway Deletes the specified service gateway. There must not be a route table that lists the service gateway as a target.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGateway API.

func (VirtualNetworkClient) DeleteSubnet ¶

func (client VirtualNetworkClient) DeleteSubnet(ctx context.Context, request DeleteSubnetRequest) (response DeleteSubnetResponse, err error)

DeleteSubnet Deletes the specified subnet, but only if there are no instances in the subnet. This is an asynchronous operation. The subnet's `lifecycleState` will change to TERMINATING temporarily. If there are any instances in the subnet, the state will instead change back to AVAILABLE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnet API.

func (VirtualNetworkClient) DeleteVcn ¶

func (client VirtualNetworkClient) DeleteVcn(ctx context.Context, request DeleteVcnRequest) (response DeleteVcnResponse, err error)

DeleteVcn Deletes the specified VCN. The VCN must be completely empty and have no attached gateways. This is an asynchronous operation. A deleted VCN's `lifecycleState` changes to TERMINATING and then TERMINATED temporarily until the VCN is completely removed. A completely removed VCN does not appear in the results of a `ListVcns` operation and can't be used in a `GetVcn` operation.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcn API.

func (VirtualNetworkClient) DeleteVirtualCircuit ¶

func (client VirtualNetworkClient) DeleteVirtualCircuit(ctx context.Context, request DeleteVirtualCircuitRequest) (response DeleteVirtualCircuitResponse, err error)

DeleteVirtualCircuit Deletes the specified virtual circuit. **Important:** If you're using FastConnect via a provider, make sure to also terminate the connection with the provider, or else the provider may continue to bill you.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuit API. A default retry strategy applies to this operation DeleteVirtualCircuit()

func (VirtualNetworkClient) DeleteVlan ¶

func (client VirtualNetworkClient) DeleteVlan(ctx context.Context, request DeleteVlanRequest) (response DeleteVlanResponse, err error)

DeleteVlan Deletes the specified VLAN, but only if there are no VNICs in the VLAN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlan API.

func (VirtualNetworkClient) DeleteVtap ¶ added in v65.3.0

func (client VirtualNetworkClient) DeleteVtap(ctx context.Context, request DeleteVtapRequest) (response DeleteVtapResponse, err error)

DeleteVtap Deletes the specified VTAP. This is an asynchronous operation. The VTAP's `lifecycleState` will change to TERMINATING temporarily until the VTAP is completely removed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtap API.

func (VirtualNetworkClient) DetachServiceId ¶

func (client VirtualNetworkClient) DetachServiceId(ctx context.Context, request DetachServiceIdRequest) (response DetachServiceIdResponse, err error)

DetachServiceId Removes the specified Service from the list of enabled `Service` objects for the specified gateway. You do not need to remove any route rules that specify this `Service` object's `cidrBlock` as the destination CIDR. However, consider removing the rules if your intent is to permanently disable use of the `Service` through this service gateway. **Note:** The `DetachServiceId` operation is an easy way to remove an individual `Service` from the service gateway. Compare it with UpdateServiceGateway, which replaces the entire existing list of enabled `Service` objects with the list that you provide in the `Update` call. `UpdateServiceGateway` also lets you block all traffic through the service gateway without having to remove each of the individual `Service` objects.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceId API.

func (VirtualNetworkClient) GetAllDrgAttachments ¶

func (client VirtualNetworkClient) GetAllDrgAttachments(ctx context.Context, request GetAllDrgAttachmentsRequest) (response GetAllDrgAttachmentsResponse, err error)

GetAllDrgAttachments Returns a complete list of DRG attachments that belong to a particular DRG.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachments API.

func (VirtualNetworkClient) GetAllowedIkeIPSecParameters ¶

func (client VirtualNetworkClient) GetAllowedIkeIPSecParameters(ctx context.Context, request GetAllowedIkeIPSecParametersRequest) (response GetAllowedIkeIPSecParametersResponse, err error)

GetAllowedIkeIPSecParameters The parameters allowed for IKE IPSec tunnels.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParameters API. A default retry strategy applies to this operation GetAllowedIkeIPSecParameters()

func (VirtualNetworkClient) GetByoipRange ¶

func (client VirtualNetworkClient) GetByoipRange(ctx context.Context, request GetByoipRangeRequest) (response GetByoipRangeResponse, err error)

GetByoipRange Gets the `ByoipRange` resource. You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRange API.

func (VirtualNetworkClient) GetCaptureFilter ¶ added in v65.3.0

func (client VirtualNetworkClient) GetCaptureFilter(ctx context.Context, request GetCaptureFilterRequest) (response GetCaptureFilterResponse, err error)

GetCaptureFilter Gets information about the specified VTAP capture filter.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilter API.

func (VirtualNetworkClient) GetCpe ¶

func (client VirtualNetworkClient) GetCpe(ctx context.Context, request GetCpeRequest) (response GetCpeResponse, err error)

GetCpe Gets the specified CPE's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpe API. A default retry strategy applies to this operation GetCpe()

func (VirtualNetworkClient) GetCpeDeviceConfigContent ¶

func (client VirtualNetworkClient) GetCpeDeviceConfigContent(ctx context.Context, request GetCpeDeviceConfigContentRequest) (response GetCpeDeviceConfigContentResponse, err error)

GetCpeDeviceConfigContent Renders a set of CPE configuration content that can help a network engineer configure the actual CPE device (for example, a hardware router) represented by the specified Cpe object. The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the Cpe must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content optionally includes answers that the customer provides (see UpdateTunnelCpeDeviceConfig), merged with a template of other information specific to the CPE device type. The operation returns configuration information for *all* of the IPSecConnection objects that use the specified CPE. Here are similar operations:

  • GetIpsecCpeDeviceConfigContent returns CPE configuration content for all IPSec tunnels in a single IPSec connection.
  • GetTunnelCpeDeviceConfigContent returns CPE configuration content for a specific IPSec tunnel in an IPSec connection.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContent API. A default retry strategy applies to this operation GetCpeDeviceConfigContent()

func (VirtualNetworkClient) GetCpeDeviceShape ¶

func (client VirtualNetworkClient) GetCpeDeviceShape(ctx context.Context, request GetCpeDeviceShapeRequest) (response GetCpeDeviceShapeResponse, err error)

GetCpeDeviceShape Gets the detailed information about the specified CPE device type. This might include a set of questions that are specific to the particular CPE device type. The customer must supply answers to those questions (see UpdateTunnelCpeDeviceConfig). The service merges the answers with a template of other information for the CPE device type. The following operations return the merged content:

  • GetCpeDeviceConfigContent
  • GetIpsecCpeDeviceConfigContent
  • GetTunnelCpeDeviceConfigContent

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShape API. A default retry strategy applies to this operation GetCpeDeviceShape()

func (VirtualNetworkClient) GetCrossConnect ¶

func (client VirtualNetworkClient) GetCrossConnect(ctx context.Context, request GetCrossConnectRequest) (response GetCrossConnectResponse, err error)

GetCrossConnect Gets the specified cross-connect's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnect API. A default retry strategy applies to this operation GetCrossConnect()

func (VirtualNetworkClient) GetCrossConnectGroup ¶

func (client VirtualNetworkClient) GetCrossConnectGroup(ctx context.Context, request GetCrossConnectGroupRequest) (response GetCrossConnectGroupResponse, err error)

GetCrossConnectGroup Gets the specified cross-connect group's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroup API. A default retry strategy applies to this operation GetCrossConnectGroup()

func (VirtualNetworkClient) GetCrossConnectLetterOfAuthority ¶

func (client VirtualNetworkClient) GetCrossConnectLetterOfAuthority(ctx context.Context, request GetCrossConnectLetterOfAuthorityRequest) (response GetCrossConnectLetterOfAuthorityResponse, err error)

GetCrossConnectLetterOfAuthority Gets the Letter of Authority for the specified cross-connect.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthority API. A default retry strategy applies to this operation GetCrossConnectLetterOfAuthority()

func (VirtualNetworkClient) GetCrossConnectStatus ¶

func (client VirtualNetworkClient) GetCrossConnectStatus(ctx context.Context, request GetCrossConnectStatusRequest) (response GetCrossConnectStatusResponse, err error)

GetCrossConnectStatus Gets the status of the specified cross-connect.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatus API. A default retry strategy applies to this operation GetCrossConnectStatus()

func (VirtualNetworkClient) GetDhcpOptions ¶

func (client VirtualNetworkClient) GetDhcpOptions(ctx context.Context, request GetDhcpOptionsRequest) (response GetDhcpOptionsResponse, err error)

GetDhcpOptions Gets the specified set of DHCP options.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptions API.

func (VirtualNetworkClient) GetDrg ¶

func (client VirtualNetworkClient) GetDrg(ctx context.Context, request GetDrgRequest) (response GetDrgResponse, err error)

GetDrg Gets the specified DRG's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrg API.

func (VirtualNetworkClient) GetDrgAttachment ¶

func (client VirtualNetworkClient) GetDrgAttachment(ctx context.Context, request GetDrgAttachmentRequest) (response GetDrgAttachmentResponse, err error)

GetDrgAttachment Gets the `DrgAttachment` resource.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachment API.

func (VirtualNetworkClient) GetDrgRedundancyStatus ¶

func (client VirtualNetworkClient) GetDrgRedundancyStatus(ctx context.Context, request GetDrgRedundancyStatusRequest) (response GetDrgRedundancyStatusResponse, err error)

GetDrgRedundancyStatus Gets the redundancy status for the specified DRG. For more information, see Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatus API. A default retry strategy applies to this operation GetDrgRedundancyStatus()

func (VirtualNetworkClient) GetDrgRouteDistribution ¶

func (client VirtualNetworkClient) GetDrgRouteDistribution(ctx context.Context, request GetDrgRouteDistributionRequest) (response GetDrgRouteDistributionResponse, err error)

GetDrgRouteDistribution Gets the specified route distribution's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistribution API.

func (VirtualNetworkClient) GetDrgRouteTable ¶

func (client VirtualNetworkClient) GetDrgRouteTable(ctx context.Context, request GetDrgRouteTableRequest) (response GetDrgRouteTableResponse, err error)

GetDrgRouteTable Gets the specified DRG route table's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTable API.

func (VirtualNetworkClient) GetFastConnectProviderService ¶

func (client VirtualNetworkClient) GetFastConnectProviderService(ctx context.Context, request GetFastConnectProviderServiceRequest) (response GetFastConnectProviderServiceResponse, err error)

GetFastConnectProviderService Gets the specified provider service. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderService API. A default retry strategy applies to this operation GetFastConnectProviderService()

func (VirtualNetworkClient) GetFastConnectProviderServiceKey ¶

func (client VirtualNetworkClient) GetFastConnectProviderServiceKey(ctx context.Context, request GetFastConnectProviderServiceKeyRequest) (response GetFastConnectProviderServiceKeyResponse, err error)

GetFastConnectProviderServiceKey Gets the specified provider service key's information. Use this operation to validate a provider service key. An invalid key returns a 404 error.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKey API. A default retry strategy applies to this operation GetFastConnectProviderServiceKey()

func (VirtualNetworkClient) GetIPSecConnection ¶

func (client VirtualNetworkClient) GetIPSecConnection(ctx context.Context, request GetIPSecConnectionRequest) (response GetIPSecConnectionResponse, err error)

GetIPSecConnection Gets the specified IPSec connection's basic information, including the static routes for the on-premises router. If you want the status of the connection (whether it's up or down), use GetIPSecConnectionTunnel.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnection API. A default retry strategy applies to this operation GetIPSecConnection()

func (VirtualNetworkClient) GetIPSecConnectionDeviceConfig ¶

func (client VirtualNetworkClient) GetIPSecConnectionDeviceConfig(ctx context.Context, request GetIPSecConnectionDeviceConfigRequest) (response GetIPSecConnectionDeviceConfigResponse, err error)

GetIPSecConnectionDeviceConfig Deprecated. To get tunnel information, instead use: * GetIPSecConnectionTunnel * GetIPSecConnectionTunnelSharedSecret

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfig API. A default retry strategy applies to this operation GetIPSecConnectionDeviceConfig()

func (VirtualNetworkClient) GetIPSecConnectionDeviceStatus ¶

func (client VirtualNetworkClient) GetIPSecConnectionDeviceStatus(ctx context.Context, request GetIPSecConnectionDeviceStatusRequest) (response GetIPSecConnectionDeviceStatusResponse, err error)

GetIPSecConnectionDeviceStatus Deprecated. To get the tunnel status, instead use GetIPSecConnectionTunnel.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatus API. A default retry strategy applies to this operation GetIPSecConnectionDeviceStatus()

func (VirtualNetworkClient) GetIPSecConnectionTunnel ¶

func (client VirtualNetworkClient) GetIPSecConnectionTunnel(ctx context.Context, request GetIPSecConnectionTunnelRequest) (response GetIPSecConnectionTunnelResponse, err error)

GetIPSecConnectionTunnel Gets the specified tunnel's information. The resulting object does not include the tunnel's shared secret (pre-shared key). To retrieve that, use GetIPSecConnectionTunnelSharedSecret.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnel API. A default retry strategy applies to this operation GetIPSecConnectionTunnel()

func (VirtualNetworkClient) GetIPSecConnectionTunnelError ¶

func (client VirtualNetworkClient) GetIPSecConnectionTunnelError(ctx context.Context, request GetIPSecConnectionTunnelErrorRequest) (response GetIPSecConnectionTunnelErrorResponse, err error)

GetIPSecConnectionTunnelError Gets the identified error for the specified IPSec tunnel ID.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelError API. A default retry strategy applies to this operation GetIPSecConnectionTunnelError()

func (VirtualNetworkClient) GetIPSecConnectionTunnelSharedSecret ¶

func (client VirtualNetworkClient) GetIPSecConnectionTunnelSharedSecret(ctx context.Context, request GetIPSecConnectionTunnelSharedSecretRequest) (response GetIPSecConnectionTunnelSharedSecretResponse, err error)

GetIPSecConnectionTunnelSharedSecret Gets the specified tunnel's shared secret (pre-shared key). To get other information about the tunnel, use GetIPSecConnectionTunnel.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecret API. A default retry strategy applies to this operation GetIPSecConnectionTunnelSharedSecret()

func (VirtualNetworkClient) GetInternetGateway ¶

func (client VirtualNetworkClient) GetInternetGateway(ctx context.Context, request GetInternetGatewayRequest) (response GetInternetGatewayResponse, err error)

GetInternetGateway Gets the specified internet gateway's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGateway API.

func (VirtualNetworkClient) GetIpsecCpeDeviceConfigContent ¶

func (client VirtualNetworkClient) GetIpsecCpeDeviceConfigContent(ctx context.Context, request GetIpsecCpeDeviceConfigContentRequest) (response GetIpsecCpeDeviceConfigContentResponse, err error)

GetIpsecCpeDeviceConfigContent Renders a set of CPE configuration content for the specified IPSec connection (for all the tunnels in the connection). The content helps a network engineer configure the actual CPE device (for example, a hardware router) that the specified IPSec connection terminates on. The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the Cpe used by the specified IPSecConnection must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content optionally includes answers that the customer provides (see UpdateTunnelCpeDeviceConfig), merged with a template of other information specific to the CPE device type. The operation returns configuration information for all tunnels in the single specified IPSecConnection object. Here are other similar operations:

  • GetTunnelCpeDeviceConfigContent returns CPE configuration content for a specific tunnel within an IPSec connection.
  • GetCpeDeviceConfigContent returns CPE configuration content for *all* IPSec connections that use a specific CPE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContent API. A default retry strategy applies to this operation GetIpsecCpeDeviceConfigContent()

func (VirtualNetworkClient) GetIpv6 ¶

func (client VirtualNetworkClient) GetIpv6(ctx context.Context, request GetIpv6Request) (response GetIpv6Response, err error)

GetIpv6 Gets the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Alternatively, you can get the object by using ListIpv6s with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6 API.

func (VirtualNetworkClient) GetLocalPeeringGateway ¶

func (client VirtualNetworkClient) GetLocalPeeringGateway(ctx context.Context, request GetLocalPeeringGatewayRequest) (response GetLocalPeeringGatewayResponse, err error)

GetLocalPeeringGateway Gets the specified local peering gateway's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGateway API.

func (VirtualNetworkClient) GetNatGateway ¶

func (client VirtualNetworkClient) GetNatGateway(ctx context.Context, request GetNatGatewayRequest) (response GetNatGatewayResponse, err error)

GetNatGateway Gets the specified NAT gateway's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGateway API.

func (VirtualNetworkClient) GetNetworkSecurityGroup ¶

func (client VirtualNetworkClient) GetNetworkSecurityGroup(ctx context.Context, request GetNetworkSecurityGroupRequest) (response GetNetworkSecurityGroupResponse, err error)

GetNetworkSecurityGroup Gets the specified network security group's information. To list the VNICs in an NSG, see ListNetworkSecurityGroupVnics. To list the security rules in an NSG, see ListNetworkSecurityGroupSecurityRules.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroup API.

func (VirtualNetworkClient) GetNetworkingTopology ¶

func (client VirtualNetworkClient) GetNetworkingTopology(ctx context.Context, request GetNetworkingTopologyRequest) (response GetNetworkingTopologyResponse, err error)

GetNetworkingTopology Gets a virtual networking topology for the current region.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopology API.

func (VirtualNetworkClient) GetPrivateIp ¶

func (client VirtualNetworkClient) GetPrivateIp(ctx context.Context, request GetPrivateIpRequest) (response GetPrivateIpResponse, err error)

GetPrivateIp Gets the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Alternatively, you can get the object by using ListPrivateIps with the private IP address (for example, 10.0.3.3) and subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIp API.

func (VirtualNetworkClient) GetPublicIp ¶

func (client VirtualNetworkClient) GetPublicIp(ctx context.Context, request GetPublicIpRequest) (response GetPublicIpResponse, err error)

GetPublicIp Gets the specified public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Alternatively, you can get the object by using GetPublicIpByIpAddress with the public IP address (for example, 203.0.113.2). Or you can use GetPublicIpByPrivateIpId with the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to. **Note:** If you're fetching a reserved public IP that is in the process of being moved to a different private IP, the service returns the public IP object with `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIp API.

func (VirtualNetworkClient) GetPublicIpByIpAddress ¶

func (client VirtualNetworkClient) GetPublicIpByIpAddress(ctx context.Context, request GetPublicIpByIpAddressRequest) (response GetPublicIpByIpAddressResponse, err error)

GetPublicIpByIpAddress Gets the public IP based on the public IP address (for example, 203.0.113.2). **Note:** If you're fetching a reserved public IP that is in the process of being moved to a different private IP, the service returns the public IP object with `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddress API.

func (VirtualNetworkClient) GetPublicIpByPrivateIpId ¶

func (client VirtualNetworkClient) GetPublicIpByPrivateIpId(ctx context.Context, request GetPublicIpByPrivateIpIdRequest) (response GetPublicIpByPrivateIpIdResponse, err error)

GetPublicIpByPrivateIpId Gets the public IP assigned to the specified private IP. You must specify the OCID of the private IP. If no public IP is assigned, a 404 is returned. **Note:** If you're fetching a reserved public IP that is in the process of being moved to a different private IP, and you provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private IP, this operation returns a 404. If you instead provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP, or if you instead call GetPublicIp or GetPublicIpByIpAddress, the service returns the public IP object with `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpId API.

func (VirtualNetworkClient) GetPublicIpPool ¶

func (client VirtualNetworkClient) GetPublicIpPool(ctx context.Context, request GetPublicIpPoolRequest) (response GetPublicIpPoolResponse, err error)

GetPublicIpPool Gets the specified `PublicIpPool` object. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPool API.

func (VirtualNetworkClient) GetRemotePeeringConnection ¶

func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Context, request GetRemotePeeringConnectionRequest) (response GetRemotePeeringConnectionResponse, err error)

GetRemotePeeringConnection Get the specified remote peering connection's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnection API. A default retry strategy applies to this operation GetRemotePeeringConnection()

func (VirtualNetworkClient) GetRouteTable ¶

func (client VirtualNetworkClient) GetRouteTable(ctx context.Context, request GetRouteTableRequest) (response GetRouteTableResponse, err error)

GetRouteTable Gets the specified route table's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTable API.

func (VirtualNetworkClient) GetSecurityList ¶

func (client VirtualNetworkClient) GetSecurityList(ctx context.Context, request GetSecurityListRequest) (response GetSecurityListResponse, err error)

GetSecurityList Gets the specified security list's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityList API.

func (VirtualNetworkClient) GetService ¶

func (client VirtualNetworkClient) GetService(ctx context.Context, request GetServiceRequest) (response GetServiceResponse, err error)

GetService Gets the specified Service object.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetService API.

func (VirtualNetworkClient) GetServiceGateway ¶

func (client VirtualNetworkClient) GetServiceGateway(ctx context.Context, request GetServiceGatewayRequest) (response GetServiceGatewayResponse, err error)

GetServiceGateway Gets the specified service gateway's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGateway API.

func (VirtualNetworkClient) GetSubnet ¶

func (client VirtualNetworkClient) GetSubnet(ctx context.Context, request GetSubnetRequest) (response GetSubnetResponse, err error)

GetSubnet Gets the specified subnet's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnet API.

func (VirtualNetworkClient) GetSubnetTopology ¶

func (client VirtualNetworkClient) GetSubnetTopology(ctx context.Context, request GetSubnetTopologyRequest) (response GetSubnetTopologyResponse, err error)

GetSubnetTopology Gets a topology for a given subnet.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopology API.

func (VirtualNetworkClient) GetTunnelCpeDeviceConfig ¶

func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, request GetTunnelCpeDeviceConfigRequest) (response GetTunnelCpeDeviceConfigResponse, err error)

GetTunnelCpeDeviceConfig Gets the set of CPE configuration answers for the tunnel, which the customer provided in UpdateTunnelCpeDeviceConfig. To get the full set of content for the tunnel (any answers merged with the template of other information specific to the CPE device type), use GetTunnelCpeDeviceConfigContent.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfig API. A default retry strategy applies to this operation GetTunnelCpeDeviceConfig()

func (VirtualNetworkClient) GetTunnelCpeDeviceConfigContent ¶

func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.Context, request GetTunnelCpeDeviceConfigContentRequest) (response GetTunnelCpeDeviceConfigContentResponse, err error)

GetTunnelCpeDeviceConfigContent Renders a set of CPE configuration content for the specified IPSec tunnel. The content helps a network engineer configure the actual CPE device (for example, a hardware router) that the specified IPSec tunnel terminates on. The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the Cpe used by the specified IPSecConnection must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content optionally includes answers that the customer provides (see UpdateTunnelCpeDeviceConfig), merged with a template of other information specific to the CPE device type. The operation returns configuration information for only the specified IPSec tunnel. Here are other similar operations:

  • GetIpsecCpeDeviceConfigContent returns CPE configuration content for all tunnels in a single IPSec connection.
  • GetCpeDeviceConfigContent returns CPE configuration content for *all* IPSec connections that use a specific CPE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContent API. A default retry strategy applies to this operation GetTunnelCpeDeviceConfigContent()

func (VirtualNetworkClient) GetUpgradeStatus ¶

func (client VirtualNetworkClient) GetUpgradeStatus(ctx context.Context, request GetUpgradeStatusRequest) (response GetUpgradeStatusResponse, err error)

GetUpgradeStatus Returns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatus API.

func (VirtualNetworkClient) GetVcn ¶

func (client VirtualNetworkClient) GetVcn(ctx context.Context, request GetVcnRequest) (response GetVcnResponse, err error)

GetVcn Gets the specified VCN's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcn API.

func (VirtualNetworkClient) GetVcnDnsResolverAssociation ¶

func (client VirtualNetworkClient) GetVcnDnsResolverAssociation(ctx context.Context, request GetVcnDnsResolverAssociationRequest) (response GetVcnDnsResolverAssociationResponse, err error)

GetVcnDnsResolverAssociation Get the associated DNS resolver information with a vcn

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociation API.

func (VirtualNetworkClient) GetVcnTopology ¶

func (client VirtualNetworkClient) GetVcnTopology(ctx context.Context, request GetVcnTopologyRequest) (response GetVcnTopologyResponse, err error)

GetVcnTopology Gets a virtual network topology for a given VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopology API.

func (VirtualNetworkClient) GetVirtualCircuit ¶

func (client VirtualNetworkClient) GetVirtualCircuit(ctx context.Context, request GetVirtualCircuitRequest) (response GetVirtualCircuitResponse, err error)

GetVirtualCircuit Gets the specified virtual circuit's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuit API. A default retry strategy applies to this operation GetVirtualCircuit()

func (VirtualNetworkClient) GetVlan ¶

func (client VirtualNetworkClient) GetVlan(ctx context.Context, request GetVlanRequest) (response GetVlanResponse, err error)

GetVlan Gets the specified VLAN's information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlan API.

func (VirtualNetworkClient) GetVnic ¶

func (client VirtualNetworkClient) GetVnic(ctx context.Context, request GetVnicRequest) (response GetVnicResponse, err error)

GetVnic Gets the information for the specified virtual network interface card (VNIC). You can get the VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) from the ListVnicAttachments operation.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnic API.

func (VirtualNetworkClient) GetVtap ¶ added in v65.3.0

func (client VirtualNetworkClient) GetVtap(ctx context.Context, request GetVtapRequest) (response GetVtapResponse, err error)

GetVtap Gets the specified `Vtap` resource.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtap API.

func (VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering ¶

func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx context.Context, request ListAllowedPeerRegionsForRemotePeeringRequest) (response ListAllowedPeerRegionsForRemotePeeringResponse, err error)

ListAllowedPeerRegionsForRemotePeering Lists the regions that support remote VCN peering (which is peering across regions). For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeering API. A default retry strategy applies to this operation ListAllowedPeerRegionsForRemotePeering()

func (VirtualNetworkClient) ListByoipAllocatedRanges ¶

func (client VirtualNetworkClient) ListByoipAllocatedRanges(ctx context.Context, request ListByoipAllocatedRangesRequest) (response ListByoipAllocatedRangesResponse, err error)

ListByoipAllocatedRanges Lists the subranges of a BYOIP CIDR block currently allocated to an IP pool. Each `ByoipAllocatedRange` object also lists the IP pool where it is allocated.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRanges API.

func (VirtualNetworkClient) ListByoipRanges ¶

func (client VirtualNetworkClient) ListByoipRanges(ctx context.Context, request ListByoipRangesRequest) (response ListByoipRangesResponse, err error)

ListByoipRanges Lists the `ByoipRange` resources in the specified compartment. You can filter the list using query parameters.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRanges API.

func (VirtualNetworkClient) ListCaptureFilters ¶ added in v65.3.0

func (client VirtualNetworkClient) ListCaptureFilters(ctx context.Context, request ListCaptureFiltersRequest) (response ListCaptureFiltersResponse, err error)

ListCaptureFilters Lists the capture filters in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFilters API.

func (VirtualNetworkClient) ListCpeDeviceShapes ¶

func (client VirtualNetworkClient) ListCpeDeviceShapes(ctx context.Context, request ListCpeDeviceShapesRequest) (response ListCpeDeviceShapesResponse, err error)

ListCpeDeviceShapes Lists the CPE device types that the Networking service provides CPE configuration content for (example: Cisco ASA). The content helps a network engineer configure the actual CPE device represented by a Cpe object. If you want to generate CPE configuration content for one of the returned CPE device types, ensure that the Cpe object's `cpeDeviceShapeId` attribute is set to the CPE device type's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (returned by this operation). For information about generating CPE configuration content, see these operations:

  • GetCpeDeviceConfigContent
  • GetIpsecCpeDeviceConfigContent
  • GetTunnelCpeDeviceConfigContent

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapes API. A default retry strategy applies to this operation ListCpeDeviceShapes()

func (VirtualNetworkClient) ListCpes ¶

func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpesRequest) (response ListCpesResponse, err error)

ListCpes Lists the customer-premises equipment objects (CPEs) in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpes API. A default retry strategy applies to this operation ListCpes()

func (VirtualNetworkClient) ListCrossConnectGroups ¶

func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, request ListCrossConnectGroupsRequest) (response ListCrossConnectGroupsResponse, err error)

ListCrossConnectGroups Lists the cross-connect groups in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroups API. A default retry strategy applies to this operation ListCrossConnectGroups()

func (VirtualNetworkClient) ListCrossConnectLocations ¶

func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context, request ListCrossConnectLocationsRequest) (response ListCrossConnectLocationsResponse, err error)

ListCrossConnectLocations Lists the available FastConnect locations for cross-connect installation. You need this information so you can specify your desired location when you create a cross-connect.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocations API. A default retry strategy applies to this operation ListCrossConnectLocations()

func (VirtualNetworkClient) ListCrossConnectMappings ¶

func (client VirtualNetworkClient) ListCrossConnectMappings(ctx context.Context, request ListCrossConnectMappingsRequest) (response ListCrossConnectMappingsResponse, err error)

ListCrossConnectMappings Lists the Cross Connect mapping Details for the specified virtual circuit.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappings API. A default retry strategy applies to this operation ListCrossConnectMappings()

func (VirtualNetworkClient) ListCrossConnects ¶

func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, request ListCrossConnectsRequest) (response ListCrossConnectsResponse, err error)

ListCrossConnects Lists the cross-connects in the specified compartment. You can filter the list by specifying the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a cross-connect group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnects API. A default retry strategy applies to this operation ListCrossConnects()

func (VirtualNetworkClient) ListCrossconnectPortSpeedShapes ¶

func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.Context, request ListCrossconnectPortSpeedShapesRequest) (response ListCrossconnectPortSpeedShapesResponse, err error)

ListCrossconnectPortSpeedShapes Lists the available port speeds for cross-connects. You need this information so you can specify your desired port speed (that is, shape) when you create a cross-connect.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapes API. A default retry strategy applies to this operation ListCrossconnectPortSpeedShapes()

func (VirtualNetworkClient) ListDhcpOptions ¶

func (client VirtualNetworkClient) ListDhcpOptions(ctx context.Context, request ListDhcpOptionsRequest) (response ListDhcpOptionsResponse, err error)

ListDhcpOptions Lists the sets of DHCP options in the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the sets of DHCP options from all VCNs in the specified compartment. The response includes the default set of options that automatically comes with each VCN, plus any other sets you've created.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptions API.

func (VirtualNetworkClient) ListDrgAttachments ¶

func (client VirtualNetworkClient) ListDrgAttachments(ctx context.Context, request ListDrgAttachmentsRequest) (response ListDrgAttachmentsResponse, err error)

ListDrgAttachments Lists the `DrgAttachment` resource for the specified compartment. You can filter the results by DRG, attached network, attachment type, DRG route table or VCN route table. The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments, but you may request to list ALL attachments of ALL types.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachments API.

func (VirtualNetworkClient) ListDrgRouteDistributionStatements ¶

func (client VirtualNetworkClient) ListDrgRouteDistributionStatements(ctx context.Context, request ListDrgRouteDistributionStatementsRequest) (response ListDrgRouteDistributionStatementsResponse, err error)

ListDrgRouteDistributionStatements Lists the statements for the specified route distribution.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatements API.

func (VirtualNetworkClient) ListDrgRouteDistributions ¶

func (client VirtualNetworkClient) ListDrgRouteDistributions(ctx context.Context, request ListDrgRouteDistributionsRequest) (response ListDrgRouteDistributionsResponse, err error)

ListDrgRouteDistributions Lists the route distributions in the specified DRG. To retrieve the statements in a distribution, use the ListDrgRouteDistributionStatements operation.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributions API.

func (VirtualNetworkClient) ListDrgRouteRules ¶

func (client VirtualNetworkClient) ListDrgRouteRules(ctx context.Context, request ListDrgRouteRulesRequest) (response ListDrgRouteRulesResponse, err error)

ListDrgRouteRules Lists the route rules in the specified DRG route table.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRules API.

func (VirtualNetworkClient) ListDrgRouteTables ¶

func (client VirtualNetworkClient) ListDrgRouteTables(ctx context.Context, request ListDrgRouteTablesRequest) (response ListDrgRouteTablesResponse, err error)

ListDrgRouteTables Lists the DRG route tables for the specified DRG. Use the `ListDrgRouteRules` operation to retrieve the route rules in a table.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTables API.

func (VirtualNetworkClient) ListDrgs ¶

func (client VirtualNetworkClient) ListDrgs(ctx context.Context, request ListDrgsRequest) (response ListDrgsResponse, err error)

ListDrgs Lists the DRGs in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgs API.

func (VirtualNetworkClient) ListFastConnectProviderServices ¶

func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.Context, request ListFastConnectProviderServicesRequest) (response ListFastConnectProviderServicesResponse, err error)

ListFastConnectProviderServices Lists the service offerings from supported providers. You need this information so you can specify your desired provider and service offering when you create a virtual circuit. For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServices API. A default retry strategy applies to this operation ListFastConnectProviderServices()

func (VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidthShapes ¶

ListFastConnectProviderVirtualCircuitBandwidthShapes Gets the list of available virtual circuit bandwidth levels for a provider. You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit. For more information about virtual circuits, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapes API. A default retry strategy applies to this operation ListFastConnectProviderVirtualCircuitBandwidthShapes()

func (VirtualNetworkClient) ListIPSecConnectionTunnelRoutes ¶

func (client VirtualNetworkClient) ListIPSecConnectionTunnelRoutes(ctx context.Context, request ListIPSecConnectionTunnelRoutesRequest) (response ListIPSecConnectionTunnelRoutesResponse, err error)

ListIPSecConnectionTunnelRoutes The routes advertised to the on-premises network and the routes received from the on-premises network.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutes API. A default retry strategy applies to this operation ListIPSecConnectionTunnelRoutes()

func (VirtualNetworkClient) ListIPSecConnectionTunnelSecurityAssociations ¶

func (client VirtualNetworkClient) ListIPSecConnectionTunnelSecurityAssociations(ctx context.Context, request ListIPSecConnectionTunnelSecurityAssociationsRequest) (response ListIPSecConnectionTunnelSecurityAssociationsResponse, err error)

ListIPSecConnectionTunnelSecurityAssociations Lists the tunnel security associations information for the specified IPSec tunnel ID.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociations API. A default retry strategy applies to this operation ListIPSecConnectionTunnelSecurityAssociations()

func (VirtualNetworkClient) ListIPSecConnectionTunnels ¶

func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Context, request ListIPSecConnectionTunnelsRequest) (response ListIPSecConnectionTunnelsResponse, err error)

ListIPSecConnectionTunnels Lists the tunnel information for the specified IPSec connection.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnels API. A default retry strategy applies to this operation ListIPSecConnectionTunnels()

func (VirtualNetworkClient) ListIPSecConnections ¶

func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, request ListIPSecConnectionsRequest) (response ListIPSecConnectionsResponse, err error)

ListIPSecConnections Lists the IPSec connections for the specified compartment. You can filter the results by DRG or CPE.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnections API. A default retry strategy applies to this operation ListIPSecConnections()

func (VirtualNetworkClient) ListInternetGateways ¶

func (client VirtualNetworkClient) ListInternetGateways(ctx context.Context, request ListInternetGatewaysRequest) (response ListInternetGatewaysResponse, err error)

ListInternetGateways Lists the internet gateways in the specified VCN and the specified compartment. If the VCN ID is not provided, then the list includes the internet gateways from all VCNs in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGateways API.

func (VirtualNetworkClient) ListIpv6s ¶

func (client VirtualNetworkClient) ListIpv6s(ctx context.Context, request ListIpv6sRequest) (response ListIpv6sResponse, err error)

ListIpv6s Lists the Ipv6 objects based on one of these filters:

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6s API.

func (VirtualNetworkClient) ListLocalPeeringGateways ¶

func (client VirtualNetworkClient) ListLocalPeeringGateways(ctx context.Context, request ListLocalPeeringGatewaysRequest) (response ListLocalPeeringGatewaysResponse, err error)

ListLocalPeeringGateways Lists the local peering gateways (LPGs) for the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the LPGs from all VCNs in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGateways API.

func (VirtualNetworkClient) ListNatGateways ¶

func (client VirtualNetworkClient) ListNatGateways(ctx context.Context, request ListNatGatewaysRequest) (response ListNatGatewaysResponse, err error)

ListNatGateways Lists the NAT gateways in the specified compartment. You may optionally specify a VCN OCID to filter the results by VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGateways API.

func (VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules ¶

func (client VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules(ctx context.Context, request ListNetworkSecurityGroupSecurityRulesRequest) (response ListNetworkSecurityGroupSecurityRulesResponse, err error)

ListNetworkSecurityGroupSecurityRules Lists the security rules in the specified network security group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRules API.

func (VirtualNetworkClient) ListNetworkSecurityGroupVnics ¶

func (client VirtualNetworkClient) ListNetworkSecurityGroupVnics(ctx context.Context, request ListNetworkSecurityGroupVnicsRequest) (response ListNetworkSecurityGroupVnicsResponse, err error)

ListNetworkSecurityGroupVnics Lists the VNICs in the specified network security group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnics API.

func (VirtualNetworkClient) ListNetworkSecurityGroups ¶

func (client VirtualNetworkClient) ListNetworkSecurityGroups(ctx context.Context, request ListNetworkSecurityGroupsRequest) (response ListNetworkSecurityGroupsResponse, err error)

ListNetworkSecurityGroups Lists either the network security groups in the specified compartment, or those associated with the specified VLAN. You must specify either a `vlanId` or a `compartmentId`, but not both. If you specify a `vlanId`, all other parameters are ignored.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroups API.

func (VirtualNetworkClient) ListPrivateIps ¶

func (client VirtualNetworkClient) ListPrivateIps(ctx context.Context, request ListPrivateIpsRequest) (response ListPrivateIpsResponse, err error)

ListPrivateIps Lists the PrivateIp objects based on one of these filters:

If you're listing all the private IPs associated with a given subnet or VNIC, the response includes both primary and secondary private IPs. If you are an Oracle Cloud VMware Solution customer and have VLANs in your VCN, you can filter the list by VLAN OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). See Vlan.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIps API.

func (VirtualNetworkClient) ListPublicIpPools ¶

func (client VirtualNetworkClient) ListPublicIpPools(ctx context.Context, request ListPublicIpPoolsRequest) (response ListPublicIpPoolsResponse, err error)

ListPublicIpPools Lists the public IP pools in the specified compartment. You can filter the list using query parameters.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPools API.

func (VirtualNetworkClient) ListPublicIps ¶

func (client VirtualNetworkClient) ListPublicIps(ctx context.Context, request ListPublicIpsRequest) (response ListPublicIpsResponse, err error)

ListPublicIps Lists the PublicIp objects in the specified compartment. You can filter the list by using query parameters. To list your reserved public IPs:

  • Set `scope` = `REGION` (required)
  • Leave the `availabilityDomain` parameter empty
  • Set `lifetime` = `RESERVED`

To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway:

  • Set `scope` = `REGION` (required)
  • Leave the `availabilityDomain` parameter empty
  • Set `lifetime` = `EPHEMERAL`

To list the ephemeral public IPs assigned to private IPs:

  • Set `scope` = `AVAILABILITY_DOMAIN` (required)
  • Set the `availabilityDomain` parameter to the desired availability domain (required)
  • Set `lifetime` = `EPHEMERAL`

**Note:** An ephemeral public IP assigned to a private IP is always in the same availability domain and compartment as the private IP.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIps API.

func (VirtualNetworkClient) ListRemotePeeringConnections ¶

func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Context, request ListRemotePeeringConnectionsRequest) (response ListRemotePeeringConnectionsResponse, err error)

ListRemotePeeringConnections Lists the remote peering connections (RPCs) for the specified DRG and compartment (the RPC's compartment).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnections API. A default retry strategy applies to this operation ListRemotePeeringConnections()

func (VirtualNetworkClient) ListRouteTables ¶

func (client VirtualNetworkClient) ListRouteTables(ctx context.Context, request ListRouteTablesRequest) (response ListRouteTablesResponse, err error)

ListRouteTables Lists the route tables in the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the route tables from all VCNs in the specified compartment. The response includes the default route table that automatically comes with each VCN in the specified compartment, plus any route tables you've created.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTables API.

func (VirtualNetworkClient) ListSecurityLists ¶

func (client VirtualNetworkClient) ListSecurityLists(ctx context.Context, request ListSecurityListsRequest) (response ListSecurityListsResponse, err error)

ListSecurityLists Lists the security lists in the specified VCN and compartment. If the VCN ID is not provided, then the list includes the security lists from all VCNs in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityLists API.

func (VirtualNetworkClient) ListServiceGateways ¶

func (client VirtualNetworkClient) ListServiceGateways(ctx context.Context, request ListServiceGatewaysRequest) (response ListServiceGatewaysResponse, err error)

ListServiceGateways Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID to filter the results by VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGateways API.

func (VirtualNetworkClient) ListServices ¶

func (client VirtualNetworkClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error)

ListServices Lists the available Service objects that you can enable for a service gateway in this region.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServices API.

func (VirtualNetworkClient) ListSubnets ¶

func (client VirtualNetworkClient) ListSubnets(ctx context.Context, request ListSubnetsRequest) (response ListSubnetsResponse, err error)

ListSubnets Lists the subnets in the specified VCN and the specified compartment. If the VCN ID is not provided, then the list includes the subnets from all VCNs in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnets API.

func (VirtualNetworkClient) ListVcns ¶

func (client VirtualNetworkClient) ListVcns(ctx context.Context, request ListVcnsRequest) (response ListVcnsResponse, err error)

ListVcns Lists the virtual cloud networks (VCNs) in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcns API.

func (VirtualNetworkClient) ListVirtualCircuitAssociatedTunnels ¶ added in v65.48.0

func (client VirtualNetworkClient) ListVirtualCircuitAssociatedTunnels(ctx context.Context, request ListVirtualCircuitAssociatedTunnelsRequest) (response ListVirtualCircuitAssociatedTunnelsResponse, err error)

ListVirtualCircuitAssociatedTunnels Gets the specified virtual circuit's associatedTunnelsInfo.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnels API. A default retry strategy applies to this operation ListVirtualCircuitAssociatedTunnels()

func (VirtualNetworkClient) ListVirtualCircuitBandwidthShapes ¶

func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context.Context, request ListVirtualCircuitBandwidthShapesRequest) (response ListVirtualCircuitBandwidthShapesResponse, err error)

ListVirtualCircuitBandwidthShapes The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapes API. A default retry strategy applies to this operation ListVirtualCircuitBandwidthShapes()

func (VirtualNetworkClient) ListVirtualCircuitPublicPrefixes ¶

func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context.Context, request ListVirtualCircuitPublicPrefixesRequest) (response ListVirtualCircuitPublicPrefixesResponse, err error)

ListVirtualCircuitPublicPrefixes Lists the public IP prefixes and their details for the specified public virtual circuit.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixes API. A default retry strategy applies to this operation ListVirtualCircuitPublicPrefixes()

func (VirtualNetworkClient) ListVirtualCircuits ¶

func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, request ListVirtualCircuitsRequest) (response ListVirtualCircuitsResponse, err error)

ListVirtualCircuits Lists the virtual circuits in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuits API. A default retry strategy applies to this operation ListVirtualCircuits()

func (VirtualNetworkClient) ListVlans ¶

func (client VirtualNetworkClient) ListVlans(ctx context.Context, request ListVlansRequest) (response ListVlansResponse, err error)

ListVlans Lists the VLANs in the specified VCN and the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlans API.

func (VirtualNetworkClient) ListVtaps ¶ added in v65.3.0

func (client VirtualNetworkClient) ListVtaps(ctx context.Context, request ListVtapsRequest) (response ListVtapsResponse, err error)

ListVtaps Lists the virtual test access points (VTAPs) in the specified compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtaps API.

func (VirtualNetworkClient) ModifyVcnCidr ¶

func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request ModifyVcnCidrRequest) (response ModifyVcnCidrResponse, err error)

ModifyVcnCidr Updates the specified CIDR block of a VCN. The new CIDR IP range must meet the following criteria: - Must be valid. - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. - Must not exceed the limit of CIDR blocks allowed per VCN. - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. - No IP address in an existing subnet should be outside of the new CIDR block range. **Note:** Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the `GetWorkRequest` operation to check the status of the update.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidr API.

func (VirtualNetworkClient) RemoveDrgRouteDistributionStatements ¶

func (client VirtualNetworkClient) RemoveDrgRouteDistributionStatements(ctx context.Context, request RemoveDrgRouteDistributionStatementsRequest) (response RemoveDrgRouteDistributionStatementsResponse, err error)

RemoveDrgRouteDistributionStatements Removes one or more route distribution statements from the specified route distribution's map.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatements API.

func (VirtualNetworkClient) RemoveDrgRouteRules ¶

func (client VirtualNetworkClient) RemoveDrgRouteRules(ctx context.Context, request RemoveDrgRouteRulesRequest) (response RemoveDrgRouteRulesResponse, err error)

RemoveDrgRouteRules Removes one or more route rules from the specified DRG route table.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRules API.

func (VirtualNetworkClient) RemoveExportDrgRouteDistribution ¶

func (client VirtualNetworkClient) RemoveExportDrgRouteDistribution(ctx context.Context, request RemoveExportDrgRouteDistributionRequest) (response RemoveExportDrgRouteDistributionResponse, err error)

RemoveExportDrgRouteDistribution Removes the export route distribution from the DRG attachment so no routes are advertised to it.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistribution API.

func (VirtualNetworkClient) RemoveImportDrgRouteDistribution ¶

func (client VirtualNetworkClient) RemoveImportDrgRouteDistribution(ctx context.Context, request RemoveImportDrgRouteDistributionRequest) (response RemoveImportDrgRouteDistributionResponse, err error)

RemoveImportDrgRouteDistribution Removes the import route distribution from the DRG route table so no routes are imported into it.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistribution API.

func (VirtualNetworkClient) RemoveIpv6SubnetCidr ¶ added in v65.1.0

func (client VirtualNetworkClient) RemoveIpv6SubnetCidr(ctx context.Context, request RemoveIpv6SubnetCidrRequest) (response RemoveIpv6SubnetCidrResponse, err error)

RemoveIpv6SubnetCidr Remove an IPv6 prefix from a subnet. At least one IPv6 CIDR should remain.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidr API.

func (VirtualNetworkClient) RemoveIpv6VcnCidr ¶ added in v65.1.0

func (client VirtualNetworkClient) RemoveIpv6VcnCidr(ctx context.Context, request RemoveIpv6VcnCidrRequest) (response RemoveIpv6VcnCidrResponse, err error)

RemoveIpv6VcnCidr Removing an existing IPv6 prefix from a VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidr API.

func (VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules ¶

func (client VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules(ctx context.Context, request RemoveNetworkSecurityGroupSecurityRulesRequest) (response RemoveNetworkSecurityGroupSecurityRulesResponse, err error)

RemoveNetworkSecurityGroupSecurityRules Removes one or more security rules from the specified network security group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRules API.

func (VirtualNetworkClient) RemovePublicIpPoolCapacity ¶

func (client VirtualNetworkClient) RemovePublicIpPoolCapacity(ctx context.Context, request RemovePublicIpPoolCapacityRequest) (response RemovePublicIpPoolCapacityResponse, err error)

RemovePublicIpPoolCapacity Removes a CIDR block from the referenced public IP pool.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacity API.

func (VirtualNetworkClient) RemoveVcnCidr ¶

func (client VirtualNetworkClient) RemoveVcnCidr(ctx context.Context, request RemoveVcnCidrRequest) (response RemoveVcnCidrResponse, err error)

RemoveVcnCidr Removes a specified CIDR block from a VCN. **Notes:** - You cannot remove a CIDR block if an IP address in its range is in use. - Removing a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidr API.

func (*VirtualNetworkClient) SetRegion ¶

func (client *VirtualNetworkClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (VirtualNetworkClient) UpdateByoipRange ¶

func (client VirtualNetworkClient) UpdateByoipRange(ctx context.Context, request UpdateByoipRangeRequest) (response UpdateByoipRangeResponse, err error)

UpdateByoipRange Updates the tags or display name associated to the specified BYOIP CIDR block.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRange API.

func (VirtualNetworkClient) UpdateCaptureFilter ¶ added in v65.3.0

func (client VirtualNetworkClient) UpdateCaptureFilter(ctx context.Context, request UpdateCaptureFilterRequest) (response UpdateCaptureFilterResponse, err error)

UpdateCaptureFilter Updates the specified VTAP capture filter's display name or tags.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilter API.

func (VirtualNetworkClient) UpdateCpe ¶

func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request UpdateCpeRequest) (response UpdateCpeResponse, err error)

UpdateCpe Updates the specified CPE's display name or tags. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpe API. A default retry strategy applies to this operation UpdateCpe()

func (VirtualNetworkClient) UpdateCrossConnect ¶

func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, request UpdateCrossConnectRequest) (response UpdateCrossConnectResponse, err error)

UpdateCrossConnect Updates the specified cross-connect.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnect API. A default retry strategy applies to this operation UpdateCrossConnect()

func (VirtualNetworkClient) UpdateCrossConnectGroup ¶

func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, request UpdateCrossConnectGroupRequest) (response UpdateCrossConnectGroupResponse, err error)

UpdateCrossConnectGroup Updates the specified cross-connect group's display name. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroup API. A default retry strategy applies to this operation UpdateCrossConnectGroup()

func (VirtualNetworkClient) UpdateDhcpOptions ¶

func (client VirtualNetworkClient) UpdateDhcpOptions(ctx context.Context, request UpdateDhcpOptionsRequest) (response UpdateDhcpOptionsResponse, err error)

UpdateDhcpOptions Updates the specified set of DHCP options. You can update the display name or the options themselves. Avoid entering confidential information. Note that the `options` object you provide replaces the entire existing set of options.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptions API.

func (VirtualNetworkClient) UpdateDrg ¶

func (client VirtualNetworkClient) UpdateDrg(ctx context.Context, request UpdateDrgRequest) (response UpdateDrgResponse, err error)

UpdateDrg Updates the specified DRG's display name or tags. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrg API.

func (VirtualNetworkClient) UpdateDrgAttachment ¶

func (client VirtualNetworkClient) UpdateDrgAttachment(ctx context.Context, request UpdateDrgAttachmentRequest) (response UpdateDrgAttachmentResponse, err error)

UpdateDrgAttachment Updates the display name and routing information for the specified `DrgAttachment`. Avoid entering confidential information.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachment API.

func (VirtualNetworkClient) UpdateDrgRouteDistribution ¶

func (client VirtualNetworkClient) UpdateDrgRouteDistribution(ctx context.Context, request UpdateDrgRouteDistributionRequest) (response UpdateDrgRouteDistributionResponse, err error)

UpdateDrgRouteDistribution Updates the specified route distribution

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistribution API.

func (VirtualNetworkClient) UpdateDrgRouteDistributionStatements ¶

func (client VirtualNetworkClient) UpdateDrgRouteDistributionStatements(ctx context.Context, request UpdateDrgRouteDistributionStatementsRequest) (response UpdateDrgRouteDistributionStatementsResponse, err error)

UpdateDrgRouteDistributionStatements Updates one or more route distribution statements in the specified route distribution.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatements API.

func (VirtualNetworkClient) UpdateDrgRouteRules ¶

func (client VirtualNetworkClient) UpdateDrgRouteRules(ctx context.Context, request UpdateDrgRouteRulesRequest) (response UpdateDrgRouteRulesResponse, err error)

UpdateDrgRouteRules Updates one or more route rules in the specified DRG route table.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRules API.

func (VirtualNetworkClient) UpdateDrgRouteTable ¶

func (client VirtualNetworkClient) UpdateDrgRouteTable(ctx context.Context, request UpdateDrgRouteTableRequest) (response UpdateDrgRouteTableResponse, err error)

UpdateDrgRouteTable Updates the specified DRG route table.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTable API.

func (VirtualNetworkClient) UpdateIPSecConnection ¶

func (client VirtualNetworkClient) UpdateIPSecConnection(ctx context.Context, request UpdateIPSecConnectionRequest) (response UpdateIPSecConnectionResponse, err error)

UpdateIPSecConnection Updates the specified IPSec connection. To update an individual IPSec tunnel's attributes, use UpdateIPSecConnectionTunnel.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnection API. A default retry strategy applies to this operation UpdateIPSecConnection()

func (VirtualNetworkClient) UpdateIPSecConnectionTunnel ¶

func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Context, request UpdateIPSecConnectionTunnelRequest) (response UpdateIPSecConnectionTunnelResponse, err error)

UpdateIPSecConnectionTunnel Updates the specified tunnel. This operation lets you change tunnel attributes such as the routing type (BGP dynamic routing or static routing). Here are some important notes:

  • If you change the tunnel's routing type or BGP session configuration, the tunnel will go down while it's reprovisioned.
  • If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's BGP session configuration attributes have been set (BgpSessionInfo).
  • If you want to switch the tunnel's `routing` from `BGP` to `STATIC`, make sure the IPSecConnection already has at least one valid CIDR static route.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnel API. A default retry strategy applies to this operation UpdateIPSecConnectionTunnel()

func (VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret ¶

func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx context.Context, request UpdateIPSecConnectionTunnelSharedSecretRequest) (response UpdateIPSecConnectionTunnelSharedSecretResponse, err error)

UpdateIPSecConnectionTunnelSharedSecret Updates the shared secret (pre-shared key) for the specified tunnel. **Important:** If you change the shared secret, the tunnel will go down while it's reprovisioned.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecret API. A default retry strategy applies to this operation UpdateIPSecConnectionTunnelSharedSecret()

func (VirtualNetworkClient) UpdateInternetGateway ¶

func (client VirtualNetworkClient) UpdateInternetGateway(ctx context.Context, request UpdateInternetGatewayRequest) (response UpdateInternetGatewayResponse, err error)

UpdateInternetGateway Updates the specified internet gateway. You can disable/enable it, or change its display name or tags. Avoid entering confidential information. If the gateway is disabled, that means no traffic will flow to/from the internet even if there's a route rule that enables that traffic.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGateway API.

func (VirtualNetworkClient) UpdateIpv6 ¶

func (client VirtualNetworkClient) UpdateIpv6(ctx context.Context, request UpdateIpv6Request) (response UpdateIpv6Response, err error)

UpdateIpv6 Updates the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to:

  • Move an IPv6 to a different VNIC in the same subnet.
  • Enable/disable internet access for an IPv6.
  • Change the display name for an IPv6.
  • Update resource tags for an IPv6.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6 API.

func (VirtualNetworkClient) UpdateLocalPeeringGateway ¶

func (client VirtualNetworkClient) UpdateLocalPeeringGateway(ctx context.Context, request UpdateLocalPeeringGatewayRequest) (response UpdateLocalPeeringGatewayResponse, err error)

UpdateLocalPeeringGateway Updates the specified local peering gateway (LPG).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGateway API.

func (VirtualNetworkClient) UpdateNatGateway ¶

func (client VirtualNetworkClient) UpdateNatGateway(ctx context.Context, request UpdateNatGatewayRequest) (response UpdateNatGatewayResponse, err error)

UpdateNatGateway Updates the specified NAT gateway.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGateway API.

func (VirtualNetworkClient) UpdateNetworkSecurityGroup ¶

func (client VirtualNetworkClient) UpdateNetworkSecurityGroup(ctx context.Context, request UpdateNetworkSecurityGroupRequest) (response UpdateNetworkSecurityGroupResponse, err error)

UpdateNetworkSecurityGroup Updates the specified network security group. To add or remove an existing VNIC from the group, use UpdateVnic. To add a VNIC to the group *when you create the VNIC*, specify the NSG's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) during creation. For example, see the `nsgIds` attribute in CreateVnicDetails. To add or remove security rules from the group, use AddNetworkSecurityGroupSecurityRules or RemoveNetworkSecurityGroupSecurityRules. To edit the contents of existing security rules in the group, use UpdateNetworkSecurityGroupSecurityRules.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroup API.

func (VirtualNetworkClient) UpdateNetworkSecurityGroupSecurityRules ¶

func (client VirtualNetworkClient) UpdateNetworkSecurityGroupSecurityRules(ctx context.Context, request UpdateNetworkSecurityGroupSecurityRulesRequest) (response UpdateNetworkSecurityGroupSecurityRulesResponse, err error)

UpdateNetworkSecurityGroupSecurityRules Updates one or more security rules in the specified network security group.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRules API.

func (VirtualNetworkClient) UpdatePrivateIp ¶

func (client VirtualNetworkClient) UpdatePrivateIp(ctx context.Context, request UpdatePrivateIpRequest) (response UpdatePrivateIpResponse, err error)

UpdatePrivateIp Updates the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to:

  • Move a secondary private IP to a different VNIC in the same subnet.
  • Change the display name for a secondary private IP.
  • Change the hostname for a secondary private IP.

This operation cannot be used with primary private IPs. To update the hostname for the primary IP on a VNIC, use UpdateVnic.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIp API.

func (VirtualNetworkClient) UpdatePublicIp ¶

func (client VirtualNetworkClient) UpdatePublicIp(ctx context.Context, request UpdatePublicIpRequest) (response UpdatePublicIpResponse, err error)

UpdatePublicIp Updates the specified public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to: * Assign a reserved public IP in your pool to a private IP. * Move a reserved public IP to a different private IP. * Unassign a reserved public IP from a private IP (which returns it to your pool of reserved public IPs). * Change the display name or tags for a public IP. Assigning, moving, and unassigning a reserved public IP are asynchronous operations. Poll the public IP's `lifecycleState` to determine if the operation succeeded. **Note:** When moving a reserved public IP, the target private IP must not already have a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned. Also, the initial unassignment from the original private IP always succeeds, but the assignment to the target private IP is asynchronous and could fail silently (for example, if the target private IP is deleted or has a different public IP assigned to it in the interim). If that occurs, the public IP remains unassigned and its `lifecycleState` switches to AVAILABLE (it is not reassigned to its original private IP). You must poll the public IP's `lifecycleState` to determine if the move succeeded. Regarding ephemeral public IPs: * If you want to assign an ephemeral public IP to a primary private IP, use CreatePublicIp. * You can't move an ephemeral public IP to a different private IP. * If you want to unassign an ephemeral public IP from its private IP, use DeletePublicIp, which unassigns and deletes the ephemeral public IP. **Note:** If a public IP is assigned to a secondary private IP (see PrivateIp), and you move that secondary private IP to another VNIC, the public IP moves with it. **Note:** There's a limit to the number of PublicIp a VNIC or instance can have. If you try to move a reserved public IP to a VNIC or instance that has already reached its public IP limit, an error is returned. For information about the public IP limits, see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIp API.

func (VirtualNetworkClient) UpdatePublicIpPool ¶

func (client VirtualNetworkClient) UpdatePublicIpPool(ctx context.Context, request UpdatePublicIpPoolRequest) (response UpdatePublicIpPoolResponse, err error)

UpdatePublicIpPool Updates the specified public IP pool.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPool API.

func (VirtualNetworkClient) UpdateRemotePeeringConnection ¶

func (client VirtualNetworkClient) UpdateRemotePeeringConnection(ctx context.Context, request UpdateRemotePeeringConnectionRequest) (response UpdateRemotePeeringConnectionResponse, err error)

UpdateRemotePeeringConnection Updates the specified remote peering connection (RPC).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnection API. A default retry strategy applies to this operation UpdateRemotePeeringConnection()

func (VirtualNetworkClient) UpdateRouteTable ¶

func (client VirtualNetworkClient) UpdateRouteTable(ctx context.Context, request UpdateRouteTableRequest) (response UpdateRouteTableResponse, err error)

UpdateRouteTable Updates the specified route table's display name or route rules. Avoid entering confidential information. Note that the `routeRules` object you provide replaces the entire existing set of rules.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTable API.

func (VirtualNetworkClient) UpdateSecurityList ¶

func (client VirtualNetworkClient) UpdateSecurityList(ctx context.Context, request UpdateSecurityListRequest) (response UpdateSecurityListResponse, err error)

UpdateSecurityList Updates the specified security list's display name or rules. Avoid entering confidential information. Note that the `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire existing objects.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityList API.

func (VirtualNetworkClient) UpdateServiceGateway ¶

func (client VirtualNetworkClient) UpdateServiceGateway(ctx context.Context, request UpdateServiceGatewayRequest) (response UpdateServiceGatewayResponse, err error)

UpdateServiceGateway Updates the specified service gateway. The information you provide overwrites the existing attributes of the gateway.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGateway API.

func (VirtualNetworkClient) UpdateSubnet ¶

func (client VirtualNetworkClient) UpdateSubnet(ctx context.Context, request UpdateSubnetRequest) (response UpdateSubnetResponse, err error)

UpdateSubnet Updates the specified subnet.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnet API.

func (VirtualNetworkClient) UpdateTunnelCpeDeviceConfig ¶

func (client VirtualNetworkClient) UpdateTunnelCpeDeviceConfig(ctx context.Context, request UpdateTunnelCpeDeviceConfigRequest) (response UpdateTunnelCpeDeviceConfigResponse, err error)

UpdateTunnelCpeDeviceConfig Creates or updates the set of CPE configuration answers for the specified tunnel. The answers correlate to the questions that are specific to the CPE device type (see the `parameters` attribute of CpeDeviceShapeDetail).

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfig API. A default retry strategy applies to this operation UpdateTunnelCpeDeviceConfig()

func (VirtualNetworkClient) UpdateVcn ¶

func (client VirtualNetworkClient) UpdateVcn(ctx context.Context, request UpdateVcnRequest) (response UpdateVcnResponse, err error)

UpdateVcn Updates the specified VCN.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcn API.

func (VirtualNetworkClient) UpdateVirtualCircuit ¶

func (client VirtualNetworkClient) UpdateVirtualCircuit(ctx context.Context, request UpdateVirtualCircuitRequest) (response UpdateVirtualCircuitResponse, err error)

UpdateVirtualCircuit Updates the specified virtual circuit. This can be called by either the customer who owns the virtual circuit, or the provider (when provisioning or de-provisioning the virtual circuit from their end). The documentation for UpdateVirtualCircuitDetails indicates who can update each property of the virtual circuit. **Important:** If the virtual circuit is working and in the PROVISIONED state, updating any of the network-related properties (such as the DRG being used, the BGP ASN, and so on) will cause the virtual circuit's state to switch to PROVISIONING and the related BGP session to go down. After Oracle re-provisions the virtual circuit, its state will return to PROVISIONED. Make sure you confirm that the associated BGP session is back up. For more information about the various states and how to test connectivity, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). To change the list of public IP prefixes for a public virtual circuit, use BulkAddVirtualCircuitPublicPrefixes and BulkDeleteVirtualCircuitPublicPrefixes. Updating the list of prefixes does NOT cause the BGP session to go down. However, Oracle must verify the customer's ownership of each added prefix before traffic for that prefix will flow across the virtual circuit.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuit API. A default retry strategy applies to this operation UpdateVirtualCircuit()

func (VirtualNetworkClient) UpdateVlan ¶

func (client VirtualNetworkClient) UpdateVlan(ctx context.Context, request UpdateVlanRequest) (response UpdateVlanResponse, err error)

UpdateVlan Updates the specified VLAN. Note that this operation might require changes to all the VNICs in the VLAN, which can take a while. The VLAN will be in the UPDATING state until the changes are complete.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlan API.

func (VirtualNetworkClient) UpdateVnic ¶

func (client VirtualNetworkClient) UpdateVnic(ctx context.Context, request UpdateVnicRequest) (response UpdateVnicResponse, err error)

UpdateVnic Updates the specified VNIC.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnic API.

func (VirtualNetworkClient) UpdateVtap ¶ added in v65.3.0

func (client VirtualNetworkClient) UpdateVtap(ctx context.Context, request UpdateVtapRequest) (response UpdateVtapResponse, err error)

UpdateVtap Updates the specified VTAP's display name or tags.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtap API.

func (VirtualNetworkClient) UpgradeDrg ¶

func (client VirtualNetworkClient) UpgradeDrg(ctx context.Context, request UpgradeDrgRequest) (response UpgradeDrgResponse, err error)

UpgradeDrg Upgrades the DRG. After upgrade, you can control routing inside your DRG via DRG attachments, route distributions, and DRG route tables.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrg API.

func (VirtualNetworkClient) ValidateByoipRange ¶

func (client VirtualNetworkClient) ValidateByoipRange(ctx context.Context, request ValidateByoipRangeRequest) (response ValidateByoipRangeResponse, err error)

ValidateByoipRange Submits the BYOIP CIDR block you are importing for validation. Do not submit to Oracle for validation if you have not already modified the information for the BYOIP CIDR block with your Regional Internet Registry. See To import a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRange API.

func (VirtualNetworkClient) WithdrawByoipRange ¶

func (client VirtualNetworkClient) WithdrawByoipRange(ctx context.Context, request WithdrawByoipRangeRequest) (response WithdrawByoipRangeResponse, err error)

WithdrawByoipRange Withdraws BGP route advertisement for the BYOIP CIDR block.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRange API.

type Vlan ¶

type Vlan struct {

	// The range of IPv4 addresses that will be used for layer 3 communication with
	// hosts outside the VLAN.
	// Example: `192.168.1.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VLAN.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The VLAN's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The VLAN's current state.
	LifecycleState VlanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the VLAN is in.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The VLAN's availability domain. This attribute will be null if this is a regional VLAN
	// rather than an AD-specific VLAN.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// A list of the OCIDs of the network security groups (NSGs) to use with this VLAN.
	// All VNICs in the VLAN belong to these NSGs. For more
	// information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The IEEE 802.1Q VLAN tag of this VLAN.
	// Example: `100`
	VlanTag *int `mandatory:"false" json:"vlanTag"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the VLAN uses.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The date and time the VLAN was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

Vlan A resource to be used only with the Oracle Cloud VMware Solution. Conceptually, a virtual LAN (VLAN) is a broadcast domain that is created by partitioning and isolating a network at the data link layer (a *layer 2 network*). VLANs work by using IEEE 802.1Q VLAN tags. Layer 2 traffic is forwarded within the VLAN based on MAC learning. In the Networking service, a VLAN is an object within a VCN. You use VLANs to partition the VCN at the data link layer (layer 2). A VLAN is analagous to a subnet, which is an object for partitioning the VCN at the IP layer (layer 3).

func (Vlan) String ¶

func (m Vlan) String() string

func (Vlan) ValidateEnumValue ¶

func (m Vlan) 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 VlanLifecycleStateEnum ¶

type VlanLifecycleStateEnum string

VlanLifecycleStateEnum Enum with underlying type: string

const (
	VlanLifecycleStateProvisioning VlanLifecycleStateEnum = "PROVISIONING"
	VlanLifecycleStateAvailable    VlanLifecycleStateEnum = "AVAILABLE"
	VlanLifecycleStateTerminating  VlanLifecycleStateEnum = "TERMINATING"
	VlanLifecycleStateTerminated   VlanLifecycleStateEnum = "TERMINATED"
	VlanLifecycleStateUpdating     VlanLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for VlanLifecycleStateEnum

func GetMappingVlanLifecycleStateEnum ¶

func GetMappingVlanLifecycleStateEnum(val string) (VlanLifecycleStateEnum, bool)

GetMappingVlanLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVlanLifecycleStateEnumValues ¶

func GetVlanLifecycleStateEnumValues() []VlanLifecycleStateEnum

GetVlanLifecycleStateEnumValues Enumerates the set of values for VlanLifecycleStateEnum

type Vnic ¶

type Vnic struct {

	// The VNIC's availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VNIC.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the VNIC.
	LifecycleState VnicLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the VNIC was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname
	// portion of the primary private IP's fully qualified domain name (FQDN)
	// (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `bminstance1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// Whether the VNIC is the primary VNIC (the VNIC that is automatically created
	// and attached during instance launch).
	IsPrimary *bool `mandatory:"false" json:"isPrimary"`

	// The MAC address of the VNIC.
	// If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution,
	// the MAC address is learned. If the VNIC belongs to a subnet, the
	// MAC address is a static, Oracle-provided value.
	// Example: `00:00:00:00:00:01`
	MacAddress *string `mandatory:"false" json:"macAddress"`

	// A list of the OCIDs of the network security groups that the VNIC belongs to.
	// If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of
	// belonging to a subnet), the value of the `nsgIds` attribute is ignored. Instead, the
	// VNIC belongs to the NSGs that are associated with the VLAN itself. See Vlan.
	// For more information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of
	// belonging to a subnet), the `vlanId` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN the VNIC is in. See
	// Vlan. If the VNIC is instead in a subnet, `subnetId` has a value.
	VlanId *string `mandatory:"false" json:"vlanId"`

	// The private IP address of the primary `privateIp` object on the VNIC.
	// The address is within the CIDR of the VNIC's subnet.
	// Example: `10.0.3.3`
	PrivateIp *string `mandatory:"false" json:"privateIp"`

	// The public IP address of the VNIC, if one is assigned.
	PublicIp *string `mandatory:"false" json:"publicIp"`

	// Whether the source/destination check is disabled on the VNIC.
	// Defaults to `false`, which means the check is performed. For information
	// about why you would skip the source/destination check, see
	// Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).
	//
	// If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of
	// belonging to a subnet), the `skipSourceDestCheck` attribute is `true`.
	// This is because the source/destination check is always disabled for VNICs in a VLAN.
	// Example: `true`
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// List of IPv6 addresses assigned to the VNIC.
	// Example: `2001:DB8::`
	Ipv6Addresses []string `mandatory:"false" json:"ipv6Addresses"`
}

Vnic A virtual network interface card. Each VNIC resides in a subnet in a VCN. An instance attaches to a VNIC to obtain a network connection into the VCN through that subnet. Each instance has a *primary VNIC* that is automatically created and attached during launch. You can add *secondary VNICs* to an instance after it's launched. For more information, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). Each VNIC has a *primary private IP* that is automatically assigned during launch. You can add *secondary private IPs* to a VNIC after it's created. For more information, see CreatePrivateIp and IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm).

If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs that reside in a VLAN instead of a subnet. These VNICs have other differences, which are called out in the descriptions of the relevant attributes in the `Vnic` object. Also see Vlan. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Vnic) String ¶

func (m Vnic) String() string

func (Vnic) ValidateEnumValue ¶

func (m Vnic) 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 VnicAttachment ¶

type VnicAttachment struct {

	// The availability domain of the instance.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment the VNIC attachment is in, which is the same
	// compartment the instance is in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the VNIC attachment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the instance.
	InstanceId *string `mandatory:"true" json:"instanceId"`

	// The current state of the VNIC attachment.
	LifecycleState VnicAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the VNIC attachment was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Which physical network interface card (NIC) the VNIC uses.
	// Certain bare metal instance shapes have two active physical NICs (0 and 1). If
	// you add a secondary VNIC to one of these instances, you can specify which NIC
	// the VNIC will use. For more information, see
	// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).
	NicIndex *int `mandatory:"false" json:"nicIndex"`

	// The OCID of the subnet to create the VNIC in.
	SubnetId *string `mandatory:"false" json:"subnetId"`

	// The OCID of the VLAN to create the VNIC in. Creating the VNIC in a VLAN (instead
	// of a subnet) is possible only if you are an Oracle Cloud VMware Solution customer.
	// See Vlan.
	// An error is returned if the instance already has a VNIC attached to it from this VLAN.
	VlanId *string `mandatory:"false" json:"vlanId"`

	// The Oracle-assigned VLAN tag of the attached VNIC. Available after the
	// attachment process is complete.
	// However, if the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution,
	// the `vlanTag` value is instead the value of the `vlanTag` attribute for the VLAN.
	// See Vlan.
	// Example: `0`
	VlanTag *int `mandatory:"false" json:"vlanTag"`

	// The OCID of the VNIC. Available after the attachment process is complete.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

VnicAttachment Represents an attachment between a VNIC and an instance. For more information, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (VnicAttachment) String ¶

func (m VnicAttachment) String() string

func (VnicAttachment) ValidateEnumValue ¶

func (m VnicAttachment) 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 VnicAttachmentLifecycleStateEnum ¶

type VnicAttachmentLifecycleStateEnum string

VnicAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	VnicAttachmentLifecycleStateAttaching VnicAttachmentLifecycleStateEnum = "ATTACHING"
	VnicAttachmentLifecycleStateAttached  VnicAttachmentLifecycleStateEnum = "ATTACHED"
	VnicAttachmentLifecycleStateDetaching VnicAttachmentLifecycleStateEnum = "DETACHING"
	VnicAttachmentLifecycleStateDetached  VnicAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for VnicAttachmentLifecycleStateEnum

func GetMappingVnicAttachmentLifecycleStateEnum ¶

func GetMappingVnicAttachmentLifecycleStateEnum(val string) (VnicAttachmentLifecycleStateEnum, bool)

GetMappingVnicAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVnicAttachmentLifecycleStateEnumValues ¶

func GetVnicAttachmentLifecycleStateEnumValues() []VnicAttachmentLifecycleStateEnum

GetVnicAttachmentLifecycleStateEnumValues Enumerates the set of values for VnicAttachmentLifecycleStateEnum

type VnicLifecycleStateEnum ¶

type VnicLifecycleStateEnum string

VnicLifecycleStateEnum Enum with underlying type: string

const (
	VnicLifecycleStateProvisioning VnicLifecycleStateEnum = "PROVISIONING"
	VnicLifecycleStateAvailable    VnicLifecycleStateEnum = "AVAILABLE"
	VnicLifecycleStateTerminating  VnicLifecycleStateEnum = "TERMINATING"
	VnicLifecycleStateTerminated   VnicLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VnicLifecycleStateEnum

func GetMappingVnicLifecycleStateEnum ¶

func GetMappingVnicLifecycleStateEnum(val string) (VnicLifecycleStateEnum, bool)

GetMappingVnicLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVnicLifecycleStateEnumValues ¶

func GetVnicLifecycleStateEnumValues() []VnicLifecycleStateEnum

GetVnicLifecycleStateEnumValues Enumerates the set of values for VnicLifecycleStateEnum

type Volume ¶

type Volume struct {

	// The availability domain of the volume.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the volume.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the volume.
	Id *string `mandatory:"true" json:"id"`

	// The current state of a volume.
	LifecycleState VolumeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The size of the volume in MBs. This field is deprecated. Use
	// sizeInGBs instead.
	SizeInMBs *int64 `mandatory:"true" json:"sizeInMBs"`

	// The date and time the volume was created. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// System tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Specifies whether the cloned volume's data has finished copying from the source volume or backup.
	IsHydrated *bool `mandatory:"false" json:"isHydrated"`

	// The OCID of the Vault service key which is the master encryption key for the volume.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The number of volume performance units (VPUs) that will be applied to this volume per GB,
	// representing the Block Volume service's elastic performance options.
	// See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
	// Allowed values:
	//   * `0`: Represents Lower Cost option.
	//   * `10`: Represents Balanced option.
	//   * `20`: Represents Higher Performance option.
	//   * `30`-`120`: Represents the Ultra High Performance option.
	// For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB.
	VpusPerGB *int64 `mandatory:"false" json:"vpusPerGB"`

	// The clusterPlacementGroup Id of the volume for volume placement.
	ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"`

	// The size of the volume in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	SourceDetails VolumeSourceDetails `mandatory:"false" json:"sourceDetails"`

	// The OCID of the source volume group.
	VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`

	// Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated.
	// Use the `DetachedVolumeAutotunePolicy` instead to enable the volume for detached autotune.
	IsAutoTuneEnabled *bool `mandatory:"false" json:"isAutoTuneEnabled"`

	// The number of Volume Performance Units per GB that this volume is effectively tuned to.
	AutoTunedVpusPerGB *int64 `mandatory:"false" json:"autoTunedVpusPerGB"`

	// The list of block volume replicas of this volume.
	BlockVolumeReplicas []BlockVolumeReplicaInfo `mandatory:"false" json:"blockVolumeReplicas"`

	// The list of autotune policies enabled for this volume.
	AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"`
}

Volume A detachable block volume device that allows you to dynamically expand the storage capacity of an instance. For more information, see Overview of Cloud Volume Storage (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (Volume) String ¶

func (m Volume) String() string

func (*Volume) UnmarshalJSON ¶

func (m *Volume) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (Volume) ValidateEnumValue ¶

func (m Volume) 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 VolumeAttachment ¶

type VolumeAttachment interface {

	// The availability domain of an instance.
	// Example: `Uocm:PHX-AD-1`
	GetAvailabilityDomain() *string

	// The OCID of the compartment.
	GetCompartmentId() *string

	// The OCID of the volume attachment.
	GetId() *string

	// The OCID of the instance the volume is attached to.
	GetInstanceId() *string

	// The current state of the volume attachment.
	GetLifecycleState() VolumeAttachmentLifecycleStateEnum

	// The date and time the volume was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	// The OCID of the volume.
	GetVolumeId() *string

	// The device name.
	GetDevice() *string

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// Whether the attachment was created in read-only mode.
	GetIsReadOnly() *bool

	// Whether the attachment should be created in shareable mode. If an attachment
	// is created in shareable mode, then other instances can attach the same volume, provided
	// that they also create their attachments in shareable mode. Only certain volume types can
	// be attached in shareable mode. Defaults to false if not specified.
	GetIsShareable() *bool

	// Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not.
	GetIsPvEncryptionInTransitEnabled() *bool

	// Whether the Iscsi or Paravirtualized attachment is multipath or not, it is not applicable to NVMe attachment.
	GetIsMultipath() *bool

	// The iscsi login state of the volume attachment. For a Iscsi volume attachment,
	// all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
	GetIscsiLoginState() VolumeAttachmentIscsiLoginStateEnum

	// Flag indicating if this volume was created for the customer as part of a simplified launch.
	// Used to determine whether the volume requires deletion on instance termination.
	GetIsVolumeCreatedDuringLaunch() *bool
}

VolumeAttachment A base object for all types of attachments between a storage volume and an instance. For specific details about iSCSI attachments, see IScsiVolumeAttachment. For general information about volume attachments, see Overview of Block Volume Storage (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type VolumeAttachmentIscsiLoginStateEnum ¶

type VolumeAttachmentIscsiLoginStateEnum string

VolumeAttachmentIscsiLoginStateEnum Enum with underlying type: string

const (
	VolumeAttachmentIscsiLoginStateUnknown         VolumeAttachmentIscsiLoginStateEnum = "UNKNOWN"
	VolumeAttachmentIscsiLoginStateLoggingIn       VolumeAttachmentIscsiLoginStateEnum = "LOGGING_IN"
	VolumeAttachmentIscsiLoginStateLoginSucceeded  VolumeAttachmentIscsiLoginStateEnum = "LOGIN_SUCCEEDED"
	VolumeAttachmentIscsiLoginStateLoginFailed     VolumeAttachmentIscsiLoginStateEnum = "LOGIN_FAILED"
	VolumeAttachmentIscsiLoginStateLoggingOut      VolumeAttachmentIscsiLoginStateEnum = "LOGGING_OUT"
	VolumeAttachmentIscsiLoginStateLogoutSucceeded VolumeAttachmentIscsiLoginStateEnum = "LOGOUT_SUCCEEDED"
	VolumeAttachmentIscsiLoginStateLogoutFailed    VolumeAttachmentIscsiLoginStateEnum = "LOGOUT_FAILED"
)

Set of constants representing the allowable values for VolumeAttachmentIscsiLoginStateEnum

func GetMappingVolumeAttachmentIscsiLoginStateEnum ¶

func GetMappingVolumeAttachmentIscsiLoginStateEnum(val string) (VolumeAttachmentIscsiLoginStateEnum, bool)

GetMappingVolumeAttachmentIscsiLoginStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeAttachmentIscsiLoginStateEnumValues ¶

func GetVolumeAttachmentIscsiLoginStateEnumValues() []VolumeAttachmentIscsiLoginStateEnum

GetVolumeAttachmentIscsiLoginStateEnumValues Enumerates the set of values for VolumeAttachmentIscsiLoginStateEnum

type VolumeAttachmentLifecycleStateEnum ¶

type VolumeAttachmentLifecycleStateEnum string

VolumeAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	VolumeAttachmentLifecycleStateAttaching VolumeAttachmentLifecycleStateEnum = "ATTACHING"
	VolumeAttachmentLifecycleStateAttached  VolumeAttachmentLifecycleStateEnum = "ATTACHED"
	VolumeAttachmentLifecycleStateDetaching VolumeAttachmentLifecycleStateEnum = "DETACHING"
	VolumeAttachmentLifecycleStateDetached  VolumeAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for VolumeAttachmentLifecycleStateEnum

func GetMappingVolumeAttachmentLifecycleStateEnum ¶

func GetMappingVolumeAttachmentLifecycleStateEnum(val string) (VolumeAttachmentLifecycleStateEnum, bool)

GetMappingVolumeAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeAttachmentLifecycleStateEnumValues ¶

func GetVolumeAttachmentLifecycleStateEnumValues() []VolumeAttachmentLifecycleStateEnum

GetVolumeAttachmentLifecycleStateEnumValues Enumerates the set of values for VolumeAttachmentLifecycleStateEnum

type VolumeBackup ¶

type VolumeBackup struct {

	// The OCID of the compartment that contains the volume backup.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the volume backup.
	Id *string `mandatory:"true" json:"id"`

	// The current state of a volume backup.
	LifecycleState VolumeBackupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the volume backup was created. This is the time the actual point-in-time image
	// of the volume data was taken. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The type of a volume backup.
	Type VolumeBackupTypeEnum `mandatory:"true" json:"type"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	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: `{"foo-namespace": {"bar-key": "value"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The date and time the volume backup will expire and be automatically deleted.
	// Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). This parameter will always be present for backups that
	// were created automatically by a scheduled-backup policy. For manually created backups,
	// it will be absent, signifying that there is no expiration time and the backup will
	// last forever until manually deleted.
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The OCID of the Vault service key which is the master encryption key for the volume backup.
	// For more information about the Vault service and encryption keys, see
	// Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and
	// Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

	// The size of the volume, in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// The size of the volume in MBs. The value must be a multiple of 1024.
	// This field is deprecated. Please use sizeInGBs.
	SizeInMBs *int64 `mandatory:"false" json:"sizeInMBs"`

	// Specifies whether the backup was created manually, or via scheduled backup policy.
	SourceType VolumeBackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	// The OCID of the source volume backup.
	SourceVolumeBackupId *string `mandatory:"false" json:"sourceVolumeBackupId"`

	// The date and time the request to create the volume backup was received. Format defined by [RFC3339]https://tools.ietf.org/html/rfc3339.
	TimeRequestReceived *common.SDKTime `mandatory:"false" json:"timeRequestReceived"`

	// The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space
	// consumed on the volume and whether the backup is full or incremental.
	UniqueSizeInGBs *int64 `mandatory:"false" json:"uniqueSizeInGBs"`

	// The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space
	// consumed on the volume and whether the backup is full or incremental.
	// This field is deprecated. Please use uniqueSizeInGBs.
	UniqueSizeInMbs *int64 `mandatory:"false" json:"uniqueSizeInMbs"`

	// The OCID of the volume.
	VolumeId *string `mandatory:"false" json:"volumeId"`
}

VolumeBackup A point-in-time copy of a volume that can then be used to create a new block volume or recover a block volume. For more information, see Overview of Cloud Volume Storage (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (VolumeBackup) String ¶

func (m VolumeBackup) String() string

func (VolumeBackup) ValidateEnumValue ¶

func (m VolumeBackup) 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 VolumeBackupLifecycleStateEnum ¶

type VolumeBackupLifecycleStateEnum string

VolumeBackupLifecycleStateEnum Enum with underlying type: string

const (
	VolumeBackupLifecycleStateCreating        VolumeBackupLifecycleStateEnum = "CREATING"
	VolumeBackupLifecycleStateAvailable       VolumeBackupLifecycleStateEnum = "AVAILABLE"
	VolumeBackupLifecycleStateTerminating     VolumeBackupLifecycleStateEnum = "TERMINATING"
	VolumeBackupLifecycleStateTerminated      VolumeBackupLifecycleStateEnum = "TERMINATED"
	VolumeBackupLifecycleStateFaulty          VolumeBackupLifecycleStateEnum = "FAULTY"
	VolumeBackupLifecycleStateRequestReceived VolumeBackupLifecycleStateEnum = "REQUEST_RECEIVED"
)

Set of constants representing the allowable values for VolumeBackupLifecycleStateEnum

func GetMappingVolumeBackupLifecycleStateEnum ¶

func GetMappingVolumeBackupLifecycleStateEnum(val string) (VolumeBackupLifecycleStateEnum, bool)

GetMappingVolumeBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupLifecycleStateEnumValues ¶

func GetVolumeBackupLifecycleStateEnumValues() []VolumeBackupLifecycleStateEnum

GetVolumeBackupLifecycleStateEnumValues Enumerates the set of values for VolumeBackupLifecycleStateEnum

type VolumeBackupPolicy ¶

type VolumeBackupPolicy struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the volume backup policy.
	Id *string `mandatory:"true" json:"id"`

	// The collection of schedules that this policy will apply.
	Schedules []VolumeBackupSchedule `mandatory:"true" json:"schedules"`

	// The date and time the volume backup policy was created. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The paired destination region for copying scheduled backups to. Example `us-ashburn-1`.
	// See Region Pairs (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions.
	DestinationRegion *string `mandatory:"false" json:"destinationRegion"`

	// The OCID of the compartment that contains the volume backup.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

VolumeBackupPolicy A policy for automatically creating volume backups according to a recurring schedule. Has a set of one or more schedules that control when and how backups are created. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (VolumeBackupPolicy) String ¶

func (m VolumeBackupPolicy) String() string

func (VolumeBackupPolicy) ValidateEnumValue ¶

func (m VolumeBackupPolicy) 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 VolumeBackupPolicyAssignment ¶

type VolumeBackupPolicyAssignment struct {

	// The OCID of the volume the policy has been assigned to.
	AssetId *string `mandatory:"true" json:"assetId"`

	// The OCID of the volume backup policy assignment.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the volume backup policy that has been assigned to the volume.
	PolicyId *string `mandatory:"true" json:"policyId"`

	// The date and time the volume backup policy was assigned to the volume. The format is
	// defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

VolumeBackupPolicyAssignment Specifies the volume that the volume backup policy is assigned to. For more information about Oracle defined backup policies and custom backup policies, see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).

func (VolumeBackupPolicyAssignment) String ¶

func (VolumeBackupPolicyAssignment) ValidateEnumValue ¶

func (m VolumeBackupPolicyAssignment) 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 VolumeBackupSchedule ¶

type VolumeBackupSchedule struct {

	// The type of volume backup to create.
	BackupType VolumeBackupScheduleBackupTypeEnum `mandatory:"true" json:"backupType"`

	// The volume backup frequency.
	Period VolumeBackupSchedulePeriodEnum `mandatory:"true" json:"period"`

	// How long, in seconds, to keep the volume backups created by this schedule.
	RetentionSeconds *int `mandatory:"true" json:"retentionSeconds"`

	// The number of seconds that the volume backup start
	// time should be shifted from the default interval boundaries specified by
	// the period. The volume backup start time is the frequency start time plus the offset.
	OffsetSeconds *int `mandatory:"false" json:"offsetSeconds"`

	// Indicates how the offset is defined. If value is `STRUCTURED`,
	// then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used
	// and `offsetSeconds` will be ignored in requests and users should ignore its
	// value from the responses.
	// `hourOfDay` is applicable for periods `ONE_DAY`,
	// `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`.
	// `dayOfWeek` is applicable for period
	// `ONE_WEEK`.
	// `dayOfMonth` is applicable for periods `ONE_MONTH` and `ONE_YEAR`.
	// 'month' is applicable for period 'ONE_YEAR'.
	// They will be ignored in the requests for inapplicable periods.
	// If value is `NUMERIC_SECONDS`, then `offsetSeconds`
	// will be used for both requests and responses and the structured fields will be
	// ignored in the requests and users should ignore their values from the responses.
	// For clients using older versions of Apis and not sending `offsetType` in their
	// requests, the behaviour is just like `NUMERIC_SECONDS`.
	OffsetType VolumeBackupScheduleOffsetTypeEnum `mandatory:"false" json:"offsetType,omitempty"`

	// The hour of the day to schedule the volume backup.
	HourOfDay *int `mandatory:"false" json:"hourOfDay"`

	// The day of the week to schedule the volume backup.
	DayOfWeek VolumeBackupScheduleDayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"`

	// The day of the month to schedule the volume backup.
	DayOfMonth *int `mandatory:"false" json:"dayOfMonth"`

	// The month of the year to schedule the volume backup.
	Month VolumeBackupScheduleMonthEnum `mandatory:"false" json:"month,omitempty"`

	// Specifies what time zone is the schedule in
	TimeZone VolumeBackupScheduleTimeZoneEnum `mandatory:"false" json:"timeZone,omitempty"`
}

VolumeBackupSchedule Defines the backup frequency and retention period for a volume backup policy. For more information, see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).

func (VolumeBackupSchedule) String ¶

func (m VolumeBackupSchedule) String() string

func (VolumeBackupSchedule) ValidateEnumValue ¶

func (m VolumeBackupSchedule) 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 VolumeBackupScheduleBackupTypeEnum ¶

type VolumeBackupScheduleBackupTypeEnum string

VolumeBackupScheduleBackupTypeEnum Enum with underlying type: string

const (
	VolumeBackupScheduleBackupTypeFull        VolumeBackupScheduleBackupTypeEnum = "FULL"
	VolumeBackupScheduleBackupTypeIncremental VolumeBackupScheduleBackupTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for VolumeBackupScheduleBackupTypeEnum

func GetMappingVolumeBackupScheduleBackupTypeEnum ¶

func GetMappingVolumeBackupScheduleBackupTypeEnum(val string) (VolumeBackupScheduleBackupTypeEnum, bool)

GetMappingVolumeBackupScheduleBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupScheduleBackupTypeEnumValues ¶

func GetVolumeBackupScheduleBackupTypeEnumValues() []VolumeBackupScheduleBackupTypeEnum

GetVolumeBackupScheduleBackupTypeEnumValues Enumerates the set of values for VolumeBackupScheduleBackupTypeEnum

type VolumeBackupScheduleDayOfWeekEnum ¶

type VolumeBackupScheduleDayOfWeekEnum string

VolumeBackupScheduleDayOfWeekEnum Enum with underlying type: string

const (
	VolumeBackupScheduleDayOfWeekMonday    VolumeBackupScheduleDayOfWeekEnum = "MONDAY"
	VolumeBackupScheduleDayOfWeekTuesday   VolumeBackupScheduleDayOfWeekEnum = "TUESDAY"
	VolumeBackupScheduleDayOfWeekWednesday VolumeBackupScheduleDayOfWeekEnum = "WEDNESDAY"
	VolumeBackupScheduleDayOfWeekThursday  VolumeBackupScheduleDayOfWeekEnum = "THURSDAY"
	VolumeBackupScheduleDayOfWeekFriday    VolumeBackupScheduleDayOfWeekEnum = "FRIDAY"
	VolumeBackupScheduleDayOfWeekSaturday  VolumeBackupScheduleDayOfWeekEnum = "SATURDAY"
	VolumeBackupScheduleDayOfWeekSunday    VolumeBackupScheduleDayOfWeekEnum = "SUNDAY"
)

Set of constants representing the allowable values for VolumeBackupScheduleDayOfWeekEnum

func GetMappingVolumeBackupScheduleDayOfWeekEnum ¶

func GetMappingVolumeBackupScheduleDayOfWeekEnum(val string) (VolumeBackupScheduleDayOfWeekEnum, bool)

GetMappingVolumeBackupScheduleDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupScheduleDayOfWeekEnumValues ¶

func GetVolumeBackupScheduleDayOfWeekEnumValues() []VolumeBackupScheduleDayOfWeekEnum

GetVolumeBackupScheduleDayOfWeekEnumValues Enumerates the set of values for VolumeBackupScheduleDayOfWeekEnum

type VolumeBackupScheduleMonthEnum ¶

type VolumeBackupScheduleMonthEnum string

VolumeBackupScheduleMonthEnum Enum with underlying type: string

const (
	VolumeBackupScheduleMonthJanuary   VolumeBackupScheduleMonthEnum = "JANUARY"
	VolumeBackupScheduleMonthFebruary  VolumeBackupScheduleMonthEnum = "FEBRUARY"
	VolumeBackupScheduleMonthMarch     VolumeBackupScheduleMonthEnum = "MARCH"
	VolumeBackupScheduleMonthApril     VolumeBackupScheduleMonthEnum = "APRIL"
	VolumeBackupScheduleMonthMay       VolumeBackupScheduleMonthEnum = "MAY"
	VolumeBackupScheduleMonthJune      VolumeBackupScheduleMonthEnum = "JUNE"
	VolumeBackupScheduleMonthJuly      VolumeBackupScheduleMonthEnum = "JULY"
	VolumeBackupScheduleMonthAugust    VolumeBackupScheduleMonthEnum = "AUGUST"
	VolumeBackupScheduleMonthSeptember VolumeBackupScheduleMonthEnum = "SEPTEMBER"
	VolumeBackupScheduleMonthOctober   VolumeBackupScheduleMonthEnum = "OCTOBER"
	VolumeBackupScheduleMonthNovember  VolumeBackupScheduleMonthEnum = "NOVEMBER"
	VolumeBackupScheduleMonthDecember  VolumeBackupScheduleMonthEnum = "DECEMBER"
)

Set of constants representing the allowable values for VolumeBackupScheduleMonthEnum

func GetMappingVolumeBackupScheduleMonthEnum ¶

func GetMappingVolumeBackupScheduleMonthEnum(val string) (VolumeBackupScheduleMonthEnum, bool)

GetMappingVolumeBackupScheduleMonthEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupScheduleMonthEnumValues ¶

func GetVolumeBackupScheduleMonthEnumValues() []VolumeBackupScheduleMonthEnum

GetVolumeBackupScheduleMonthEnumValues Enumerates the set of values for VolumeBackupScheduleMonthEnum

type VolumeBackupScheduleOffsetTypeEnum ¶

type VolumeBackupScheduleOffsetTypeEnum string

VolumeBackupScheduleOffsetTypeEnum Enum with underlying type: string

const (
	VolumeBackupScheduleOffsetTypeStructured     VolumeBackupScheduleOffsetTypeEnum = "STRUCTURED"
	VolumeBackupScheduleOffsetTypeNumericSeconds VolumeBackupScheduleOffsetTypeEnum = "NUMERIC_SECONDS"
)

Set of constants representing the allowable values for VolumeBackupScheduleOffsetTypeEnum

func GetMappingVolumeBackupScheduleOffsetTypeEnum ¶

func GetMappingVolumeBackupScheduleOffsetTypeEnum(val string) (VolumeBackupScheduleOffsetTypeEnum, bool)

GetMappingVolumeBackupScheduleOffsetTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupScheduleOffsetTypeEnumValues ¶

func GetVolumeBackupScheduleOffsetTypeEnumValues() []VolumeBackupScheduleOffsetTypeEnum

GetVolumeBackupScheduleOffsetTypeEnumValues Enumerates the set of values for VolumeBackupScheduleOffsetTypeEnum

type VolumeBackupSchedulePeriodEnum ¶

type VolumeBackupSchedulePeriodEnum string

VolumeBackupSchedulePeriodEnum Enum with underlying type: string

const (
	VolumeBackupSchedulePeriodHour  VolumeBackupSchedulePeriodEnum = "ONE_HOUR"
	VolumeBackupSchedulePeriodDay   VolumeBackupSchedulePeriodEnum = "ONE_DAY"
	VolumeBackupSchedulePeriodWeek  VolumeBackupSchedulePeriodEnum = "ONE_WEEK"
	VolumeBackupSchedulePeriodMonth VolumeBackupSchedulePeriodEnum = "ONE_MONTH"
	VolumeBackupSchedulePeriodYear  VolumeBackupSchedulePeriodEnum = "ONE_YEAR"
)

Set of constants representing the allowable values for VolumeBackupSchedulePeriodEnum

func GetMappingVolumeBackupSchedulePeriodEnum ¶

func GetMappingVolumeBackupSchedulePeriodEnum(val string) (VolumeBackupSchedulePeriodEnum, bool)

GetMappingVolumeBackupSchedulePeriodEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupSchedulePeriodEnumValues ¶

func GetVolumeBackupSchedulePeriodEnumValues() []VolumeBackupSchedulePeriodEnum

GetVolumeBackupSchedulePeriodEnumValues Enumerates the set of values for VolumeBackupSchedulePeriodEnum

type VolumeBackupScheduleTimeZoneEnum ¶

type VolumeBackupScheduleTimeZoneEnum string

VolumeBackupScheduleTimeZoneEnum Enum with underlying type: string

const (
	VolumeBackupScheduleTimeZoneUtc                    VolumeBackupScheduleTimeZoneEnum = "UTC"
	VolumeBackupScheduleTimeZoneRegionalDataCenterTime VolumeBackupScheduleTimeZoneEnum = "REGIONAL_DATA_CENTER_TIME"
)

Set of constants representing the allowable values for VolumeBackupScheduleTimeZoneEnum

func GetMappingVolumeBackupScheduleTimeZoneEnum ¶

func GetMappingVolumeBackupScheduleTimeZoneEnum(val string) (VolumeBackupScheduleTimeZoneEnum, bool)

GetMappingVolumeBackupScheduleTimeZoneEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupScheduleTimeZoneEnumValues ¶

func GetVolumeBackupScheduleTimeZoneEnumValues() []VolumeBackupScheduleTimeZoneEnum

GetVolumeBackupScheduleTimeZoneEnumValues Enumerates the set of values for VolumeBackupScheduleTimeZoneEnum

type VolumeBackupSourceTypeEnum ¶

type VolumeBackupSourceTypeEnum string

VolumeBackupSourceTypeEnum Enum with underlying type: string

const (
	VolumeBackupSourceTypeManual    VolumeBackupSourceTypeEnum = "MANUAL"
	VolumeBackupSourceTypeScheduled VolumeBackupSourceTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for VolumeBackupSourceTypeEnum

func GetMappingVolumeBackupSourceTypeEnum ¶

func GetMappingVolumeBackupSourceTypeEnum(val string) (VolumeBackupSourceTypeEnum, bool)

GetMappingVolumeBackupSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupSourceTypeEnumValues ¶

func GetVolumeBackupSourceTypeEnumValues() []VolumeBackupSourceTypeEnum

GetVolumeBackupSourceTypeEnumValues Enumerates the set of values for VolumeBackupSourceTypeEnum

type VolumeBackupTypeEnum ¶

type VolumeBackupTypeEnum string

VolumeBackupTypeEnum Enum with underlying type: string

const (
	VolumeBackupTypeFull        VolumeBackupTypeEnum = "FULL"
	VolumeBackupTypeIncremental VolumeBackupTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for VolumeBackupTypeEnum

func GetMappingVolumeBackupTypeEnum ¶

func GetMappingVolumeBackupTypeEnum(val string) (VolumeBackupTypeEnum, bool)

GetMappingVolumeBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeBackupTypeEnumValues ¶

func GetVolumeBackupTypeEnumValues() []VolumeBackupTypeEnum

GetVolumeBackupTypeEnumValues Enumerates the set of values for VolumeBackupTypeEnum

type VolumeGroup ¶

type VolumeGroup struct {

	// The availability domain of the volume group.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the volume group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID for the volume group.
	Id *string `mandatory:"true" json:"id"`

	// The current state of a volume group.
	LifecycleState VolumeGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The aggregate size of the volume group in MBs.
	SizeInMBs *int64 `mandatory:"true" json:"sizeInMBs"`

	// The date and time the volume group was created. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// OCIDs for the volumes in this volume group.
	VolumeIds []string `mandatory:"true" json:"volumeIds"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The aggregate size of the volume group in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	SourceDetails VolumeGroupSourceDetails `mandatory:"false" json:"sourceDetails"`

	// Specifies whether the newly created cloned volume group's data has finished copying
	// from the source volume group or backup.
	IsHydrated *bool `mandatory:"false" json:"isHydrated"`

	// The list of volume group replicas of this volume group.
	VolumeGroupReplicas []VolumeGroupReplicaInfo `mandatory:"false" json:"volumeGroupReplicas"`
}

VolumeGroup Specifies a volume group which is a collection of volumes. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (VolumeGroup) String ¶

func (m VolumeGroup) String() string

func (*VolumeGroup) UnmarshalJSON ¶

func (m *VolumeGroup) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (VolumeGroup) ValidateEnumValue ¶

func (m VolumeGroup) 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 VolumeGroupBackup ¶

type VolumeGroupBackup struct {

	// The OCID of the compartment that contains the volume group backup.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the volume group backup.
	Id *string `mandatory:"true" json:"id"`

	// The current state of a volume group backup.
	LifecycleState VolumeGroupBackupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the volume group backup was created. This is the time the actual point-in-time image
	// of the volume group data was taken. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The type of backup.
	Type VolumeGroupBackupTypeEnum `mandatory:"true" json:"type"`

	// OCIDs for the volume backups in this volume group backup.
	VolumeBackupIds []string `mandatory:"true" json:"volumeBackupIds"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The date and time the volume group backup will expire and be automatically deleted.
	// Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). This parameter will always be present for volume group
	// backups that were created automatically by a scheduled-backup policy. For manually
	// created volume group backups, it will be absent, signifying that there is no expiration
	// time and the backup will last forever until manually deleted.
	ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The aggregate size of the volume group backup, in MBs.
	SizeInMBs *int64 `mandatory:"false" json:"sizeInMBs"`

	// The aggregate size of the volume group backup, in GBs.
	SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"`

	// Specifies whether the volume group backup was created manually, or via scheduled
	// backup policy.
	SourceType VolumeGroupBackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	// The date and time the request to create the volume group backup was received. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeRequestReceived *common.SDKTime `mandatory:"false" json:"timeRequestReceived"`

	// The aggregate size used by the volume group backup, in MBs.
	// It is typically smaller than sizeInMBs, depending on the spaceconsumed
	// on the volume group and whether the volume backup is full or incremental.
	UniqueSizeInMbs *int64 `mandatory:"false" json:"uniqueSizeInMbs"`

	// The aggregate size used by the volume group backup, in GBs.
	// It is typically smaller than sizeInGBs, depending on the spaceconsumed
	// on the volume group and whether the volume backup is full or incremental.
	UniqueSizeInGbs *int64 `mandatory:"false" json:"uniqueSizeInGbs"`

	// The OCID of the source volume group.
	VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"`

	// The OCID of the source volume group backup.
	SourceVolumeGroupBackupId *string `mandatory:"false" json:"sourceVolumeGroupBackupId"`
}

VolumeGroupBackup A point-in-time copy of a volume group that can then be used to create a new volume group or restore a volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (VolumeGroupBackup) String ¶

func (m VolumeGroupBackup) String() string

func (VolumeGroupBackup) ValidateEnumValue ¶

func (m VolumeGroupBackup) 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 VolumeGroupBackupLifecycleStateEnum ¶

type VolumeGroupBackupLifecycleStateEnum string

VolumeGroupBackupLifecycleStateEnum Enum with underlying type: string

const (
	VolumeGroupBackupLifecycleStateCreating        VolumeGroupBackupLifecycleStateEnum = "CREATING"
	VolumeGroupBackupLifecycleStateCommitted       VolumeGroupBackupLifecycleStateEnum = "COMMITTED"
	VolumeGroupBackupLifecycleStateAvailable       VolumeGroupBackupLifecycleStateEnum = "AVAILABLE"
	VolumeGroupBackupLifecycleStateTerminating     VolumeGroupBackupLifecycleStateEnum = "TERMINATING"
	VolumeGroupBackupLifecycleStateTerminated      VolumeGroupBackupLifecycleStateEnum = "TERMINATED"
	VolumeGroupBackupLifecycleStateFaulty          VolumeGroupBackupLifecycleStateEnum = "FAULTY"
	VolumeGroupBackupLifecycleStateRequestReceived VolumeGroupBackupLifecycleStateEnum = "REQUEST_RECEIVED"
)

Set of constants representing the allowable values for VolumeGroupBackupLifecycleStateEnum

func GetMappingVolumeGroupBackupLifecycleStateEnum ¶

func GetMappingVolumeGroupBackupLifecycleStateEnum(val string) (VolumeGroupBackupLifecycleStateEnum, bool)

GetMappingVolumeGroupBackupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeGroupBackupLifecycleStateEnumValues ¶

func GetVolumeGroupBackupLifecycleStateEnumValues() []VolumeGroupBackupLifecycleStateEnum

GetVolumeGroupBackupLifecycleStateEnumValues Enumerates the set of values for VolumeGroupBackupLifecycleStateEnum

type VolumeGroupBackupSourceTypeEnum ¶

type VolumeGroupBackupSourceTypeEnum string

VolumeGroupBackupSourceTypeEnum Enum with underlying type: string

const (
	VolumeGroupBackupSourceTypeManual    VolumeGroupBackupSourceTypeEnum = "MANUAL"
	VolumeGroupBackupSourceTypeScheduled VolumeGroupBackupSourceTypeEnum = "SCHEDULED"
)

Set of constants representing the allowable values for VolumeGroupBackupSourceTypeEnum

func GetMappingVolumeGroupBackupSourceTypeEnum ¶

func GetMappingVolumeGroupBackupSourceTypeEnum(val string) (VolumeGroupBackupSourceTypeEnum, bool)

GetMappingVolumeGroupBackupSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeGroupBackupSourceTypeEnumValues ¶

func GetVolumeGroupBackupSourceTypeEnumValues() []VolumeGroupBackupSourceTypeEnum

GetVolumeGroupBackupSourceTypeEnumValues Enumerates the set of values for VolumeGroupBackupSourceTypeEnum

type VolumeGroupBackupTypeEnum ¶

type VolumeGroupBackupTypeEnum string

VolumeGroupBackupTypeEnum Enum with underlying type: string

const (
	VolumeGroupBackupTypeFull        VolumeGroupBackupTypeEnum = "FULL"
	VolumeGroupBackupTypeIncremental VolumeGroupBackupTypeEnum = "INCREMENTAL"
)

Set of constants representing the allowable values for VolumeGroupBackupTypeEnum

func GetMappingVolumeGroupBackupTypeEnum ¶

func GetMappingVolumeGroupBackupTypeEnum(val string) (VolumeGroupBackupTypeEnum, bool)

GetMappingVolumeGroupBackupTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeGroupBackupTypeEnumValues ¶

func GetVolumeGroupBackupTypeEnumValues() []VolumeGroupBackupTypeEnum

GetVolumeGroupBackupTypeEnumValues Enumerates the set of values for VolumeGroupBackupTypeEnum

type VolumeGroupLifecycleStateEnum ¶

type VolumeGroupLifecycleStateEnum string

VolumeGroupLifecycleStateEnum Enum with underlying type: string

const (
	VolumeGroupLifecycleStateProvisioning  VolumeGroupLifecycleStateEnum = "PROVISIONING"
	VolumeGroupLifecycleStateAvailable     VolumeGroupLifecycleStateEnum = "AVAILABLE"
	VolumeGroupLifecycleStateTerminating   VolumeGroupLifecycleStateEnum = "TERMINATING"
	VolumeGroupLifecycleStateTerminated    VolumeGroupLifecycleStateEnum = "TERMINATED"
	VolumeGroupLifecycleStateFaulty        VolumeGroupLifecycleStateEnum = "FAULTY"
	VolumeGroupLifecycleStateUpdatePending VolumeGroupLifecycleStateEnum = "UPDATE_PENDING"
)

Set of constants representing the allowable values for VolumeGroupLifecycleStateEnum

func GetMappingVolumeGroupLifecycleStateEnum ¶

func GetMappingVolumeGroupLifecycleStateEnum(val string) (VolumeGroupLifecycleStateEnum, bool)

GetMappingVolumeGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeGroupLifecycleStateEnumValues ¶

func GetVolumeGroupLifecycleStateEnumValues() []VolumeGroupLifecycleStateEnum

GetVolumeGroupLifecycleStateEnumValues Enumerates the set of values for VolumeGroupLifecycleStateEnum

type VolumeGroupReplica ¶

type VolumeGroupReplica struct {

	// The availability domain of the volume group replica.
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID of the compartment that contains the volume group replica.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID for the volume group replica.
	Id *string `mandatory:"true" json:"id"`

	// The current state of a volume group.
	LifecycleState VolumeGroupReplicaLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The aggregate size of the volume group replica in GBs.
	SizeInGBs *int64 `mandatory:"true" json:"sizeInGBs"`

	// The OCID of the source volume group.
	VolumeGroupId *string `mandatory:"true" json:"volumeGroupId"`

	// The date and time the volume group replica was created. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Volume replicas within this volume group replica.
	MemberReplicas []MemberReplica `mandatory:"true" json:"memberReplicas"`

	// The date and time the volume group replica was last synced from the source volume group.
	// Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeLastSynced *common.SDKTime `mandatory:"true" json:"timeLastSynced"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

VolumeGroupReplica An asynchronous replica of a volume group that can then be used to create a new volume group or recover a volume group. For more information, see Volume Group Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (VolumeGroupReplica) String ¶

func (m VolumeGroupReplica) String() string

func (VolumeGroupReplica) ValidateEnumValue ¶

func (m VolumeGroupReplica) 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 VolumeGroupReplicaDetails ¶

type VolumeGroupReplicaDetails struct {

	// The availability domain of the volume group replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

VolumeGroupReplicaDetails Contains the details for the volume group replica.

func (VolumeGroupReplicaDetails) String ¶

func (m VolumeGroupReplicaDetails) String() string

func (VolumeGroupReplicaDetails) ValidateEnumValue ¶

func (m VolumeGroupReplicaDetails) 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 VolumeGroupReplicaInfo ¶

type VolumeGroupReplicaInfo struct {

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The volume group replica's Oracle ID (OCID).
	VolumeGroupReplicaId *string `mandatory:"true" json:"volumeGroupReplicaId"`

	// The availability domain of the boot volume replica replica.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
}

VolumeGroupReplicaInfo Information about the volume group replica in the destination availability domain.

func (VolumeGroupReplicaInfo) String ¶

func (m VolumeGroupReplicaInfo) String() string

func (VolumeGroupReplicaInfo) ValidateEnumValue ¶

func (m VolumeGroupReplicaInfo) 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 VolumeGroupReplicaLifecycleStateEnum ¶

type VolumeGroupReplicaLifecycleStateEnum string

VolumeGroupReplicaLifecycleStateEnum Enum with underlying type: string

const (
	VolumeGroupReplicaLifecycleStateProvisioning VolumeGroupReplicaLifecycleStateEnum = "PROVISIONING"
	VolumeGroupReplicaLifecycleStateAvailable    VolumeGroupReplicaLifecycleStateEnum = "AVAILABLE"
	VolumeGroupReplicaLifecycleStateActivating   VolumeGroupReplicaLifecycleStateEnum = "ACTIVATING"
	VolumeGroupReplicaLifecycleStateTerminating  VolumeGroupReplicaLifecycleStateEnum = "TERMINATING"
	VolumeGroupReplicaLifecycleStateTerminated   VolumeGroupReplicaLifecycleStateEnum = "TERMINATED"
	VolumeGroupReplicaLifecycleStateFaulty       VolumeGroupReplicaLifecycleStateEnum = "FAULTY"
)

Set of constants representing the allowable values for VolumeGroupReplicaLifecycleStateEnum

func GetMappingVolumeGroupReplicaLifecycleStateEnum ¶

func GetMappingVolumeGroupReplicaLifecycleStateEnum(val string) (VolumeGroupReplicaLifecycleStateEnum, bool)

GetMappingVolumeGroupReplicaLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeGroupReplicaLifecycleStateEnumValues ¶

func GetVolumeGroupReplicaLifecycleStateEnumValues() []VolumeGroupReplicaLifecycleStateEnum

GetVolumeGroupReplicaLifecycleStateEnumValues Enumerates the set of values for VolumeGroupReplicaLifecycleStateEnum

type VolumeGroupSourceDetails ¶

type VolumeGroupSourceDetails interface {
}

VolumeGroupSourceDetails Specifies the source for a volume group.

type VolumeGroupSourceFromVolumeGroupBackupDetails ¶

type VolumeGroupSourceFromVolumeGroupBackupDetails struct {

	// The OCID of the volume group backup to restore from.
	VolumeGroupBackupId *string `mandatory:"true" json:"volumeGroupBackupId"`
}

VolumeGroupSourceFromVolumeGroupBackupDetails Specifies the volume group backup to restore from.

func (VolumeGroupSourceFromVolumeGroupBackupDetails) MarshalJSON ¶

func (m VolumeGroupSourceFromVolumeGroupBackupDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeGroupSourceFromVolumeGroupBackupDetails) String ¶

func (VolumeGroupSourceFromVolumeGroupBackupDetails) ValidateEnumValue ¶

func (m VolumeGroupSourceFromVolumeGroupBackupDetails) 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 VolumeGroupSourceFromVolumeGroupDetails ¶

type VolumeGroupSourceFromVolumeGroupDetails struct {

	// The OCID of the volume group to clone from.
	VolumeGroupId *string `mandatory:"true" json:"volumeGroupId"`
}

VolumeGroupSourceFromVolumeGroupDetails Specifies the volume group to clone from.

func (VolumeGroupSourceFromVolumeGroupDetails) MarshalJSON ¶

func (m VolumeGroupSourceFromVolumeGroupDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeGroupSourceFromVolumeGroupDetails) String ¶

func (VolumeGroupSourceFromVolumeGroupDetails) ValidateEnumValue ¶

func (m VolumeGroupSourceFromVolumeGroupDetails) 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 VolumeGroupSourceFromVolumeGroupReplicaDetails ¶

type VolumeGroupSourceFromVolumeGroupReplicaDetails struct {

	// The OCID of the volume group replica.
	VolumeGroupReplicaId *string `mandatory:"true" json:"volumeGroupReplicaId"`
}

VolumeGroupSourceFromVolumeGroupReplicaDetails Specifies the source volume replica which the volume group will be created from. The volume group replica shoulbe be in the same availability domain as the volume group. Only one volume group can be created from a volume group replica at the same time.

func (VolumeGroupSourceFromVolumeGroupReplicaDetails) MarshalJSON ¶

func (m VolumeGroupSourceFromVolumeGroupReplicaDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeGroupSourceFromVolumeGroupReplicaDetails) String ¶

func (VolumeGroupSourceFromVolumeGroupReplicaDetails) ValidateEnumValue ¶

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 VolumeGroupSourceFromVolumesDetails ¶

type VolumeGroupSourceFromVolumesDetails struct {

	// OCIDs for the volumes in this volume group.
	VolumeIds []string `mandatory:"true" json:"volumeIds"`
}

VolumeGroupSourceFromVolumesDetails Specifies the volumes in a volume group.

func (VolumeGroupSourceFromVolumesDetails) MarshalJSON ¶

func (m VolumeGroupSourceFromVolumesDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeGroupSourceFromVolumesDetails) String ¶

func (VolumeGroupSourceFromVolumesDetails) ValidateEnumValue ¶

func (m VolumeGroupSourceFromVolumesDetails) 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 VolumeKmsKey ¶

type VolumeKmsKey struct {

	// The OCID of the Vault service key assigned to this volume. If the volume is not using Vault service, then the `kmsKeyId` will be a null string.
	KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

VolumeKmsKey The Vault service master encryption key associated with this volume.

func (VolumeKmsKey) String ¶

func (m VolumeKmsKey) String() string

func (VolumeKmsKey) ValidateEnumValue ¶

func (m VolumeKmsKey) 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 VolumeLifecycleStateEnum ¶

type VolumeLifecycleStateEnum string

VolumeLifecycleStateEnum Enum with underlying type: string

const (
	VolumeLifecycleStateProvisioning VolumeLifecycleStateEnum = "PROVISIONING"
	VolumeLifecycleStateRestoring    VolumeLifecycleStateEnum = "RESTORING"
	VolumeLifecycleStateAvailable    VolumeLifecycleStateEnum = "AVAILABLE"
	VolumeLifecycleStateTerminating  VolumeLifecycleStateEnum = "TERMINATING"
	VolumeLifecycleStateTerminated   VolumeLifecycleStateEnum = "TERMINATED"
	VolumeLifecycleStateFaulty       VolumeLifecycleStateEnum = "FAULTY"
)

Set of constants representing the allowable values for VolumeLifecycleStateEnum

func GetMappingVolumeLifecycleStateEnum ¶

func GetMappingVolumeLifecycleStateEnum(val string) (VolumeLifecycleStateEnum, bool)

GetMappingVolumeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVolumeLifecycleStateEnumValues ¶

func GetVolumeLifecycleStateEnumValues() []VolumeLifecycleStateEnum

GetVolumeLifecycleStateEnumValues Enumerates the set of values for VolumeLifecycleStateEnum

type VolumeSourceDetails ¶

type VolumeSourceDetails interface {
}

VolumeSourceDetails Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same Availability Domain or a Block volume backup. This is an optional field. If not specified or set to null, the new Block volume will be empty. When specified, the new Block volume will contain data from the source volume or backup.

type VolumeSourceFromBlockVolumeReplicaDetails ¶

type VolumeSourceFromBlockVolumeReplicaDetails struct {

	// The OCID of the block volume replica.
	Id *string `mandatory:"true" json:"id"`
}

VolumeSourceFromBlockVolumeReplicaDetails Specifies the source block volume replica which the block volume will be created from. The block volume replica shoulbe be in the same availability domain as the block volume. Only one volume can be created from a replica at the same time.

func (VolumeSourceFromBlockVolumeReplicaDetails) MarshalJSON ¶

func (m VolumeSourceFromBlockVolumeReplicaDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeSourceFromBlockVolumeReplicaDetails) String ¶

func (VolumeSourceFromBlockVolumeReplicaDetails) ValidateEnumValue ¶

func (m VolumeSourceFromBlockVolumeReplicaDetails) 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 VolumeSourceFromVolumeBackupDetails ¶

type VolumeSourceFromVolumeBackupDetails struct {

	// The OCID of the volume backup.
	Id *string `mandatory:"true" json:"id"`
}

VolumeSourceFromVolumeBackupDetails Specifies the volume backup.

func (VolumeSourceFromVolumeBackupDetails) MarshalJSON ¶

func (m VolumeSourceFromVolumeBackupDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeSourceFromVolumeBackupDetails) String ¶

func (VolumeSourceFromVolumeBackupDetails) ValidateEnumValue ¶

func (m VolumeSourceFromVolumeBackupDetails) 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 VolumeSourceFromVolumeDetails ¶

type VolumeSourceFromVolumeDetails struct {

	// The OCID of the volume.
	Id *string `mandatory:"true" json:"id"`
}

VolumeSourceFromVolumeDetails Specifies the source volume.

func (VolumeSourceFromVolumeDetails) MarshalJSON ¶

func (m VolumeSourceFromVolumeDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VolumeSourceFromVolumeDetails) String ¶

func (VolumeSourceFromVolumeDetails) ValidateEnumValue ¶

func (m VolumeSourceFromVolumeDetails) 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 Vtap ¶ added in v65.3.0

type Vtap struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The VTAP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The VTAP's administrative lifecycle state.
	LifecycleState VtapLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured.
	SourceId *string `mandatory:"true" json:"sourceId"`

	// The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	CaptureFilterId *string `mandatory:"true" json:"captureFilterId"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A user-friendly name. Does not have to be unique, and it's changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The VTAP's current running state.
	LifecycleStateDetails VtapLifecycleStateDetailsEnum `mandatory:"false" json:"lifecycleStateDetails,omitempty"`

	// The date and time the VTAP was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent.
	TargetId *string `mandatory:"false" json:"targetId"`

	// The IP address of the destination resource where mirrored packets are sent.
	TargetIp *string `mandatory:"false" json:"targetIp"`

	// Defines an encapsulation header type for the VTAP's mirrored traffic.
	EncapsulationProtocol VtapEncapsulationProtocolEnum `mandatory:"false" json:"encapsulationProtocol,omitempty"`

	// The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
	VxlanNetworkIdentifier *int64 `mandatory:"false" json:"vxlanNetworkIdentifier"`

	// Used to start or stop a `Vtap` resource.
	// * `TRUE` directs the VTAP to start mirroring traffic.
	// * `FALSE` (Default) directs the VTAP to stop mirroring traffic.
	IsVtapEnabled *bool `mandatory:"false" json:"isVtapEnabled"`

	// The source type for the VTAP.
	SourceType VtapSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

	// Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT
	TrafficMode VtapTrafficModeEnum `mandatory:"false" json:"trafficMode,omitempty"`

	// The maximum size of the packets to be included in the filter.
	MaxPacketSize *int `mandatory:"false" json:"maxPacketSize"`

	// The target type for the VTAP.
	TargetType VtapTargetTypeEnum `mandatory:"false" json:"targetType,omitempty"`

	// The IP Address of the source private endpoint.
	SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to.
	SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"`
}

Vtap A virtual test access point (VTAP) provides a way to mirror all traffic from a designated source to a selected target in order to facilitate troubleshooting, security analysis, and data monitoring. A VTAP is functionally similar to a test access point (TAP) you might deploy in your on-premises network. A *CaptureFilter* contains a set of *CaptureFilterRuleDetails* governing what traffic a VTAP mirrors.

func (Vtap) String ¶ added in v65.3.0

func (m Vtap) String() string

func (Vtap) ValidateEnumValue ¶ added in v65.3.0

func (m Vtap) 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 VtapCaptureFilterRuleDetails ¶ added in v65.3.0

type VtapCaptureFilterRuleDetails struct {

	// The traffic direction the VTAP is configured to mirror.
	TrafficDirection VtapCaptureFilterRuleDetailsTrafficDirectionEnum `mandatory:"true" json:"trafficDirection"`

	// Include or exclude packets meeting this definition from mirrored traffic.
	RuleAction VtapCaptureFilterRuleDetailsRuleActionEnum `mandatory:"false" json:"ruleAction,omitempty"`

	// Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
	SourceCidr *string `mandatory:"false" json:"sourceCidr"`

	// Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
	DestinationCidr *string `mandatory:"false" json:"destinationCidr"`

	// The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter.
	// Supported options are:
	//   * 1 = ICMP
	//   * 6 = TCP
	//   * 17 = UDP
	Protocol *string `mandatory:"false" json:"protocol"`

	IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"`

	TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"`

	UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"`
}

VtapCaptureFilterRuleDetails This resource contains the rules governing what traffic a VTAP mirrors.

func (VtapCaptureFilterRuleDetails) String ¶ added in v65.3.0

func (VtapCaptureFilterRuleDetails) ValidateEnumValue ¶ added in v65.3.0

func (m VtapCaptureFilterRuleDetails) 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 VtapCaptureFilterRuleDetailsRuleActionEnum ¶ added in v65.3.0

type VtapCaptureFilterRuleDetailsRuleActionEnum string

VtapCaptureFilterRuleDetailsRuleActionEnum Enum with underlying type: string

const (
	VtapCaptureFilterRuleDetailsRuleActionInclude VtapCaptureFilterRuleDetailsRuleActionEnum = "INCLUDE"
	VtapCaptureFilterRuleDetailsRuleActionExclude VtapCaptureFilterRuleDetailsRuleActionEnum = "EXCLUDE"
)

Set of constants representing the allowable values for VtapCaptureFilterRuleDetailsRuleActionEnum

func GetMappingVtapCaptureFilterRuleDetailsRuleActionEnum ¶ added in v65.3.0

func GetMappingVtapCaptureFilterRuleDetailsRuleActionEnum(val string) (VtapCaptureFilterRuleDetailsRuleActionEnum, bool)

GetMappingVtapCaptureFilterRuleDetailsRuleActionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapCaptureFilterRuleDetailsRuleActionEnumValues ¶ added in v65.3.0

func GetVtapCaptureFilterRuleDetailsRuleActionEnumValues() []VtapCaptureFilterRuleDetailsRuleActionEnum

GetVtapCaptureFilterRuleDetailsRuleActionEnumValues Enumerates the set of values for VtapCaptureFilterRuleDetailsRuleActionEnum

type VtapCaptureFilterRuleDetailsTrafficDirectionEnum ¶ added in v65.3.0

type VtapCaptureFilterRuleDetailsTrafficDirectionEnum string

VtapCaptureFilterRuleDetailsTrafficDirectionEnum Enum with underlying type: string

const (
	VtapCaptureFilterRuleDetailsTrafficDirectionIngress VtapCaptureFilterRuleDetailsTrafficDirectionEnum = "INGRESS"
	VtapCaptureFilterRuleDetailsTrafficDirectionEgress  VtapCaptureFilterRuleDetailsTrafficDirectionEnum = "EGRESS"
)

Set of constants representing the allowable values for VtapCaptureFilterRuleDetailsTrafficDirectionEnum

func GetMappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum ¶ added in v65.3.0

func GetMappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum(val string) (VtapCaptureFilterRuleDetailsTrafficDirectionEnum, bool)

GetMappingVtapCaptureFilterRuleDetailsTrafficDirectionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumValues ¶ added in v65.3.0

func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumValues() []VtapCaptureFilterRuleDetailsTrafficDirectionEnum

GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumValues Enumerates the set of values for VtapCaptureFilterRuleDetailsTrafficDirectionEnum

type VtapEncapsulationProtocolEnum ¶ added in v65.3.0

type VtapEncapsulationProtocolEnum string

VtapEncapsulationProtocolEnum Enum with underlying type: string

const (
	VtapEncapsulationProtocolVxlan VtapEncapsulationProtocolEnum = "VXLAN"
)

Set of constants representing the allowable values for VtapEncapsulationProtocolEnum

func GetMappingVtapEncapsulationProtocolEnum ¶ added in v65.3.0

func GetMappingVtapEncapsulationProtocolEnum(val string) (VtapEncapsulationProtocolEnum, bool)

GetMappingVtapEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapEncapsulationProtocolEnumValues ¶ added in v65.3.0

func GetVtapEncapsulationProtocolEnumValues() []VtapEncapsulationProtocolEnum

GetVtapEncapsulationProtocolEnumValues Enumerates the set of values for VtapEncapsulationProtocolEnum

type VtapLifecycleStateDetailsEnum ¶ added in v65.3.0

type VtapLifecycleStateDetailsEnum string

VtapLifecycleStateDetailsEnum Enum with underlying type: string

const (
	VtapLifecycleStateDetailsRunning VtapLifecycleStateDetailsEnum = "RUNNING"
	VtapLifecycleStateDetailsStopped VtapLifecycleStateDetailsEnum = "STOPPED"
)

Set of constants representing the allowable values for VtapLifecycleStateDetailsEnum

func GetMappingVtapLifecycleStateDetailsEnum ¶ added in v65.3.0

func GetMappingVtapLifecycleStateDetailsEnum(val string) (VtapLifecycleStateDetailsEnum, bool)

GetMappingVtapLifecycleStateDetailsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapLifecycleStateDetailsEnumValues ¶ added in v65.3.0

func GetVtapLifecycleStateDetailsEnumValues() []VtapLifecycleStateDetailsEnum

GetVtapLifecycleStateDetailsEnumValues Enumerates the set of values for VtapLifecycleStateDetailsEnum

type VtapLifecycleStateEnum ¶ added in v65.3.0

type VtapLifecycleStateEnum string

VtapLifecycleStateEnum Enum with underlying type: string

const (
	VtapLifecycleStateProvisioning VtapLifecycleStateEnum = "PROVISIONING"
	VtapLifecycleStateAvailable    VtapLifecycleStateEnum = "AVAILABLE"
	VtapLifecycleStateUpdating     VtapLifecycleStateEnum = "UPDATING"
	VtapLifecycleStateTerminating  VtapLifecycleStateEnum = "TERMINATING"
	VtapLifecycleStateTerminated   VtapLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VtapLifecycleStateEnum

func GetMappingVtapLifecycleStateEnum ¶ added in v65.3.0

func GetMappingVtapLifecycleStateEnum(val string) (VtapLifecycleStateEnum, bool)

GetMappingVtapLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapLifecycleStateEnumValues ¶ added in v65.3.0

func GetVtapLifecycleStateEnumValues() []VtapLifecycleStateEnum

GetVtapLifecycleStateEnumValues Enumerates the set of values for VtapLifecycleStateEnum

type VtapSourceTypeEnum ¶ added in v65.3.0

type VtapSourceTypeEnum string

VtapSourceTypeEnum Enum with underlying type: string

const (
	VtapSourceTypeVnic                    VtapSourceTypeEnum = "VNIC"
	VtapSourceTypeSubnet                  VtapSourceTypeEnum = "SUBNET"
	VtapSourceTypeLoadBalancer            VtapSourceTypeEnum = "LOAD_BALANCER"
	VtapSourceTypeDbSystem                VtapSourceTypeEnum = "DB_SYSTEM"
	VtapSourceTypeExadataVmCluster        VtapSourceTypeEnum = "EXADATA_VM_CLUSTER"
	VtapSourceTypeAutonomousDataWarehouse VtapSourceTypeEnum = "AUTONOMOUS_DATA_WAREHOUSE"
)

Set of constants representing the allowable values for VtapSourceTypeEnum

func GetMappingVtapSourceTypeEnum ¶ added in v65.3.0

func GetMappingVtapSourceTypeEnum(val string) (VtapSourceTypeEnum, bool)

GetMappingVtapSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapSourceTypeEnumValues ¶ added in v65.3.0

func GetVtapSourceTypeEnumValues() []VtapSourceTypeEnum

GetVtapSourceTypeEnumValues Enumerates the set of values for VtapSourceTypeEnum

type VtapTargetTypeEnum ¶ added in v65.3.0

type VtapTargetTypeEnum string

VtapTargetTypeEnum Enum with underlying type: string

const (
	VtapTargetTypeVnic                VtapTargetTypeEnum = "VNIC"
	VtapTargetTypeNetworkLoadBalancer VtapTargetTypeEnum = "NETWORK_LOAD_BALANCER"
	VtapTargetTypeIpAddress           VtapTargetTypeEnum = "IP_ADDRESS"
)

Set of constants representing the allowable values for VtapTargetTypeEnum

func GetMappingVtapTargetTypeEnum ¶ added in v65.3.0

func GetMappingVtapTargetTypeEnum(val string) (VtapTargetTypeEnum, bool)

GetMappingVtapTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapTargetTypeEnumValues ¶ added in v65.3.0

func GetVtapTargetTypeEnumValues() []VtapTargetTypeEnum

GetVtapTargetTypeEnumValues Enumerates the set of values for VtapTargetTypeEnum

type VtapTrafficModeEnum ¶ added in v65.3.0

type VtapTrafficModeEnum string

VtapTrafficModeEnum Enum with underlying type: string

const (
	VtapTrafficModeDefault  VtapTrafficModeEnum = "DEFAULT"
	VtapTrafficModePriority VtapTrafficModeEnum = "PRIORITY"
)

Set of constants representing the allowable values for VtapTrafficModeEnum

func GetMappingVtapTrafficModeEnum ¶ added in v65.3.0

func GetMappingVtapTrafficModeEnum(val string) (VtapTrafficModeEnum, bool)

GetMappingVtapTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVtapTrafficModeEnumValues ¶ added in v65.3.0

func GetVtapTrafficModeEnumValues() []VtapTrafficModeEnum

GetVtapTrafficModeEnumValues Enumerates the set of values for VtapTrafficModeEnum

type WithdrawByoipRangeRequest ¶

type WithdrawByoipRangeRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block.
	ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"`

	// Unique identifier for the request.
	// If you need to contact Oracle about a particular request, please provide the request ID.
	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
}

WithdrawByoipRangeRequest wrapper for the WithdrawByoipRange operation

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRangeRequest.

func (WithdrawByoipRangeRequest) BinaryRequestBody ¶

func (request WithdrawByoipRangeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (WithdrawByoipRangeRequest) HTTPRequest ¶

func (request WithdrawByoipRangeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (WithdrawByoipRangeRequest) RetryPolicy ¶

func (request WithdrawByoipRangeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (WithdrawByoipRangeRequest) String ¶

func (request WithdrawByoipRangeRequest) String() string

func (WithdrawByoipRangeRequest) ValidateEnumValue ¶

func (request WithdrawByoipRangeRequest) 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 WithdrawByoipRangeResponse ¶

type WithdrawByoipRangeResponse 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"`
}

WithdrawByoipRangeResponse wrapper for the WithdrawByoipRange operation

func (WithdrawByoipRangeResponse) HTTPResponse ¶

func (response WithdrawByoipRangeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (WithdrawByoipRangeResponse) String ¶

func (response WithdrawByoipRangeResponse) String() string

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL