func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues() []string
GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues Enumerates the set of values in String for AddDrgRouteDistributionStatementDetailsActionEnum
func GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string
GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for AddDrgRouteRuleDetailsDestinationTypeEnum
func GetAddSecurityRuleDetailsDestinationTypeEnumStringValues() []string
GetAddSecurityRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsDestinationTypeEnum
func GetAddSecurityRuleDetailsDirectionEnumStringValues() []string
GetAddSecurityRuleDetailsDirectionEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsDirectionEnum
func GetAddSecurityRuleDetailsSourceTypeEnumStringValues() []string
GetAddSecurityRuleDetailsSourceTypeEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsSourceTypeEnum
func GetAllowedSecurityConfigurationTypeEnumStringValues() []string
GetAllowedSecurityConfigurationTypeEnumStringValues Enumerates the set of values in String for AllowedSecurityConfigurationTypeEnum
func GetBgpSessionInfoBgpIpv6StateEnumStringValues() []string
GetBgpSessionInfoBgpIpv6StateEnumStringValues Enumerates the set of values in String for BgpSessionInfoBgpIpv6StateEnum
func GetBgpSessionInfoBgpStateEnumStringValues() []string
GetBgpSessionInfoBgpStateEnumStringValues Enumerates the set of values in String for BgpSessionInfoBgpStateEnum
func GetByoipRangeLifecycleDetailsEnumStringValues() []string
GetByoipRangeLifecycleDetailsEnumStringValues Enumerates the set of values in String for ByoipRangeLifecycleDetailsEnum
func GetByoipRangeLifecycleStateEnumStringValues() []string
GetByoipRangeLifecycleStateEnumStringValues Enumerates the set of values in String for ByoipRangeLifecycleStateEnum
func GetCaptureFilterFilterTypeEnumStringValues() []string
GetCaptureFilterFilterTypeEnumStringValues Enumerates the set of values in String for CaptureFilterFilterTypeEnum
func GetCaptureFilterLifecycleStateEnumStringValues() []string
GetCaptureFilterLifecycleStateEnumStringValues Enumerates the set of values in String for CaptureFilterLifecycleStateEnum
func GetCreateCaptureFilterDetailsFilterTypeEnumStringValues() []string
GetCreateCaptureFilterDetailsFilterTypeEnumStringValues Enumerates the set of values in String for CreateCaptureFilterDetailsFilterTypeEnum
func GetCreateDhcpDetailsDomainNameTypeEnumStringValues() []string
GetCreateDhcpDetailsDomainNameTypeEnumStringValues Enumerates the set of values in String for CreateDhcpDetailsDomainNameTypeEnum
func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues() []string
GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues Enumerates the set of values in String for CreateDrgRouteDistributionDetailsDistributionTypeEnum
func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues() []string
GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum
func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues() []string
GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsIkeVersionEnum
func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues() []string
GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum
func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues() []string
GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum
func GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues() []string
GetCreateIpSecConnectionTunnelDetailsRoutingEnumStringValues Enumerates the set of values in String for CreateIpSecConnectionTunnelDetailsRoutingEnum
func GetCreatePublicIpDetailsLifetimeEnumStringValues() []string
GetCreatePublicIpDetailsLifetimeEnumStringValues Enumerates the set of values in String for CreatePublicIpDetailsLifetimeEnum
func GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues() []string
GetCreateVirtualCircuitDetailsBgpAdminStateEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsBgpAdminStateEnum
func GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues() []string
GetCreateVirtualCircuitDetailsRoutingPolicyEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsRoutingPolicyEnum
func GetCreateVirtualCircuitDetailsTypeEnumStringValues() []string
GetCreateVirtualCircuitDetailsTypeEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsTypeEnum
func GetCreateVtapDetailsEncapsulationProtocolEnumStringValues() []string
GetCreateVtapDetailsEncapsulationProtocolEnumStringValues Enumerates the set of values in String for CreateVtapDetailsEncapsulationProtocolEnum
func GetCreateVtapDetailsSourceTypeEnumStringValues() []string
GetCreateVtapDetailsSourceTypeEnumStringValues Enumerates the set of values in String for CreateVtapDetailsSourceTypeEnum
func GetCreateVtapDetailsTargetTypeEnumStringValues() []string
GetCreateVtapDetailsTargetTypeEnumStringValues Enumerates the set of values in String for CreateVtapDetailsTargetTypeEnum
func GetCreateVtapDetailsTrafficModeEnumStringValues() []string
GetCreateVtapDetailsTrafficModeEnumStringValues Enumerates the set of values in String for CreateVtapDetailsTrafficModeEnum
func GetCrossConnectGroupLifecycleStateEnumStringValues() []string
GetCrossConnectGroupLifecycleStateEnumStringValues Enumerates the set of values in String for CrossConnectGroupLifecycleStateEnum
func GetCrossConnectLifecycleStateEnumStringValues() []string
GetCrossConnectLifecycleStateEnumStringValues Enumerates the set of values in String for CrossConnectLifecycleStateEnum
func GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues() []string
GetCrossConnectMappingDetailsIpv4BgpStatusEnumStringValues Enumerates the set of values in String for CrossConnectMappingDetailsIpv4BgpStatusEnum
func GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues() []string
GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues Enumerates the set of values in String for CrossConnectMappingDetailsIpv6BgpStatusEnum
func GetCrossConnectStatusEncryptionStatusEnumStringValues() []string
GetCrossConnectStatusEncryptionStatusEnumStringValues Enumerates the set of values in String for CrossConnectStatusEncryptionStatusEnum
func GetCrossConnectStatusInterfaceStateEnumStringValues() []string
GetCrossConnectStatusInterfaceStateEnumStringValues Enumerates the set of values in String for CrossConnectStatusInterfaceStateEnum
func GetCrossConnectStatusLightLevelIndicatorEnumStringValues() []string
GetCrossConnectStatusLightLevelIndicatorEnumStringValues Enumerates the set of values in String for CrossConnectStatusLightLevelIndicatorEnum
func GetDhcpDnsOptionServerTypeEnumStringValues() []string
GetDhcpDnsOptionServerTypeEnumStringValues Enumerates the set of values in String for DhcpDnsOptionServerTypeEnum
func GetDhcpOptionsDomainNameTypeEnumStringValues() []string
GetDhcpOptionsDomainNameTypeEnumStringValues Enumerates the set of values in String for DhcpOptionsDomainNameTypeEnum
func GetDhcpOptionsLifecycleStateEnumStringValues() []string
GetDhcpOptionsLifecycleStateEnumStringValues Enumerates the set of values in String for DhcpOptionsLifecycleStateEnum
func GetDpdConfigDpdModeEnumStringValues() []string
GetDpdConfigDpdModeEnumStringValues Enumerates the set of values in String for DpdConfigDpdModeEnum
func GetDrgAttachmentLifecycleStateEnumStringValues() []string
GetDrgAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for DrgAttachmentLifecycleStateEnum
func GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues() []string
GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkCreateDetailsTypeEnum
func GetDrgAttachmentNetworkDetailsTypeEnumStringValues() []string
GetDrgAttachmentNetworkDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkDetailsTypeEnum
func GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues() []string
GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkUpdateDetailsTypeEnum
func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues() []string
GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum
func GetDrgLifecycleStateEnumStringValues() []string
GetDrgLifecycleStateEnumStringValues Enumerates the set of values in String for DrgLifecycleStateEnum
func GetDrgRedundancyStatusStatusEnumStringValues() []string
GetDrgRedundancyStatusStatusEnumStringValues Enumerates the set of values in String for DrgRedundancyStatusStatusEnum
func GetDrgRouteDistributionDistributionTypeEnumStringValues() []string
GetDrgRouteDistributionDistributionTypeEnumStringValues Enumerates the set of values in String for DrgRouteDistributionDistributionTypeEnum
func GetDrgRouteDistributionLifecycleStateEnumStringValues() []string
GetDrgRouteDistributionLifecycleStateEnumStringValues Enumerates the set of values in String for DrgRouteDistributionLifecycleStateEnum
func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues() []string
GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues Enumerates the set of values in String for DrgRouteDistributionMatchCriteriaMatchTypeEnum
func GetDrgRouteDistributionStatementActionEnumStringValues() []string
GetDrgRouteDistributionStatementActionEnumStringValues Enumerates the set of values in String for DrgRouteDistributionStatementActionEnum
func GetDrgRouteRuleDestinationTypeEnumStringValues() []string
GetDrgRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for DrgRouteRuleDestinationTypeEnum
func GetDrgRouteRuleRouteProvenanceEnumStringValues() []string
GetDrgRouteRuleRouteProvenanceEnumStringValues Enumerates the set of values in String for DrgRouteRuleRouteProvenanceEnum
func GetDrgRouteRuleRouteTypeEnumStringValues() []string
GetDrgRouteRuleRouteTypeEnumStringValues Enumerates the set of values in String for DrgRouteRuleRouteTypeEnum
func GetDrgRouteTableLifecycleStateEnumStringValues() []string
GetDrgRouteTableLifecycleStateEnumStringValues Enumerates the set of values in String for DrgRouteTableLifecycleStateEnum
func GetEgressSecurityRuleDestinationTypeEnumStringValues() []string
GetEgressSecurityRuleDestinationTypeEnumStringValues Enumerates the set of values in String for EgressSecurityRuleDestinationTypeEnum
func GetEndpointTypeEnumStringValues() []string
GetEndpointTypeEnumStringValues Enumerates the set of values in String for EndpointTypeEnum
func GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues() []string
GetFastConnectProviderServiceBandwithShapeManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceBandwithShapeManagementEnum
func GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues() []string
GetFastConnectProviderServiceCustomerAsnManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceCustomerAsnManagementEnum
func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues() []string
GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServicePrivatePeeringBgpManagementEnum
func GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues() []string
GetFastConnectProviderServiceProviderServiceKeyManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceProviderServiceKeyManagementEnum
func GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues() []string
GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServicePublicPeeringBgpManagementEnum
func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues() []string
GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum
func GetFastConnectProviderServiceTypeEnumStringValues() []string
GetFastConnectProviderServiceTypeEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceTypeEnum
func GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumStringValues() []string
GetFlowLogCaptureFilterRuleDetailsFlowLogTypeEnumStringValues Enumerates the set of values in String for FlowLogCaptureFilterRuleDetailsFlowLogTypeEnum
func GetFlowLogCaptureFilterRuleDetailsRuleActionEnumStringValues() []string
GetFlowLogCaptureFilterRuleDetailsRuleActionEnumStringValues Enumerates the set of values in String for FlowLogCaptureFilterRuleDetailsRuleActionEnum
func GetForwardedRoutingConfigurationTypeEnumStringValues() []string
GetForwardedRoutingConfigurationTypeEnumStringValues Enumerates the set of values in String for ForwardedRoutingConfigurationTypeEnum
func GetGetPathAnalysisDetailsTypeEnumStringValues() []string
GetGetPathAnalysisDetailsTypeEnumStringValues Enumerates the set of values in String for GetPathAnalysisDetailsTypeEnum
func GetIngressSecurityRuleSourceTypeEnumStringValues() []string
GetIngressSecurityRuleSourceTypeEnumStringValues Enumerates the set of values in String for IngressSecurityRuleSourceTypeEnum
func GetInternetGatewayLifecycleStateEnumStringValues() []string
GetInternetGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for InternetGatewayLifecycleStateEnum
func GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues() []string
GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues Enumerates the set of values in String for IpSecConnectionCpeLocalIdentifierTypeEnum
func GetIpSecConnectionLifecycleStateEnumStringValues() []string
GetIpSecConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for IpSecConnectionLifecycleStateEnum
func GetIpSecConnectionTransportTypeEnumStringValues() []string
GetIpSecConnectionTransportTypeEnumStringValues Enumerates the set of values in String for IpSecConnectionTransportTypeEnum
func GetIpSecConnectionTunnelDpdModeEnumStringValues() []string
GetIpSecConnectionTunnelDpdModeEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelDpdModeEnum
func GetIpSecConnectionTunnelIkeVersionEnumStringValues() []string
GetIpSecConnectionTunnelIkeVersionEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelIkeVersionEnum
func GetIpSecConnectionTunnelLifecycleStateEnumStringValues() []string
GetIpSecConnectionTunnelLifecycleStateEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelLifecycleStateEnum
func GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues() []string
GetIpSecConnectionTunnelNatTranslationEnabledEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelNatTranslationEnabledEnum
func GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues() []string
GetIpSecConnectionTunnelOracleCanInitiateEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelOracleCanInitiateEnum
func GetIpSecConnectionTunnelRoutingEnumStringValues() []string
GetIpSecConnectionTunnelRoutingEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelRoutingEnum
func GetIpSecConnectionTunnelStatusEnumStringValues() []string
GetIpSecConnectionTunnelStatusEnumStringValues Enumerates the set of values in String for IpSecConnectionTunnelStatusEnum
func GetIpv6LifecycleStateEnumStringValues() []string
GetIpv6LifecycleStateEnumStringValues Enumerates the set of values in String for Ipv6LifecycleStateEnum
func GetLetterOfAuthorityCircuitTypeEnumStringValues() []string
GetLetterOfAuthorityCircuitTypeEnumStringValues Enumerates the set of values in String for LetterOfAuthorityCircuitTypeEnum
func GetListPathAnalyzerTestsSortByEnumStringValues() []string
GetListPathAnalyzerTestsSortByEnumStringValues Enumerates the set of values in String for ListPathAnalyzerTestsSortByEnum
func GetListPathAnalyzerTestsSortOrderEnumStringValues() []string
GetListPathAnalyzerTestsSortOrderEnumStringValues Enumerates the set of values in String for ListPathAnalyzerTestsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetLocalPeeringGatewayLifecycleStateEnumStringValues() []string
GetLocalPeeringGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for LocalPeeringGatewayLifecycleStateEnum
func GetLocalPeeringGatewayPeeringStatusEnumStringValues() []string
GetLocalPeeringGatewayPeeringStatusEnumStringValues Enumerates the set of values in String for LocalPeeringGatewayPeeringStatusEnum
func GetMacsecEncryptionCipherEnumStringValues() []string
GetMacsecEncryptionCipherEnumStringValues Enumerates the set of values in String for MacsecEncryptionCipherEnum
func GetMacsecStateEnumStringValues() []string
GetMacsecStateEnumStringValues Enumerates the set of values in String for MacsecStateEnum
func GetNatGatewayLifecycleStateEnumStringValues() []string
GetNatGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for NatGatewayLifecycleStateEnum
func GetNetworkSecurityGroupLifecycleStateEnumStringValues() []string
GetNetworkSecurityGroupLifecycleStateEnumStringValues Enumerates the set of values in String for NetworkSecurityGroupLifecycleStateEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPathAnalyzerTestLifecycleStateEnumStringValues() []string
GetPathAnalyzerTestLifecycleStateEnumStringValues Enumerates the set of values in String for PathAnalyzerTestLifecycleStateEnum
func GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues() []string
GetPhaseOneConfigDetailsAuthenticationAlgorithmEnumStringValues Enumerates the set of values in String for PhaseOneConfigDetailsAuthenticationAlgorithmEnum
func GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues() []string
GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues Enumerates the set of values in String for PhaseOneConfigDetailsDiffieHelmanGroupEnum
func GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues() []string
GetPhaseOneConfigDetailsEncryptionAlgorithmEnumStringValues Enumerates the set of values in String for PhaseOneConfigDetailsEncryptionAlgorithmEnum
func GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues() []string
GetPhaseTwoConfigDetailsAuthenticationAlgorithmEnumStringValues Enumerates the set of values in String for PhaseTwoConfigDetailsAuthenticationAlgorithmEnum
func GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues() []string
GetPhaseTwoConfigDetailsEncryptionAlgorithmEnumStringValues Enumerates the set of values in String for PhaseTwoConfigDetailsEncryptionAlgorithmEnum
func GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues() []string
GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues Enumerates the set of values in String for PhaseTwoConfigDetailsPfsDhGroupEnum
func GetProtocolParametersTypeEnumStringValues() []string
GetProtocolParametersTypeEnumStringValues Enumerates the set of values in String for ProtocolParametersTypeEnum
func GetPublicIpAssignedEntityTypeEnumStringValues() []string
GetPublicIpAssignedEntityTypeEnumStringValues Enumerates the set of values in String for PublicIpAssignedEntityTypeEnum
func GetPublicIpLifecycleStateEnumStringValues() []string
GetPublicIpLifecycleStateEnumStringValues Enumerates the set of values in String for PublicIpLifecycleStateEnum
func GetPublicIpLifetimeEnumStringValues() []string
GetPublicIpLifetimeEnumStringValues Enumerates the set of values in String for PublicIpLifetimeEnum
func GetPublicIpPoolLifecycleStateEnumStringValues() []string
GetPublicIpPoolLifecycleStateEnumStringValues Enumerates the set of values in String for PublicIpPoolLifecycleStateEnum
func GetPublicIpScopeEnumStringValues() []string
GetPublicIpScopeEnumStringValues Enumerates the set of values in String for PublicIpScopeEnum
func GetRemotePeeringConnectionLifecycleStateEnumStringValues() []string
GetRemotePeeringConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for RemotePeeringConnectionLifecycleStateEnum
func GetRemotePeeringConnectionPeeringStatusEnumStringValues() []string
GetRemotePeeringConnectionPeeringStatusEnumStringValues Enumerates the set of values in String for RemotePeeringConnectionPeeringStatusEnum
func GetRouteRuleDestinationTypeEnumStringValues() []string
GetRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for RouteRuleDestinationTypeEnum
func GetRouteRuleRouteTypeEnumStringValues() []string
GetRouteRuleRouteTypeEnumStringValues Enumerates the set of values in String for RouteRuleRouteTypeEnum
func GetRouteTableLifecycleStateEnumStringValues() []string
GetRouteTableLifecycleStateEnumStringValues Enumerates the set of values in String for RouteTableLifecycleStateEnum
func GetRoutingActionActionEnumStringValues() []string
GetRoutingActionActionEnumStringValues Enumerates the set of values in String for RoutingActionActionEnum
func GetRoutingActionActionTypeEnumStringValues() []string
GetRoutingActionActionTypeEnumStringValues Enumerates the set of values in String for RoutingActionActionTypeEnum
func GetSecurityActionActionEnumStringValues() []string
GetSecurityActionActionEnumStringValues Enumerates the set of values in String for SecurityActionActionEnum
func GetSecurityActionActionTypeEnumStringValues() []string
GetSecurityActionActionTypeEnumStringValues Enumerates the set of values in String for SecurityActionActionTypeEnum
func GetSecurityListLifecycleStateEnumStringValues() []string
GetSecurityListLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityListLifecycleStateEnum
func GetSecurityRuleDestinationTypeEnumStringValues() []string
GetSecurityRuleDestinationTypeEnumStringValues Enumerates the set of values in String for SecurityRuleDestinationTypeEnum
func GetSecurityRuleDirectionEnumStringValues() []string
GetSecurityRuleDirectionEnumStringValues Enumerates the set of values in String for SecurityRuleDirectionEnum
func GetSecurityRuleSourceTypeEnumStringValues() []string
GetSecurityRuleSourceTypeEnumStringValues Enumerates the set of values in String for SecurityRuleSourceTypeEnum
func GetServiceGatewayLifecycleStateEnumStringValues() []string
GetServiceGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for ServiceGatewayLifecycleStateEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSubnetLifecycleStateEnumStringValues() []string
GetSubnetLifecycleStateEnumStringValues Enumerates the set of values in String for SubnetLifecycleStateEnum
func GetTopologyEntityRelationshipTypeEnumStringValues() []string
GetTopologyEntityRelationshipTypeEnumStringValues Enumerates the set of values in String for TopologyEntityRelationshipTypeEnum
func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues() []string
GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues Enumerates the set of values in String for TopologyRoutesToRelationshipDetailsRouteTypeEnum
func GetTopologyTypeEnumStringValues() []string
GetTopologyTypeEnumStringValues Enumerates the set of values in String for TopologyTypeEnum
func GetTrafficNodeTypeEnumStringValues() []string
GetTrafficNodeTypeEnumStringValues Enumerates the set of values in String for TrafficNodeTypeEnum
func GetTrafficProtocolParametersTypeEnumStringValues() []string
GetTrafficProtocolParametersTypeEnumStringValues Enumerates the set of values in String for TrafficProtocolParametersTypeEnum
func GetTrafficRouteReachabilityStatusEnumStringValues() []string
GetTrafficRouteReachabilityStatusEnumStringValues Enumerates the set of values in String for TrafficRouteReachabilityStatusEnum
func GetTunnelRouteSummaryAdvertiserEnumStringValues() []string
GetTunnelRouteSummaryAdvertiserEnumStringValues Enumerates the set of values in String for TunnelRouteSummaryAdvertiserEnum
func GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues() []string
GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues Enumerates the set of values in String for TunnelSecurityAssociationSummaryTunnelSaStatusEnum
func GetTunnelStatusLifecycleStateEnumStringValues() []string
GetTunnelStatusLifecycleStateEnumStringValues Enumerates the set of values in String for TunnelStatusLifecycleStateEnum
func GetUpdateDhcpDetailsDomainNameTypeEnumStringValues() []string
GetUpdateDhcpDetailsDomainNameTypeEnumStringValues Enumerates the set of values in String for UpdateDhcpDetailsDomainNameTypeEnum
func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string
GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for UpdateDrgRouteRuleDetailsDestinationTypeEnum
func GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues() []string
GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum
func GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues() []string
GetUpdateIpSecConnectionTunnelDetailsIkeVersionEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsIkeVersionEnum
func GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues() []string
GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum
func GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues() []string
GetUpdateIpSecConnectionTunnelDetailsOracleInitiationEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsOracleInitiationEnum
func GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues() []string
GetUpdateIpSecConnectionTunnelDetailsRoutingEnumStringValues Enumerates the set of values in String for UpdateIpSecConnectionTunnelDetailsRoutingEnum
func GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues() []string
GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsDestinationTypeEnum
func GetUpdateSecurityRuleDetailsDirectionEnumStringValues() []string
GetUpdateSecurityRuleDetailsDirectionEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsDirectionEnum
func GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues() []string
GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsSourceTypeEnum
func GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues() []string
GetUpdateVirtualCircuitDetailsBgpAdminStateEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsBgpAdminStateEnum
func GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues() []string
GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsProviderStateEnum
func GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues() []string
GetUpdateVirtualCircuitDetailsRoutingPolicyEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsRoutingPolicyEnum
func GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues() []string
GetUpdateVtapDetailsEncapsulationProtocolEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsEncapsulationProtocolEnum
func GetUpdateVtapDetailsSourceTypeEnumStringValues() []string
GetUpdateVtapDetailsSourceTypeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsSourceTypeEnum
func GetUpdateVtapDetailsTargetTypeEnumStringValues() []string
GetUpdateVtapDetailsTargetTypeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTargetTypeEnum
func GetUpdateVtapDetailsTrafficModeEnumStringValues() []string
GetUpdateVtapDetailsTrafficModeEnumStringValues Enumerates the set of values in String for UpdateVtapDetailsTrafficModeEnum
func GetUpgradeStatusStatusEnumStringValues() []string
GetUpgradeStatusStatusEnumStringValues Enumerates the set of values in String for UpgradeStatusStatusEnum
func GetVcnDnsResolverAssociationLifecycleStateEnumStringValues() []string
GetVcnDnsResolverAssociationLifecycleStateEnumStringValues Enumerates the set of values in String for VcnDnsResolverAssociationLifecycleStateEnum
func GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues() []string
GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues Enumerates the set of values in String for VcnDrgAttachmentNetworkDetailsVcnRouteTypeEnum
func GetVcnLifecycleStateEnumStringValues() []string
GetVcnLifecycleStateEnumStringValues Enumerates the set of values in String for VcnLifecycleStateEnum
func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues() []string
GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
func GetVirtualCircuitBgpAdminStateEnumStringValues() []string
GetVirtualCircuitBgpAdminStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpAdminStateEnum
func GetVirtualCircuitBgpIpv6SessionStateEnumStringValues() []string
GetVirtualCircuitBgpIpv6SessionStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpIpv6SessionStateEnum
func GetVirtualCircuitBgpManagementEnumStringValues() []string
GetVirtualCircuitBgpManagementEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpManagementEnum
func GetVirtualCircuitBgpSessionStateEnumStringValues() []string
GetVirtualCircuitBgpSessionStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpSessionStateEnum
func GetVirtualCircuitIpMtuEnumStringValues() []string
GetVirtualCircuitIpMtuEnumStringValues Enumerates the set of values in String for VirtualCircuitIpMtuEnum
func GetVirtualCircuitLifecycleStateEnumStringValues() []string
GetVirtualCircuitLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualCircuitLifecycleStateEnum
func GetVirtualCircuitProviderStateEnumStringValues() []string
GetVirtualCircuitProviderStateEnumStringValues Enumerates the set of values in String for VirtualCircuitProviderStateEnum
func GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues() []string
GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues Enumerates the set of values in String for VirtualCircuitPublicPrefixVerificationStateEnum
func GetVirtualCircuitRoutingPolicyEnumStringValues() []string
GetVirtualCircuitRoutingPolicyEnumStringValues Enumerates the set of values in String for VirtualCircuitRoutingPolicyEnum
func GetVirtualCircuitServiceTypeEnumStringValues() []string
GetVirtualCircuitServiceTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitServiceTypeEnum
func GetVirtualCircuitTypeEnumStringValues() []string
GetVirtualCircuitTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitTypeEnum
func GetVlanLifecycleStateEnumStringValues() []string
GetVlanLifecycleStateEnumStringValues Enumerates the set of values in String for VlanLifecycleStateEnum
func GetVnicLifecycleStateEnumStringValues() []string
GetVnicLifecycleStateEnumStringValues Enumerates the set of values in String for VnicLifecycleStateEnum
func GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues() []string
GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues Enumerates the set of values in String for VtapCaptureFilterRuleDetailsRuleActionEnum
func GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues() []string
GetVtapCaptureFilterRuleDetailsTrafficDirectionEnumStringValues Enumerates the set of values in String for VtapCaptureFilterRuleDetailsTrafficDirectionEnum
func GetVtapEncapsulationProtocolEnumStringValues() []string
GetVtapEncapsulationProtocolEnumStringValues Enumerates the set of values in String for VtapEncapsulationProtocolEnum
func GetVtapLifecycleStateDetailsEnumStringValues() []string
GetVtapLifecycleStateDetailsEnumStringValues Enumerates the set of values in String for VtapLifecycleStateDetailsEnum
func GetVtapLifecycleStateEnumStringValues() []string
GetVtapLifecycleStateEnumStringValues Enumerates the set of values in String for VtapLifecycleStateEnum
func GetVtapSourceTypeEnumStringValues() []string
GetVtapSourceTypeEnumStringValues Enumerates the set of values in String for VtapSourceTypeEnum
func GetVtapTargetTypeEnumStringValues() []string
GetVtapTargetTypeEnumStringValues Enumerates the set of values in String for VtapTargetTypeEnum
func GetVtapTrafficModeEnumStringValues() []string
GetVtapTrafficModeEnumStringValues Enumerates the set of values in String for VtapTrafficModeEnum
func GetWorkRequestResultResultTypeEnumStringValues() []string
GetWorkRequestResultResultTypeEnumStringValues Enumerates the set of values in String for WorkRequestResultResultTypeEnum
AccessDeniedTrafficNode Defines the configuration of a traffic node to which the user is denied access.
type AccessDeniedTrafficNode struct { EgressTraffic *EgressTrafficSpec `mandatory:"false" json:"egressTraffic"` NextHopRoutingAction RoutingAction `mandatory:"false" json:"nextHopRoutingAction"` EgressSecurityAction SecurityAction `mandatory:"false" json:"egressSecurityAction"` IngressSecurityAction SecurityAction `mandatory:"false" json:"ingressSecurityAction"` }
func (m AccessDeniedTrafficNode) GetEgressSecurityAction() SecurityAction
GetEgressSecurityAction returns EgressSecurityAction
func (m AccessDeniedTrafficNode) GetEgressTraffic() *EgressTrafficSpec
GetEgressTraffic returns EgressTraffic
func (m AccessDeniedTrafficNode) GetIngressSecurityAction() SecurityAction
GetIngressSecurityAction returns IngressSecurityAction
func (m AccessDeniedTrafficNode) GetNextHopRoutingAction() RoutingAction
GetNextHopRoutingAction returns NextHopRoutingAction
func (m AccessDeniedTrafficNode) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AccessDeniedTrafficNode) String() string
func (m *AccessDeniedTrafficNode) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AccessDeniedTrafficNode) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddDrgRouteDistributionStatementDetails Details used to add a route distribution statement.
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"` }
func (m AddDrgRouteDistributionStatementDetails) String() string
func (m *AddDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
AddDrgRouteDistributionStatementDetailsActionEnum Enum with underlying type: string
type AddDrgRouteDistributionStatementDetailsActionEnum string
Set of constants representing the allowable values for AddDrgRouteDistributionStatementDetailsActionEnum
const ( AddDrgRouteDistributionStatementDetailsActionAccept AddDrgRouteDistributionStatementDetailsActionEnum = "ACCEPT" )
func GetAddDrgRouteDistributionStatementDetailsActionEnumValues() []AddDrgRouteDistributionStatementDetailsActionEnum
GetAddDrgRouteDistributionStatementDetailsActionEnumValues Enumerates the set of values for AddDrgRouteDistributionStatementDetailsActionEnum
func GetMappingAddDrgRouteDistributionStatementDetailsActionEnum(val string) (AddDrgRouteDistributionStatementDetailsActionEnum, bool)
GetMappingAddDrgRouteDistributionStatementDetailsActionEnum performs case Insensitive comparison on enum value and return the desired enum
AddDrgRouteDistributionStatementsDetails Details request to add statements to a route distribution.
type AddDrgRouteDistributionStatementsDetails struct { // The collection of route distribution statements to insert into the route distribution. Statements []AddDrgRouteDistributionStatementDetails `mandatory:"true" json:"statements"` }
func (m AddDrgRouteDistributionStatementsDetails) String() string
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
AddDrgRouteRuleDetails Details needed when adding a DRG route rule.
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 or IPv6 CIDR. 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"` }
func (m AddDrgRouteRuleDetails) String() string
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
AddDrgRouteRuleDetailsDestinationTypeEnum Enum with underlying type: string
type AddDrgRouteRuleDetailsDestinationTypeEnum string
Set of constants representing the allowable values for AddDrgRouteRuleDetailsDestinationTypeEnum
const ( AddDrgRouteRuleDetailsDestinationTypeCidrBlock AddDrgRouteRuleDetailsDestinationTypeEnum = "CIDR_BLOCK" )
func GetAddDrgRouteRuleDetailsDestinationTypeEnumValues() []AddDrgRouteRuleDetailsDestinationTypeEnum
GetAddDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddDrgRouteRuleDetailsDestinationTypeEnum
func GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum(val string) (AddDrgRouteRuleDetailsDestinationTypeEnum, bool)
GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddDrgRouteRulesDetails Details used in a request to add static routes to a DRG route table.
type AddDrgRouteRulesDetails struct { // The collection of static rules used to insert routes into the DRG route table. RouteRules []AddDrgRouteRuleDetails `mandatory:"false" json:"routeRules"` }
func (m AddDrgRouteRulesDetails) String() string
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
AddNetworkSecurityGroupSecurityRulesDetails The representation of AddNetworkSecurityGroupSecurityRulesDetails
type AddNetworkSecurityGroupSecurityRulesDetails struct { // The NSG security rules to add. SecurityRules []AddSecurityRuleDetails `mandatory:"false" json:"securityRules"` }
func (m AddNetworkSecurityGroupSecurityRulesDetails) String() string
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
AddPublicIpPoolCapacityDetails The information used to add capacity to an IP pool.
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"` }
func (m AddPublicIpPoolCapacityDetails) String() string
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
AddSecurityRuleDetails A rule for allowing inbound (INGRESS) or outbound (EGRESS) IP packets.
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"` }
func (m AddSecurityRuleDetails) String() string
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
AddSecurityRuleDetailsDestinationTypeEnum Enum with underlying type: string
type AddSecurityRuleDetailsDestinationTypeEnum string
Set of constants representing the allowable values for AddSecurityRuleDetailsDestinationTypeEnum
const ( AddSecurityRuleDetailsDestinationTypeCidrBlock AddSecurityRuleDetailsDestinationTypeEnum = "CIDR_BLOCK" AddSecurityRuleDetailsDestinationTypeServiceCidrBlock AddSecurityRuleDetailsDestinationTypeEnum = "SERVICE_CIDR_BLOCK" AddSecurityRuleDetailsDestinationTypeNetworkSecurityGroup AddSecurityRuleDetailsDestinationTypeEnum = "NETWORK_SECURITY_GROUP" )
func GetAddSecurityRuleDetailsDestinationTypeEnumValues() []AddSecurityRuleDetailsDestinationTypeEnum
GetAddSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsDestinationTypeEnum
func GetMappingAddSecurityRuleDetailsDestinationTypeEnum(val string) (AddSecurityRuleDetailsDestinationTypeEnum, bool)
GetMappingAddSecurityRuleDetailsDestinationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddSecurityRuleDetailsDirectionEnum Enum with underlying type: string
type AddSecurityRuleDetailsDirectionEnum string
Set of constants representing the allowable values for AddSecurityRuleDetailsDirectionEnum
const ( AddSecurityRuleDetailsDirectionEgress AddSecurityRuleDetailsDirectionEnum = "EGRESS" AddSecurityRuleDetailsDirectionIngress AddSecurityRuleDetailsDirectionEnum = "INGRESS" )
func GetAddSecurityRuleDetailsDirectionEnumValues() []AddSecurityRuleDetailsDirectionEnum
GetAddSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for AddSecurityRuleDetailsDirectionEnum
func GetMappingAddSecurityRuleDetailsDirectionEnum(val string) (AddSecurityRuleDetailsDirectionEnum, bool)
GetMappingAddSecurityRuleDetailsDirectionEnum performs case Insensitive comparison on enum value and return the desired enum
AddSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string
type AddSecurityRuleDetailsSourceTypeEnum string
Set of constants representing the allowable values for AddSecurityRuleDetailsSourceTypeEnum
const ( AddSecurityRuleDetailsSourceTypeCidrBlock AddSecurityRuleDetailsSourceTypeEnum = "CIDR_BLOCK" AddSecurityRuleDetailsSourceTypeServiceCidrBlock AddSecurityRuleDetailsSourceTypeEnum = "SERVICE_CIDR_BLOCK" AddSecurityRuleDetailsSourceTypeNetworkSecurityGroup AddSecurityRuleDetailsSourceTypeEnum = "NETWORK_SECURITY_GROUP" )
func GetAddSecurityRuleDetailsSourceTypeEnumValues() []AddSecurityRuleDetailsSourceTypeEnum
GetAddSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsSourceTypeEnum
func GetMappingAddSecurityRuleDetailsSourceTypeEnum(val string) (AddSecurityRuleDetailsSourceTypeEnum, bool)
GetMappingAddSecurityRuleDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AddSubnetIpv6CidrDetails Details used when adding an IPv6 CIDR block to a subnet.
type AddSubnetIpv6CidrDetails struct { // This field is not required and should only be specified when adding an IPv6 CIDR // 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"` }
func (m AddSubnetIpv6CidrDetails) String() string
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
AddVcnCidrDetails Details used to add a CIDR block to a VCN.
type AddVcnCidrDetails struct { // The CIDR block to add. CidrBlock *string `mandatory:"true" json:"cidrBlock"` }
func (m AddVcnCidrDetails) String() string
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
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.
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"` }
func (m AddVcnIpv6CidrDetails) String() string
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
AddedNetworkSecurityGroupSecurityRules The representation of AddedNetworkSecurityGroupSecurityRules
type AddedNetworkSecurityGroupSecurityRules struct { // The NSG security rules that were added. SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"` }
func (m AddedNetworkSecurityGroupSecurityRules) String() string
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
AdhocGetPathAnalysisDetails Defines the configuration for getting an ad-hoc path analysis.
type AdhocGetPathAnalysisDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The IP protocol to used for the path analysis. Protocol *int `mandatory:"true" json:"protocol"` SourceEndpoint Endpoint `mandatory:"true" json:"sourceEndpoint"` DestinationEndpoint Endpoint `mandatory:"true" json:"destinationEndpoint"` ProtocolParameters ProtocolParameters `mandatory:"false" json:"protocolParameters"` QueryOptions *QueryOptions `mandatory:"false" json:"queryOptions"` }
func (m AdhocGetPathAnalysisDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AdhocGetPathAnalysisDetails) String() string
func (m *AdhocGetPathAnalysisDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AdhocGetPathAnalysisDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AllowedIkeIpSecParameters Lists the current allowed and default IPSec tunnel parameters.
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"` }
func (m AllowedIkeIpSecParameters) String() string
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
AllowedPhaseOneParameters Allowed phase one parameters.
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"` }
func (m AllowedPhaseOneParameters) String() string
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
AllowedPhaseTwoParameters Allowed phase two parameters.
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"` }
func (m AllowedPhaseTwoParameters) String() string
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
AllowedSecurityAction Defines the security action taken on allowed traffic.
type AllowedSecurityAction struct { AllowedSecurityActionDetails *AllowedSecurityActionDetails `mandatory:"false" json:"allowedSecurityActionDetails"` // Type of the `SecurityAction`. ActionType SecurityActionActionTypeEnum `mandatory:"true" json:"actionType"` }
func (m AllowedSecurityAction) GetActionType() SecurityActionActionTypeEnum
GetActionType returns ActionType
func (m AllowedSecurityAction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AllowedSecurityAction) String() string
func (m AllowedSecurityAction) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AllowedSecurityActionDetails Defines details for the security action taken on allowed traffic.
type AllowedSecurityActionDetails struct { // If true, the allowed security configuration details are incomplete. IsRestrictedOrPartial *bool `mandatory:"true" json:"isRestrictedOrPartial"` AllowedSecurityConfiguration AllowedSecurityConfiguration `mandatory:"false" json:"allowedSecurityConfiguration"` }
func (m AllowedSecurityActionDetails) String() string
func (m *AllowedSecurityActionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m AllowedSecurityActionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AllowedSecurityConfiguration Defines the allowed security configuration for the traffic.
type AllowedSecurityConfiguration interface { }
AllowedSecurityConfigurationTypeEnum Enum with underlying type: string
type AllowedSecurityConfigurationTypeEnum string
Set of constants representing the allowable values for AllowedSecurityConfigurationTypeEnum
const ( AllowedSecurityConfigurationTypeNsg AllowedSecurityConfigurationTypeEnum = "NSG" AllowedSecurityConfigurationTypeStatefulNsg AllowedSecurityConfigurationTypeEnum = "STATEFUL_NSG" AllowedSecurityConfigurationTypeIngressSecurityList AllowedSecurityConfigurationTypeEnum = "INGRESS_SECURITY_LIST" AllowedSecurityConfigurationTypeStatefulIngressSecurityList AllowedSecurityConfigurationTypeEnum = "STATEFUL_INGRESS_SECURITY_LIST" AllowedSecurityConfigurationTypeEgressSecurityList AllowedSecurityConfigurationTypeEnum = "EGRESS_SECURITY_LIST" AllowedSecurityConfigurationTypeStatefulEgressSecurityList AllowedSecurityConfigurationTypeEnum = "STATEFUL_EGRESS_SECURITY_LIST" )
func GetAllowedSecurityConfigurationTypeEnumValues() []AllowedSecurityConfigurationTypeEnum
GetAllowedSecurityConfigurationTypeEnumValues Enumerates the set of values for AllowedSecurityConfigurationTypeEnum
func GetMappingAllowedSecurityConfigurationTypeEnum(val string) (AllowedSecurityConfigurationTypeEnum, bool)
GetMappingAllowedSecurityConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
BgpSessionInfo Information for establishing a BGP session for the IPSec tunnel.
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"` }
func (m BgpSessionInfo) String() string
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
BgpSessionInfoBgpIpv6StateEnum Enum with underlying type: string
type BgpSessionInfoBgpIpv6StateEnum string
Set of constants representing the allowable values for BgpSessionInfoBgpIpv6StateEnum
const ( BgpSessionInfoBgpIpv6StateUp BgpSessionInfoBgpIpv6StateEnum = "UP" BgpSessionInfoBgpIpv6StateDown BgpSessionInfoBgpIpv6StateEnum = "DOWN" )
func GetBgpSessionInfoBgpIpv6StateEnumValues() []BgpSessionInfoBgpIpv6StateEnum
GetBgpSessionInfoBgpIpv6StateEnumValues Enumerates the set of values for BgpSessionInfoBgpIpv6StateEnum
func GetMappingBgpSessionInfoBgpIpv6StateEnum(val string) (BgpSessionInfoBgpIpv6StateEnum, bool)
GetMappingBgpSessionInfoBgpIpv6StateEnum performs case Insensitive comparison on enum value and return the desired enum
BgpSessionInfoBgpStateEnum Enum with underlying type: string
type BgpSessionInfoBgpStateEnum string
Set of constants representing the allowable values for BgpSessionInfoBgpStateEnum
const ( BgpSessionInfoBgpStateUp BgpSessionInfoBgpStateEnum = "UP" BgpSessionInfoBgpStateDown BgpSessionInfoBgpStateEnum = "DOWN" )
func GetBgpSessionInfoBgpStateEnumValues() []BgpSessionInfoBgpStateEnum
GetBgpSessionInfoBgpStateEnumValues Enumerates the set of values for BgpSessionInfoBgpStateEnum
func GetMappingBgpSessionInfoBgpStateEnum(val string) (BgpSessionInfoBgpStateEnum, bool)
GetMappingBgpSessionInfoBgpStateEnum performs case Insensitive comparison on enum value and return the desired enum
BulkAddVirtualCircuitPublicPrefixesDetails The representation of BulkAddVirtualCircuitPublicPrefixesDetails
type BulkAddVirtualCircuitPublicPrefixesDetails struct { // The public IP prefixes (CIDRs) to add to the public virtual circuit. PublicPrefixes []CreateVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"` }
func (m BulkAddVirtualCircuitPublicPrefixesDetails) String() string
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
BulkDeleteVirtualCircuitPublicPrefixesDetails The representation of BulkDeleteVirtualCircuitPublicPrefixesDetails
type BulkDeleteVirtualCircuitPublicPrefixesDetails struct { // The public IP prefixes (CIDRs) to remove from the public virtual circuit. PublicPrefixes []DeleteVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"` }
func (m BulkDeleteVirtualCircuitPublicPrefixesDetails) String() string
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
ByoipAllocatedRangeCollection Results of a `ListByoipAllocatedRanges` operation.
type ByoipAllocatedRangeCollection struct { // A list of subranges of a BYOIP CIDR block allocated to an IP pool. Items []ByoipAllocatedRangeSummary `mandatory:"true" json:"items"` }
func (m ByoipAllocatedRangeCollection) String() string
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
ByoipAllocatedRangeSummary A summary of CIDR block subranges that are currently allocated to an IP pool.
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"` }
func (m ByoipAllocatedRangeSummary) String() string
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
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.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block 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"` }
func (m ByoipRange) String() string
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
ByoipRangeCollection The results returned by a `ListByoipRange` operation.
type ByoipRangeCollection struct { // A list of `ByoipRange` resource summaries. Items []ByoipRangeSummary `mandatory:"true" json:"items"` }
func (m ByoipRangeCollection) String() string
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
ByoipRangeLifecycleDetailsEnum Enum with underlying type: string
type ByoipRangeLifecycleDetailsEnum string
Set of constants representing the allowable values for ByoipRangeLifecycleDetailsEnum
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" )
func GetByoipRangeLifecycleDetailsEnumValues() []ByoipRangeLifecycleDetailsEnum
GetByoipRangeLifecycleDetailsEnumValues Enumerates the set of values for ByoipRangeLifecycleDetailsEnum
func GetMappingByoipRangeLifecycleDetailsEnum(val string) (ByoipRangeLifecycleDetailsEnum, bool)
GetMappingByoipRangeLifecycleDetailsEnum performs case Insensitive comparison on enum value and return the desired enum
ByoipRangeLifecycleStateEnum Enum with underlying type: string
type ByoipRangeLifecycleStateEnum string
Set of constants representing the allowable values for ByoipRangeLifecycleStateEnum
const ( ByoipRangeLifecycleStateInactive ByoipRangeLifecycleStateEnum = "INACTIVE" ByoipRangeLifecycleStateUpdating ByoipRangeLifecycleStateEnum = "UPDATING" ByoipRangeLifecycleStateActive ByoipRangeLifecycleStateEnum = "ACTIVE" ByoipRangeLifecycleStateDeleting ByoipRangeLifecycleStateEnum = "DELETING" ByoipRangeLifecycleStateDeleted ByoipRangeLifecycleStateEnum = "DELETED" )
func GetByoipRangeLifecycleStateEnumValues() []ByoipRangeLifecycleStateEnum
GetByoipRangeLifecycleStateEnumValues Enumerates the set of values for ByoipRangeLifecycleStateEnum
func GetMappingByoipRangeLifecycleStateEnum(val string) (ByoipRangeLifecycleStateEnum, bool)
GetMappingByoipRangeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ByoipRangeSummary Information about a `ByoipRange` resource.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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 CIDR block being imported to the Oracle cloud. This CIDR block 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"` }
func (m ByoipRangeSummary) String() string
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
ByoipRangeVcnIpv6AllocationSummary A summary of IPv6 CIDR block subranges currently allocated to a VCN.
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 CIDR block range or subrange allocated to a VCN. This could be all or part of a BYOIPv6 CIDR block. // 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"` }
func (m ByoipRangeVcnIpv6AllocationSummary) String() string
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
Byoipv6CidrDetails The list of one or more BYOIPv6 CIDR blocks for the VCN that meets the following criteria: - The CIDR must from a BYOIPv6 range. - The IPv6 CIDR blocks must be valid. - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a VCN.
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 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole CIDR block identified in `byoipv6RangeId`, or a subrange. // Example: `2001:0db8:0123::/48` Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"` }
func (m Byoipv6CidrDetails) String() string
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
CaptureFilter A capture filter contains a set of *CaptureFilterRuleDetails* governing what traffic a *Vtap* mirrors. The capture filter is created with no rules defined, and it must have at least one rule for the VTAP to start mirroring traffic.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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 Flow Log collects when creating a flow log capture filter. FlowLogCaptureFilterRules []FlowLogCaptureFilterRuleDetails `mandatory:"false" json:"flowLogCaptureFilterRules"` }
func (m CaptureFilter) String() string
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
CaptureFilterFilterTypeEnum Enum with underlying type: string
type CaptureFilterFilterTypeEnum string
Set of constants representing the allowable values for CaptureFilterFilterTypeEnum
const ( CaptureFilterFilterTypeVtap CaptureFilterFilterTypeEnum = "VTAP" CaptureFilterFilterTypeFlowlog CaptureFilterFilterTypeEnum = "FLOWLOG" )
func GetCaptureFilterFilterTypeEnumValues() []CaptureFilterFilterTypeEnum
GetCaptureFilterFilterTypeEnumValues Enumerates the set of values for CaptureFilterFilterTypeEnum
func GetMappingCaptureFilterFilterTypeEnum(val string) (CaptureFilterFilterTypeEnum, bool)
GetMappingCaptureFilterFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CaptureFilterLifecycleStateEnum Enum with underlying type: string
type CaptureFilterLifecycleStateEnum string
Set of constants representing the allowable values for CaptureFilterLifecycleStateEnum
const ( CaptureFilterLifecycleStateProvisioning CaptureFilterLifecycleStateEnum = "PROVISIONING" CaptureFilterLifecycleStateAvailable CaptureFilterLifecycleStateEnum = "AVAILABLE" CaptureFilterLifecycleStateUpdating CaptureFilterLifecycleStateEnum = "UPDATING" CaptureFilterLifecycleStateTerminating CaptureFilterLifecycleStateEnum = "TERMINATING" CaptureFilterLifecycleStateTerminated CaptureFilterLifecycleStateEnum = "TERMINATED" )
func GetCaptureFilterLifecycleStateEnumValues() []CaptureFilterLifecycleStateEnum
GetCaptureFilterLifecycleStateEnumValues Enumerates the set of values for CaptureFilterLifecycleStateEnum
func GetMappingCaptureFilterLifecycleStateEnum(val string) (CaptureFilterLifecycleStateEnum, bool)
GetMappingCaptureFilterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ChangeByoipRangeCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeByoipRangeCompartmentDetails) String() string
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
ChangeCaptureFilterCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP) capture filter.
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"` }
func (m ChangeCaptureFilterCompartmentDetails) String() string
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
ChangeCpeCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeCpeCompartmentDetails) String() string
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
ChangeCrossConnectCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeCrossConnectCompartmentDetails) String() string
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
ChangeCrossConnectGroupCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeCrossConnectGroupCompartmentDetails) String() string
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
ChangeDhcpOptionsCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeDhcpOptionsCompartmentDetails) String() string
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
ChangeDrgCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeDrgCompartmentDetails) String() string
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
ChangeInternetGatewayCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeInternetGatewayCompartmentDetails) String() string
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
ChangeIpSecConnectionCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeIpSecConnectionCompartmentDetails) String() string
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
ChangeLocalPeeringGatewayCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeLocalPeeringGatewayCompartmentDetails) String() string
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
ChangeNatGatewayCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeNatGatewayCompartmentDetails) String() string
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
ChangeNetworkSecurityGroupCompartmentDetails The representation of 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"` }
func (m ChangeNetworkSecurityGroupCompartmentDetails) String() string
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
ChangePathAnalyzerTestCompartmentDetails Details of the new `compartmentId` for the `PathAnalyzerTest` resource.
type ChangePathAnalyzerTestCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment // into which the `PathAnalyzerTest` resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangePathAnalyzerTestCompartmentDetails) String() string
func (m ChangePathAnalyzerTestCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangePathAnalyzerTestCompartmentRequest wrapper for the ChangePathAnalyzerTestCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vnmonitoring/ChangePathAnalyzerTestCompartment.go.html to see an example of how to use ChangePathAnalyzerTestCompartmentRequest.
type ChangePathAnalyzerTestCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the `PathAnalyzerTest` resource. PathAnalyzerTestId *string `mandatory:"true" contributesTo:"path" name:"pathAnalyzerTestId"` // The information to update. ChangePathAnalyzerTestCompartmentDetails `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 }
func (request ChangePathAnalyzerTestCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangePathAnalyzerTestCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangePathAnalyzerTestCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangePathAnalyzerTestCompartmentRequest) String() string
func (request ChangePathAnalyzerTestCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangePathAnalyzerTestCompartmentResponse wrapper for the ChangePathAnalyzerTestCompartment operation
type ChangePathAnalyzerTestCompartmentResponse 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"` }
func (response ChangePathAnalyzerTestCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangePathAnalyzerTestCompartmentResponse) String() string
ChangePublicIpCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangePublicIpCompartmentDetails) String() string
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
ChangePublicIpPoolCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangePublicIpPoolCompartmentDetails) String() string
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
ChangeRemotePeeringConnectionCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeRemotePeeringConnectionCompartmentDetails) String() string
func (m ChangeRemotePeeringConnectionCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeRouteTableCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeRouteTableCompartmentDetails) String() string
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
ChangeSecurityListCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeSecurityListCompartmentDetails) String() string
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
ChangeServiceGatewayCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeServiceGatewayCompartmentDetails) String() string
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
ChangeSubnetCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeSubnetCompartmentDetails) String() string
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
ChangeVcnCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeVcnCompartmentDetails) String() string
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
ChangeVirtualCircuitCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeVirtualCircuitCompartmentDetails) String() string
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
ChangeVlanCompartmentDetails The configuration details for the move operation.
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"` }
func (m ChangeVlanCompartmentDetails) String() string
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
ChangeVtapCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP).
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"` }
func (m ChangeVtapCompartmentDetails) String() string
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
CompartmentInternal Helper definition required to perform authZ using SPLAT expressions on a Compartment
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"` }
func (m CompartmentInternal) String() string
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
ComputeInstanceEndpoint Defines the details required for a COMPUTE_INSTANCE-type `Endpoint`.
type ComputeInstanceEndpoint struct { // The IPv4 address of the COMPUTE_INSTANCE-type `Endpoint` object. Address *string `mandatory:"true" json:"address"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compute instance. InstanceId *string `mandatory:"true" json:"instanceId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. VnicId *string `mandatory:"true" json:"vnicId"` }
func (m ComputeInstanceEndpoint) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceEndpoint) String() string
func (m ComputeInstanceEndpoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConnectLocalPeeringGatewaysDetails Information about the other local peering gateway (LPG).
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"` }
func (m ConnectLocalPeeringGatewaysDetails) String() string
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
ConnectRemotePeeringConnectionsDetails Information about the other remote peering connection (RPC).
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"` }
func (m ConnectRemotePeeringConnectionsDetails) String() string
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
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).
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m Cpe) String() string
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
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).
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"` }
func (m CpeDeviceConfigAnswer) String() string
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
CpeDeviceConfigQuestion An individual question that the customer can answer about the CPE device. The customer provides answers to these questions in UpdateTunnelCpeDeviceConfig.
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"` }
func (m CpeDeviceConfigQuestion) String() string
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
CpeDeviceInfo Basic information about a particular CPE device type.
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"` }
func (m CpeDeviceInfo) String() string
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
CpeDeviceShapeDetail The detailed information about a particular CPE device type. Compare with CpeDeviceShapeSummary.
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"` }
func (m CpeDeviceShapeDetail) String() string
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
CpeDeviceShapeSummary A summary of information about a particular CPE device type. Compare with CpeDeviceShapeDetail.
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"` }
func (m CpeDeviceShapeSummary) String() string
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
CreateByoipRangeDetails The information used to create a `ByoipRange` resource.
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 CIDR block. 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateByoipRangeDetails) String() string
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
CreateCaptureFilterDetails A capture filter contains a set of rules governing what traffic a VTAP mirrors.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The set of rules governing what traffic a VTAP mirrors. VtapCaptureFilterRules []VtapCaptureFilterRuleDetails `mandatory:"false" json:"vtapCaptureFilterRules"` // The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter. FlowLogCaptureFilterRules []FlowLogCaptureFilterRuleDetails `mandatory:"false" json:"flowLogCaptureFilterRules"` }
func (m CreateCaptureFilterDetails) String() string
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
CreateCaptureFilterDetailsFilterTypeEnum Enum with underlying type: string
type CreateCaptureFilterDetailsFilterTypeEnum string
Set of constants representing the allowable values for CreateCaptureFilterDetailsFilterTypeEnum
const ( CreateCaptureFilterDetailsFilterTypeVtap CreateCaptureFilterDetailsFilterTypeEnum = "VTAP" CreateCaptureFilterDetailsFilterTypeFlowlog CreateCaptureFilterDetailsFilterTypeEnum = "FLOWLOG" )
func GetCreateCaptureFilterDetailsFilterTypeEnumValues() []CreateCaptureFilterDetailsFilterTypeEnum
GetCreateCaptureFilterDetailsFilterTypeEnumValues Enumerates the set of values for CreateCaptureFilterDetailsFilterTypeEnum
func GetMappingCreateCaptureFilterDetailsFilterTypeEnum(val string) (CreateCaptureFilterDetailsFilterTypeEnum, bool)
GetMappingCreateCaptureFilterDetailsFilterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateCpeDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateCpeDetails) String() string
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
CreateCrossConnectDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateCrossConnectDetails) String() string
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
CreateCrossConnectGroupDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` MacsecProperties *CreateMacsecProperties `mandatory:"false" json:"macsecProperties"` }
func (m CreateCrossConnectGroupDetails) String() string
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
CreateDhcpDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The search domain name type of DHCP options DomainNameType CreateDhcpDetailsDomainNameTypeEnum `mandatory:"false" json:"domainNameType,omitempty"` }
func (m CreateDhcpDetails) String() string
func (m *CreateDhcpDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateDhcpDetailsDomainNameTypeEnum Enum with underlying type: string
type CreateDhcpDetailsDomainNameTypeEnum string
Set of constants representing the allowable values for CreateDhcpDetailsDomainNameTypeEnum
const ( CreateDhcpDetailsDomainNameTypeSubnetDomain CreateDhcpDetailsDomainNameTypeEnum = "SUBNET_DOMAIN" CreateDhcpDetailsDomainNameTypeVcnDomain CreateDhcpDetailsDomainNameTypeEnum = "VCN_DOMAIN" CreateDhcpDetailsDomainNameTypeCustomDomain CreateDhcpDetailsDomainNameTypeEnum = "CUSTOM_DOMAIN" )
func GetCreateDhcpDetailsDomainNameTypeEnumValues() []CreateDhcpDetailsDomainNameTypeEnum
GetCreateDhcpDetailsDomainNameTypeEnumValues Enumerates the set of values for CreateDhcpDetailsDomainNameTypeEnum
func GetMappingCreateDhcpDetailsDomainNameTypeEnum(val string) (CreateDhcpDetailsDomainNameTypeEnum, bool)
GetMappingCreateDhcpDetailsDomainNameTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDrgAttachmentDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateDrgAttachmentDetails) String() string
func (m *CreateDrgAttachmentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateDrgDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateDrgDetails) String() string
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
CreateDrgRouteDistributionDetails Details used to create a route distribution.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateDrgRouteDistributionDetails) String() string
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
CreateDrgRouteDistributionDetailsDistributionTypeEnum Enum with underlying type: string
type CreateDrgRouteDistributionDetailsDistributionTypeEnum string
Set of constants representing the allowable values for CreateDrgRouteDistributionDetailsDistributionTypeEnum
const ( CreateDrgRouteDistributionDetailsDistributionTypeImport CreateDrgRouteDistributionDetailsDistributionTypeEnum = "IMPORT" )
func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues() []CreateDrgRouteDistributionDetailsDistributionTypeEnum
GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues Enumerates the set of values for CreateDrgRouteDistributionDetailsDistributionTypeEnum
func GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum(val string) (CreateDrgRouteDistributionDetailsDistributionTypeEnum, bool)
GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDrgRouteTableDetails Details used in a request to create a DRG route table.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateDrgRouteTableDetails) String() string
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
CreateInternetGatewayDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateInternetGatewayDetails) String() string
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
CreateIpSecConnectionDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` // The count of tunnels in the IPsec connection. This value should be equal to the number of // `tunnelConfiguration` objects specified in the `CreateIPSecConnection` request. TunnelCount *int `mandatory:"false" json:"tunnelCount"` }
func (m CreateIpSecConnectionDetails) String() string
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
CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum Enum with underlying type: string
type CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum string
Set of constants representing the allowable values for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum
const ( CreateIpSecConnectionDetailsCpeLocalIdentifierTypeIpAddress CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = "IP_ADDRESS" CreateIpSecConnectionDetailsCpeLocalIdentifierTypeHostname CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum = "HOSTNAME" )
func GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues() []CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum
GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumValues Enumerates the set of values for CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum
func GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum(val string) (CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum, bool)
GetMappingCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateIpSecConnectionTunnelDetails The representation of 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"` }
func (m CreateIpSecConnectionTunnelDetails) String() string
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
CreateIpSecConnectionTunnelDetailsIkeVersionEnum Enum with underlying type: string
type CreateIpSecConnectionTunnelDetailsIkeVersionEnum string
Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsIkeVersionEnum
const ( CreateIpSecConnectionTunnelDetailsIkeVersionV1 CreateIpSecConnectionTunnelDetailsIkeVersionEnum = "V1" CreateIpSecConnectionTunnelDetailsIkeVersionV2 CreateIpSecConnectionTunnelDetailsIkeVersionEnum = "V2" )
func GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues() []CreateIpSecConnectionTunnelDetailsIkeVersionEnum
GetCreateIpSecConnectionTunnelDetailsIkeVersionEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsIkeVersionEnum
func GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum(val string) (CreateIpSecConnectionTunnelDetailsIkeVersionEnum, bool)
GetMappingCreateIpSecConnectionTunnelDetailsIkeVersionEnum performs case Insensitive comparison on enum value and return the desired enum
CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum Enum with underlying type: string
type CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum string
Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum
const ( CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnabled CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "ENABLED" CreateIpSecConnectionTunnelDetailsNatTranslationEnabledDisabled CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "DISABLED" CreateIpSecConnectionTunnelDetailsNatTranslationEnabledAuto CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum = "AUTO" )
func GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues() []CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum
GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum
func GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum(val string) (CreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum, bool)
GetMappingCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnum performs case Insensitive comparison on enum value and return the desired enum
CreateIpSecConnectionTunnelDetailsOracleInitiationEnum Enum with underlying type: string
type CreateIpSecConnectionTunnelDetailsOracleInitiationEnum string
Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum
const ( CreateIpSecConnectionTunnelDetailsOracleInitiationInitiatorOrResponder CreateIpSecConnectionTunnelDetailsOracleInitiationEnum = "INITIATOR_OR_RESPONDER" CreateIpSecConnectionTunnelDetailsOracleInitiationResponderOnly CreateIpSecConnectionTunnelDetailsOracleInitiationEnum = "RESPONDER_ONLY" )
func GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues() []CreateIpSecConnectionTunnelDetailsOracleInitiationEnum
GetCreateIpSecConnectionTunnelDetailsOracleInitiationEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsOracleInitiationEnum
func GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum(val string) (CreateIpSecConnectionTunnelDetailsOracleInitiationEnum, bool)
GetMappingCreateIpSecConnectionTunnelDetailsOracleInitiationEnum performs case Insensitive comparison on enum value and return the desired enum
CreateIpSecConnectionTunnelDetailsRoutingEnum Enum with underlying type: string
type CreateIpSecConnectionTunnelDetailsRoutingEnum string
Set of constants representing the allowable values for CreateIpSecConnectionTunnelDetailsRoutingEnum
const ( CreateIpSecConnectionTunnelDetailsRoutingBgp CreateIpSecConnectionTunnelDetailsRoutingEnum = "BGP" CreateIpSecConnectionTunnelDetailsRoutingStatic CreateIpSecConnectionTunnelDetailsRoutingEnum = "STATIC" CreateIpSecConnectionTunnelDetailsRoutingPolicy CreateIpSecConnectionTunnelDetailsRoutingEnum = "POLICY" )
func GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues() []CreateIpSecConnectionTunnelDetailsRoutingEnum
GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsRoutingEnum
func GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum(val string) (CreateIpSecConnectionTunnelDetailsRoutingEnum, bool)
GetMappingCreateIpSecConnectionTunnelDetailsRoutingEnum performs case Insensitive comparison on enum value and return the desired enum
CreateIpSecTunnelBgpSessionDetails The representation of 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"` }
func (m CreateIpSecTunnelBgpSessionDetails) String() string
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
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.
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"` }
func (m CreateIpSecTunnelEncryptionDomainDetails) String() string
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
CreateIpv6Details The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists on the subnet. Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"` }
func (m CreateIpv6Details) String() string
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
CreateLocalPeeringGatewayDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateLocalPeeringGatewayDetails) String() string
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
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.
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"` }
func (m CreateMacsecKey) String() string
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
CreateMacsecProperties Properties used to configure MACsec (if capable).
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"` }
func (m CreateMacsecProperties) String() string
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
CreateNatGatewayDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateNatGatewayDetails) String() string
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
CreateNetworkSecurityGroupDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateNetworkSecurityGroupDetails) String() string
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
CreatePathAnalyzerTestDetails Details used to create a `PathAnalyzerTest` resource.
type CreatePathAnalyzerTestDetails struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the `PathAnalyzerTest` resource's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The IP protocol to use in the `PathAnalyzerTest` resource. Protocol *int `mandatory:"true" json:"protocol"` SourceEndpoint Endpoint `mandatory:"true" json:"sourceEndpoint"` DestinationEndpoint Endpoint `mandatory:"true" json:"destinationEndpoint"` // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` ProtocolParameters ProtocolParameters `mandatory:"false" json:"protocolParameters"` QueryOptions *QueryOptions `mandatory:"false" json:"queryOptions"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreatePathAnalyzerTestDetails) String() string
func (m *CreatePathAnalyzerTestDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreatePathAnalyzerTestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePathAnalyzerTestRequest wrapper for the CreatePathAnalyzerTest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/vnmonitoring/CreatePathAnalyzerTest.go.html to see an example of how to use CreatePathAnalyzerTestRequest.
type CreatePathAnalyzerTestRequest struct { // Details for creating a new PathAnalyzerTest. CreatePathAnalyzerTestDetails `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 }
func (request CreatePathAnalyzerTestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreatePathAnalyzerTestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreatePathAnalyzerTestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreatePathAnalyzerTestRequest) String() string
func (request CreatePathAnalyzerTestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreatePathAnalyzerTestResponse wrapper for the CreatePathAnalyzerTest operation
type CreatePathAnalyzerTestResponse struct { // The underlying http response RawResponse *http.Response // The PathAnalyzerTest instance PathAnalyzerTest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreatePathAnalyzerTestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreatePathAnalyzerTestResponse) String() string
CreatePrivateIpDetails The representation of CreatePrivateIpDetails
type CreatePrivateIpDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreatePrivateIpDetails) String() string
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
CreatePublicIpDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreatePublicIpDetails) String() string
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
CreatePublicIpDetailsLifetimeEnum Enum with underlying type: string
type CreatePublicIpDetailsLifetimeEnum string
Set of constants representing the allowable values for CreatePublicIpDetailsLifetimeEnum
const ( CreatePublicIpDetailsLifetimeEphemeral CreatePublicIpDetailsLifetimeEnum = "EPHEMERAL" CreatePublicIpDetailsLifetimeReserved CreatePublicIpDetailsLifetimeEnum = "RESERVED" )
func GetCreatePublicIpDetailsLifetimeEnumValues() []CreatePublicIpDetailsLifetimeEnum
GetCreatePublicIpDetailsLifetimeEnumValues Enumerates the set of values for CreatePublicIpDetailsLifetimeEnum
func GetMappingCreatePublicIpDetailsLifetimeEnum(val string) (CreatePublicIpDetailsLifetimeEnum, bool)
GetMappingCreatePublicIpDetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum
CreatePublicIpPoolDetails The information used to create a public IP pool.
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreatePublicIpPoolDetails) String() string
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
CreateRemotePeeringConnectionDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateRemotePeeringConnectionDetails) String() string
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
CreateRouteTableDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateRouteTableDetails) String() string
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
CreateSecurityListDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateSecurityListDetails) String() string
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
CreateServiceGatewayDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateServiceGatewayDetails) String() string
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
CreateSubnetDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: // - The CIDR blocks must be valid. // - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. // - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks 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 CIDR block, 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"` }
func (m CreateSubnetDetails) String() string
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
CreateVcnDetails The representation of 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 CIDR blocks 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 CIDR block. // - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks 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 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. Byoipv6CidrDetails []Byoipv6CidrDetails `mandatory:"false" json:"byoipv6CidrDetails"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateVcnDetails) String() string
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
CreateVirtualCircuitDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateVirtualCircuitDetails) String() string
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
CreateVirtualCircuitDetailsBgpAdminStateEnum Enum with underlying type: string
type CreateVirtualCircuitDetailsBgpAdminStateEnum string
Set of constants representing the allowable values for CreateVirtualCircuitDetailsBgpAdminStateEnum
const ( CreateVirtualCircuitDetailsBgpAdminStateEnabled CreateVirtualCircuitDetailsBgpAdminStateEnum = "ENABLED" CreateVirtualCircuitDetailsBgpAdminStateDisabled CreateVirtualCircuitDetailsBgpAdminStateEnum = "DISABLED" )
func GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues() []CreateVirtualCircuitDetailsBgpAdminStateEnum
GetCreateVirtualCircuitDetailsBgpAdminStateEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsBgpAdminStateEnum
func GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum(val string) (CreateVirtualCircuitDetailsBgpAdminStateEnum, bool)
GetMappingCreateVirtualCircuitDetailsBgpAdminStateEnum performs case Insensitive comparison on enum value and return the desired enum
CreateVirtualCircuitDetailsRoutingPolicyEnum Enum with underlying type: string
type CreateVirtualCircuitDetailsRoutingPolicyEnum string
Set of constants representing the allowable values for CreateVirtualCircuitDetailsRoutingPolicyEnum
const ( CreateVirtualCircuitDetailsRoutingPolicyOracleServiceNetwork CreateVirtualCircuitDetailsRoutingPolicyEnum = "ORACLE_SERVICE_NETWORK" CreateVirtualCircuitDetailsRoutingPolicyRegional CreateVirtualCircuitDetailsRoutingPolicyEnum = "REGIONAL" CreateVirtualCircuitDetailsRoutingPolicyMarketLevel CreateVirtualCircuitDetailsRoutingPolicyEnum = "MARKET_LEVEL" CreateVirtualCircuitDetailsRoutingPolicyGlobal CreateVirtualCircuitDetailsRoutingPolicyEnum = "GLOBAL" )
func GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues() []CreateVirtualCircuitDetailsRoutingPolicyEnum
GetCreateVirtualCircuitDetailsRoutingPolicyEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsRoutingPolicyEnum
func GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum(val string) (CreateVirtualCircuitDetailsRoutingPolicyEnum, bool)
GetMappingCreateVirtualCircuitDetailsRoutingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
CreateVirtualCircuitDetailsTypeEnum Enum with underlying type: string
type CreateVirtualCircuitDetailsTypeEnum string
Set of constants representing the allowable values for CreateVirtualCircuitDetailsTypeEnum
const ( CreateVirtualCircuitDetailsTypePublic CreateVirtualCircuitDetailsTypeEnum = "PUBLIC" CreateVirtualCircuitDetailsTypePrivate CreateVirtualCircuitDetailsTypeEnum = "PRIVATE" )
func GetCreateVirtualCircuitDetailsTypeEnumValues() []CreateVirtualCircuitDetailsTypeEnum
GetCreateVirtualCircuitDetailsTypeEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsTypeEnum
func GetMappingCreateVirtualCircuitDetailsTypeEnum(val string) (CreateVirtualCircuitDetailsTypeEnum, bool)
GetMappingCreateVirtualCircuitDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateVirtualCircuitPublicPrefixDetails The representation of 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"` }
func (m CreateVirtualCircuitPublicPrefixDetails) String() string
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
CreateVlanDetails The representation of 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateVlanDetails) String() string
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
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).
type CreateVnicDetails struct { // 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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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 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"` }
func (m CreateVnicDetails) String() string
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
CreateVtapDetails These details are included in a request to create a virtual test access point (VTAP).
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CreateVtapDetails) String() string
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
CreateVtapDetailsEncapsulationProtocolEnum Enum with underlying type: string
type CreateVtapDetailsEncapsulationProtocolEnum string
Set of constants representing the allowable values for CreateVtapDetailsEncapsulationProtocolEnum
const ( CreateVtapDetailsEncapsulationProtocolVxlan CreateVtapDetailsEncapsulationProtocolEnum = "VXLAN" )
func GetCreateVtapDetailsEncapsulationProtocolEnumValues() []CreateVtapDetailsEncapsulationProtocolEnum
GetCreateVtapDetailsEncapsulationProtocolEnumValues Enumerates the set of values for CreateVtapDetailsEncapsulationProtocolEnum
func GetMappingCreateVtapDetailsEncapsulationProtocolEnum(val string) (CreateVtapDetailsEncapsulationProtocolEnum, bool)
GetMappingCreateVtapDetailsEncapsulationProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
CreateVtapDetailsSourceTypeEnum Enum with underlying type: string
type CreateVtapDetailsSourceTypeEnum string
Set of constants representing the allowable values for CreateVtapDetailsSourceTypeEnum
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" )
func GetCreateVtapDetailsSourceTypeEnumValues() []CreateVtapDetailsSourceTypeEnum
GetCreateVtapDetailsSourceTypeEnumValues Enumerates the set of values for CreateVtapDetailsSourceTypeEnum
func GetMappingCreateVtapDetailsSourceTypeEnum(val string) (CreateVtapDetailsSourceTypeEnum, bool)
GetMappingCreateVtapDetailsSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateVtapDetailsTargetTypeEnum Enum with underlying type: string
type CreateVtapDetailsTargetTypeEnum string
Set of constants representing the allowable values for CreateVtapDetailsTargetTypeEnum
const ( CreateVtapDetailsTargetTypeVnic CreateVtapDetailsTargetTypeEnum = "VNIC" CreateVtapDetailsTargetTypeNetworkLoadBalancer CreateVtapDetailsTargetTypeEnum = "NETWORK_LOAD_BALANCER" CreateVtapDetailsTargetTypeIpAddress CreateVtapDetailsTargetTypeEnum = "IP_ADDRESS" )
func GetCreateVtapDetailsTargetTypeEnumValues() []CreateVtapDetailsTargetTypeEnum
GetCreateVtapDetailsTargetTypeEnumValues Enumerates the set of values for CreateVtapDetailsTargetTypeEnum
func GetMappingCreateVtapDetailsTargetTypeEnum(val string) (CreateVtapDetailsTargetTypeEnum, bool)
GetMappingCreateVtapDetailsTargetTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateVtapDetailsTrafficModeEnum Enum with underlying type: string
type CreateVtapDetailsTrafficModeEnum string
Set of constants representing the allowable values for CreateVtapDetailsTrafficModeEnum
const ( CreateVtapDetailsTrafficModeDefault CreateVtapDetailsTrafficModeEnum = "DEFAULT" CreateVtapDetailsTrafficModePriority CreateVtapDetailsTrafficModeEnum = "PRIORITY" )
func GetCreateVtapDetailsTrafficModeEnumValues() []CreateVtapDetailsTrafficModeEnum
GetCreateVtapDetailsTrafficModeEnumValues Enumerates the set of values for CreateVtapDetailsTrafficModeEnum
func GetMappingCreateVtapDetailsTrafficModeEnum(val string) (CreateVtapDetailsTrafficModeEnum, bool)
GetMappingCreateVtapDetailsTrafficModeEnum performs case Insensitive comparison on enum value and return the desired enum
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).
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CrossConnect) String() string
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
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).
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. // Example: `{"foo-namespace": {"bar-key": "value"}}` 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"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // 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"` }
func (m CrossConnectGroup) String() string
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
CrossConnectGroupLifecycleStateEnum Enum with underlying type: string
type CrossConnectGroupLifecycleStateEnum string
Set of constants representing the allowable values for CrossConnectGroupLifecycleStateEnum
const ( CrossConnectGroupLifecycleStateProvisioning CrossConnectGroupLifecycleStateEnum = "PROVISIONING" CrossConnectGroupLifecycleStateProvisioned CrossConnectGroupLifecycleStateEnum = "PROVISIONED" CrossConnectGroupLifecycleStateInactive CrossConnectGroupLifecycleStateEnum = "INACTIVE" CrossConnectGroupLifecycleStateTerminating CrossConnectGroupLifecycleStateEnum = "TERMINATING" CrossConnectGroupLifecycleStateTerminated CrossConnectGroupLifecycleStateEnum = "TERMINATED" )
func GetCrossConnectGroupLifecycleStateEnumValues() []CrossConnectGroupLifecycleStateEnum
GetCrossConnectGroupLifecycleStateEnumValues Enumerates the set of values for CrossConnectGroupLifecycleStateEnum
func GetMappingCrossConnectGroupLifecycleStateEnum(val string) (CrossConnectGroupLifecycleStateEnum, bool)
GetMappingCrossConnectGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
CrossConnectLifecycleStateEnum Enum with underlying type: string
type CrossConnectLifecycleStateEnum string
Set of constants representing the allowable values for CrossConnectLifecycleStateEnum
const ( CrossConnectLifecycleStatePendingCustomer CrossConnectLifecycleStateEnum = "PENDING_CUSTOMER" CrossConnectLifecycleStateProvisioning CrossConnectLifecycleStateEnum = "PROVISIONING" CrossConnectLifecycleStateProvisioned CrossConnectLifecycleStateEnum = "PROVISIONED" CrossConnectLifecycleStateInactive CrossConnectLifecycleStateEnum = "INACTIVE" CrossConnectLifecycleStateTerminating CrossConnectLifecycleStateEnum = "TERMINATING" CrossConnectLifecycleStateTerminated CrossConnectLifecycleStateEnum = "TERMINATED" )
func GetCrossConnectLifecycleStateEnumValues() []CrossConnectLifecycleStateEnum
GetCrossConnectLifecycleStateEnumValues Enumerates the set of values for CrossConnectLifecycleStateEnum
func GetMappingCrossConnectLifecycleStateEnum(val string) (CrossConnectLifecycleStateEnum, bool)
GetMappingCrossConnectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
CrossConnectLocation An individual FastConnect location.
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"` }
func (m CrossConnectLocation) String() string
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
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.
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"` }
func (m CrossConnectMapping) String() string
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
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.
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"` }
func (m CrossConnectMappingDetails) String() string
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
CrossConnectMappingDetailsCollection An array of CrossConnectMappingDetails
type CrossConnectMappingDetailsCollection struct { // CrossConnectMappingDetails items Items []CrossConnectMappingDetails `mandatory:"true" json:"items"` }
func (m CrossConnectMappingDetailsCollection) String() string
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
CrossConnectMappingDetailsIpv4BgpStatusEnum Enum with underlying type: string
type CrossConnectMappingDetailsIpv4BgpStatusEnum string
Set of constants representing the allowable values for CrossConnectMappingDetailsIpv4BgpStatusEnum
const ( CrossConnectMappingDetailsIpv4BgpStatusUp CrossConnectMappingDetailsIpv4BgpStatusEnum = "UP" CrossConnectMappingDetailsIpv4BgpStatusDown CrossConnectMappingDetailsIpv4BgpStatusEnum = "DOWN" )
func GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues() []CrossConnectMappingDetailsIpv4BgpStatusEnum
GetCrossConnectMappingDetailsIpv4BgpStatusEnumValues Enumerates the set of values for CrossConnectMappingDetailsIpv4BgpStatusEnum
func GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum(val string) (CrossConnectMappingDetailsIpv4BgpStatusEnum, bool)
GetMappingCrossConnectMappingDetailsIpv4BgpStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CrossConnectMappingDetailsIpv6BgpStatusEnum Enum with underlying type: string
type CrossConnectMappingDetailsIpv6BgpStatusEnum string
Set of constants representing the allowable values for CrossConnectMappingDetailsIpv6BgpStatusEnum
const ( CrossConnectMappingDetailsIpv6BgpStatusUp CrossConnectMappingDetailsIpv6BgpStatusEnum = "UP" CrossConnectMappingDetailsIpv6BgpStatusDown CrossConnectMappingDetailsIpv6BgpStatusEnum = "DOWN" )
func GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues() []CrossConnectMappingDetailsIpv6BgpStatusEnum
GetCrossConnectMappingDetailsIpv6BgpStatusEnumValues Enumerates the set of values for CrossConnectMappingDetailsIpv6BgpStatusEnum
func GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum(val string) (CrossConnectMappingDetailsIpv6BgpStatusEnum, bool)
GetMappingCrossConnectMappingDetailsIpv6BgpStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CrossConnectPortSpeedShape An individual port speed level for cross-connects.
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"` }
func (m CrossConnectPortSpeedShape) String() string
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
CrossConnectStatus The status of the cross-connect.
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"` }
func (m CrossConnectStatus) String() string
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
CrossConnectStatusEncryptionStatusEnum Enum with underlying type: string
type CrossConnectStatusEncryptionStatusEnum string
Set of constants representing the allowable values for CrossConnectStatusEncryptionStatusEnum
const ( CrossConnectStatusEncryptionStatusUp CrossConnectStatusEncryptionStatusEnum = "UP" CrossConnectStatusEncryptionStatusDown CrossConnectStatusEncryptionStatusEnum = "DOWN" CrossConnectStatusEncryptionStatusCipherMismatch CrossConnectStatusEncryptionStatusEnum = "CIPHER_MISMATCH" CrossConnectStatusEncryptionStatusCknMismatch CrossConnectStatusEncryptionStatusEnum = "CKN_MISMATCH" CrossConnectStatusEncryptionStatusCakMismatch CrossConnectStatusEncryptionStatusEnum = "CAK_MISMATCH" )
func GetCrossConnectStatusEncryptionStatusEnumValues() []CrossConnectStatusEncryptionStatusEnum
GetCrossConnectStatusEncryptionStatusEnumValues Enumerates the set of values for CrossConnectStatusEncryptionStatusEnum
func GetMappingCrossConnectStatusEncryptionStatusEnum(val string) (CrossConnectStatusEncryptionStatusEnum, bool)
GetMappingCrossConnectStatusEncryptionStatusEnum performs case Insensitive comparison on enum value and return the desired enum
CrossConnectStatusInterfaceStateEnum Enum with underlying type: string
type CrossConnectStatusInterfaceStateEnum string
Set of constants representing the allowable values for CrossConnectStatusInterfaceStateEnum
const ( CrossConnectStatusInterfaceStateUp CrossConnectStatusInterfaceStateEnum = "UP" CrossConnectStatusInterfaceStateDown CrossConnectStatusInterfaceStateEnum = "DOWN" )
func GetCrossConnectStatusInterfaceStateEnumValues() []CrossConnectStatusInterfaceStateEnum
GetCrossConnectStatusInterfaceStateEnumValues Enumerates the set of values for CrossConnectStatusInterfaceStateEnum
func GetMappingCrossConnectStatusInterfaceStateEnum(val string) (CrossConnectStatusInterfaceStateEnum, bool)
GetMappingCrossConnectStatusInterfaceStateEnum performs case Insensitive comparison on enum value and return the desired enum
CrossConnectStatusLightLevelIndicatorEnum Enum with underlying type: string
type CrossConnectStatusLightLevelIndicatorEnum string
Set of constants representing the allowable values for CrossConnectStatusLightLevelIndicatorEnum
const ( CrossConnectStatusLightLevelIndicatorNoLight CrossConnectStatusLightLevelIndicatorEnum = "NO_LIGHT" CrossConnectStatusLightLevelIndicatorLowWarn CrossConnectStatusLightLevelIndicatorEnum = "LOW_WARN" CrossConnectStatusLightLevelIndicatorHighWarn CrossConnectStatusLightLevelIndicatorEnum = "HIGH_WARN" CrossConnectStatusLightLevelIndicatorBad CrossConnectStatusLightLevelIndicatorEnum = "BAD" CrossConnectStatusLightLevelIndicatorGood CrossConnectStatusLightLevelIndicatorEnum = "GOOD" )
func GetCrossConnectStatusLightLevelIndicatorEnumValues() []CrossConnectStatusLightLevelIndicatorEnum
GetCrossConnectStatusLightLevelIndicatorEnumValues Enumerates the set of values for CrossConnectStatusLightLevelIndicatorEnum