vnmonitoring

package
v65.37.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GetActionTypeEnumStringValues ¶

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues ¶

func GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues() []string

GetAddDrgRouteDistributionStatementDetailsActionEnumStringValues Enumerates the set of values in String for AddDrgRouteDistributionStatementDetailsActionEnum

func GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues ¶

func GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string

GetAddDrgRouteRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for AddDrgRouteRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDestinationTypeEnumStringValues ¶

func GetAddSecurityRuleDetailsDestinationTypeEnumStringValues() []string

GetAddSecurityRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDirectionEnumStringValues ¶

func GetAddSecurityRuleDetailsDirectionEnumStringValues() []string

GetAddSecurityRuleDetailsDirectionEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsDirectionEnum

func GetAddSecurityRuleDetailsSourceTypeEnumStringValues ¶

func GetAddSecurityRuleDetailsSourceTypeEnumStringValues() []string

GetAddSecurityRuleDetailsSourceTypeEnumStringValues Enumerates the set of values in String for AddSecurityRuleDetailsSourceTypeEnum

func GetAllowedSecurityConfigurationTypeEnumStringValues ¶

func GetAllowedSecurityConfigurationTypeEnumStringValues() []string

GetAllowedSecurityConfigurationTypeEnumStringValues Enumerates the set of values in String for AllowedSecurityConfigurationTypeEnum

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues ¶

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues() []string

GetCreateDrgRouteDistributionDetailsDistributionTypeEnumStringValues Enumerates the set of values in String for CreateDrgRouteDistributionDetailsDistributionTypeEnum

func GetCreatePublicIpDetailsLifetimeEnumStringValues ¶

func GetCreatePublicIpDetailsLifetimeEnumStringValues() []string

GetCreatePublicIpDetailsLifetimeEnumStringValues Enumerates the set of values in String for CreatePublicIpDetailsLifetimeEnum

func GetCreateVirtualCircuitDetailsTypeEnumStringValues ¶

func GetCreateVirtualCircuitDetailsTypeEnumStringValues() []string

GetCreateVirtualCircuitDetailsTypeEnumStringValues Enumerates the set of values in String for CreateVirtualCircuitDetailsTypeEnum

func GetCrossConnectGroupLifecycleStateEnumStringValues ¶

func GetCrossConnectGroupLifecycleStateEnumStringValues() []string

GetCrossConnectGroupLifecycleStateEnumStringValues Enumerates the set of values in String for CrossConnectGroupLifecycleStateEnum

func GetCrossConnectLifecycleStateEnumStringValues ¶

func GetCrossConnectLifecycleStateEnumStringValues() []string

GetCrossConnectLifecycleStateEnumStringValues Enumerates the set of values in String for CrossConnectLifecycleStateEnum

func GetCrossConnectStatusInterfaceStateEnumStringValues ¶

func GetCrossConnectStatusInterfaceStateEnumStringValues() []string

GetCrossConnectStatusInterfaceStateEnumStringValues Enumerates the set of values in String for CrossConnectStatusInterfaceStateEnum

func GetCrossConnectStatusLightLevelIndicatorEnumStringValues ¶

func GetCrossConnectStatusLightLevelIndicatorEnumStringValues() []string

GetCrossConnectStatusLightLevelIndicatorEnumStringValues Enumerates the set of values in String for CrossConnectStatusLightLevelIndicatorEnum

func GetDhcpDnsOptionServerTypeEnumStringValues ¶

func GetDhcpDnsOptionServerTypeEnumStringValues() []string

GetDhcpDnsOptionServerTypeEnumStringValues Enumerates the set of values in String for DhcpDnsOptionServerTypeEnum

func GetDhcpOptionsLifecycleStateEnumStringValues ¶

func GetDhcpOptionsLifecycleStateEnumStringValues() []string

GetDhcpOptionsLifecycleStateEnumStringValues Enumerates the set of values in String for DhcpOptionsLifecycleStateEnum

func GetDrgAttachmentLifecycleStateEnumStringValues ¶

func GetDrgAttachmentLifecycleStateEnumStringValues() []string

GetDrgAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for DrgAttachmentLifecycleStateEnum

func GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues ¶

func GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues() []string

GetDrgAttachmentNetworkCreateDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkCreateDetailsTypeEnum

func GetDrgAttachmentNetworkDetailsTypeEnumStringValues ¶

func GetDrgAttachmentNetworkDetailsTypeEnumStringValues() []string

GetDrgAttachmentNetworkDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkDetailsTypeEnum

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues ¶

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues() []string

GetDrgAttachmentNetworkUpdateDetailsTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentNetworkUpdateDetailsTypeEnum

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues ¶

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues() []string

GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumStringValues Enumerates the set of values in String for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

func GetDrgLifecycleStateEnumStringValues ¶

func GetDrgLifecycleStateEnumStringValues() []string

GetDrgLifecycleStateEnumStringValues Enumerates the set of values in String for DrgLifecycleStateEnum

func GetDrgRouteDistributionDistributionTypeEnumStringValues ¶

func GetDrgRouteDistributionDistributionTypeEnumStringValues() []string

GetDrgRouteDistributionDistributionTypeEnumStringValues Enumerates the set of values in String for DrgRouteDistributionDistributionTypeEnum

func GetDrgRouteDistributionLifecycleStateEnumStringValues ¶

func GetDrgRouteDistributionLifecycleStateEnumStringValues() []string

GetDrgRouteDistributionLifecycleStateEnumStringValues Enumerates the set of values in String for DrgRouteDistributionLifecycleStateEnum

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues ¶

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues() []string

GetDrgRouteDistributionMatchCriteriaMatchTypeEnumStringValues Enumerates the set of values in String for DrgRouteDistributionMatchCriteriaMatchTypeEnum

func GetDrgRouteDistributionStatementActionEnumStringValues ¶

func GetDrgRouteDistributionStatementActionEnumStringValues() []string

GetDrgRouteDistributionStatementActionEnumStringValues Enumerates the set of values in String for DrgRouteDistributionStatementActionEnum

func GetDrgRouteRuleDestinationTypeEnumStringValues ¶

func GetDrgRouteRuleDestinationTypeEnumStringValues() []string

GetDrgRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for DrgRouteRuleDestinationTypeEnum

func GetDrgRouteRuleRouteProvenanceEnumStringValues ¶

func GetDrgRouteRuleRouteProvenanceEnumStringValues() []string

GetDrgRouteRuleRouteProvenanceEnumStringValues Enumerates the set of values in String for DrgRouteRuleRouteProvenanceEnum

func GetDrgRouteRuleRouteTypeEnumStringValues ¶

func GetDrgRouteRuleRouteTypeEnumStringValues() []string

GetDrgRouteRuleRouteTypeEnumStringValues Enumerates the set of values in String for DrgRouteRuleRouteTypeEnum

func GetDrgRouteTableLifecycleStateEnumStringValues ¶

func GetDrgRouteTableLifecycleStateEnumStringValues() []string

GetDrgRouteTableLifecycleStateEnumStringValues Enumerates the set of values in String for DrgRouteTableLifecycleStateEnum

func GetEgressSecurityRuleDestinationTypeEnumStringValues ¶

func GetEgressSecurityRuleDestinationTypeEnumStringValues() []string

GetEgressSecurityRuleDestinationTypeEnumStringValues Enumerates the set of values in String for EgressSecurityRuleDestinationTypeEnum

func GetEndpointTypeEnumStringValues ¶

func GetEndpointTypeEnumStringValues() []string

GetEndpointTypeEnumStringValues Enumerates the set of values in String for EndpointTypeEnum

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues ¶

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues() []string

GetFastConnectProviderServicePrivatePeeringBgpManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServicePrivatePeeringBgpManagementEnum

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues ¶

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues() []string

GetFastConnectProviderServicePublicPeeringBgpManagementEnumStringValues Enumerates the set of values in String for FastConnectProviderServicePublicPeeringBgpManagementEnum

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues ¶

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues() []string

GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

func GetFastConnectProviderServiceTypeEnumStringValues ¶

func GetFastConnectProviderServiceTypeEnumStringValues() []string

GetFastConnectProviderServiceTypeEnumStringValues Enumerates the set of values in String for FastConnectProviderServiceTypeEnum

func GetForwardedRoutingConfigurationTypeEnumStringValues ¶

func GetForwardedRoutingConfigurationTypeEnumStringValues() []string

GetForwardedRoutingConfigurationTypeEnumStringValues Enumerates the set of values in String for ForwardedRoutingConfigurationTypeEnum

func GetGetPathAnalysisDetailsTypeEnumStringValues ¶

func GetGetPathAnalysisDetailsTypeEnumStringValues() []string

GetGetPathAnalysisDetailsTypeEnumStringValues Enumerates the set of values in String for GetPathAnalysisDetailsTypeEnum

func GetIngressSecurityRuleSourceTypeEnumStringValues ¶

func GetIngressSecurityRuleSourceTypeEnumStringValues() []string

GetIngressSecurityRuleSourceTypeEnumStringValues Enumerates the set of values in String for IngressSecurityRuleSourceTypeEnum

func GetInternetGatewayLifecycleStateEnumStringValues ¶

func GetInternetGatewayLifecycleStateEnumStringValues() []string

GetInternetGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for InternetGatewayLifecycleStateEnum

func GetIpSecConnectionLifecycleStateEnumStringValues ¶

func GetIpSecConnectionLifecycleStateEnumStringValues() []string

GetIpSecConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for IpSecConnectionLifecycleStateEnum

func GetIpv6LifecycleStateEnumStringValues ¶

func GetIpv6LifecycleStateEnumStringValues() []string

GetIpv6LifecycleStateEnumStringValues Enumerates the set of values in String for Ipv6LifecycleStateEnum

func GetLetterOfAuthorityCircuitTypeEnumStringValues ¶

func GetLetterOfAuthorityCircuitTypeEnumStringValues() []string

GetLetterOfAuthorityCircuitTypeEnumStringValues Enumerates the set of values in String for LetterOfAuthorityCircuitTypeEnum

func GetListPathAnalyzerTestsSortByEnumStringValues ¶

func GetListPathAnalyzerTestsSortByEnumStringValues() []string

GetListPathAnalyzerTestsSortByEnumStringValues Enumerates the set of values in String for ListPathAnalyzerTestsSortByEnum

func GetListPathAnalyzerTestsSortOrderEnumStringValues ¶

func GetListPathAnalyzerTestsSortOrderEnumStringValues() []string

GetListPathAnalyzerTestsSortOrderEnumStringValues Enumerates the set of values in String for ListPathAnalyzerTestsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues ¶

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues ¶

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues ¶

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues ¶

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues ¶

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues ¶

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues ¶

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetLocalPeeringGatewayLifecycleStateEnumStringValues ¶

func GetLocalPeeringGatewayLifecycleStateEnumStringValues() []string

GetLocalPeeringGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for LocalPeeringGatewayLifecycleStateEnum

func GetLocalPeeringGatewayPeeringStatusEnumStringValues ¶

func GetLocalPeeringGatewayPeeringStatusEnumStringValues() []string

GetLocalPeeringGatewayPeeringStatusEnumStringValues Enumerates the set of values in String for LocalPeeringGatewayPeeringStatusEnum

func GetNetworkSecurityGroupLifecycleStateEnumStringValues ¶

func GetNetworkSecurityGroupLifecycleStateEnumStringValues() []string

GetNetworkSecurityGroupLifecycleStateEnumStringValues Enumerates the set of values in String for NetworkSecurityGroupLifecycleStateEnum

func GetOperationStatusEnumStringValues ¶

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues ¶

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPathAnalyzerTestLifecycleStateEnumStringValues ¶

func GetPathAnalyzerTestLifecycleStateEnumStringValues() []string

GetPathAnalyzerTestLifecycleStateEnumStringValues Enumerates the set of values in String for PathAnalyzerTestLifecycleStateEnum

func GetProtocolParametersTypeEnumStringValues ¶

func GetProtocolParametersTypeEnumStringValues() []string

GetProtocolParametersTypeEnumStringValues Enumerates the set of values in String for ProtocolParametersTypeEnum

func GetPublicIpLifecycleStateEnumStringValues ¶

func GetPublicIpLifecycleStateEnumStringValues() []string

GetPublicIpLifecycleStateEnumStringValues Enumerates the set of values in String for PublicIpLifecycleStateEnum

func GetPublicIpLifetimeEnumStringValues ¶

func GetPublicIpLifetimeEnumStringValues() []string

GetPublicIpLifetimeEnumStringValues Enumerates the set of values in String for PublicIpLifetimeEnum

func GetPublicIpScopeEnumStringValues ¶

func GetPublicIpScopeEnumStringValues() []string

GetPublicIpScopeEnumStringValues Enumerates the set of values in String for PublicIpScopeEnum

func GetRemotePeeringConnectionLifecycleStateEnumStringValues ¶

func GetRemotePeeringConnectionLifecycleStateEnumStringValues() []string

GetRemotePeeringConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for RemotePeeringConnectionLifecycleStateEnum

func GetRemotePeeringConnectionPeeringStatusEnumStringValues ¶

func GetRemotePeeringConnectionPeeringStatusEnumStringValues() []string

GetRemotePeeringConnectionPeeringStatusEnumStringValues Enumerates the set of values in String for RemotePeeringConnectionPeeringStatusEnum

func GetRouteRuleDestinationTypeEnumStringValues ¶

func GetRouteRuleDestinationTypeEnumStringValues() []string

GetRouteRuleDestinationTypeEnumStringValues Enumerates the set of values in String for RouteRuleDestinationTypeEnum

func GetRouteTableLifecycleStateEnumStringValues ¶

func GetRouteTableLifecycleStateEnumStringValues() []string

GetRouteTableLifecycleStateEnumStringValues Enumerates the set of values in String for RouteTableLifecycleStateEnum

func GetRoutingActionActionEnumStringValues ¶

func GetRoutingActionActionEnumStringValues() []string

GetRoutingActionActionEnumStringValues Enumerates the set of values in String for RoutingActionActionEnum

func GetRoutingActionActionTypeEnumStringValues ¶

func GetRoutingActionActionTypeEnumStringValues() []string

GetRoutingActionActionTypeEnumStringValues Enumerates the set of values in String for RoutingActionActionTypeEnum

func GetSecurityActionActionEnumStringValues ¶

func GetSecurityActionActionEnumStringValues() []string

GetSecurityActionActionEnumStringValues Enumerates the set of values in String for SecurityActionActionEnum

func GetSecurityActionActionTypeEnumStringValues ¶

func GetSecurityActionActionTypeEnumStringValues() []string

GetSecurityActionActionTypeEnumStringValues Enumerates the set of values in String for SecurityActionActionTypeEnum

func GetSecurityListLifecycleStateEnumStringValues ¶

func GetSecurityListLifecycleStateEnumStringValues() []string

GetSecurityListLifecycleStateEnumStringValues Enumerates the set of values in String for SecurityListLifecycleStateEnum

func GetSecurityRuleDestinationTypeEnumStringValues ¶

func GetSecurityRuleDestinationTypeEnumStringValues() []string

GetSecurityRuleDestinationTypeEnumStringValues Enumerates the set of values in String for SecurityRuleDestinationTypeEnum

func GetSecurityRuleDirectionEnumStringValues ¶

func GetSecurityRuleDirectionEnumStringValues() []string

GetSecurityRuleDirectionEnumStringValues Enumerates the set of values in String for SecurityRuleDirectionEnum

func GetSecurityRuleSourceTypeEnumStringValues ¶

func GetSecurityRuleSourceTypeEnumStringValues() []string

GetSecurityRuleSourceTypeEnumStringValues Enumerates the set of values in String for SecurityRuleSourceTypeEnum

func GetServiceGatewayLifecycleStateEnumStringValues ¶

func GetServiceGatewayLifecycleStateEnumStringValues() []string

GetServiceGatewayLifecycleStateEnumStringValues Enumerates the set of values in String for ServiceGatewayLifecycleStateEnum

func GetSortOrderEnumStringValues ¶

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetSubnetLifecycleStateEnumStringValues ¶

func GetSubnetLifecycleStateEnumStringValues() []string

GetSubnetLifecycleStateEnumStringValues Enumerates the set of values in String for SubnetLifecycleStateEnum

func GetTopologyEntityRelationshipTypeEnumStringValues ¶

func GetTopologyEntityRelationshipTypeEnumStringValues() []string

GetTopologyEntityRelationshipTypeEnumStringValues Enumerates the set of values in String for TopologyEntityRelationshipTypeEnum

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues ¶

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues() []string

GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues Enumerates the set of values in String for TopologyRoutesToRelationshipDetailsRouteTypeEnum

func GetTopologyTypeEnumStringValues ¶

func GetTopologyTypeEnumStringValues() []string

GetTopologyTypeEnumStringValues Enumerates the set of values in String for TopologyTypeEnum

func GetTrafficNodeTypeEnumStringValues ¶

func GetTrafficNodeTypeEnumStringValues() []string

GetTrafficNodeTypeEnumStringValues Enumerates the set of values in String for TrafficNodeTypeEnum

func GetTrafficProtocolParametersTypeEnumStringValues ¶

func GetTrafficProtocolParametersTypeEnumStringValues() []string

GetTrafficProtocolParametersTypeEnumStringValues Enumerates the set of values in String for TrafficProtocolParametersTypeEnum

func GetTrafficRouteReachabilityStatusEnumStringValues ¶

func GetTrafficRouteReachabilityStatusEnumStringValues() []string

GetTrafficRouteReachabilityStatusEnumStringValues Enumerates the set of values in String for TrafficRouteReachabilityStatusEnum

func GetTunnelStatusLifecycleStateEnumStringValues ¶

func GetTunnelStatusLifecycleStateEnumStringValues() []string

GetTunnelStatusLifecycleStateEnumStringValues Enumerates the set of values in String for TunnelStatusLifecycleStateEnum

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues ¶

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues() []string

GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for UpdateDrgRouteRuleDetailsDestinationTypeEnum

func GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues ¶

func GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues() []string

GetUpdateSecurityRuleDetailsDestinationTypeEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsDestinationTypeEnum

func GetUpdateSecurityRuleDetailsDirectionEnumStringValues ¶

func GetUpdateSecurityRuleDetailsDirectionEnumStringValues() []string

GetUpdateSecurityRuleDetailsDirectionEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsDirectionEnum

func GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues ¶

func GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues() []string

GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues Enumerates the set of values in String for UpdateSecurityRuleDetailsSourceTypeEnum

func GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues ¶

func GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues() []string

GetUpdateVirtualCircuitDetailsProviderStateEnumStringValues Enumerates the set of values in String for UpdateVirtualCircuitDetailsProviderStateEnum

func GetUpgradeStatusStatusEnumStringValues ¶

func GetUpgradeStatusStatusEnumStringValues() []string

GetUpgradeStatusStatusEnumStringValues Enumerates the set of values in String for UpgradeStatusStatusEnum

func GetVcnLifecycleStateEnumStringValues ¶

func GetVcnLifecycleStateEnumStringValues() []string

GetVcnLifecycleStateEnumStringValues Enumerates the set of values in String for VcnLifecycleStateEnum

func GetVirtualCircuitBgpManagementEnumStringValues ¶

func GetVirtualCircuitBgpManagementEnumStringValues() []string

GetVirtualCircuitBgpManagementEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpManagementEnum

func GetVirtualCircuitBgpSessionStateEnumStringValues ¶

func GetVirtualCircuitBgpSessionStateEnumStringValues() []string

GetVirtualCircuitBgpSessionStateEnumStringValues Enumerates the set of values in String for VirtualCircuitBgpSessionStateEnum

func GetVirtualCircuitLifecycleStateEnumStringValues ¶

func GetVirtualCircuitLifecycleStateEnumStringValues() []string

GetVirtualCircuitLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualCircuitLifecycleStateEnum

func GetVirtualCircuitProviderStateEnumStringValues ¶

func GetVirtualCircuitProviderStateEnumStringValues() []string

GetVirtualCircuitProviderStateEnumStringValues Enumerates the set of values in String for VirtualCircuitProviderStateEnum

func GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues ¶

func GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues() []string

GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues Enumerates the set of values in String for VirtualCircuitPublicPrefixVerificationStateEnum

func GetVirtualCircuitServiceTypeEnumStringValues ¶

func GetVirtualCircuitServiceTypeEnumStringValues() []string

GetVirtualCircuitServiceTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitServiceTypeEnum

func GetVirtualCircuitTypeEnumStringValues ¶

func GetVirtualCircuitTypeEnumStringValues() []string

GetVirtualCircuitTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitTypeEnum

func GetVnicLifecycleStateEnumStringValues ¶

func GetVnicLifecycleStateEnumStringValues() []string

GetVnicLifecycleStateEnumStringValues Enumerates the set of values in String for VnicLifecycleStateEnum

func GetWorkRequestResultResultTypeEnumStringValues ¶

func GetWorkRequestResultResultTypeEnumStringValues() []string

GetWorkRequestResultResultTypeEnumStringValues Enumerates the set of values in String for WorkRequestResultResultTypeEnum

Types ¶

type AccessDeniedTrafficNode ¶

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

AccessDeniedTrafficNode Defines the configuration of a traffic node to which the user is denied access.

func (AccessDeniedTrafficNode) GetEgressSecurityAction ¶

func (m AccessDeniedTrafficNode) GetEgressSecurityAction() SecurityAction

GetEgressSecurityAction returns EgressSecurityAction

func (AccessDeniedTrafficNode) GetEgressTraffic ¶

func (m AccessDeniedTrafficNode) GetEgressTraffic() *EgressTrafficSpec

GetEgressTraffic returns EgressTraffic

func (AccessDeniedTrafficNode) GetIngressSecurityAction ¶

func (m AccessDeniedTrafficNode) GetIngressSecurityAction() SecurityAction

GetIngressSecurityAction returns IngressSecurityAction

func (AccessDeniedTrafficNode) GetNextHopRoutingAction ¶

func (m AccessDeniedTrafficNode) GetNextHopRoutingAction() RoutingAction

GetNextHopRoutingAction returns NextHopRoutingAction

func (AccessDeniedTrafficNode) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AccessDeniedTrafficNode) String ¶

func (m AccessDeniedTrafficNode) String() string

func (*AccessDeniedTrafficNode) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (AccessDeniedTrafficNode) ValidateEnumValue ¶

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

type ActionTypeEnum ¶

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues ¶

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum ¶

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type AddDrgRouteDistributionStatementDetails ¶

type AddDrgRouteDistributionStatementDetails struct {

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

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

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

AddDrgRouteDistributionStatementDetails Details used to add a route distribution statement.

func (AddDrgRouteDistributionStatementDetails) String ¶

func (*AddDrgRouteDistributionStatementDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (AddDrgRouteDistributionStatementDetails) ValidateEnumValue ¶

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

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

type AddDrgRouteDistributionStatementDetailsActionEnum ¶

type AddDrgRouteDistributionStatementDetailsActionEnum string

AddDrgRouteDistributionStatementDetailsActionEnum Enum with underlying type: string

const (
	AddDrgRouteDistributionStatementDetailsActionAccept AddDrgRouteDistributionStatementDetailsActionEnum = "ACCEPT"
)

Set of constants representing the allowable values for AddDrgRouteDistributionStatementDetailsActionEnum

func GetAddDrgRouteDistributionStatementDetailsActionEnumValues ¶

func GetAddDrgRouteDistributionStatementDetailsActionEnumValues() []AddDrgRouteDistributionStatementDetailsActionEnum

GetAddDrgRouteDistributionStatementDetailsActionEnumValues Enumerates the set of values for AddDrgRouteDistributionStatementDetailsActionEnum

func GetMappingAddDrgRouteDistributionStatementDetailsActionEnum ¶

func GetMappingAddDrgRouteDistributionStatementDetailsActionEnum(val string) (AddDrgRouteDistributionStatementDetailsActionEnum, bool)

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

type AddDrgRouteDistributionStatementsDetails ¶

type AddDrgRouteDistributionStatementsDetails struct {

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

AddDrgRouteDistributionStatementsDetails Details request to add statements to a route distribution.

func (AddDrgRouteDistributionStatementsDetails) String ¶

func (AddDrgRouteDistributionStatementsDetails) ValidateEnumValue ¶

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

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

type AddDrgRouteRuleDetails ¶

type AddDrgRouteRuleDetails struct {

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

AddDrgRouteRuleDetails Details needed when adding a DRG route rule.

func (AddDrgRouteRuleDetails) String ¶

func (m AddDrgRouteRuleDetails) String() string

func (AddDrgRouteRuleDetails) ValidateEnumValue ¶

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

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

type AddDrgRouteRuleDetailsDestinationTypeEnum ¶

type AddDrgRouteRuleDetailsDestinationTypeEnum string

AddDrgRouteRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	AddDrgRouteRuleDetailsDestinationTypeCidrBlock AddDrgRouteRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
)

Set of constants representing the allowable values for AddDrgRouteRuleDetailsDestinationTypeEnum

func GetAddDrgRouteRuleDetailsDestinationTypeEnumValues ¶

func GetAddDrgRouteRuleDetailsDestinationTypeEnumValues() []AddDrgRouteRuleDetailsDestinationTypeEnum

GetAddDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddDrgRouteRuleDetailsDestinationTypeEnum

func GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum ¶

func GetMappingAddDrgRouteRuleDetailsDestinationTypeEnum(val string) (AddDrgRouteRuleDetailsDestinationTypeEnum, bool)

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

type AddDrgRouteRulesDetails ¶

type AddDrgRouteRulesDetails struct {

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

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

func (AddDrgRouteRulesDetails) String ¶

func (m AddDrgRouteRulesDetails) String() string

func (AddDrgRouteRulesDetails) ValidateEnumValue ¶

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

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

type AddNetworkSecurityGroupSecurityRulesDetails ¶

type AddNetworkSecurityGroupSecurityRulesDetails struct {

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

AddNetworkSecurityGroupSecurityRulesDetails The representation of AddNetworkSecurityGroupSecurityRulesDetails

func (AddNetworkSecurityGroupSecurityRulesDetails) String ¶

func (AddNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue ¶

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

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

type AddSecurityRuleDetails ¶

type AddSecurityRuleDetails struct {

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

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

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

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

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

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

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

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

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

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

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

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

func (AddSecurityRuleDetails) String ¶

func (m AddSecurityRuleDetails) String() string

func (AddSecurityRuleDetails) ValidateEnumValue ¶

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

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

type AddSecurityRuleDetailsDestinationTypeEnum ¶

type AddSecurityRuleDetailsDestinationTypeEnum string

AddSecurityRuleDetailsDestinationTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for AddSecurityRuleDetailsDestinationTypeEnum

func GetAddSecurityRuleDetailsDestinationTypeEnumValues ¶

func GetAddSecurityRuleDetailsDestinationTypeEnumValues() []AddSecurityRuleDetailsDestinationTypeEnum

GetAddSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsDestinationTypeEnum

func GetMappingAddSecurityRuleDetailsDestinationTypeEnum ¶

func GetMappingAddSecurityRuleDetailsDestinationTypeEnum(val string) (AddSecurityRuleDetailsDestinationTypeEnum, bool)

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

type AddSecurityRuleDetailsDirectionEnum ¶

type AddSecurityRuleDetailsDirectionEnum string

AddSecurityRuleDetailsDirectionEnum Enum with underlying type: string

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

Set of constants representing the allowable values for AddSecurityRuleDetailsDirectionEnum

func GetAddSecurityRuleDetailsDirectionEnumValues ¶

func GetAddSecurityRuleDetailsDirectionEnumValues() []AddSecurityRuleDetailsDirectionEnum

GetAddSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for AddSecurityRuleDetailsDirectionEnum

func GetMappingAddSecurityRuleDetailsDirectionEnum ¶

func GetMappingAddSecurityRuleDetailsDirectionEnum(val string) (AddSecurityRuleDetailsDirectionEnum, bool)

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

type AddSecurityRuleDetailsSourceTypeEnum ¶

type AddSecurityRuleDetailsSourceTypeEnum string

AddSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for AddSecurityRuleDetailsSourceTypeEnum

func GetAddSecurityRuleDetailsSourceTypeEnumValues ¶

func GetAddSecurityRuleDetailsSourceTypeEnumValues() []AddSecurityRuleDetailsSourceTypeEnum

GetAddSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for AddSecurityRuleDetailsSourceTypeEnum

func GetMappingAddSecurityRuleDetailsSourceTypeEnum ¶

func GetMappingAddSecurityRuleDetailsSourceTypeEnum(val string) (AddSecurityRuleDetailsSourceTypeEnum, bool)

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

type AddedNetworkSecurityGroupSecurityRules ¶

type AddedNetworkSecurityGroupSecurityRules struct {

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

AddedNetworkSecurityGroupSecurityRules The representation of AddedNetworkSecurityGroupSecurityRules

func (AddedNetworkSecurityGroupSecurityRules) String ¶

func (AddedNetworkSecurityGroupSecurityRules) ValidateEnumValue ¶

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

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

type AdhocGetPathAnalysisDetails ¶

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

AdhocGetPathAnalysisDetails Defines the configuration for getting an ad-hoc path analysis.

func (AdhocGetPathAnalysisDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AdhocGetPathAnalysisDetails) String ¶

func (*AdhocGetPathAnalysisDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (AdhocGetPathAnalysisDetails) ValidateEnumValue ¶

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

type AllowedSecurityAction ¶

type AllowedSecurityAction struct {
	AllowedSecurityActionDetails *AllowedSecurityActionDetails `mandatory:"false" json:"allowedSecurityActionDetails"`

	// Type of the `SecurityAction`.
	ActionType SecurityActionActionTypeEnum `mandatory:"true" json:"actionType"`
}

AllowedSecurityAction Defines the security action taken on allowed traffic.

func (AllowedSecurityAction) GetActionType ¶

GetActionType returns ActionType

func (AllowedSecurityAction) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (AllowedSecurityAction) String ¶

func (m AllowedSecurityAction) String() string

func (AllowedSecurityAction) ValidateEnumValue ¶

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

type AllowedSecurityActionDetails ¶

type AllowedSecurityActionDetails struct {

	// If true, the allowed security configuration details are incomplete.
	IsRestrictedOrPartial *bool `mandatory:"true" json:"isRestrictedOrPartial"`

	AllowedSecurityConfiguration AllowedSecurityConfiguration `mandatory:"false" json:"allowedSecurityConfiguration"`
}

AllowedSecurityActionDetails Defines details for the security action taken on allowed traffic.

func (AllowedSecurityActionDetails) String ¶

func (*AllowedSecurityActionDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (AllowedSecurityActionDetails) ValidateEnumValue ¶

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

type AllowedSecurityConfiguration ¶

type AllowedSecurityConfiguration interface {
}

AllowedSecurityConfiguration Defines the allowed security configuration for the traffic.

type AllowedSecurityConfigurationTypeEnum ¶

type AllowedSecurityConfigurationTypeEnum string

AllowedSecurityConfigurationTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for AllowedSecurityConfigurationTypeEnum

func GetAllowedSecurityConfigurationTypeEnumValues ¶

func GetAllowedSecurityConfigurationTypeEnumValues() []AllowedSecurityConfigurationTypeEnum

GetAllowedSecurityConfigurationTypeEnumValues Enumerates the set of values for AllowedSecurityConfigurationTypeEnum

func GetMappingAllowedSecurityConfigurationTypeEnum ¶

func GetMappingAllowedSecurityConfigurationTypeEnum(val string) (AllowedSecurityConfigurationTypeEnum, bool)

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

type BulkAddVirtualCircuitPublicPrefixesDetails ¶

type BulkAddVirtualCircuitPublicPrefixesDetails struct {

	// The public IP prefixes (CIDRs) to add to the public virtual circuit.
	PublicPrefixes []CreateVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"`
}

BulkAddVirtualCircuitPublicPrefixesDetails The representation of BulkAddVirtualCircuitPublicPrefixesDetails

func (BulkAddVirtualCircuitPublicPrefixesDetails) String ¶

func (BulkAddVirtualCircuitPublicPrefixesDetails) ValidateEnumValue ¶

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

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

type BulkDeleteVirtualCircuitPublicPrefixesDetails ¶

type BulkDeleteVirtualCircuitPublicPrefixesDetails struct {

	// The public IP prefixes (CIDRs) to remove from the public virtual circuit.
	PublicPrefixes []DeleteVirtualCircuitPublicPrefixDetails `mandatory:"true" json:"publicPrefixes"`
}

BulkDeleteVirtualCircuitPublicPrefixesDetails The representation of BulkDeleteVirtualCircuitPublicPrefixesDetails

func (BulkDeleteVirtualCircuitPublicPrefixesDetails) String ¶

func (BulkDeleteVirtualCircuitPublicPrefixesDetails) ValidateEnumValue ¶

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

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

type ChangePathAnalyzerTestCompartmentDetails ¶

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

ChangePathAnalyzerTestCompartmentDetails Details of the new `compartmentId` for the `PathAnalyzerTest` resource.

func (ChangePathAnalyzerTestCompartmentDetails) String ¶

func (ChangePathAnalyzerTestCompartmentDetails) ValidateEnumValue ¶

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

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

ChangePathAnalyzerTestCompartmentRequest wrapper for the ChangePathAnalyzerTestCompartment operation

See also ¶

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

func (ChangePathAnalyzerTestCompartmentRequest) BinaryRequestBody ¶

BinaryRequestBody implements the OCIRequest interface

func (ChangePathAnalyzerTestCompartmentRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ChangePathAnalyzerTestCompartmentRequest) RetryPolicy ¶

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

func (ChangePathAnalyzerTestCompartmentRequest) String ¶

func (ChangePathAnalyzerTestCompartmentRequest) ValidateEnumValue ¶

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

type ChangePathAnalyzerTestCompartmentResponse ¶

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

ChangePathAnalyzerTestCompartmentResponse wrapper for the ChangePathAnalyzerTestCompartment operation

func (ChangePathAnalyzerTestCompartmentResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ChangePathAnalyzerTestCompartmentResponse) String ¶

type CompartmentInternal ¶

type CompartmentInternal struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
	Id *string `mandatory:"false" json:"id"`
}

CompartmentInternal Helper definition required to perform authZ using SPLAT expressions on a Compartment

func (CompartmentInternal) String ¶

func (m CompartmentInternal) String() string

func (CompartmentInternal) ValidateEnumValue ¶

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

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

type ComputeInstanceEndpoint ¶

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

ComputeInstanceEndpoint Defines the details required for a COMPUTE_INSTANCE-type `Endpoint`.

func (ComputeInstanceEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (ComputeInstanceEndpoint) String ¶

func (m ComputeInstanceEndpoint) String() string

func (ComputeInstanceEndpoint) ValidateEnumValue ¶

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

type ConnectLocalPeeringGatewaysDetails ¶

type ConnectLocalPeeringGatewaysDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LPG you want to peer with.
	PeerId *string `mandatory:"true" json:"peerId"`
}

ConnectLocalPeeringGatewaysDetails Information about the other local peering gateway (LPG).

func (ConnectLocalPeeringGatewaysDetails) String ¶

func (ConnectLocalPeeringGatewaysDetails) ValidateEnumValue ¶

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

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

type ConnectRemotePeeringConnectionsDetails ¶

type ConnectRemotePeeringConnectionsDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC you want to peer with.
	PeerId *string `mandatory:"true" json:"peerId"`

	// The name of the region that contains the RPC you want to peer with.
	// Example: `us-ashburn-1`
	PeerRegionName *string `mandatory:"true" json:"peerRegionName"`
}

ConnectRemotePeeringConnectionsDetails Information about the other remote peering connection (RPC).

func (ConnectRemotePeeringConnectionsDetails) String ¶

func (ConnectRemotePeeringConnectionsDetails) ValidateEnumValue ¶

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

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

type Cpe ¶

type Cpe struct {

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

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

	// The public IP address of the on-premises router.
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 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"`
}

Cpe An object you create when setting up a Site-to-Site VPN between your on-premises network and VCN. The `Cpe` is a virtual representation of your customer-premises equipment, which is the actual router on-premises at your site at your end of the Site-to-Site VPN IPSec connection. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Cpe) String ¶

func (m Cpe) String() string

func (Cpe) ValidateEnumValue ¶

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

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

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

CreateCpeDetails The representation of CreateCpeDetails

func (CreateCpeDetails) String ¶

func (m CreateCpeDetails) String() string

func (CreateCpeDetails) ValidateEnumValue ¶

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

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

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

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

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

CreateCrossConnectDetails The representation of CreateCrossConnectDetails

func (CreateCrossConnectDetails) String ¶

func (m CreateCrossConnectDetails) String() string

func (CreateCrossConnectDetails) ValidateEnumValue ¶

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

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

type CreateCrossConnectGroupDetails ¶

type CreateCrossConnectGroupDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

CreateCrossConnectGroupDetails The representation of CreateCrossConnectGroupDetails

func (CreateCrossConnectGroupDetails) String ¶

func (CreateCrossConnectGroupDetails) ValidateEnumValue ¶

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

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

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

CreateDhcpDetails The representation of CreateDhcpDetails

func (CreateDhcpDetails) String ¶

func (m CreateDhcpDetails) String() string

func (*CreateDhcpDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateDhcpDetails) ValidateEnumValue ¶

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

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

type 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 VCN.
	// This field is deprecated. Instead, use the `networkDetails` field to specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource.
	VcnId *string `mandatory:"false" json:"vcnId"`
}

CreateDrgAttachmentDetails The representation of CreateDrgAttachmentDetails

func (CreateDrgAttachmentDetails) String ¶

func (*CreateDrgAttachmentDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreateDrgAttachmentDetails) ValidateEnumValue ¶

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

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

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

CreateDrgDetails The representation of CreateDrgDetails

func (CreateDrgDetails) String ¶

func (m CreateDrgDetails) String() string

func (CreateDrgDetails) ValidateEnumValue ¶

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

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

type CreateDrgRouteDistributionDetails ¶

type CreateDrgRouteDistributionDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// Whether this distribution defines how routes get imported into route tables or exported through DRG Attachments
	DistributionType CreateDrgRouteDistributionDetailsDistributionTypeEnum `mandatory:"true" json:"distributionType"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

CreateDrgRouteDistributionDetails Details used to create a route distribution.

func (CreateDrgRouteDistributionDetails) String ¶

func (CreateDrgRouteDistributionDetails) ValidateEnumValue ¶

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

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

type CreateDrgRouteDistributionDetailsDistributionTypeEnum ¶

type CreateDrgRouteDistributionDetailsDistributionTypeEnum string

CreateDrgRouteDistributionDetailsDistributionTypeEnum Enum with underlying type: string

const (
	CreateDrgRouteDistributionDetailsDistributionTypeImport CreateDrgRouteDistributionDetailsDistributionTypeEnum = "IMPORT"
)

Set of constants representing the allowable values for CreateDrgRouteDistributionDetailsDistributionTypeEnum

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues ¶

func GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues() []CreateDrgRouteDistributionDetailsDistributionTypeEnum

GetCreateDrgRouteDistributionDetailsDistributionTypeEnumValues Enumerates the set of values for CreateDrgRouteDistributionDetailsDistributionTypeEnum

func GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum ¶

func GetMappingCreateDrgRouteDistributionDetailsDistributionTypeEnum(val string) (CreateDrgRouteDistributionDetailsDistributionTypeEnum, bool)

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

type CreateDrgRouteTableDetails ¶

type CreateDrgRouteTableDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

CreateDrgRouteTableDetails Details used in a request to create a DRG route table.

func (CreateDrgRouteTableDetails) String ¶

func (CreateDrgRouteTableDetails) ValidateEnumValue ¶

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

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

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

CreateInternetGatewayDetails The representation of CreateInternetGatewayDetails

func (CreateInternetGatewayDetails) String ¶

func (CreateInternetGatewayDetails) ValidateEnumValue ¶

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

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

type 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.
	//
	// Example: `10.0.1.0/24`
	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"`
}

CreateIpSecConnectionDetails The representation of CreateIpSecConnectionDetails

func (CreateIpSecConnectionDetails) String ¶

func (CreateIpSecConnectionDetails) ValidateEnumValue ¶

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

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

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

	// Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in
	// a public subnet. Never allowed for an IPv6 in a private subnet. If the value is `true`, the
	// IPv6 uses its public IP address for internet communication.
	// If `isInternetAccessAllowed` is set to `false`, the resulting `publicIpAddress` attribute
	// for the `Ipv6` is null.
	// Example: `true`
	IsInternetAccessAllowed *bool `mandatory:"false" json:"isInternetAccessAllowed"`
}

CreateIpv6Details The representation of CreateIpv6Details

func (CreateIpv6Details) String ¶

func (m CreateIpv6Details) String() string

func (CreateIpv6Details) ValidateEnumValue ¶

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

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

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

CreateLocalPeeringGatewayDetails The representation of CreateLocalPeeringGatewayDetails

func (CreateLocalPeeringGatewayDetails) String ¶

func (CreateLocalPeeringGatewayDetails) ValidateEnumValue ¶

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

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

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

CreateNetworkSecurityGroupDetails The representation of CreateNetworkSecurityGroupDetails

func (CreateNetworkSecurityGroupDetails) String ¶

func (CreateNetworkSecurityGroupDetails) ValidateEnumValue ¶

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

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

type CreatePathAnalyzerTestDetails ¶

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

CreatePathAnalyzerTestDetails Details used to create a `PathAnalyzerTest` resource.

func (CreatePathAnalyzerTestDetails) String ¶

func (*CreatePathAnalyzerTestDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (CreatePathAnalyzerTestDetails) ValidateEnumValue ¶

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

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

CreatePathAnalyzerTestRequest wrapper for the CreatePathAnalyzerTest operation

See also ¶

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

func (CreatePathAnalyzerTestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (CreatePathAnalyzerTestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (CreatePathAnalyzerTestRequest) RetryPolicy ¶

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

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

func (CreatePathAnalyzerTestRequest) String ¶

func (request CreatePathAnalyzerTestRequest) String() string

func (CreatePathAnalyzerTestRequest) ValidateEnumValue ¶

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

type CreatePathAnalyzerTestResponse ¶

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

CreatePathAnalyzerTestResponse wrapper for the CreatePathAnalyzerTest operation

func (CreatePathAnalyzerTestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (CreatePathAnalyzerTestResponse) String ¶

func (response CreatePathAnalyzerTestResponse) String() string

type CreatePrivateIpDetails ¶

type CreatePrivateIpDetails struct {

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

	// 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, `bminstance-1` in FQDN `bminstance-1.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: `bminstance-1`
	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"`
}

CreatePrivateIpDetails The representation of CreatePrivateIpDetails

func (CreatePrivateIpDetails) String ¶

func (m CreatePrivateIpDetails) String() string

func (CreatePrivateIpDetails) ValidateEnumValue ¶

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

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

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

CreatePublicIpDetails The representation of CreatePublicIpDetails

func (CreatePublicIpDetails) String ¶

func (m CreatePublicIpDetails) String() string

func (CreatePublicIpDetails) ValidateEnumValue ¶

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

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

type CreatePublicIpDetailsLifetimeEnum ¶

type CreatePublicIpDetailsLifetimeEnum string

CreatePublicIpDetailsLifetimeEnum Enum with underlying type: string

const (
	CreatePublicIpDetailsLifetimeEphemeral CreatePublicIpDetailsLifetimeEnum = "EPHEMERAL"
	CreatePublicIpDetailsLifetimeReserved  CreatePublicIpDetailsLifetimeEnum = "RESERVED"
)

Set of constants representing the allowable values for CreatePublicIpDetailsLifetimeEnum

func GetCreatePublicIpDetailsLifetimeEnumValues ¶

func GetCreatePublicIpDetailsLifetimeEnumValues() []CreatePublicIpDetailsLifetimeEnum

GetCreatePublicIpDetailsLifetimeEnumValues Enumerates the set of values for CreatePublicIpDetailsLifetimeEnum

func GetMappingCreatePublicIpDetailsLifetimeEnum ¶

func GetMappingCreatePublicIpDetailsLifetimeEnum(val string) (CreatePublicIpDetailsLifetimeEnum, bool)

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

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

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

CreateRemotePeeringConnectionDetails The representation of CreateRemotePeeringConnectionDetails

func (CreateRemotePeeringConnectionDetails) String ¶

func (CreateRemotePeeringConnectionDetails) ValidateEnumValue ¶

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

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

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

CreateRouteTableDetails The representation of CreateRouteTableDetails

func (CreateRouteTableDetails) String ¶

func (m CreateRouteTableDetails) String() string

func (CreateRouteTableDetails) ValidateEnumValue ¶

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

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

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

CreateSecurityListDetails The representation of CreateSecurityListDetails

func (CreateSecurityListDetails) String ¶

func (m CreateSecurityListDetails) String() string

func (CreateSecurityListDetails) ValidateEnumValue ¶

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

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

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

CreateServiceGatewayDetails The representation of CreateServiceGatewayDetails

func (CreateServiceGatewayDetails) String ¶

func (CreateServiceGatewayDetails) ValidateEnumValue ¶

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

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

type CreateSubnetDetails ¶

type CreateSubnetDetails struct {

	// The availability domain to contain the subnet.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

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

	// 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, `bminstance-1.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"`

	// 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).
	// For IPv6, if `prohibitPublicIpOnVnic` is set to `true`, internet access is not allowed for any
	// IPv6s assigned to VNICs in the subnet.
	// Example: `true`
	ProhibitPublicIpOnVnic *bool `mandatory:"false" json:"prohibitPublicIpOnVnic"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. If you don't provide a value,
	// the subnet uses the VCN's default route table.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The OCIDs of the security list or lists the subnet will use. If you don't
	// provide a value, the subnet uses the VCN's default security list.
	// Remember that security lists are associated *with the subnet*, but the
	// rules are applied to the individual VNICs in the subnet.
	SecurityListIds []string `mandatory:"false" json:"securityListIds"`
}

CreateSubnetDetails The representation of CreateSubnetDetails

func (CreateSubnetDetails) String ¶

func (m CreateSubnetDetails) String() string

func (CreateSubnetDetails) ValidateEnumValue ¶

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

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

type CreateVcnDetails ¶

type CreateVcnDetails struct {

	// The CIDR IP address block of the VCN.
	// Example: `10.0.0.0/16`
	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 VCN.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// If you enable IPv6 for the VCN (see `isIpv6Enabled`), you may optionally provide an IPv6
	// /56 CIDR block from the supported ranges (see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// The addresses in this block will be considered private and cannot be accessed
	// from the internet. The documentation refers to this as a *custom CIDR* for the VCN.
	// If you don't provide a custom CIDR for the VCN, Oracle assigns the VCN's IPv6 /56 CIDR block.
	// Regardless of whether you or Oracle assigns the `ipv6CidrBlock`,
	// Oracle *also* assigns the VCN an IPv6 CIDR block for the VCN's public IP address space
	// (see the `ipv6PublicCidrBlock` of the Vcn object). If you do
	// not assign a custom CIDR, Oracle uses the *same* Oracle-assigned CIDR for both the private
	// IP address space (`ipv6CidrBlock` in the `Vcn` object) and the public IP addreses space
	// (`ipv6PublicCidrBlock` in the `Vcn` object). This means that a given VNIC might use the same
	// IPv6 IP address for both private and public (internet) communication. You control whether
	// an IPv6 address can be used for internet communication by using the `isInternetAccessAllowed`
	// attribute in the Ipv6 object.
	// 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::/48`
	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"`

	// 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, `bminstance-1.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.
	// For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `true`
	IsIpv6Enabled *bool `mandatory:"false" json:"isIpv6Enabled"`
}

CreateVcnDetails The representation of CreateVcnDetails

func (CreateVcnDetails) String ¶

func (m CreateVcnDetails) String() string

func (CreateVcnDetails) ValidateEnumValue ¶

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

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

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

	// 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.
	CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`

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

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

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

CreateVirtualCircuitDetails The representation of CreateVirtualCircuitDetails

func (CreateVirtualCircuitDetails) String ¶

func (CreateVirtualCircuitDetails) ValidateEnumValue ¶

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

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

type CreateVirtualCircuitDetailsTypeEnum ¶

type CreateVirtualCircuitDetailsTypeEnum string

CreateVirtualCircuitDetailsTypeEnum Enum with underlying type: string

const (
	CreateVirtualCircuitDetailsTypePublic  CreateVirtualCircuitDetailsTypeEnum = "PUBLIC"
	CreateVirtualCircuitDetailsTypePrivate CreateVirtualCircuitDetailsTypeEnum = "PRIVATE"
)

Set of constants representing the allowable values for CreateVirtualCircuitDetailsTypeEnum

func GetCreateVirtualCircuitDetailsTypeEnumValues ¶

func GetCreateVirtualCircuitDetailsTypeEnumValues() []CreateVirtualCircuitDetailsTypeEnum

GetCreateVirtualCircuitDetailsTypeEnumValues Enumerates the set of values for CreateVirtualCircuitDetailsTypeEnum

func GetMappingCreateVirtualCircuitDetailsTypeEnum ¶

func GetMappingCreateVirtualCircuitDetailsTypeEnum(val string) (CreateVirtualCircuitDetailsTypeEnum, bool)

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

type CreateVirtualCircuitPublicPrefixDetails ¶

type CreateVirtualCircuitPublicPrefixDetails struct {

	// An individual public IP prefix (CIDR) to add to the public virtual circuit.
	// All prefix sizes are allowed.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

CreateVirtualCircuitPublicPrefixDetails The representation of CreateVirtualCircuitPublicPrefixDetails

func (CreateVirtualCircuitPublicPrefixDetails) String ¶

func (CreateVirtualCircuitPublicPrefixDetails) ValidateEnumValue ¶

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

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

type CreateVnicDetails ¶

type CreateVnicDetails struct {

	// 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.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// 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`
	AssignPublicIp *bool `mandatory:"false" json:"assignPublicIp"`

	// 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, `bminstance-1` in FQDN `bminstance-1.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: `bminstance-1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more
	// information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// A private IP address of your choice to assign to the VNIC. 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.
	//
	// 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).
	//
	// Example: `true`
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`
}

CreateVnicDetails Contains properties for a VNIC. You use this object when creating the primary VNIC during instance launch or when creating a secondary VNIC. For more information about VNICs, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).

func (CreateVnicDetails) String ¶

func (m CreateVnicDetails) String() string

func (CreateVnicDetails) ValidateEnumValue ¶

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

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

type CrossConnect ¶

type CrossConnect struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group this cross-connect belongs to (if any).
	CrossConnectGroupId *string `mandatory:"false" json:"crossConnectGroupId"`

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

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

CrossConnect For use with Oracle Cloud Infrastructure FastConnect. A cross-connect represents a physical connection between an existing network and Oracle. Customers who are colocated with Oracle in a FastConnect location create and use cross-connects. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). Oracle recommends you create each cross-connect in a CrossConnectGroup so you can use link aggregation with the connection. **Note:** If you're a provider who is setting up a physical connection to Oracle so customers can use FastConnect over the connection, be aware that your connection is modeled the same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (CrossConnect) String ¶

func (m CrossConnect) String() string

func (CrossConnect) ValidateEnumValue ¶

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

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

type CrossConnectGroup ¶

type CrossConnectGroup struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

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

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

CrossConnectGroup For use with Oracle Cloud Infrastructure FastConnect. A cross-connect group is a link aggregation group (LAG), which can contain one or more CrossConnect. Customers who are colocated with Oracle in a FastConnect location create and use cross-connect groups. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). **Note:** If you're a provider who is setting up a physical connection to Oracle so customers can use FastConnect over the connection, be aware that your connection is modeled the same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (CrossConnectGroup) String ¶

func (m CrossConnectGroup) String() string

func (CrossConnectGroup) ValidateEnumValue ¶

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

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

type CrossConnectGroupLifecycleStateEnum ¶

type CrossConnectGroupLifecycleStateEnum string

CrossConnectGroupLifecycleStateEnum Enum with underlying type: string

const (
	CrossConnectGroupLifecycleStateProvisioning CrossConnectGroupLifecycleStateEnum = "PROVISIONING"
	CrossConnectGroupLifecycleStateProvisioned  CrossConnectGroupLifecycleStateEnum = "PROVISIONED"
	CrossConnectGroupLifecycleStateInactive     CrossConnectGroupLifecycleStateEnum = "INACTIVE"
	CrossConnectGroupLifecycleStateTerminating  CrossConnectGroupLifecycleStateEnum = "TERMINATING"
	CrossConnectGroupLifecycleStateTerminated   CrossConnectGroupLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for CrossConnectGroupLifecycleStateEnum

func GetCrossConnectGroupLifecycleStateEnumValues ¶

func GetCrossConnectGroupLifecycleStateEnumValues() []CrossConnectGroupLifecycleStateEnum

GetCrossConnectGroupLifecycleStateEnumValues Enumerates the set of values for CrossConnectGroupLifecycleStateEnum

func GetMappingCrossConnectGroupLifecycleStateEnum ¶

func GetMappingCrossConnectGroupLifecycleStateEnum(val string) (CrossConnectGroupLifecycleStateEnum, bool)

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

type CrossConnectLifecycleStateEnum ¶

type CrossConnectLifecycleStateEnum string

CrossConnectLifecycleStateEnum Enum with underlying type: string

const (
	CrossConnectLifecycleStatePendingCustomer CrossConnectLifecycleStateEnum = "PENDING_CUSTOMER"
	CrossConnectLifecycleStateProvisioning    CrossConnectLifecycleStateEnum = "PROVISIONING"
	CrossConnectLifecycleStateProvisioned     CrossConnectLifecycleStateEnum = "PROVISIONED"
	CrossConnectLifecycleStateInactive        CrossConnectLifecycleStateEnum = "INACTIVE"
	CrossConnectLifecycleStateTerminating     CrossConnectLifecycleStateEnum = "TERMINATING"
	CrossConnectLifecycleStateTerminated      CrossConnectLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for CrossConnectLifecycleStateEnum

func GetCrossConnectLifecycleStateEnumValues ¶

func GetCrossConnectLifecycleStateEnumValues() []CrossConnectLifecycleStateEnum

GetCrossConnectLifecycleStateEnumValues Enumerates the set of values for CrossConnectLifecycleStateEnum

func GetMappingCrossConnectLifecycleStateEnum ¶

func GetMappingCrossConnectLifecycleStateEnum(val string) (CrossConnectLifecycleStateEnum, bool)

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

type CrossConnectLocation ¶

type CrossConnectLocation struct {

	// A description of the location.
	Description *string `mandatory:"true" json:"description"`

	// The name of the location.
	// Example: `CyrusOne, Chandler, AZ`
	Name *string `mandatory:"true" json:"name"`
}

CrossConnectLocation An individual FastConnect location.

func (CrossConnectLocation) String ¶

func (m CrossConnectLocation) String() string

func (CrossConnectLocation) ValidateEnumValue ¶

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

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

type CrossConnectMapping ¶

type CrossConnectMapping struct {

	// The key for BGP MD5 authentication. Only applicable if your system
	// requires MD5 authentication. If empty or not set (null), that
	// means you don't use BGP MD5 authentication.
	BgpMd5AuthKey *string `mandatory:"false" json:"bgpMd5AuthKey"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping.
	// Specified by the owner of the cross-connect or cross-connect group (the
	// customer if the customer is colocated with Oracle, or the provider if the
	// customer is connecting via provider).
	CrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"crossConnectOrCrossConnectGroupId"`

	// The BGP IPv4 address for the router on the other end of the BGP session from
	// Oracle. Specified by the owner of that router. If the session goes from Oracle
	// to a customer, this is the BGP IPv4 address of the customer's edge router. If the
	// session goes from Oracle to a provider, this is the BGP IPv4 address of the
	// provider's edge router. Must use a /30 or /31 subnet mask.
	// 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 /30 or /31
	// subnet mask. 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 number of the specific VLAN (on the cross-connect or cross-connect group)
	// that is assigned to this virtual circuit. Specified by the owner of the cross-connect
	// or cross-connect group (the customer if the customer is colocated with Oracle, or
	// the provider if the customer is connecting via provider).
	// Example: `200`
	Vlan *int `mandatory:"false" json:"vlan"`
}

CrossConnectMapping For use with Oracle Cloud Infrastructure FastConnect. Each VirtualCircuit runs on one or more cross-connects or cross-connect groups. A `CrossConnectMapping` contains the properties for an individual cross-connect or cross-connect group associated with a given virtual circuit. The mapping includes information about the cross-connect or cross-connect group, the VLAN, and the BGP peering session. If you're a customer who is colocated with Oracle, that means you own both the virtual circuit and the physical connection it runs on (cross-connect or cross-connect group), so you specify all the information in the mapping. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. If you're a provider, then you own the physical connection that the customer's virtual circuit runs on, so you contribute information about the cross-connect or cross-connect group and VLAN. Who specifies the BGP peering information in the case of customer connection via provider? If the BGP session goes from Oracle to the provider's edge router, then the provider also specifies the BGP peering information. If the BGP session instead goes from Oracle to the customer's edge router, then the customer specifies the BGP peering information. There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.

func (CrossConnectMapping) String ¶

func (m CrossConnectMapping) String() string

func (CrossConnectMapping) ValidateEnumValue ¶

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

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

type CrossConnectPortSpeedShape ¶

type CrossConnectPortSpeedShape struct {

	// The name of the port speed shape.
	// Example: `10 Gbps`
	Name *string `mandatory:"true" json:"name"`

	// The port speed in Gbps.
	// Example: `10`
	PortSpeedInGbps *int `mandatory:"true" json:"portSpeedInGbps"`
}

CrossConnectPortSpeedShape An individual port speed level for cross-connects.

func (CrossConnectPortSpeedShape) String ¶

func (CrossConnectPortSpeedShape) ValidateEnumValue ¶

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

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

type CrossConnectStatus ¶

type CrossConnectStatus struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"true" json:"crossConnectId"`

	// Indicates whether Oracle's side of the interface is up or down.
	InterfaceState CrossConnectStatusInterfaceStateEnum `mandatory:"false" json:"interfaceState,omitempty"`

	// The light level of the cross-connect (in dBm).
	// Example: `14.0`
	LightLevelIndBm *float32 `mandatory:"false" json:"lightLevelIndBm"`

	// Status indicator corresponding to the light level.
	//   * **NO_LIGHT:** No measurable light
	//   * **LOW_WARN:** There's measurable light but it's too low
	//   * **HIGH_WARN:** Light level is too high
	//   * **BAD:** There's measurable light but the signal-to-noise ratio is bad
	//   * **GOOD:** Good light level
	LightLevelIndicator CrossConnectStatusLightLevelIndicatorEnum `mandatory:"false" json:"lightLevelIndicator,omitempty"`
}

CrossConnectStatus The status of the cross-connect.

func (CrossConnectStatus) String ¶

func (m CrossConnectStatus) String() string

func (CrossConnectStatus) ValidateEnumValue ¶

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

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

type CrossConnectStatusInterfaceStateEnum ¶

type CrossConnectStatusInterfaceStateEnum string

CrossConnectStatusInterfaceStateEnum Enum with underlying type: string

const (
	CrossConnectStatusInterfaceStateUp   CrossConnectStatusInterfaceStateEnum = "UP"
	CrossConnectStatusInterfaceStateDown CrossConnectStatusInterfaceStateEnum = "DOWN"
)

Set of constants representing the allowable values for CrossConnectStatusInterfaceStateEnum

func GetCrossConnectStatusInterfaceStateEnumValues ¶

func GetCrossConnectStatusInterfaceStateEnumValues() []CrossConnectStatusInterfaceStateEnum

GetCrossConnectStatusInterfaceStateEnumValues Enumerates the set of values for CrossConnectStatusInterfaceStateEnum

func GetMappingCrossConnectStatusInterfaceStateEnum ¶

func GetMappingCrossConnectStatusInterfaceStateEnum(val string) (CrossConnectStatusInterfaceStateEnum, bool)

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

type CrossConnectStatusLightLevelIndicatorEnum ¶

type CrossConnectStatusLightLevelIndicatorEnum string

CrossConnectStatusLightLevelIndicatorEnum Enum with underlying type: string

const (
	CrossConnectStatusLightLevelIndicatorNoLight  CrossConnectStatusLightLevelIndicatorEnum = "NO_LIGHT"
	CrossConnectStatusLightLevelIndicatorLowWarn  CrossConnectStatusLightLevelIndicatorEnum = "LOW_WARN"
	CrossConnectStatusLightLevelIndicatorHighWarn CrossConnectStatusLightLevelIndicatorEnum = "HIGH_WARN"
	CrossConnectStatusLightLevelIndicatorBad      CrossConnectStatusLightLevelIndicatorEnum = "BAD"
	CrossConnectStatusLightLevelIndicatorGood     CrossConnectStatusLightLevelIndicatorEnum = "GOOD"
)

Set of constants representing the allowable values for CrossConnectStatusLightLevelIndicatorEnum

func GetCrossConnectStatusLightLevelIndicatorEnumValues ¶

func GetCrossConnectStatusLightLevelIndicatorEnumValues() []CrossConnectStatusLightLevelIndicatorEnum

GetCrossConnectStatusLightLevelIndicatorEnumValues Enumerates the set of values for CrossConnectStatusLightLevelIndicatorEnum

func GetMappingCrossConnectStatusLightLevelIndicatorEnum ¶

func GetMappingCrossConnectStatusLightLevelIndicatorEnum(val string) (CrossConnectStatusLightLevelIndicatorEnum, bool)

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

type DefaultDrgRouteTables ¶

type DefaultDrgRouteTables struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments
	// of type VCN on creation.
	Vcn *string `mandatory:"false" json:"vcn"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table assigned to DRG attachments
	// of type IPSEC_TUNNEL on creation.
	IpsecTunnel *string `mandatory:"false" json:"ipsecTunnel"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments
	// of type VIRTUAL_CIRCUIT on creation.
	VirtualCircuit *string `mandatory:"false" json:"virtualCircuit"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments
	// of type REMOTE_PEERING_CONNECTION on creation.
	RemotePeeringConnection *string `mandatory:"false" json:"remotePeeringConnection"`
}

DefaultDrgRouteTables The default DRG route table for this DRG. Each network type has a default DRG route table. You can update a network type to use a different DRG route table, but each network type must have a default DRG route table. You cannot delete a default DRG route table.

func (DefaultDrgRouteTables) String ¶

func (m DefaultDrgRouteTables) String() string

func (DefaultDrgRouteTables) ValidateEnumValue ¶

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

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

type DeletePathAnalyzerTestRequest ¶

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

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

DeletePathAnalyzerTestRequest wrapper for the DeletePathAnalyzerTest operation

See also ¶

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

func (DeletePathAnalyzerTestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (DeletePathAnalyzerTestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (DeletePathAnalyzerTestRequest) RetryPolicy ¶

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

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

func (DeletePathAnalyzerTestRequest) String ¶

func (request DeletePathAnalyzerTestRequest) String() string

func (DeletePathAnalyzerTestRequest) ValidateEnumValue ¶

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

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

type DeletePathAnalyzerTestResponse ¶

type DeletePathAnalyzerTestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeletePathAnalyzerTestResponse wrapper for the DeletePathAnalyzerTest operation

func (DeletePathAnalyzerTestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (DeletePathAnalyzerTestResponse) String ¶

func (response DeletePathAnalyzerTestResponse) String() string

type DeleteVirtualCircuitPublicPrefixDetails ¶

type DeleteVirtualCircuitPublicPrefixDetails struct {

	// An individual public IP prefix (CIDR) to remove from the public virtual circuit.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`
}

DeleteVirtualCircuitPublicPrefixDetails The representation of DeleteVirtualCircuitPublicPrefixDetails

func (DeleteVirtualCircuitPublicPrefixDetails) String ¶

func (DeleteVirtualCircuitPublicPrefixDetails) ValidateEnumValue ¶

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

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

type DeniedSecurityAction ¶

type DeniedSecurityAction struct {
	DeniedSecurityActionDetails *DeniedSecurityActionDetails `mandatory:"false" json:"deniedSecurityActionDetails"`

	// Type of the `SecurityAction`.
	ActionType SecurityActionActionTypeEnum `mandatory:"true" json:"actionType"`
}

DeniedSecurityAction Defines the security action taken on denied traffic.

func (DeniedSecurityAction) GetActionType ¶

GetActionType returns ActionType

func (DeniedSecurityAction) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DeniedSecurityAction) String ¶

func (m DeniedSecurityAction) String() string

func (DeniedSecurityAction) ValidateEnumValue ¶

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

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

type DeniedSecurityActionDetails ¶

type DeniedSecurityActionDetails struct {

	// If true, the evaluated security list and network security group ID details are incomplete.
	IsRestrictedOrPartial *bool `mandatory:"true" json:"isRestrictedOrPartial"`

	// The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of evaluated security lists associcated
	// with the OCI resource's subnet.
	EvaluatedSecurityListIds []string `mandatory:"false" json:"evaluatedSecurityListIds"`

	// List of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of evaluated network security groups
	// associated with the OCI resource's VNIC.
	EvaluatedNsgIds []string `mandatory:"false" json:"evaluatedNsgIds"`
}

DeniedSecurityActionDetails Defines details for the security action taken on denied traffic.

func (DeniedSecurityActionDetails) String ¶

func (DeniedSecurityActionDetails) ValidateEnumValue ¶

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

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

type DhcpDnsOption ¶

type DhcpDnsOption struct {

	// If you set `serverType` to `CustomDnsServer`, specify the
	// IP address of at least one DNS server of your choice (three maximum).
	CustomDnsServers []string `mandatory:"false" json:"customDnsServers"`

	// * **VcnLocal:** Reserved for future use.
	// * **VcnLocalPlusInternet:** Also referred to as "Internet and VCN Resolver".
	// Instances can resolve internet hostnames (no internet gateway is required),
	// and can resolve hostnames of instances in the VCN. This is the default
	// value in the default set of DHCP options in the VCN. For the Internet and
	// VCN Resolver to work across the VCN, there must also be a DNS label set for
	// the VCN, a DNS label set for each subnet, and a hostname for each instance.
	// The Internet and VCN Resolver also enables reverse DNS lookup, which lets
	// you determine the hostname corresponding to the private IP address. For more
	// information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// * **CustomDnsServer:** Instances use a DNS server of your choice (three
	// maximum).
	ServerType DhcpDnsOptionServerTypeEnum `mandatory:"true" json:"serverType"`
}

DhcpDnsOption DHCP option for specifying how DNS (hostname resolution) is handled in the subnets in the VCN. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).

func (DhcpDnsOption) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DhcpDnsOption) String ¶

func (m DhcpDnsOption) String() string

func (DhcpDnsOption) ValidateEnumValue ¶

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

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

type DhcpDnsOptionServerTypeEnum ¶

type DhcpDnsOptionServerTypeEnum string

DhcpDnsOptionServerTypeEnum Enum with underlying type: string

const (
	DhcpDnsOptionServerTypeVcnlocal             DhcpDnsOptionServerTypeEnum = "VcnLocal"
	DhcpDnsOptionServerTypeVcnlocalplusinternet DhcpDnsOptionServerTypeEnum = "VcnLocalPlusInternet"
	DhcpDnsOptionServerTypeCustomdnsserver      DhcpDnsOptionServerTypeEnum = "CustomDnsServer"
)

Set of constants representing the allowable values for DhcpDnsOptionServerTypeEnum

func GetDhcpDnsOptionServerTypeEnumValues ¶

func GetDhcpDnsOptionServerTypeEnumValues() []DhcpDnsOptionServerTypeEnum

GetDhcpDnsOptionServerTypeEnumValues Enumerates the set of values for DhcpDnsOptionServerTypeEnum

func GetMappingDhcpDnsOptionServerTypeEnum ¶

func GetMappingDhcpDnsOptionServerTypeEnum(val string) (DhcpDnsOptionServerTypeEnum, bool)

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

type DhcpOption ¶

type DhcpOption interface {
}

DhcpOption A single DHCP option according to RFC 1533 (https://tools.ietf.org/html/rfc1533). The two options available to use are DhcpDnsOption and DhcpSearchDomainOption. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) and DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm).

type DhcpOptions ¶

type DhcpOptions struct {

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

	// Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the set of DHCP options.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the set of DHCP options.
	LifecycleState DhcpOptionsLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The collection of individual DHCP options.
	Options []DhcpOption `mandatory:"true" json:"options"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

DhcpOptions A set of DHCP options. Used by the VCN to automatically provide configuration information to the instances when they boot up. There are two options you can set: - DhcpDnsOption: Lets you specify how DNS (hostname resolution) is handled in the subnets in your VCN. - DhcpSearchDomainOption: Lets you specify a search domain name to use for DNS queries. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) and DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (DhcpOptions) String ¶

func (m DhcpOptions) String() string

func (*DhcpOptions) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (DhcpOptions) ValidateEnumValue ¶

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

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

type DhcpOptionsLifecycleStateEnum ¶

type DhcpOptionsLifecycleStateEnum string

DhcpOptionsLifecycleStateEnum Enum with underlying type: string

const (
	DhcpOptionsLifecycleStateProvisioning DhcpOptionsLifecycleStateEnum = "PROVISIONING"
	DhcpOptionsLifecycleStateAvailable    DhcpOptionsLifecycleStateEnum = "AVAILABLE"
	DhcpOptionsLifecycleStateTerminating  DhcpOptionsLifecycleStateEnum = "TERMINATING"
	DhcpOptionsLifecycleStateTerminated   DhcpOptionsLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DhcpOptionsLifecycleStateEnum

func GetDhcpOptionsLifecycleStateEnumValues ¶

func GetDhcpOptionsLifecycleStateEnumValues() []DhcpOptionsLifecycleStateEnum

GetDhcpOptionsLifecycleStateEnumValues Enumerates the set of values for DhcpOptionsLifecycleStateEnum

func GetMappingDhcpOptionsLifecycleStateEnum ¶

func GetMappingDhcpOptionsLifecycleStateEnum(val string) (DhcpOptionsLifecycleStateEnum, bool)

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

type DhcpSearchDomainOption ¶

type DhcpSearchDomainOption struct {

	// A single search domain name according to RFC 952 (https://tools.ietf.org/html/rfc952)
	// and RFC 1123 (https://tools.ietf.org/html/rfc1123). During a DNS query,
	// the OS will append this search domain name to the value being queried.
	// If you set DhcpDnsOption to `VcnLocalPlusInternet`,
	// and you assign a DNS label to the VCN during creation, the search domain name in the
	// VCN's default set of DHCP options is automatically set to the VCN domain
	// (for example, `vcn1.oraclevcn.com`).
	// If you don't want to use a search domain name, omit this option from the
	// set of DHCP options. Do not include this option with an empty list
	// of search domain names, or with an empty string as the value for any search
	// domain name.
	SearchDomainNames []string `mandatory:"true" json:"searchDomainNames"`
}

DhcpSearchDomainOption DHCP option for specifying a search domain name for DNS queries. For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).

func (DhcpSearchDomainOption) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DhcpSearchDomainOption) String ¶

func (m DhcpSearchDomainOption) String() string

func (DhcpSearchDomainOption) ValidateEnumValue ¶

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

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

type Drg ¶

type Drg struct {

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

	// The DRG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The DRG's current state.
	LifecycleState DrgLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 date and time the DRG was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	DefaultDrgRouteTables *DefaultDrgRouteTables `mandatory:"false" json:"defaultDrgRouteTables"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DRG's default export route distribution for the DRG attachments.
	DefaultExportDrgRouteDistributionId *string `mandatory:"false" json:"defaultExportDrgRouteDistributionId"`
}

Drg A dynamic routing gateway (DRG) is a virtual router that provides a path for private network traffic between networks. You use it with other Networking Service components to create a connection to your on-premises network using Site-to-Site VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm) or a connection that uses FastConnect (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For more information, see Networking Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Drg) String ¶

func (m Drg) String() string

func (Drg) ValidateEnumValue ¶

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

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

type DrgAttachment ¶

type DrgAttachment struct {

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The DRG attachment's current state.
	LifecycleState DrgAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment.
	// The DRG route table manages traffic inside the DRG.
	DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`

	NetworkDetails DrgAttachmentNetworkDetails `mandatory:"false" json:"networkDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 VCN.
	// This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource.
	VcnId *string `mandatory:"false" json:"vcnId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table
	// are advertised to the attachment.
	// If this value is null, no routes are advertised through this attachment.
	ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"`

	// Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.
	// Example: `false`
	IsCrossTenancy *bool `mandatory:"false" json:"isCrossTenancy"`
}

DrgAttachment A DRG attachment serves as a link between a DRG and a network resource. A DRG can be attached to a VCN, IPSec tunnel, remote peering connection, or virtual circuit. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm).

func (DrgAttachment) String ¶

func (m DrgAttachment) String() string

func (*DrgAttachment) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (DrgAttachment) ValidateEnumValue ¶

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

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

type DrgAttachmentIdDrgRouteDistributionMatchCriteria ¶

type DrgAttachmentIdDrgRouteDistributionMatchCriteria struct {

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

DrgAttachmentIdDrgRouteDistributionMatchCriteria The criteria by which a specific attachment will import routes to the DRG.

func (DrgAttachmentIdDrgRouteDistributionMatchCriteria) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DrgAttachmentIdDrgRouteDistributionMatchCriteria) String ¶

func (DrgAttachmentIdDrgRouteDistributionMatchCriteria) ValidateEnumValue ¶

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

type DrgAttachmentInfo ¶

type DrgAttachmentInfo struct {

	// The Oracle-assigned ID of the DRG attachment
	Id *string `mandatory:"true" json:"id"`
}

DrgAttachmentInfo The `DrgAttachmentInfo` resource contains the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment.

func (DrgAttachmentInfo) String ¶

func (m DrgAttachmentInfo) String() string

func (DrgAttachmentInfo) ValidateEnumValue ¶

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

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

type DrgAttachmentLifecycleStateEnum ¶

type DrgAttachmentLifecycleStateEnum string

DrgAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	DrgAttachmentLifecycleStateAttaching DrgAttachmentLifecycleStateEnum = "ATTACHING"
	DrgAttachmentLifecycleStateAttached  DrgAttachmentLifecycleStateEnum = "ATTACHED"
	DrgAttachmentLifecycleStateDetaching DrgAttachmentLifecycleStateEnum = "DETACHING"
	DrgAttachmentLifecycleStateDetached  DrgAttachmentLifecycleStateEnum = "DETACHED"
)

Set of constants representing the allowable values for DrgAttachmentLifecycleStateEnum

func GetDrgAttachmentLifecycleStateEnumValues ¶

func GetDrgAttachmentLifecycleStateEnumValues() []DrgAttachmentLifecycleStateEnum

GetDrgAttachmentLifecycleStateEnumValues Enumerates the set of values for DrgAttachmentLifecycleStateEnum

func GetMappingDrgAttachmentLifecycleStateEnum ¶

func GetMappingDrgAttachmentLifecycleStateEnum(val string) (DrgAttachmentLifecycleStateEnum, bool)

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

type DrgAttachmentNetworkCreateDetails ¶

type DrgAttachmentNetworkCreateDetails interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	GetId() *string
}

DrgAttachmentNetworkCreateDetails The representation of DrgAttachmentNetworkCreateDetails

type DrgAttachmentNetworkCreateDetailsTypeEnum ¶

type DrgAttachmentNetworkCreateDetailsTypeEnum string

DrgAttachmentNetworkCreateDetailsTypeEnum Enum with underlying type: string

const (
	DrgAttachmentNetworkCreateDetailsTypeVcn DrgAttachmentNetworkCreateDetailsTypeEnum = "VCN"
)

Set of constants representing the allowable values for DrgAttachmentNetworkCreateDetailsTypeEnum

func GetDrgAttachmentNetworkCreateDetailsTypeEnumValues ¶

func GetDrgAttachmentNetworkCreateDetailsTypeEnumValues() []DrgAttachmentNetworkCreateDetailsTypeEnum

GetDrgAttachmentNetworkCreateDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkCreateDetailsTypeEnum

func GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum ¶

func GetMappingDrgAttachmentNetworkCreateDetailsTypeEnum(val string) (DrgAttachmentNetworkCreateDetailsTypeEnum, bool)

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

type DrgAttachmentNetworkDetails ¶

type DrgAttachmentNetworkDetails interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	GetId() *string
}

DrgAttachmentNetworkDetails The representation of DrgAttachmentNetworkDetails

type DrgAttachmentNetworkDetailsTypeEnum ¶

type DrgAttachmentNetworkDetailsTypeEnum string

DrgAttachmentNetworkDetailsTypeEnum Enum with underlying type: string

const (
	DrgAttachmentNetworkDetailsTypeVcn                     DrgAttachmentNetworkDetailsTypeEnum = "VCN"
	DrgAttachmentNetworkDetailsTypeIpsecTunnel             DrgAttachmentNetworkDetailsTypeEnum = "IPSEC_TUNNEL"
	DrgAttachmentNetworkDetailsTypeVirtualCircuit          DrgAttachmentNetworkDetailsTypeEnum = "VIRTUAL_CIRCUIT"
	DrgAttachmentNetworkDetailsTypeRemotePeeringConnection DrgAttachmentNetworkDetailsTypeEnum = "REMOTE_PEERING_CONNECTION"
)

Set of constants representing the allowable values for DrgAttachmentNetworkDetailsTypeEnum

func GetDrgAttachmentNetworkDetailsTypeEnumValues ¶

func GetDrgAttachmentNetworkDetailsTypeEnumValues() []DrgAttachmentNetworkDetailsTypeEnum

GetDrgAttachmentNetworkDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkDetailsTypeEnum

func GetMappingDrgAttachmentNetworkDetailsTypeEnum ¶

func GetMappingDrgAttachmentNetworkDetailsTypeEnum(val string) (DrgAttachmentNetworkDetailsTypeEnum, bool)

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

type DrgAttachmentNetworkUpdateDetails ¶

type DrgAttachmentNetworkUpdateDetails interface {
}

DrgAttachmentNetworkUpdateDetails The representation of DrgAttachmentNetworkUpdateDetails

type DrgAttachmentNetworkUpdateDetailsTypeEnum ¶

type DrgAttachmentNetworkUpdateDetailsTypeEnum string

DrgAttachmentNetworkUpdateDetailsTypeEnum Enum with underlying type: string

const (
	DrgAttachmentNetworkUpdateDetailsTypeVcn DrgAttachmentNetworkUpdateDetailsTypeEnum = "VCN"
)

Set of constants representing the allowable values for DrgAttachmentNetworkUpdateDetailsTypeEnum

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues ¶

func GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues() []DrgAttachmentNetworkUpdateDetailsTypeEnum

GetDrgAttachmentNetworkUpdateDetailsTypeEnumValues Enumerates the set of values for DrgAttachmentNetworkUpdateDetailsTypeEnum

func GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum ¶

func GetMappingDrgAttachmentNetworkUpdateDetailsTypeEnum(val string) (DrgAttachmentNetworkUpdateDetailsTypeEnum, bool)

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

type DrgAttachmentTypeDrgRouteDistributionMatchCriteria ¶

type DrgAttachmentTypeDrgRouteDistributionMatchCriteria struct {

	// The type of the network resource to be included in this match. A match for a network type implies that all
	// DRG attachments of that type insert routes into the table.
	AttachmentType DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum `mandatory:"true" json:"attachmentType"`
}

DrgAttachmentTypeDrgRouteDistributionMatchCriteria The attachment type from which the DRG will import routes. Routes will be imported from all attachments of this type.

func (DrgAttachmentTypeDrgRouteDistributionMatchCriteria) MarshalJSON ¶

MarshalJSON marshals to json representation

func (DrgAttachmentTypeDrgRouteDistributionMatchCriteria) String ¶

func (DrgAttachmentTypeDrgRouteDistributionMatchCriteria) ValidateEnumValue ¶

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

type DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum ¶

type DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum string

DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum Enum with underlying type: string

const (
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeVcn                     DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "VCN"
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeVirtualCircuit          DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "VIRTUAL_CIRCUIT"
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeRemotePeeringConnection DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "REMOTE_PEERING_CONNECTION"
	DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeIpsecTunnel             DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum = "IPSEC_TUNNEL"
)

Set of constants representing the allowable values for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues ¶

func GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues() []DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

GetDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnumValues Enumerates the set of values for DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum

func GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum ¶

func GetMappingDrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum(val string) (DrgAttachmentTypeDrgRouteDistributionMatchCriteriaAttachmentTypeEnum, bool)

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

type DrgLifecycleStateEnum ¶

type DrgLifecycleStateEnum string

DrgLifecycleStateEnum Enum with underlying type: string

const (
	DrgLifecycleStateProvisioning DrgLifecycleStateEnum = "PROVISIONING"
	DrgLifecycleStateAvailable    DrgLifecycleStateEnum = "AVAILABLE"
	DrgLifecycleStateTerminating  DrgLifecycleStateEnum = "TERMINATING"
	DrgLifecycleStateTerminated   DrgLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DrgLifecycleStateEnum

func GetDrgLifecycleStateEnumValues ¶

func GetDrgLifecycleStateEnumValues() []DrgLifecycleStateEnum

GetDrgLifecycleStateEnumValues Enumerates the set of values for DrgLifecycleStateEnum

func GetMappingDrgLifecycleStateEnum ¶

func GetMappingDrgLifecycleStateEnum(val string) (DrgLifecycleStateEnum, bool)

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

type DrgRouteDistribution ¶

type DrgRouteDistribution struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that contains this route distribution.
	DrgId *string `mandatory:"true" json:"drgId"`

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

	// The route distribution's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The route distribution's current state.
	LifecycleState DrgRouteDistributionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

	// Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
	DistributionType DrgRouteDistributionDistributionTypeEnum `mandatory:"true" json:"distributionType"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

DrgRouteDistribution A route distribution establishes how routes get imported into DRG route tables and exported through the DRG attachments. A route distribution is a list of statements. Each statement consists of a set of matches, all of which must be `True` in order for the statement's action to take place. Each statement determines which routes are propagated. You can assign a route distribution as a route table's import distribution. The statements in an import route distribution specify how how incoming route advertisements through a referenced attachment or all attachments of a certain type are inserted into the route table. You can assign a route distribution as a DRG attachment's export distribution. Export route distribution statements specify how routes in a DRG attachment's assigned table are advertised out through the attachment. When a DRG attachment is created, a route distribution is created with a single ACCEPT statement with match criteria MATCH_ALL. Exporting routes through VCN attachments is unsupported, so no VCN attachments are assigned an export distribution. The two auto-generated DRG route tables (one as the default for VCN attachments, and the other for all other types of attachments) are each assigned an auto generated import route distribution. The default VCN table's import distribution has a single statement with match criteria MATCH_ALL to import routes from each DRG attachment type. The other table's import distribution has a statement to import routes from attachments with the VCN type. The route distribution is always in the same compartment as the DRG.

func (DrgRouteDistribution) String ¶

func (m DrgRouteDistribution) String() string

func (DrgRouteDistribution) ValidateEnumValue ¶

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

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

type DrgRouteDistributionDistributionTypeEnum ¶

type DrgRouteDistributionDistributionTypeEnum string

DrgRouteDistributionDistributionTypeEnum Enum with underlying type: string

const (
	DrgRouteDistributionDistributionTypeImport DrgRouteDistributionDistributionTypeEnum = "IMPORT"
	DrgRouteDistributionDistributionTypeExport DrgRouteDistributionDistributionTypeEnum = "EXPORT"
)

Set of constants representing the allowable values for DrgRouteDistributionDistributionTypeEnum

func GetDrgRouteDistributionDistributionTypeEnumValues ¶

func GetDrgRouteDistributionDistributionTypeEnumValues() []DrgRouteDistributionDistributionTypeEnum

GetDrgRouteDistributionDistributionTypeEnumValues Enumerates the set of values for DrgRouteDistributionDistributionTypeEnum

func GetMappingDrgRouteDistributionDistributionTypeEnum ¶

func GetMappingDrgRouteDistributionDistributionTypeEnum(val string) (DrgRouteDistributionDistributionTypeEnum, bool)

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

type DrgRouteDistributionLifecycleStateEnum ¶

type DrgRouteDistributionLifecycleStateEnum string

DrgRouteDistributionLifecycleStateEnum Enum with underlying type: string

const (
	DrgRouteDistributionLifecycleStateProvisioning DrgRouteDistributionLifecycleStateEnum = "PROVISIONING"
	DrgRouteDistributionLifecycleStateAvailable    DrgRouteDistributionLifecycleStateEnum = "AVAILABLE"
	DrgRouteDistributionLifecycleStateTerminating  DrgRouteDistributionLifecycleStateEnum = "TERMINATING"
	DrgRouteDistributionLifecycleStateTerminated   DrgRouteDistributionLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DrgRouteDistributionLifecycleStateEnum

func GetDrgRouteDistributionLifecycleStateEnumValues ¶

func GetDrgRouteDistributionLifecycleStateEnumValues() []DrgRouteDistributionLifecycleStateEnum

GetDrgRouteDistributionLifecycleStateEnumValues Enumerates the set of values for DrgRouteDistributionLifecycleStateEnum

func GetMappingDrgRouteDistributionLifecycleStateEnum ¶

func GetMappingDrgRouteDistributionLifecycleStateEnum(val string) (DrgRouteDistributionLifecycleStateEnum, bool)

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

type DrgRouteDistributionMatchCriteria ¶

type DrgRouteDistributionMatchCriteria interface {
}

DrgRouteDistributionMatchCriteria The match criteria in a route distribution statement. The match criteria outlines which routes should be imported or exported.

type DrgRouteDistributionMatchCriteriaMatchTypeEnum ¶

type DrgRouteDistributionMatchCriteriaMatchTypeEnum string

DrgRouteDistributionMatchCriteriaMatchTypeEnum Enum with underlying type: string

const (
	DrgRouteDistributionMatchCriteriaMatchTypeType DrgRouteDistributionMatchCriteriaMatchTypeEnum = "DRG_ATTACHMENT_TYPE"
	DrgRouteDistributionMatchCriteriaMatchTypeId   DrgRouteDistributionMatchCriteriaMatchTypeEnum = "DRG_ATTACHMENT_ID"
)

Set of constants representing the allowable values for DrgRouteDistributionMatchCriteriaMatchTypeEnum

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues ¶

func GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues() []DrgRouteDistributionMatchCriteriaMatchTypeEnum

GetDrgRouteDistributionMatchCriteriaMatchTypeEnumValues Enumerates the set of values for DrgRouteDistributionMatchCriteriaMatchTypeEnum

func GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum ¶

func GetMappingDrgRouteDistributionMatchCriteriaMatchTypeEnum(val string) (DrgRouteDistributionMatchCriteriaMatchTypeEnum, bool)

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

type DrgRouteDistributionStatement ¶

type DrgRouteDistributionStatement struct {

	// The action is applied only if all of the match criteria is met.
	// If there are no match criteria in a statement, any input is considered a match and the action is applied.
	MatchCriteria []DrgRouteDistributionMatchCriteria `mandatory:"true" json:"matchCriteria"`

	// `ACCEPT` indicates the route should be imported or exported as-is.
	Action DrgRouteDistributionStatementActionEnum `mandatory:"true" json:"action"`

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

	// The Oracle-assigned ID of the route distribution statement.
	Id *string `mandatory:"true" json:"id"`
}

DrgRouteDistributionStatement A single statement within a route distribution. All match criteria in a statement must be met for the action to take place.

func (DrgRouteDistributionStatement) String ¶

func (*DrgRouteDistributionStatement) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (DrgRouteDistributionStatement) ValidateEnumValue ¶

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

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

type DrgRouteDistributionStatementActionEnum ¶

type DrgRouteDistributionStatementActionEnum string

DrgRouteDistributionStatementActionEnum Enum with underlying type: string

const (
	DrgRouteDistributionStatementActionAccept DrgRouteDistributionStatementActionEnum = "ACCEPT"
)

Set of constants representing the allowable values for DrgRouteDistributionStatementActionEnum

func GetDrgRouteDistributionStatementActionEnumValues ¶

func GetDrgRouteDistributionStatementActionEnumValues() []DrgRouteDistributionStatementActionEnum

GetDrgRouteDistributionStatementActionEnumValues Enumerates the set of values for DrgRouteDistributionStatementActionEnum

func GetMappingDrgRouteDistributionStatementActionEnum ¶

func GetMappingDrgRouteDistributionStatementActionEnum(val string) (DrgRouteDistributionStatementActionEnum, bool)

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

type DrgRouteRule ¶

type DrgRouteRule struct {

	// Represents the range of IP addresses to match against when routing traffic.
	// Potential values:
	//   * An IP address range (IPv4 or IPv6) in CIDR notation. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`.
	//   * When you're setting up a security rule for traffic destined for a particular `Service` through
	//   a service gateway, this is the `cidrBlock` value associated with that Service. For example: `oci-phx-objectstorage`.
	Destination *string `mandatory:"true" json:"destination"`

	// The type of destination for the rule. the type is 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).
	DestinationType DrgRouteRuleDestinationTypeEnum `mandatory:"true" json:"destinationType"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment responsible
	// for reaching the network destination.
	// A value of `BLACKHOLE` means traffic for this route is discarded without notification.
	NextHopDrgAttachmentId *string `mandatory:"true" json:"nextHopDrgAttachmentId"`

	// The Oracle-assigned ID of the DRG route rule.
	Id *string `mandatory:"true" json:"id"`

	// The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment,
	// and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains `IPSEC_TUNNEL`,
	// because that is the earliest origin.
	// No routes with a provenance `IPSEC_TUNNEL` or `VIRTUAL_CIRCUIT` will be exported to IPsec tunnel or virtual circuit attachments,
	// regardless of the attachment's export distribution.
	RouteProvenance DrgRouteRuleRouteProvenanceEnum `mandatory:"true" json:"routeProvenance"`

	// You can specify static routes for the DRG route table using the API.
	// The DRG learns dynamic routes from the DRG attachments using various routing protocols.
	RouteType DrgRouteRuleRouteTypeEnum `mandatory:"false" json:"routeType,omitempty"`

	// Indicates that the route was not imported due to a conflict between route rules.
	IsConflict *bool `mandatory:"false" json:"isConflict"`

	// Indicates that if the next hop attachment does not exist, so traffic for this route is discarded without notification.
	IsBlackhole *bool `mandatory:"false" json:"isBlackhole"`

	// Additional properties for the route, computed by the service.
	Attributes *interface{} `mandatory:"false" json:"attributes"`
}

DrgRouteRule A DRG route rule is a mapping between a destination IP address range and a DRG attachment. The map is used to route matching packets. Traffic will be routed across the attachments using Equal-cost multi-path routing (ECMP) if there are multiple rules with identical destinations and none of the rules conflict.

func (DrgRouteRule) String ¶

func (m DrgRouteRule) String() string

func (DrgRouteRule) ValidateEnumValue ¶

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

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

type DrgRouteRuleDestinationTypeEnum ¶

type DrgRouteRuleDestinationTypeEnum string

DrgRouteRuleDestinationTypeEnum Enum with underlying type: string

const (
	DrgRouteRuleDestinationTypeCidrBlock        DrgRouteRuleDestinationTypeEnum = "CIDR_BLOCK"
	DrgRouteRuleDestinationTypeServiceCidrBlock DrgRouteRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for DrgRouteRuleDestinationTypeEnum

func GetDrgRouteRuleDestinationTypeEnumValues ¶

func GetDrgRouteRuleDestinationTypeEnumValues() []DrgRouteRuleDestinationTypeEnum

GetDrgRouteRuleDestinationTypeEnumValues Enumerates the set of values for DrgRouteRuleDestinationTypeEnum

func GetMappingDrgRouteRuleDestinationTypeEnum ¶

func GetMappingDrgRouteRuleDestinationTypeEnum(val string) (DrgRouteRuleDestinationTypeEnum, bool)

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

type DrgRouteRuleRouteProvenanceEnum ¶

type DrgRouteRuleRouteProvenanceEnum string

DrgRouteRuleRouteProvenanceEnum Enum with underlying type: string

const (
	DrgRouteRuleRouteProvenanceStatic         DrgRouteRuleRouteProvenanceEnum = "STATIC"
	DrgRouteRuleRouteProvenanceVcn            DrgRouteRuleRouteProvenanceEnum = "VCN"
	DrgRouteRuleRouteProvenanceVirtualCircuit DrgRouteRuleRouteProvenanceEnum = "VIRTUAL_CIRCUIT"
	DrgRouteRuleRouteProvenanceIpsecTunnel    DrgRouteRuleRouteProvenanceEnum = "IPSEC_TUNNEL"
)

Set of constants representing the allowable values for DrgRouteRuleRouteProvenanceEnum

func GetDrgRouteRuleRouteProvenanceEnumValues ¶

func GetDrgRouteRuleRouteProvenanceEnumValues() []DrgRouteRuleRouteProvenanceEnum

GetDrgRouteRuleRouteProvenanceEnumValues Enumerates the set of values for DrgRouteRuleRouteProvenanceEnum

func GetMappingDrgRouteRuleRouteProvenanceEnum ¶

func GetMappingDrgRouteRuleRouteProvenanceEnum(val string) (DrgRouteRuleRouteProvenanceEnum, bool)

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

type DrgRouteRuleRouteTypeEnum ¶

type DrgRouteRuleRouteTypeEnum string

DrgRouteRuleRouteTypeEnum Enum with underlying type: string

const (
	DrgRouteRuleRouteTypeStatic  DrgRouteRuleRouteTypeEnum = "STATIC"
	DrgRouteRuleRouteTypeDynamic DrgRouteRuleRouteTypeEnum = "DYNAMIC"
)

Set of constants representing the allowable values for DrgRouteRuleRouteTypeEnum

func GetDrgRouteRuleRouteTypeEnumValues ¶

func GetDrgRouteRuleRouteTypeEnumValues() []DrgRouteRuleRouteTypeEnum

GetDrgRouteRuleRouteTypeEnumValues Enumerates the set of values for DrgRouteRuleRouteTypeEnum

func GetMappingDrgRouteRuleRouteTypeEnum ¶

func GetMappingDrgRouteRuleRouteTypeEnum(val string) (DrgRouteRuleRouteTypeEnum, bool)

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

type DrgRouteTable ¶

type DrgRouteTable struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
	// DRG route table.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DRG is in. The DRG route table
	// is always in the same compartment as the DRG.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table.
	DrgId *string `mandatory:"true" json:"drgId"`

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

	// The DRG route table's current state.
	LifecycleState DrgRouteTableLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to
	// your on-premises network, enable ECMP on the DRG route table to which these attachments
	// import routes.
	IsEcmpEnabled *bool `mandatory:"true" json:"isEcmpEnabled"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 from
	// referenced attachments are inserted into the DRG route table.
	ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"`
}

DrgRouteTable All routing inside the DRG is driven by the contents of DRG route tables. DRG route tables contain rules which route packets to a particular network destination, represented as a DRG attachment. The routing decision for a packet entering a DRG is determined by the rules in the DRG route table assigned to the attachment-of-entry. Each DRG attachment can inject routes in any DRG route table, provided there is a statement corresponding to the attachment in the route table's `importDrgRouteDistribution`. You can also insert static routes into the DRG route tables. The DRG route table is always in the same compartment as the DRG. There must always be a default DRG route table for each attachment type.

func (DrgRouteTable) String ¶

func (m DrgRouteTable) String() string

func (DrgRouteTable) ValidateEnumValue ¶

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

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

type DrgRouteTableLifecycleStateEnum ¶

type DrgRouteTableLifecycleStateEnum string

DrgRouteTableLifecycleStateEnum Enum with underlying type: string

const (
	DrgRouteTableLifecycleStateProvisioning DrgRouteTableLifecycleStateEnum = "PROVISIONING"
	DrgRouteTableLifecycleStateAvailable    DrgRouteTableLifecycleStateEnum = "AVAILABLE"
	DrgRouteTableLifecycleStateTerminating  DrgRouteTableLifecycleStateEnum = "TERMINATING"
	DrgRouteTableLifecycleStateTerminated   DrgRouteTableLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for DrgRouteTableLifecycleStateEnum

func GetDrgRouteTableLifecycleStateEnumValues ¶

func GetDrgRouteTableLifecycleStateEnumValues() []DrgRouteTableLifecycleStateEnum

GetDrgRouteTableLifecycleStateEnumValues Enumerates the set of values for DrgRouteTableLifecycleStateEnum

func GetMappingDrgRouteTableLifecycleStateEnum ¶

func GetMappingDrgRouteTableLifecycleStateEnum(val string) (DrgRouteTableLifecycleStateEnum, bool)

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

type DrgRoutingConfiguration ¶

type DrgRoutingConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the DRG route
	// table that allowed the traffic.
	DrgRouteTableId *string `mandatory:"true" json:"drgRouteTableId"`

	RouteRule *DrgRouteRule `mandatory:"true" json:"routeRule"`
}

DrgRoutingConfiguration Identifies the DRG route table and rule that allowed the traffic to be forwarded.

func (DrgRoutingConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (DrgRoutingConfiguration) String ¶

func (m DrgRoutingConfiguration) String() string

func (DrgRoutingConfiguration) ValidateEnumValue ¶

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

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

type EgressSecurityListConfiguration ¶

type EgressSecurityListConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security
	// list that allowed the traffic.
	SecurityListId *string `mandatory:"true" json:"securityListId"`

	SecurityRule *EgressSecurityRule `mandatory:"true" json:"securityRule"`
}

EgressSecurityListConfiguration Defines the subnet egress security list configuration that allowed the traffic.

func (EgressSecurityListConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (EgressSecurityListConfiguration) String ¶

func (EgressSecurityListConfiguration) ValidateEnumValue ¶

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

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

type EgressSecurityRule ¶

type EgressSecurityRule struct {

	// Conceptually, this is the range of IP addresses that a packet originating from the instance
	// can go to.
	// Allowed values:
	//   * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
	//     Note that IPv6 addressing is currently supported only in certain regions. See
	//     IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a security list rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	Destination *string `mandatory:"true" json:"destination"`

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

	// Type of destination for the rule. The default is `CIDR_BLOCK`.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	DestinationType EgressSecurityRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

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

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

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

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

EgressSecurityRule A rule for allowing outbound IP packets.

func (EgressSecurityRule) String ¶

func (m EgressSecurityRule) String() string

func (EgressSecurityRule) ValidateEnumValue ¶

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

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

type EgressSecurityRuleDestinationTypeEnum ¶

type EgressSecurityRuleDestinationTypeEnum string

EgressSecurityRuleDestinationTypeEnum Enum with underlying type: string

const (
	EgressSecurityRuleDestinationTypeCidrBlock        EgressSecurityRuleDestinationTypeEnum = "CIDR_BLOCK"
	EgressSecurityRuleDestinationTypeServiceCidrBlock EgressSecurityRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for EgressSecurityRuleDestinationTypeEnum

func GetEgressSecurityRuleDestinationTypeEnumValues ¶

func GetEgressSecurityRuleDestinationTypeEnumValues() []EgressSecurityRuleDestinationTypeEnum

GetEgressSecurityRuleDestinationTypeEnumValues Enumerates the set of values for EgressSecurityRuleDestinationTypeEnum

func GetMappingEgressSecurityRuleDestinationTypeEnum ¶

func GetMappingEgressSecurityRuleDestinationTypeEnum(val string) (EgressSecurityRuleDestinationTypeEnum, bool)

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

type EgressTrafficSpec ¶

type EgressTrafficSpec struct {

	// The IP protocol to use for the traffic path analysis.
	Protocol *int `mandatory:"true" json:"protocol"`

	// The IPv4 address of the source node.
	SourceAddress *string `mandatory:"true" json:"sourceAddress"`

	// The IPv4 address of the destination node.
	DestinationAddress *string `mandatory:"true" json:"destinationAddress"`

	TrafficProtocolParameters TrafficProtocolParameters `mandatory:"false" json:"trafficProtocolParameters"`
}

EgressTrafficSpec Defines the traffic configuration that leaves the traffic node.

func (EgressTrafficSpec) String ¶

func (m EgressTrafficSpec) String() string

func (*EgressTrafficSpec) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (EgressTrafficSpec) ValidateEnumValue ¶

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

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

type Endpoint ¶

type Endpoint interface {
}

Endpoint Information describing a source or destination in a `PathAnalyzerTest` resource.

type EndpointTypeEnum ¶

type EndpointTypeEnum string

EndpointTypeEnum Enum with underlying type: string

const (
	EndpointTypeIpAddress                   EndpointTypeEnum = "IP_ADDRESS"
	EndpointTypeSubnet                      EndpointTypeEnum = "SUBNET"
	EndpointTypeComputeInstance             EndpointTypeEnum = "COMPUTE_INSTANCE"
	EndpointTypeVnic                        EndpointTypeEnum = "VNIC"
	EndpointTypeLoadBalancer                EndpointTypeEnum = "LOAD_BALANCER"
	EndpointTypeLoadBalancerListener        EndpointTypeEnum = "LOAD_BALANCER_LISTENER"
	EndpointTypeNetworkLoadBalancer         EndpointTypeEnum = "NETWORK_LOAD_BALANCER"
	EndpointTypeNetworkLoadBalancerListener EndpointTypeEnum = "NETWORK_LOAD_BALANCER_LISTENER"
	EndpointTypeVlan                        EndpointTypeEnum = "VLAN"
)

Set of constants representing the allowable values for EndpointTypeEnum

func GetEndpointTypeEnumValues ¶

func GetEndpointTypeEnumValues() []EndpointTypeEnum

GetEndpointTypeEnumValues Enumerates the set of values for EndpointTypeEnum

func GetMappingEndpointTypeEnum ¶

func GetMappingEndpointTypeEnum(val string) (EndpointTypeEnum, bool)

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

type FastConnectProviderService ¶

type FastConnectProviderService struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider.
	Id *string `mandatory:"true" json:"id"`

	// Who is responsible for managing the private peering BGP information.
	PrivatePeeringBgpManagement FastConnectProviderServicePrivatePeeringBgpManagementEnum `mandatory:"true" json:"privatePeeringBgpManagement"`

	// The name of the provider.
	ProviderName *string `mandatory:"true" json:"providerName"`

	// The name of the service offered by the provider.
	ProviderServiceName *string `mandatory:"true" json:"providerServiceName"`

	// Who is responsible for managing the public peering BGP information.
	PublicPeeringBgpManagement FastConnectProviderServicePublicPeeringBgpManagementEnum `mandatory:"true" json:"publicPeeringBgpManagement"`

	// Provider service type.
	Type FastConnectProviderServiceTypeEnum `mandatory:"true" json:"type"`

	// The location of the provider's website or portal. This portal is where you can get information
	// about the provider service, create a virtual circuit connection from the provider to Oracle
	// Cloud Infrastructure, and retrieve your provider service key for that virtual circuit connection.
	// Example: `https://example.com`
	Description *string `mandatory:"false" json:"description"`

	// An array of virtual circuit types supported by this service.
	SupportedVirtualCircuitTypes []FastConnectProviderServiceSupportedVirtualCircuitTypesEnum `mandatory:"false" json:"supportedVirtualCircuitTypes,omitempty"`
}

FastConnectProviderService A service offering from a supported provider. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

func (FastConnectProviderService) String ¶

func (FastConnectProviderService) ValidateEnumValue ¶

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

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

type FastConnectProviderServicePrivatePeeringBgpManagementEnum ¶

type FastConnectProviderServicePrivatePeeringBgpManagementEnum string

FastConnectProviderServicePrivatePeeringBgpManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServicePrivatePeeringBgpManagementCustomerManaged FastConnectProviderServicePrivatePeeringBgpManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServicePrivatePeeringBgpManagementProviderManaged FastConnectProviderServicePrivatePeeringBgpManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServicePrivatePeeringBgpManagementOracleManaged   FastConnectProviderServicePrivatePeeringBgpManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServicePrivatePeeringBgpManagementEnum

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues ¶

func GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues() []FastConnectProviderServicePrivatePeeringBgpManagementEnum

GetFastConnectProviderServicePrivatePeeringBgpManagementEnumValues Enumerates the set of values for FastConnectProviderServicePrivatePeeringBgpManagementEnum

func GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum ¶

func GetMappingFastConnectProviderServicePrivatePeeringBgpManagementEnum(val string) (FastConnectProviderServicePrivatePeeringBgpManagementEnum, bool)

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

type FastConnectProviderServicePublicPeeringBgpManagementEnum ¶

type FastConnectProviderServicePublicPeeringBgpManagementEnum string

FastConnectProviderServicePublicPeeringBgpManagementEnum Enum with underlying type: string

const (
	FastConnectProviderServicePublicPeeringBgpManagementCustomerManaged FastConnectProviderServicePublicPeeringBgpManagementEnum = "CUSTOMER_MANAGED"
	FastConnectProviderServicePublicPeeringBgpManagementProviderManaged FastConnectProviderServicePublicPeeringBgpManagementEnum = "PROVIDER_MANAGED"
	FastConnectProviderServicePublicPeeringBgpManagementOracleManaged   FastConnectProviderServicePublicPeeringBgpManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for FastConnectProviderServicePublicPeeringBgpManagementEnum

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues ¶

func GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues() []FastConnectProviderServicePublicPeeringBgpManagementEnum

GetFastConnectProviderServicePublicPeeringBgpManagementEnumValues Enumerates the set of values for FastConnectProviderServicePublicPeeringBgpManagementEnum

func GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum ¶

func GetMappingFastConnectProviderServicePublicPeeringBgpManagementEnum(val string) (FastConnectProviderServicePublicPeeringBgpManagementEnum, bool)

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

type FastConnectProviderServiceSupportedVirtualCircuitTypesEnum ¶

type FastConnectProviderServiceSupportedVirtualCircuitTypesEnum string

FastConnectProviderServiceSupportedVirtualCircuitTypesEnum Enum with underlying type: string

const (
	FastConnectProviderServiceSupportedVirtualCircuitTypesPublic  FastConnectProviderServiceSupportedVirtualCircuitTypesEnum = "PUBLIC"
	FastConnectProviderServiceSupportedVirtualCircuitTypesPrivate FastConnectProviderServiceSupportedVirtualCircuitTypesEnum = "PRIVATE"
)

Set of constants representing the allowable values for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues ¶

func GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues() []FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

GetFastConnectProviderServiceSupportedVirtualCircuitTypesEnumValues Enumerates the set of values for FastConnectProviderServiceSupportedVirtualCircuitTypesEnum

func GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum ¶

func GetMappingFastConnectProviderServiceSupportedVirtualCircuitTypesEnum(val string) (FastConnectProviderServiceSupportedVirtualCircuitTypesEnum, bool)

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

type FastConnectProviderServiceTypeEnum ¶

type FastConnectProviderServiceTypeEnum string

FastConnectProviderServiceTypeEnum Enum with underlying type: string

const (
	FastConnectProviderServiceTypeLayer2 FastConnectProviderServiceTypeEnum = "LAYER2"
	FastConnectProviderServiceTypeLayer3 FastConnectProviderServiceTypeEnum = "LAYER3"
)

Set of constants representing the allowable values for FastConnectProviderServiceTypeEnum

func GetFastConnectProviderServiceTypeEnumValues ¶

func GetFastConnectProviderServiceTypeEnumValues() []FastConnectProviderServiceTypeEnum

GetFastConnectProviderServiceTypeEnumValues Enumerates the set of values for FastConnectProviderServiceTypeEnum

func GetMappingFastConnectProviderServiceTypeEnum ¶

func GetMappingFastConnectProviderServiceTypeEnum(val string) (FastConnectProviderServiceTypeEnum, bool)

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

type ForwardedRoutingAction ¶

type ForwardedRoutingAction struct {
	ForwardedRoutingActionDetails *ForwardedRoutingActionDetails `mandatory:"false" json:"forwardedRoutingActionDetails"`

	// The type of the routing support for the traffic flow.
	ActionType RoutingActionActionTypeEnum `mandatory:"true" json:"actionType"`
}

ForwardedRoutingAction Defines the routing actions taken for traffic that is forwarded.

func (ForwardedRoutingAction) GetActionType ¶

GetActionType returns ActionType

func (ForwardedRoutingAction) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (ForwardedRoutingAction) String ¶

func (m ForwardedRoutingAction) String() string

func (ForwardedRoutingAction) ValidateEnumValue ¶

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

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

type ForwardedRoutingActionDetails ¶

type ForwardedRoutingActionDetails struct {

	// If true, the forwarded routing configuration details are incomplete.
	IsRestrictedOrPartial *bool `mandatory:"true" json:"isRestrictedOrPartial"`

	ForwardedRoutingConfiguration ForwardedRoutingConfiguration `mandatory:"false" json:"forwardedRoutingConfiguration"`
}

ForwardedRoutingActionDetails Defines details for the forwarded routing action.

func (ForwardedRoutingActionDetails) String ¶

func (*ForwardedRoutingActionDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (ForwardedRoutingActionDetails) ValidateEnumValue ¶

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

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

type ForwardedRoutingConfiguration ¶

type ForwardedRoutingConfiguration interface {
}

ForwardedRoutingConfiguration Defines the type of the resource that forwarded traffic.

type ForwardedRoutingConfigurationTypeEnum ¶

type ForwardedRoutingConfigurationTypeEnum string

ForwardedRoutingConfigurationTypeEnum Enum with underlying type: string

const (
	ForwardedRoutingConfigurationTypeVcn ForwardedRoutingConfigurationTypeEnum = "VCN"
	ForwardedRoutingConfigurationTypeDrg ForwardedRoutingConfigurationTypeEnum = "DRG"
)

Set of constants representing the allowable values for ForwardedRoutingConfigurationTypeEnum

func GetForwardedRoutingConfigurationTypeEnumValues ¶

func GetForwardedRoutingConfigurationTypeEnumValues() []ForwardedRoutingConfigurationTypeEnum

GetForwardedRoutingConfigurationTypeEnumValues Enumerates the set of values for ForwardedRoutingConfigurationTypeEnum

func GetMappingForwardedRoutingConfigurationTypeEnum ¶

func GetMappingForwardedRoutingConfigurationTypeEnum(val string) (ForwardedRoutingConfigurationTypeEnum, bool)

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

type GetPathAnalysisDetails ¶

type GetPathAnalysisDetails interface {
}

GetPathAnalysisDetails Defines the configuration for getting a path analysis.

type GetPathAnalysisDetailsTypeEnum ¶

type GetPathAnalysisDetailsTypeEnum string

GetPathAnalysisDetailsTypeEnum Enum with underlying type: string

const (
	GetPathAnalysisDetailsTypePersistedQuery GetPathAnalysisDetailsTypeEnum = "PERSISTED_QUERY"
	GetPathAnalysisDetailsTypeAdhocQuery     GetPathAnalysisDetailsTypeEnum = "ADHOC_QUERY"
)

Set of constants representing the allowable values for GetPathAnalysisDetailsTypeEnum

func GetGetPathAnalysisDetailsTypeEnumValues ¶

func GetGetPathAnalysisDetailsTypeEnumValues() []GetPathAnalysisDetailsTypeEnum

GetGetPathAnalysisDetailsTypeEnumValues Enumerates the set of values for GetPathAnalysisDetailsTypeEnum

func GetMappingGetPathAnalysisDetailsTypeEnum ¶

func GetMappingGetPathAnalysisDetailsTypeEnum(val string) (GetPathAnalysisDetailsTypeEnum, bool)

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

type GetPathAnalysisRequest ¶

type GetPathAnalysisRequest struct {

	// Details for the path analysis query.
	GetPathAnalysisDetails `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"`

	// The Cache-Control HTTP header holds directives (instructions)
	// for caching in both requests and responses.
	CacheControl *string `mandatory:"false" contributesTo:"header" name:"cache-control"`

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

GetPathAnalysisRequest wrapper for the GetPathAnalysis operation

See also ¶

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

func (GetPathAnalysisRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetPathAnalysisRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetPathAnalysisRequest) RetryPolicy ¶

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

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

func (GetPathAnalysisRequest) String ¶

func (request GetPathAnalysisRequest) String() string

func (GetPathAnalysisRequest) ValidateEnumValue ¶

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

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

type GetPathAnalysisResponse ¶

type GetPathAnalysisResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

GetPathAnalysisResponse wrapper for the GetPathAnalysis operation

func (GetPathAnalysisResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetPathAnalysisResponse) String ¶

func (response GetPathAnalysisResponse) String() string

type GetPathAnalyzerTestRequest ¶

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

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

GetPathAnalyzerTestRequest wrapper for the GetPathAnalyzerTest operation

See also ¶

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

func (GetPathAnalyzerTestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetPathAnalyzerTestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetPathAnalyzerTestRequest) RetryPolicy ¶

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

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

func (GetPathAnalyzerTestRequest) String ¶

func (request GetPathAnalyzerTestRequest) String() string

func (GetPathAnalyzerTestRequest) ValidateEnumValue ¶

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

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

type GetPathAnalyzerTestResponse ¶

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

GetPathAnalyzerTestResponse wrapper for the GetPathAnalyzerTest operation

func (GetPathAnalyzerTestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetPathAnalyzerTestResponse) String ¶

func (response GetPathAnalyzerTestResponse) String() string

type GetPublicIpByIpAddressDetails ¶

type GetPublicIpByIpAddressDetails struct {

	// The public IP address.
	// Example: 203.0.113.2
	IpAddress *string `mandatory:"true" json:"ipAddress"`
}

GetPublicIpByIpAddressDetails IP address of the public IP.

func (GetPublicIpByIpAddressDetails) String ¶

func (GetPublicIpByIpAddressDetails) ValidateEnumValue ¶

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

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

type GetPublicIpByPrivateIpIdDetails ¶

type GetPublicIpByPrivateIpIdDetails struct {

	// OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP.
	PrivateIpId *string `mandatory:"true" json:"privateIpId"`
}

GetPublicIpByPrivateIpIdDetails Details of the private IP that the public IP is assigned to.

func (GetPublicIpByPrivateIpIdDetails) String ¶

func (GetPublicIpByPrivateIpIdDetails) ValidateEnumValue ¶

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

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

type GetWorkRequestRequest ¶

type GetWorkRequestRequest struct {

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also ¶

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

func (GetWorkRequestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy ¶

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

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

func (GetWorkRequestRequest) String ¶

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue ¶

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

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

type GetWorkRequestResponse ¶

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *int `presentIn:"header" name:"retry-after"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String ¶

func (response GetWorkRequestResponse) String() string

type IcmpOptions ¶

type IcmpOptions struct {

	// The ICMP type.
	Type *int `mandatory:"true" json:"type"`

	// The ICMP code (optional).
	Code *int `mandatory:"false" json:"code"`
}

IcmpOptions Optional and valid only for ICMP and ICMPv6. Use to specify a particular ICMP type and code as defined in: - ICMP Parameters (http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) - ICMPv6 Parameters (https://www.iana.org/assignments/icmpv6-parameters/icmpv6-parameters.xhtml) If you specify ICMP or ICMPv6 as the protocol but omit this object, then all ICMP types and codes are allowed. If you do provide this object, the type is required and the code is optional. To enable MTU negotiation for ingress internet traffic via IPv4, make sure to allow type 3 ("Destination Unreachable") code 4 ("Fragmentation Needed and Don't Fragment was Set"). If you need to specify multiple codes for a single type, create a separate security list rule for each.

func (IcmpOptions) String ¶

func (m IcmpOptions) String() string

func (IcmpOptions) ValidateEnumValue ¶

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

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

type IcmpProtocolParameters ¶

type IcmpProtocolParameters struct {

	// The ICMP (https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) type.
	IcmpType *int `mandatory:"true" json:"icmpType"`

	// The ICMP (https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) code.
	IcmpCode *int `mandatory:"false" json:"icmpCode"`
}

IcmpProtocolParameters Defines the configuration for the ICMP (https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) protocol parameters.

func (IcmpProtocolParameters) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (IcmpProtocolParameters) String ¶

func (m IcmpProtocolParameters) String() string

func (IcmpProtocolParameters) ValidateEnumValue ¶

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

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

type IcmpTrafficProtocolParameters ¶

type IcmpTrafficProtocolParameters struct {

	// The ICMP (https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) type.
	IcmpType *int `mandatory:"true" json:"icmpType"`

	// The ICMP (https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) code.
	IcmpCode *int `mandatory:"false" json:"icmpCode"`
}

IcmpTrafficProtocolParameters Defines the `ProtocolParameters` configuration for the ICMP (https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) protocol.

func (IcmpTrafficProtocolParameters) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (IcmpTrafficProtocolParameters) String ¶

func (IcmpTrafficProtocolParameters) ValidateEnumValue ¶

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

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

type IndeterminateRoutingAction ¶

type IndeterminateRoutingAction struct {

	// The type of the routing support for the traffic flow.
	ActionType RoutingActionActionTypeEnum `mandatory:"true" json:"actionType"`
}

IndeterminateRoutingAction Defines the routing action taken on a traffic node where the routing action is INDETERMINATE.

func (IndeterminateRoutingAction) GetActionType ¶

GetActionType returns ActionType

func (IndeterminateRoutingAction) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (IndeterminateRoutingAction) String ¶

func (IndeterminateRoutingAction) ValidateEnumValue ¶

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

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

type IngressSecurityListConfiguration ¶

type IngressSecurityListConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security
	// list that allowed the traffic.
	SecurityListId *string `mandatory:"true" json:"securityListId"`

	SecurityRule *IngressSecurityRule `mandatory:"true" json:"securityRule"`
}

IngressSecurityListConfiguration Defines the subnet ingress security list configuration that allowed the traffic.

func (IngressSecurityListConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (IngressSecurityListConfiguration) String ¶

func (IngressSecurityListConfiguration) ValidateEnumValue ¶

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

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

type IngressSecurityRule ¶

type IngressSecurityRule struct {

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

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

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

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

	// Type of source for the rule. The default is `CIDR_BLOCK`.
	//   * `CIDR_BLOCK`: If the rule's `source` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
	//     Service (the rule is for traffic coming from a
	//     particular `Service` through a service gateway).
	SourceType IngressSecurityRuleSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`

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

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

IngressSecurityRule A rule for allowing inbound IP packets.

func (IngressSecurityRule) String ¶

func (m IngressSecurityRule) String() string

func (IngressSecurityRule) ValidateEnumValue ¶

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

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

type IngressSecurityRuleSourceTypeEnum ¶

type IngressSecurityRuleSourceTypeEnum string

IngressSecurityRuleSourceTypeEnum Enum with underlying type: string

const (
	IngressSecurityRuleSourceTypeCidrBlock        IngressSecurityRuleSourceTypeEnum = "CIDR_BLOCK"
	IngressSecurityRuleSourceTypeServiceCidrBlock IngressSecurityRuleSourceTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for IngressSecurityRuleSourceTypeEnum

func GetIngressSecurityRuleSourceTypeEnumValues ¶

func GetIngressSecurityRuleSourceTypeEnumValues() []IngressSecurityRuleSourceTypeEnum

GetIngressSecurityRuleSourceTypeEnumValues Enumerates the set of values for IngressSecurityRuleSourceTypeEnum

func GetMappingIngressSecurityRuleSourceTypeEnum ¶

func GetMappingIngressSecurityRuleSourceTypeEnum(val string) (IngressSecurityRuleSourceTypeEnum, bool)

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

type InternetGateway ¶

type InternetGateway struct {

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

	// The internet gateway's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The internet gateway's current state.
	LifecycleState InternetGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 gateway is enabled. When the gateway is disabled, traffic is not
	// routed to/from the Internet, regardless of route rules.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

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

InternetGateway Represents a router that connects the edge of a VCN with the Internet. For an example scenario that uses an internet gateway, see Typical Networking Service Scenarios (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm#scenarios). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (InternetGateway) String ¶

func (m InternetGateway) String() string

func (InternetGateway) ValidateEnumValue ¶

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

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

type InternetGatewayLifecycleStateEnum ¶

type InternetGatewayLifecycleStateEnum string

InternetGatewayLifecycleStateEnum Enum with underlying type: string

const (
	InternetGatewayLifecycleStateProvisioning InternetGatewayLifecycleStateEnum = "PROVISIONING"
	InternetGatewayLifecycleStateAvailable    InternetGatewayLifecycleStateEnum = "AVAILABLE"
	InternetGatewayLifecycleStateTerminating  InternetGatewayLifecycleStateEnum = "TERMINATING"
	InternetGatewayLifecycleStateTerminated   InternetGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for InternetGatewayLifecycleStateEnum

func GetInternetGatewayLifecycleStateEnumValues ¶

func GetInternetGatewayLifecycleStateEnumValues() []InternetGatewayLifecycleStateEnum

GetInternetGatewayLifecycleStateEnumValues Enumerates the set of values for InternetGatewayLifecycleStateEnum

func GetMappingInternetGatewayLifecycleStateEnum ¶

func GetMappingInternetGatewayLifecycleStateEnum(val string) (InternetGatewayLifecycleStateEnum, bool)

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

type IpAddressEndpoint ¶

type IpAddressEndpoint struct {

	// The IPv4 address of the `Endpoint`.
	Address *string `mandatory:"true" json:"address"`
}

IpAddressEndpoint Defines the details required for an IP_ADDRESS-type `Endpoint`.

func (IpAddressEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (IpAddressEndpoint) String ¶

func (m IpAddressEndpoint) String() string

func (IpAddressEndpoint) ValidateEnumValue ¶

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

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

type IpSecConnection ¶

type IpSecConnection struct {

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object.
	CpeId *string `mandatory:"true" json:"cpeId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The IPSec connection's current state.
	LifecycleState IpSecConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Static routes to the CPE. The CIDR must not be a
	// multicast address or class E address.
	//
	// Example: `10.0.1.0/24`
	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"`

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

IpSecConnection A connection between a DRG and CPE. This connection consists of multiple IPSec tunnels. Creating this connection is one of the steps required when setting up a Site-to-Site VPN. For more information, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (IpSecConnection) String ¶

func (m IpSecConnection) String() string

func (IpSecConnection) ValidateEnumValue ¶

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

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

type IpSecConnectionDeviceConfig ¶

type IpSecConnectionDeviceConfig struct {

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

	// The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The date and time the IPSec connection was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Two TunnelConfig objects.
	Tunnels []TunnelConfig `mandatory:"false" json:"tunnels"`
}

IpSecConnectionDeviceConfig Information about the IPSecConnection device configuration.

func (IpSecConnectionDeviceConfig) String ¶

func (IpSecConnectionDeviceConfig) ValidateEnumValue ¶

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

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

type IpSecConnectionDeviceStatus ¶

type IpSecConnectionDeviceStatus struct {

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

	// The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

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

	// Two TunnelStatus objects.
	Tunnels []TunnelStatus `mandatory:"false" json:"tunnels"`
}

IpSecConnectionDeviceStatus Status of the IPSec connection.

func (IpSecConnectionDeviceStatus) String ¶

func (IpSecConnectionDeviceStatus) ValidateEnumValue ¶

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

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

type IpSecConnectionLifecycleStateEnum ¶

type IpSecConnectionLifecycleStateEnum string

IpSecConnectionLifecycleStateEnum Enum with underlying type: string

const (
	IpSecConnectionLifecycleStateProvisioning IpSecConnectionLifecycleStateEnum = "PROVISIONING"
	IpSecConnectionLifecycleStateAvailable    IpSecConnectionLifecycleStateEnum = "AVAILABLE"
	IpSecConnectionLifecycleStateTerminating  IpSecConnectionLifecycleStateEnum = "TERMINATING"
	IpSecConnectionLifecycleStateTerminated   IpSecConnectionLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for IpSecConnectionLifecycleStateEnum

func GetIpSecConnectionLifecycleStateEnumValues ¶

func GetIpSecConnectionLifecycleStateEnumValues() []IpSecConnectionLifecycleStateEnum

GetIpSecConnectionLifecycleStateEnumValues Enumerates the set of values for IpSecConnectionLifecycleStateEnum

func GetMappingIpSecConnectionLifecycleStateEnum ¶

func GetMappingIpSecConnectionLifecycleStateEnum(val string) (IpSecConnectionLifecycleStateEnum, bool)

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

type IpsecTunnelDrgAttachmentNetworkDetails ¶

type IpsecTunnelDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"true" json:"id"`

	// The IPSec connection that contains the attached IPSec tunnel.
	IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`
}

IpsecTunnelDrgAttachmentNetworkDetails Specifies the IPSec tunnel attached to the DRG.

func (IpsecTunnelDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (IpsecTunnelDrgAttachmentNetworkDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (IpsecTunnelDrgAttachmentNetworkDetails) String ¶

func (IpsecTunnelDrgAttachmentNetworkDetails) ValidateEnumValue ¶

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

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

type Ipv6 ¶

type Ipv6 struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPv6.
	// This is the same as the VNIC's compartment.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6.
	Id *string `mandatory:"true" json:"id"`

	// The IPv6 address of the `IPv6` object. The address is within the IPv6 CIDR block
	// of the VNIC's subnet (see the `ipv6CidrBlock` attribute for the Subnet
	// object.
	// Example: `2001:0db8:0123:1111:abcd:ef01:2345:6789`
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The IPv6's current state.
	LifecycleState Ipv6LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
	SubnetId *string `mandatory:"true" json:"subnetId"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the IPv6 is assigned to.
	// The VNIC and IPv6 must be in the same subnet.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`

	// Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in
	// a public subnet. Never allowed for an IPv6 in a private subnet. If the value is `true`, the
	// IPv6 uses its public IP address for internet communication.
	// Example: `true`
	IsInternetAccessAllowed *bool `mandatory:"false" json:"isInternetAccessAllowed"`

	// The IPv6 address to be used for internet communication. The address is within the
	// IPv6 CIDR block of the VNIC's subnet (see the `ipv6PublicCidrBlock` attribute for the
	// Subnet object).
	// If your organization did NOT assign a custom IPv6 CIDR to the VCN for the private address
	// space, Oracle provides the IPv6 CIDR and uses that same CIDR for the private and public
	// address space. Therefore the `publicIpAddress` would be the same as the `ipAddress`.
	// If your organization assigned a custom IPv6 CIDR to the VCN for the address space,
	// the right 80 bits of the IPv6 IP (the subnet and address bits) are the same as for
	// the `ipAddress`. But the left 48 bits are from the IPv6 CIDR that Oracle assigned
	// to the VCN.
	// This is null if the IPv6 is created with `isInternetAccessAllowed` set to `false`.
	// Example: `2001:0db8:0123:1111:abcd:ef01:2345:6789`
	PublicIpAddress *string `mandatory:"false" json:"publicIpAddress"`
}

Ipv6 An *IPv6* is a conceptual term that refers to an IPv6 address and related properties. The `IPv6` object is the API representation of an IPv6. You can create and assign an IPv6 to any VNIC that is in an IPv6-enabled subnet in an IPv6-enabled VCN. **Note:** IPv6 addressing is supported for all commercial and government regions. For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).

func (Ipv6) String ¶

func (m Ipv6) String() string

func (Ipv6) ValidateEnumValue ¶

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

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

type Ipv6LifecycleStateEnum ¶

type Ipv6LifecycleStateEnum string

Ipv6LifecycleStateEnum Enum with underlying type: string

const (
	Ipv6LifecycleStateProvisioning Ipv6LifecycleStateEnum = "PROVISIONING"
	Ipv6LifecycleStateAvailable    Ipv6LifecycleStateEnum = "AVAILABLE"
	Ipv6LifecycleStateTerminating  Ipv6LifecycleStateEnum = "TERMINATING"
	Ipv6LifecycleStateTerminated   Ipv6LifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for Ipv6LifecycleStateEnum

func GetIpv6LifecycleStateEnumValues ¶

func GetIpv6LifecycleStateEnumValues() []Ipv6LifecycleStateEnum

GetIpv6LifecycleStateEnumValues Enumerates the set of values for Ipv6LifecycleStateEnum

func GetMappingIpv6LifecycleStateEnum ¶

func GetMappingIpv6LifecycleStateEnum(val string) (Ipv6LifecycleStateEnum, bool)

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

type LetterOfAuthority ¶

type LetterOfAuthority struct {

	// The name of the entity authorized by this Letter of Authority.
	AuthorizedEntityName *string `mandatory:"false" json:"authorizedEntityName"`

	// The type of cross-connect fiber, termination, and optical specification.
	CircuitType LetterOfAuthorityCircuitTypeEnum `mandatory:"false" json:"circuitType,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect.
	CrossConnectId *string `mandatory:"false" json:"crossConnectId"`

	// The address of the FastConnect location.
	FacilityLocation *string `mandatory:"false" json:"facilityLocation"`

	// The meet-me room port for this cross-connect.
	PortName *string `mandatory:"false" json:"portName"`

	// The date and time when the Letter of Authority expires, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`

	// The date and time the Letter of Authority was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeIssued *common.SDKTime `mandatory:"false" json:"timeIssued"`
}

LetterOfAuthority The Letter of Authority for the cross-connect. You must submit this letter when requesting cabling for the cross-connect at the FastConnect location.

func (LetterOfAuthority) String ¶

func (m LetterOfAuthority) String() string

func (LetterOfAuthority) ValidateEnumValue ¶

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

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

type LetterOfAuthorityCircuitTypeEnum ¶

type LetterOfAuthorityCircuitTypeEnum string

LetterOfAuthorityCircuitTypeEnum Enum with underlying type: string

const (
	LetterOfAuthorityCircuitTypeLc LetterOfAuthorityCircuitTypeEnum = "Single_mode_LC"
	LetterOfAuthorityCircuitTypeSc LetterOfAuthorityCircuitTypeEnum = "Single_mode_SC"
)

Set of constants representing the allowable values for LetterOfAuthorityCircuitTypeEnum

func GetLetterOfAuthorityCircuitTypeEnumValues ¶

func GetLetterOfAuthorityCircuitTypeEnumValues() []LetterOfAuthorityCircuitTypeEnum

GetLetterOfAuthorityCircuitTypeEnumValues Enumerates the set of values for LetterOfAuthorityCircuitTypeEnum

func GetMappingLetterOfAuthorityCircuitTypeEnum ¶

func GetMappingLetterOfAuthorityCircuitTypeEnum(val string) (LetterOfAuthorityCircuitTypeEnum, bool)

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

type ListPathAnalyzerTestsRequest ¶

type ListPathAnalyzerTestsRequest struct {

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

	// A filter that returns only resources whose `lifecycleState` matches the given `lifecycleState`.
	LifecycleState PathAnalyzerTestLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListPathAnalyzerTestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. You can provide one sort order (`sortOrder`). Default order for
	// TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
	// sort order is case sensitive.
	// **Note:** In general, some "List" operations (for example, `ListInstances`) let you
	// optionally filter by availability domain if the scope of the resource type is within a
	// single availability domain. If you call one of these "List" operations without specifying
	// an availability domain, the resources are grouped by availability domain, then sorted.
	SortBy ListPathAnalyzerTestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

ListPathAnalyzerTestsRequest wrapper for the ListPathAnalyzerTests operation

See also ¶

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

func (ListPathAnalyzerTestsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListPathAnalyzerTestsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListPathAnalyzerTestsRequest) RetryPolicy ¶

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

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

func (ListPathAnalyzerTestsRequest) String ¶

func (request ListPathAnalyzerTestsRequest) String() string

func (ListPathAnalyzerTestsRequest) ValidateEnumValue ¶

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

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

type ListPathAnalyzerTestsResponse ¶

type ListPathAnalyzerTestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListPathAnalyzerTestsResponse wrapper for the ListPathAnalyzerTests operation

func (ListPathAnalyzerTestsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListPathAnalyzerTestsResponse) String ¶

func (response ListPathAnalyzerTestsResponse) String() string

type ListPathAnalyzerTestsSortByEnum ¶

type ListPathAnalyzerTestsSortByEnum string

ListPathAnalyzerTestsSortByEnum Enum with underlying type: string

const (
	ListPathAnalyzerTestsSortByTimecreated ListPathAnalyzerTestsSortByEnum = "TIMECREATED"
	ListPathAnalyzerTestsSortByDisplayname ListPathAnalyzerTestsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListPathAnalyzerTestsSortByEnum

func GetListPathAnalyzerTestsSortByEnumValues ¶

func GetListPathAnalyzerTestsSortByEnumValues() []ListPathAnalyzerTestsSortByEnum

GetListPathAnalyzerTestsSortByEnumValues Enumerates the set of values for ListPathAnalyzerTestsSortByEnum

func GetMappingListPathAnalyzerTestsSortByEnum ¶

func GetMappingListPathAnalyzerTestsSortByEnum(val string) (ListPathAnalyzerTestsSortByEnum, bool)

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

type ListPathAnalyzerTestsSortOrderEnum ¶

type ListPathAnalyzerTestsSortOrderEnum string

ListPathAnalyzerTestsSortOrderEnum Enum with underlying type: string

const (
	ListPathAnalyzerTestsSortOrderAsc  ListPathAnalyzerTestsSortOrderEnum = "ASC"
	ListPathAnalyzerTestsSortOrderDesc ListPathAnalyzerTestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPathAnalyzerTestsSortOrderEnum

func GetListPathAnalyzerTestsSortOrderEnumValues ¶

func GetListPathAnalyzerTestsSortOrderEnumValues() []ListPathAnalyzerTestsSortOrderEnum

GetListPathAnalyzerTestsSortOrderEnumValues Enumerates the set of values for ListPathAnalyzerTestsSortOrderEnum

func GetMappingListPathAnalyzerTestsSortOrderEnum ¶

func GetMappingListPathAnalyzerTestsSortOrderEnum(val string) (ListPathAnalyzerTestsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest ¶

type ListWorkRequestErrorsRequest struct {

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

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

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also ¶

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy ¶

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

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

func (ListWorkRequestErrorsRequest) String ¶

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶

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

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

type ListWorkRequestErrorsResponse ¶

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String ¶

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum ¶

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues ¶

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum ¶

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum ¶

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues ¶

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum ¶

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest ¶

type ListWorkRequestLogsRequest struct {

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

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

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also ¶

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

func (ListWorkRequestLogsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy ¶

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

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

func (ListWorkRequestLogsRequest) String ¶

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue ¶

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

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

type ListWorkRequestLogsResponse ¶

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String ¶

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum ¶

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues ¶

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum ¶

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum ¶

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues ¶

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum ¶

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestResultsRequest ¶

type ListWorkRequestResultsRequest struct {

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

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

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The type of results to return.
	ResultType WorkRequestResultResultTypeEnum `mandatory:"false" contributesTo:"query" name:"resultType" omitEmpty:"true"`

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

ListWorkRequestResultsRequest wrapper for the ListWorkRequestResults operation

See also ¶

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

func (ListWorkRequestResultsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestResultsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestResultsRequest) RetryPolicy ¶

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

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

func (ListWorkRequestResultsRequest) String ¶

func (request ListWorkRequestResultsRequest) String() string

func (ListWorkRequestResultsRequest) ValidateEnumValue ¶

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

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

type ListWorkRequestResultsResponse ¶

type ListWorkRequestResultsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestResultsResponse wrapper for the ListWorkRequestResults operation

func (ListWorkRequestResultsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestResultsResponse) String ¶

func (response ListWorkRequestResultsResponse) String() string

type ListWorkRequestsRequest ¶

type ListWorkRequestsRequest struct {

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

	// The ID of the asynchronous work request.
	WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
	// is case sensitive.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. The default order for `timeAccepted` is descending.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// A filter to return only resources whose `lifecycleState` matches the given `OperationStatus`.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The ID of the resource affected by the work request.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also ¶

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

func (ListWorkRequestsRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy ¶

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

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

func (ListWorkRequestsRequest) String ¶

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue ¶

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

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

type ListWorkRequestsResponse ¶

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String ¶

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum ¶

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues ¶

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum ¶

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum ¶

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues ¶

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum ¶

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum ¶

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues ¶

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum ¶

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type LoadBalancerEndpoint ¶

type LoadBalancerEndpoint struct {

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

LoadBalancerEndpoint Defines the details required for a LOAD_BALANCER-type `Endpoint`.

func (LoadBalancerEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (LoadBalancerEndpoint) String ¶

func (m LoadBalancerEndpoint) String() string

func (LoadBalancerEndpoint) ValidateEnumValue ¶

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

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

type LoadBalancerListenerEndpoint ¶

type LoadBalancerListenerEndpoint struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer listener.
	ListenerId *string `mandatory:"true" json:"listenerId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the listener's load balancer.
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`
}

LoadBalancerListenerEndpoint Defines the details required for a LOAD_BALANCER_LISTENER-type `Endpoint`.

func (LoadBalancerListenerEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (LoadBalancerListenerEndpoint) String ¶

func (LoadBalancerListenerEndpoint) ValidateEnumValue ¶

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

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

type LocalPeeringGateway ¶

type LocalPeeringGateway struct {

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

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

	// The LPG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// Whether the VCN at the other end of the peering is in a different tenancy.
	// Example: `false`
	IsCrossTenancyPeering *bool `mandatory:"true" json:"isCrossTenancyPeering"`

	// The LPG's current lifecycle state.
	LifecycleState LocalPeeringGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Whether the LPG is peered with another LPG. `NEW` means the LPG has not yet been
	// peered. `PENDING` means the peering is being established. `REVOKED` means the
	// LPG at the other end of the peering has been deleted.
	PeeringStatus LocalPeeringGatewayPeeringStatusEnum `mandatory:"true" json:"peeringStatus"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that uses the LPG.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 range of IP addresses available on the VCN at the other
	// end of the peering from this LPG. The value is `null` if the LPG is not peered.
	// You can use this as the destination CIDR for a route rule to route a subnet's
	// traffic to this LPG.
	// Example: `192.168.0.0/16`
	PeerAdvertisedCidr *string `mandatory:"false" json:"peerAdvertisedCidr"`

	// Additional information regarding the peering status, if applicable.
	PeeringStatusDetails *string `mandatory:"false" json:"peeringStatusDetails"`
}

LocalPeeringGateway A local peering gateway (LPG) is an object on a VCN that lets that VCN peer with another VCN in the same region. *Peering* means that the two VCNs can communicate using private IP addresses, but without the traffic traversing the internet or routing through your on-premises network. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (LocalPeeringGateway) String ¶

func (m LocalPeeringGateway) String() string

func (LocalPeeringGateway) ValidateEnumValue ¶

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

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

type LocalPeeringGatewayLifecycleStateEnum ¶

type LocalPeeringGatewayLifecycleStateEnum string

LocalPeeringGatewayLifecycleStateEnum Enum with underlying type: string

const (
	LocalPeeringGatewayLifecycleStateProvisioning LocalPeeringGatewayLifecycleStateEnum = "PROVISIONING"
	LocalPeeringGatewayLifecycleStateAvailable    LocalPeeringGatewayLifecycleStateEnum = "AVAILABLE"
	LocalPeeringGatewayLifecycleStateTerminating  LocalPeeringGatewayLifecycleStateEnum = "TERMINATING"
	LocalPeeringGatewayLifecycleStateTerminated   LocalPeeringGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for LocalPeeringGatewayLifecycleStateEnum

func GetLocalPeeringGatewayLifecycleStateEnumValues ¶

func GetLocalPeeringGatewayLifecycleStateEnumValues() []LocalPeeringGatewayLifecycleStateEnum

GetLocalPeeringGatewayLifecycleStateEnumValues Enumerates the set of values for LocalPeeringGatewayLifecycleStateEnum

func GetMappingLocalPeeringGatewayLifecycleStateEnum ¶

func GetMappingLocalPeeringGatewayLifecycleStateEnum(val string) (LocalPeeringGatewayLifecycleStateEnum, bool)

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

type LocalPeeringGatewayPeeringStatusEnum ¶

type LocalPeeringGatewayPeeringStatusEnum string

LocalPeeringGatewayPeeringStatusEnum Enum with underlying type: string

const (
	LocalPeeringGatewayPeeringStatusInvalid LocalPeeringGatewayPeeringStatusEnum = "INVALID"
	LocalPeeringGatewayPeeringStatusNew     LocalPeeringGatewayPeeringStatusEnum = "NEW"
	LocalPeeringGatewayPeeringStatusPeered  LocalPeeringGatewayPeeringStatusEnum = "PEERED"
	LocalPeeringGatewayPeeringStatusPending LocalPeeringGatewayPeeringStatusEnum = "PENDING"
	LocalPeeringGatewayPeeringStatusRevoked LocalPeeringGatewayPeeringStatusEnum = "REVOKED"
)

Set of constants representing the allowable values for LocalPeeringGatewayPeeringStatusEnum

func GetLocalPeeringGatewayPeeringStatusEnumValues ¶

func GetLocalPeeringGatewayPeeringStatusEnumValues() []LocalPeeringGatewayPeeringStatusEnum

GetLocalPeeringGatewayPeeringStatusEnumValues Enumerates the set of values for LocalPeeringGatewayPeeringStatusEnum

func GetMappingLocalPeeringGatewayPeeringStatusEnum ¶

func GetMappingLocalPeeringGatewayPeeringStatusEnum(val string) (LocalPeeringGatewayPeeringStatusEnum, bool)

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

type NetworkLoadBalancerEndpoint ¶

type NetworkLoadBalancerEndpoint struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer.
	NetworkLoadBalancerId *string `mandatory:"true" json:"networkLoadBalancerId"`
}

NetworkLoadBalancerEndpoint Defines the details required for a NETWORK_LOAD_BALANCER-type `Endpoint`.

func (NetworkLoadBalancerEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (NetworkLoadBalancerEndpoint) String ¶

func (NetworkLoadBalancerEndpoint) ValidateEnumValue ¶

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

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

type NetworkLoadBalancerListenerEndpoint ¶

type NetworkLoadBalancerListenerEndpoint struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer listener.
	ListenerId *string `mandatory:"true" json:"listenerId"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the listener's network load balancer.
	NetworkLoadBalancerId *string `mandatory:"true" json:"networkLoadBalancerId"`
}

NetworkLoadBalancerListenerEndpoint Defines the details required for a NETWORK_LOAD_BALANCER_LISTENER-type `Endpoint`.

func (NetworkLoadBalancerListenerEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (NetworkLoadBalancerListenerEndpoint) String ¶

func (NetworkLoadBalancerListenerEndpoint) ValidateEnumValue ¶

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

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

type NetworkSecurityGroup ¶

type NetworkSecurityGroup struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the network security group is in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group.
	Id *string `mandatory:"true" json:"id"`

	// The network security group's current state.
	LifecycleState NetworkSecurityGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group's VCN.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

NetworkSecurityGroup A *network security group* (NSG) provides virtual firewall rules for a specific set of Vnic in a VCN. Compare NSGs with SecurityList, which provide virtual firewall rules to all the VNICs in a *subnet*. A network security group consists of two items:

  • The set of Vnic that all have the same security rule needs (for example, a group of Compute instances all running the same application)
  • A set of NSG SecurityRule that apply to the VNICs in the group

After creating an NSG, you can add VNICs and security rules to it. For example, when you create an instance, you can specify one or more NSGs to add the instance to (see CreateVnicDetails). Or you can add an existing instance to an NSG with UpdateVnic. To add security rules to an NSG, see AddNetworkSecurityGroupSecurityRules. To list the VNICs in an NSG, see ListNetworkSecurityGroupVnics. To list the security rules in an NSG, see ListNetworkSecurityGroupSecurityRules. For more information about network security groups, see Network Security Groups (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm). **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example, Linux iptables, Windows firewall). If there are issues with some type of access to an instance, make sure all of the following are set correctly:

  • Any security rules in any NSGs the instance's VNIC belongs to
  • Any SecurityList associated with the instance's subnet
  • The instance's OS firewall rules

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (NetworkSecurityGroup) String ¶

func (m NetworkSecurityGroup) String() string

func (NetworkSecurityGroup) ValidateEnumValue ¶

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

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

type NetworkSecurityGroupLifecycleStateEnum ¶

type NetworkSecurityGroupLifecycleStateEnum string

NetworkSecurityGroupLifecycleStateEnum Enum with underlying type: string

const (
	NetworkSecurityGroupLifecycleStateProvisioning NetworkSecurityGroupLifecycleStateEnum = "PROVISIONING"
	NetworkSecurityGroupLifecycleStateAvailable    NetworkSecurityGroupLifecycleStateEnum = "AVAILABLE"
	NetworkSecurityGroupLifecycleStateTerminating  NetworkSecurityGroupLifecycleStateEnum = "TERMINATING"
	NetworkSecurityGroupLifecycleStateTerminated   NetworkSecurityGroupLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for NetworkSecurityGroupLifecycleStateEnum

func GetMappingNetworkSecurityGroupLifecycleStateEnum ¶

func GetMappingNetworkSecurityGroupLifecycleStateEnum(val string) (NetworkSecurityGroupLifecycleStateEnum, bool)

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

func GetNetworkSecurityGroupLifecycleStateEnumValues ¶

func GetNetworkSecurityGroupLifecycleStateEnumValues() []NetworkSecurityGroupLifecycleStateEnum

GetNetworkSecurityGroupLifecycleStateEnumValues Enumerates the set of values for NetworkSecurityGroupLifecycleStateEnum

type NetworkSecurityGroupVnic ¶

type NetworkSecurityGroupVnic struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC.
	VnicId *string `mandatory:"true" json:"vnicId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent resource that the VNIC
	// is attached to (for example, a Compute instance).
	ResourceId *string `mandatory:"false" json:"resourceId"`

	// The date and time the VNIC was added to the network security group, in the format
	// defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeAssociated *common.SDKTime `mandatory:"false" json:"timeAssociated"`
}

NetworkSecurityGroupVnic Information about a VNIC that belongs to a network security group.

func (NetworkSecurityGroupVnic) String ¶

func (m NetworkSecurityGroupVnic) String() string

func (NetworkSecurityGroupVnic) ValidateEnumValue ¶

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

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

type NetworkingTopology ¶

type NetworkingTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

NetworkingTopology Defines the representation of a virtual network topology for a region.

func (NetworkingTopology) GetEntities ¶

func (m NetworkingTopology) GetEntities() []interface{}

GetEntities returns Entities

func (NetworkingTopology) GetRelationships ¶

func (m NetworkingTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (NetworkingTopology) GetTimeCreated ¶

func (m NetworkingTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (NetworkingTopology) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (NetworkingTopology) String ¶

func (m NetworkingTopology) String() string

func (*NetworkingTopology) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (NetworkingTopology) ValidateEnumValue ¶

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

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

type NoRouteRoutingAction ¶

type NoRouteRoutingAction struct {
	NoRouteRoutingActionDetails *NoRouteRoutingActionDetails `mandatory:"false" json:"noRouteRoutingActionDetails"`

	// The type of the routing support for the traffic flow.
	ActionType RoutingActionActionTypeEnum `mandatory:"true" json:"actionType"`
}

NoRouteRoutingAction Defines the routing actions taken on traffic when no route is found.

func (NoRouteRoutingAction) GetActionType ¶

GetActionType returns ActionType

func (NoRouteRoutingAction) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (NoRouteRoutingAction) String ¶

func (m NoRouteRoutingAction) String() string

func (NoRouteRoutingAction) ValidateEnumValue ¶

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

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

type NoRouteRoutingActionDetails ¶

type NoRouteRoutingActionDetails struct {

	// If true, the evaluated route table details are incomplete.
	IsRestrictedOrPartial *bool `mandatory:"true" json:"isRestrictedOrPartial"`

	// OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the evaluated VCN route table.
	EvaluatedVcnRouteTableId *string `mandatory:"false" json:"evaluatedVcnRouteTableId"`

	// OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of evaluated DRG route table.
	EvaluatedDrgRouteTableId *string `mandatory:"false" json:"evaluatedDrgRouteTableId"`
}

NoRouteRoutingActionDetails Defines the routing action taken on traffic flow with no route found.

func (NoRouteRoutingActionDetails) String ¶

func (NoRouteRoutingActionDetails) ValidateEnumValue ¶

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

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

type NsgConfiguration ¶

type NsgConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network
	// security group that allowed the traffic.
	NsgId *string `mandatory:"true" json:"nsgId"`

	SecurityRule *SecurityRule `mandatory:"true" json:"securityRule"`
}

NsgConfiguration Defines the network security group configuration that allowed the traffic.

func (NsgConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (NsgConfiguration) String ¶

func (m NsgConfiguration) String() string

func (NsgConfiguration) ValidateEnumValue ¶

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

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

type OperationStatusEnum ¶

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum ¶

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues ¶

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum ¶

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreatePathAnalysisResult OperationTypeEnum = "CREATE_PATH_ANALYSIS_RESULT"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum ¶

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues ¶

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type Path ¶

type Path struct {
	ForwardRoute *TrafficRoute `mandatory:"true" json:"forwardRoute"`

	Topology *PathTopology `mandatory:"true" json:"topology"`

	ReturnRoute *TrafficRoute `mandatory:"false" json:"returnRoute"`
}

Path Defines the configuration of the traffic path in `PathAnalysisResult`.

func (Path) String ¶

func (m Path) String() string

func (Path) ValidateEnumValue ¶

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

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

type PathAnalysisWorkRequestResult ¶

type PathAnalysisWorkRequestResult struct {

	// List of various paths from source node to destination node
	// for a given `PathAnalysisQuery`.
	Paths []Path `mandatory:"true" json:"paths"`

	// Time the `PathAnalysisResult` was generated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

PathAnalysisWorkRequestResult Defines the configuration of the path analysis result.

func (PathAnalysisWorkRequestResult) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (PathAnalysisWorkRequestResult) String ¶

func (PathAnalysisWorkRequestResult) ValidateEnumValue ¶

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

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

type PathAnalyzerTest ¶

type PathAnalyzerTest struct {

	// A unique identifier established when the resource is created. The identifier can't be changed later.
	Id *string `mandatory:"true" json:"id"`

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

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

	// The IP protocol to use for the `PathAnalyzerTest` resource.
	Protocol *int `mandatory:"true" json:"protocol"`

	SourceEndpoint Endpoint `mandatory:"true" json:"sourceEndpoint"`

	DestinationEndpoint Endpoint `mandatory:"true" json:"destinationEndpoint"`

	QueryOptions *QueryOptions `mandatory:"true" json:"queryOptions"`

	// The date and time the `PathAnalyzerTest` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the `PathAnalyzerTest` resource.
	LifecycleState PathAnalyzerTestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	ProtocolParameters ProtocolParameters `mandatory:"false" json:"protocolParameters"`

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PathAnalyzerTest Defines the details saved in a `PathAnalyzerTest` resource. These configuration details are used to run a Network Path Analyzer (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) analysis.

func (PathAnalyzerTest) String ¶

func (m PathAnalyzerTest) String() string

func (*PathAnalyzerTest) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (PathAnalyzerTest) ValidateEnumValue ¶

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

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

type PathAnalyzerTestCollection ¶

type PathAnalyzerTestCollection struct {

	// A list of `PathAnalyzerTestSummary` items.
	Items []PathAnalyzerTestSummary `mandatory:"true" json:"items"`
}

PathAnalyzerTestCollection The results of a `ListPathAnalyzerTests` call in the current compartment.

func (PathAnalyzerTestCollection) String ¶

func (PathAnalyzerTestCollection) ValidateEnumValue ¶

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

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

type PathAnalyzerTestLifecycleStateEnum ¶

type PathAnalyzerTestLifecycleStateEnum string

PathAnalyzerTestLifecycleStateEnum Enum with underlying type: string

const (
	PathAnalyzerTestLifecycleStateActive  PathAnalyzerTestLifecycleStateEnum = "ACTIVE"
	PathAnalyzerTestLifecycleStateDeleted PathAnalyzerTestLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for PathAnalyzerTestLifecycleStateEnum

func GetMappingPathAnalyzerTestLifecycleStateEnum ¶

func GetMappingPathAnalyzerTestLifecycleStateEnum(val string) (PathAnalyzerTestLifecycleStateEnum, bool)

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

func GetPathAnalyzerTestLifecycleStateEnumValues ¶

func GetPathAnalyzerTestLifecycleStateEnumValues() []PathAnalyzerTestLifecycleStateEnum

GetPathAnalyzerTestLifecycleStateEnumValues Enumerates the set of values for PathAnalyzerTestLifecycleStateEnum

type PathAnalyzerTestSummary ¶

type PathAnalyzerTestSummary struct {

	// A unique identifier established when the resource is created. The identifier can't be changed later.
	Id *string `mandatory:"true" json:"id"`

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

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

	// The IP protocol to use for the `PathAnalyzerTest` resource.
	Protocol *int `mandatory:"true" json:"protocol"`

	SourceEndpoint Endpoint `mandatory:"true" json:"sourceEndpoint"`

	DestinationEndpoint Endpoint `mandatory:"true" json:"destinationEndpoint"`

	QueryOptions *QueryOptions `mandatory:"true" json:"queryOptions"`

	// The date and time the `PathAnalyzerTest` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the `PathAnalyzerTest` resource.
	LifecycleState PathAnalyzerTestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	ProtocolParameters ProtocolParameters `mandatory:"false" json:"protocolParameters"`

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PathAnalyzerTestSummary Defines the summary of a `PathAnalyzerTest` resource.

func (PathAnalyzerTestSummary) String ¶

func (m PathAnalyzerTestSummary) String() string

func (*PathAnalyzerTestSummary) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (PathAnalyzerTestSummary) ValidateEnumValue ¶

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

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

type PathTopology ¶

type PathTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

PathTopology Defines the representation of a virtual network topology for path analysis.

func (PathTopology) GetEntities ¶

func (m PathTopology) GetEntities() []interface{}

GetEntities returns Entities

func (PathTopology) GetRelationships ¶

func (m PathTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (PathTopology) GetTimeCreated ¶

func (m PathTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (PathTopology) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (PathTopology) String ¶

func (m PathTopology) String() string

func (*PathTopology) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (PathTopology) ValidateEnumValue ¶

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

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

type PersistedGetPathAnalysisDetails ¶

type PersistedGetPathAnalysisDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the `PathAnalyzerTest` resource.
	PathAnalyzerTestId *string `mandatory:"true" json:"pathAnalyzerTestId"`
}

PersistedGetPathAnalysisDetails Defines the configuration for getting a path analysis using the persisted `PathAnalyzerTest` resource.

func (PersistedGetPathAnalysisDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (PersistedGetPathAnalysisDetails) String ¶

func (PersistedGetPathAnalysisDetails) ValidateEnumValue ¶

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

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

type PortRange ¶

type PortRange struct {

	// The maximum port number, which must not be less than the minimum port number. To specify
	// a single port number, set both the min and max to the same value.
	Max *int `mandatory:"true" json:"max"`

	// The minimum port number, which must not be greater than the maximum port number.
	Min *int `mandatory:"true" json:"min"`
}

PortRange The representation of PortRange

func (PortRange) String ¶

func (m PortRange) String() string

func (PortRange) ValidateEnumValue ¶

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

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

type PrivateIp ¶

type PrivateIp struct {

	// The private IP's availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the private IP.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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, `bminstance-1` in FQDN `bminstance-1.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: `bminstance-1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// The private IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"false" json:"id"`

	// The private IP address of the `privateIp` object. The address is within the CIDR
	// of the VNIC's subnet.
	//
	// Example: `10.0.3.3`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// Whether this private IP is the primary one on the VNIC. Primary private IPs
	// are unassigned and deleted automatically when the VNIC is terminated.
	// Example: `true`
	IsPrimary *bool `mandatory:"false" json:"isPrimary"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
	SubnetId *string `mandatory:"false" json:"subnetId"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the private IP is assigned to. The VNIC and private IP
	// must be in the same subnet.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

PrivateIp A *private IP* is a conceptual term that refers to an IPv4 private IP address and related properties. The `privateIp` object is the API representation of a private IP. **Note:** For information about IPv6 addresses, see Ipv6. Each instance has a *primary private IP* that is automatically created and assigned to the primary VNIC during instance launch. If you add a secondary VNIC to the instance, it also automatically gets a primary private IP. You can't remove a primary private IP from its VNIC. The primary private IP is automatically deleted when the VNIC is terminated. You can add *secondary private IPs* to a VNIC after it's created. For more information, see the `privateIp` operations and also IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). **Note:** Only ListPrivateIps and GetPrivateIp work with *primary* private IPs. To create and update primary private IPs, you instead work with instance and VNIC operations. For example, a primary private IP's properties come from the values you specify in CreateVnicDetails when calling either LaunchInstance or AttachVnic. To update the hostname for a primary private IP, you use UpdateVnic. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (PrivateIp) String ¶

func (m PrivateIp) String() string

func (PrivateIp) ValidateEnumValue ¶

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

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

type ProtocolParameters ¶

type ProtocolParameters interface {
}

ProtocolParameters Defines the IP protocol parameters for a `PathAnalyzerTest` resource.

type ProtocolParametersTypeEnum ¶

type ProtocolParametersTypeEnum string

ProtocolParametersTypeEnum Enum with underlying type: string

const (
	ProtocolParametersTypeTcp  ProtocolParametersTypeEnum = "TCP"
	ProtocolParametersTypeUdp  ProtocolParametersTypeEnum = "UDP"
	ProtocolParametersTypeIcmp ProtocolParametersTypeEnum = "ICMP"
)

Set of constants representing the allowable values for ProtocolParametersTypeEnum

func GetMappingProtocolParametersTypeEnum ¶

func GetMappingProtocolParametersTypeEnum(val string) (ProtocolParametersTypeEnum, bool)

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

func GetProtocolParametersTypeEnumValues ¶

func GetProtocolParametersTypeEnumValues() []ProtocolParametersTypeEnum

GetProtocolParametersTypeEnumValues Enumerates the set of values for ProtocolParametersTypeEnum

type PublicIp ¶

type PublicIp struct {

	// The public IP's availability domain. This property is set only for ephemeral public IPs
	// (that is, when the `scope` of the public IP is set to AVAILABILITY_DOMAIN). The value
	// is the availability domain of the assigned private IP.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP. For an ephemeral public IP, this is
	// the same compartment as the private IP's. For a reserved public IP that is currently assigned,
	// this can be a different compartment than the assigned private IP's.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 public IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"false" json:"id"`

	// The public IP address of the `publicIp` object.
	// Example: `203.0.113.2`
	IpAddress *string `mandatory:"false" json:"ipAddress"`

	// The public IP's current state.
	LifecycleState PublicIpLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Defines when the public IP is deleted and released back to Oracle's public IP pool.
	// * `EPHEMERAL`: The lifetime is tied to the lifetime of its assigned private IP. The
	// ephemeral public IP is automatically deleted when its private IP is deleted, when
	// the VNIC is terminated, or when the instance is terminated. An ephemeral
	// public IP must always be assigned to a private IP.
	// * `RESERVED`: You control the public IP's lifetime. You can delete a reserved public IP
	// whenever you like. It does not need to be assigned to a private IP at all times.
	// For more information and comparison of the two types,
	// see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
	Lifetime PublicIpLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the
	// process of being assigned to.
	PrivateIpId *string `mandatory:"false" json:"privateIpId"`

	// Whether the public IP is regional or specific to a particular availability domain.
	// * `REGION`: The public IP exists within a region and can be assigned to a private IP
	// in any availability domain in the region. Reserved public IPs have `scope` = `REGION`.
	// * `AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the private IP
	// it's assigned to, which is specified by the `availabilityDomain` property of the public IP object.
	// Ephemeral public IPs have `scope` = `AVAILABILITY_DOMAIN`.
	Scope PublicIpScopeEnum `mandatory:"false" json:"scope,omitempty"`

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

PublicIp A *public IP* is a conceptual term that refers to a public IP address and related properties. The `publicIp` object is the API representation of a public IP. There are two types of public IPs: 1. Ephemeral 2. Reserved For more information and comparison of the two types, see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).

func (PublicIp) String ¶

func (m PublicIp) String() string

func (PublicIp) ValidateEnumValue ¶

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

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

type PublicIpLifecycleStateEnum ¶

type PublicIpLifecycleStateEnum string

PublicIpLifecycleStateEnum Enum with underlying type: string

const (
	PublicIpLifecycleStateProvisioning PublicIpLifecycleStateEnum = "PROVISIONING"
	PublicIpLifecycleStateAvailable    PublicIpLifecycleStateEnum = "AVAILABLE"
	PublicIpLifecycleStateAssigning    PublicIpLifecycleStateEnum = "ASSIGNING"
	PublicIpLifecycleStateAssigned     PublicIpLifecycleStateEnum = "ASSIGNED"
	PublicIpLifecycleStateUnassigning  PublicIpLifecycleStateEnum = "UNASSIGNING"
	PublicIpLifecycleStateUnassigned   PublicIpLifecycleStateEnum = "UNASSIGNED"
	PublicIpLifecycleStateTerminating  PublicIpLifecycleStateEnum = "TERMINATING"
	PublicIpLifecycleStateTerminated   PublicIpLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for PublicIpLifecycleStateEnum

func GetMappingPublicIpLifecycleStateEnum ¶

func GetMappingPublicIpLifecycleStateEnum(val string) (PublicIpLifecycleStateEnum, bool)

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

func GetPublicIpLifecycleStateEnumValues ¶

func GetPublicIpLifecycleStateEnumValues() []PublicIpLifecycleStateEnum

GetPublicIpLifecycleStateEnumValues Enumerates the set of values for PublicIpLifecycleStateEnum

type PublicIpLifetimeEnum ¶

type PublicIpLifetimeEnum string

PublicIpLifetimeEnum Enum with underlying type: string

const (
	PublicIpLifetimeEphemeral PublicIpLifetimeEnum = "EPHEMERAL"
	PublicIpLifetimeReserved  PublicIpLifetimeEnum = "RESERVED"
)

Set of constants representing the allowable values for PublicIpLifetimeEnum

func GetMappingPublicIpLifetimeEnum ¶

func GetMappingPublicIpLifetimeEnum(val string) (PublicIpLifetimeEnum, bool)

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

func GetPublicIpLifetimeEnumValues ¶

func GetPublicIpLifetimeEnumValues() []PublicIpLifetimeEnum

GetPublicIpLifetimeEnumValues Enumerates the set of values for PublicIpLifetimeEnum

type PublicIpScopeEnum ¶

type PublicIpScopeEnum string

PublicIpScopeEnum Enum with underlying type: string

const (
	PublicIpScopeRegion             PublicIpScopeEnum = "REGION"
	PublicIpScopeAvailabilityDomain PublicIpScopeEnum = "AVAILABILITY_DOMAIN"
)

Set of constants representing the allowable values for PublicIpScopeEnum

func GetMappingPublicIpScopeEnum ¶

func GetMappingPublicIpScopeEnum(val string) (PublicIpScopeEnum, bool)

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

func GetPublicIpScopeEnumValues ¶

func GetPublicIpScopeEnumValues() []PublicIpScopeEnum

GetPublicIpScopeEnumValues Enumerates the set of values for PublicIpScopeEnum

type QueryOptions ¶

type QueryOptions struct {

	// If true, a path analysis is done for both the forward and reverse routes.
	IsBiDirectionalAnalysis *bool `mandatory:"false" json:"isBiDirectionalAnalysis"`
}

QueryOptions Defines the query options required for a `PathAnalyzerTest` resource.

func (QueryOptions) String ¶

func (m QueryOptions) String() string

func (QueryOptions) ValidateEnumValue ¶

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

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

type RemotePeeringConnection ¶

type RemotePeeringConnection struct {

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

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that this RPC belongs to.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC.
	Id *string `mandatory:"true" json:"id"`

	// Whether the VCN at the other end of the peering is in a different tenancy.
	// Example: `false`
	IsCrossTenancyPeering *bool `mandatory:"true" json:"isCrossTenancyPeering"`

	// The RPC's current lifecycle state.
	LifecycleState RemotePeeringConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Whether the RPC is peered with another RPC. `NEW` means the RPC has not yet been
	// peered. `PENDING` means the peering is being established. `REVOKED` means the
	// RPC at the other end of the peering has been deleted.
	PeeringStatus RemotePeeringConnectionPeeringStatusEnum `mandatory:"true" json:"peeringStatus"`

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

	// If this RPC is peered, this value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC.
	PeerId *string `mandatory:"false" json:"peerId"`

	// If this RPC is peered, this value is the region that contains the other RPC.
	// Example: `us-ashburn-1`
	PeerRegionName *string `mandatory:"false" json:"peerRegionName"`

	// If this RPC is peered, this value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC's tenancy.
	PeerTenancyId *string `mandatory:"false" json:"peerTenancyId"`
}

RemotePeeringConnection A remote peering connection (RPC) is an object on a DRG that lets the VCN that is attached to the DRG peer with a VCN in a different region. *Peering* means that the two VCNs can communicate using private IP addresses, but without the traffic traversing the internet or routing through your on-premises network. For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (RemotePeeringConnection) String ¶

func (m RemotePeeringConnection) String() string

func (RemotePeeringConnection) ValidateEnumValue ¶

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

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

type RemotePeeringConnectionDrgAttachmentNetworkDetails ¶

type RemotePeeringConnectionDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"true" json:"id"`
}

RemotePeeringConnectionDrgAttachmentNetworkDetails Specifies the DRG attachment to another DRG.

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) String ¶

func (RemotePeeringConnectionDrgAttachmentNetworkDetails) ValidateEnumValue ¶

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

type RemotePeeringConnectionLifecycleStateEnum ¶

type RemotePeeringConnectionLifecycleStateEnum string

RemotePeeringConnectionLifecycleStateEnum Enum with underlying type: string

const (
	RemotePeeringConnectionLifecycleStateAvailable    RemotePeeringConnectionLifecycleStateEnum = "AVAILABLE"
	RemotePeeringConnectionLifecycleStateProvisioning RemotePeeringConnectionLifecycleStateEnum = "PROVISIONING"
	RemotePeeringConnectionLifecycleStateTerminating  RemotePeeringConnectionLifecycleStateEnum = "TERMINATING"
	RemotePeeringConnectionLifecycleStateTerminated   RemotePeeringConnectionLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for RemotePeeringConnectionLifecycleStateEnum

func GetMappingRemotePeeringConnectionLifecycleStateEnum ¶

func GetMappingRemotePeeringConnectionLifecycleStateEnum(val string) (RemotePeeringConnectionLifecycleStateEnum, bool)

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

func GetRemotePeeringConnectionLifecycleStateEnumValues ¶

func GetRemotePeeringConnectionLifecycleStateEnumValues() []RemotePeeringConnectionLifecycleStateEnum

GetRemotePeeringConnectionLifecycleStateEnumValues Enumerates the set of values for RemotePeeringConnectionLifecycleStateEnum

type RemotePeeringConnectionPeeringStatusEnum ¶

type RemotePeeringConnectionPeeringStatusEnum string

RemotePeeringConnectionPeeringStatusEnum Enum with underlying type: string

const (
	RemotePeeringConnectionPeeringStatusInvalid RemotePeeringConnectionPeeringStatusEnum = "INVALID"
	RemotePeeringConnectionPeeringStatusNew     RemotePeeringConnectionPeeringStatusEnum = "NEW"
	RemotePeeringConnectionPeeringStatusPending RemotePeeringConnectionPeeringStatusEnum = "PENDING"
	RemotePeeringConnectionPeeringStatusPeered  RemotePeeringConnectionPeeringStatusEnum = "PEERED"
	RemotePeeringConnectionPeeringStatusRevoked RemotePeeringConnectionPeeringStatusEnum = "REVOKED"
)

Set of constants representing the allowable values for RemotePeeringConnectionPeeringStatusEnum

func GetMappingRemotePeeringConnectionPeeringStatusEnum ¶

func GetMappingRemotePeeringConnectionPeeringStatusEnum(val string) (RemotePeeringConnectionPeeringStatusEnum, bool)

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

func GetRemotePeeringConnectionPeeringStatusEnumValues ¶

func GetRemotePeeringConnectionPeeringStatusEnumValues() []RemotePeeringConnectionPeeringStatusEnum

GetRemotePeeringConnectionPeeringStatusEnumValues Enumerates the set of values for RemotePeeringConnectionPeeringStatusEnum

type RemoveDrgRouteDistributionStatementsDetails ¶

type RemoveDrgRouteDistributionStatementsDetails struct {

	// The Oracle-assigned ID of each route distribution to remove.
	StatementIds []string `mandatory:"false" json:"statementIds"`
}

RemoveDrgRouteDistributionStatementsDetails Details request to remove statements from a route distribution.

func (RemoveDrgRouteDistributionStatementsDetails) String ¶

func (RemoveDrgRouteDistributionStatementsDetails) ValidateEnumValue ¶

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

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

type RemoveDrgRouteRulesDetails ¶

type RemoveDrgRouteRulesDetails struct {

	// The Oracle-assigned ID of each DRG route rule to be deleted.
	RouteRuleIds []string `mandatory:"false" json:"routeRuleIds"`
}

RemoveDrgRouteRulesDetails Details used in a request to remove static routes from a DRG route table.

func (RemoveDrgRouteRulesDetails) String ¶

func (RemoveDrgRouteRulesDetails) ValidateEnumValue ¶

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

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

type RemoveNetworkSecurityGroupSecurityRulesDetails ¶

type RemoveNetworkSecurityGroupSecurityRulesDetails struct {

	// The Oracle-assigned ID of each SecurityRule to be deleted.
	SecurityRuleIds []string `mandatory:"false" json:"securityRuleIds"`
}

RemoveNetworkSecurityGroupSecurityRulesDetails The representation of RemoveNetworkSecurityGroupSecurityRulesDetails

func (RemoveNetworkSecurityGroupSecurityRulesDetails) String ¶

func (RemoveNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue ¶

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

type RouteRule ¶

type RouteRule struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the route rule's target. For information about the type of
	// targets you can specify, see
	// Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm).
	NetworkEntityId *string `mandatory:"true" json:"networkEntityId"`

	// Deprecated. Instead use `destination` and `destinationType`. Requests that include both
	// `cidrBlock` and `destination` will be rejected.
	// A destination IP address range in CIDR notation. Matching packets will
	// be routed to the indicated network entity (the target).
	// Cannot be an IPv6 CIDR.
	// Example: `0.0.0.0/0`
	CidrBlock *string `mandatory:"false" json:"cidrBlock"`

	// Conceptually, this is the range of IP addresses used for matching when routing
	// traffic. Required if you provide a `destinationType`.
	// Allowed values:
	//   * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`. If you set this to an IPv6 CIDR, the route rule's target
	//   can only be a DRG or internet gateway.
	//   IPv6 addressing is supported for all commercial and government regions.
	//   See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	//   * The `cidrBlock` value for a Service, if you're
	//     setting up a route rule for traffic destined for a particular `Service` through
	//     a service gateway. For example: `oci-phx-objectstorage`.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule. Required if you provide a `destination`.
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	//   * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a
	//     Service (the rule is for traffic destined for a
	//     particular `Service` through a service gateway).
	DestinationType RouteRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`
}

RouteRule A mapping between a destination IP address range and a virtual device to route matching packets to (a target).

func (RouteRule) String ¶

func (m RouteRule) String() string

func (RouteRule) ValidateEnumValue ¶

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

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

type RouteRuleDestinationTypeEnum ¶

type RouteRuleDestinationTypeEnum string

RouteRuleDestinationTypeEnum Enum with underlying type: string

const (
	RouteRuleDestinationTypeCidrBlock        RouteRuleDestinationTypeEnum = "CIDR_BLOCK"
	RouteRuleDestinationTypeServiceCidrBlock RouteRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
)

Set of constants representing the allowable values for RouteRuleDestinationTypeEnum

func GetMappingRouteRuleDestinationTypeEnum ¶

func GetMappingRouteRuleDestinationTypeEnum(val string) (RouteRuleDestinationTypeEnum, bool)

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

func GetRouteRuleDestinationTypeEnumValues ¶

func GetRouteRuleDestinationTypeEnumValues() []RouteRuleDestinationTypeEnum

GetRouteRuleDestinationTypeEnumValues Enumerates the set of values for RouteRuleDestinationTypeEnum

type RouteTable ¶

type RouteTable struct {

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

	// The route table's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The route table's current state.
	LifecycleState RouteTableLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The collection of rules for routing destination IPs to network devices.
	RouteRules []RouteRule `mandatory:"true" json:"routeRules"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table list belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 date and time the route table was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

RouteTable A collection of `RouteRule` objects, which are used to route packets based on destination IP to a particular network entity. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (RouteTable) String ¶

func (m RouteTable) String() string

func (RouteTable) ValidateEnumValue ¶

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

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

type RouteTableLifecycleStateEnum ¶

type RouteTableLifecycleStateEnum string

RouteTableLifecycleStateEnum Enum with underlying type: string

const (
	RouteTableLifecycleStateProvisioning RouteTableLifecycleStateEnum = "PROVISIONING"
	RouteTableLifecycleStateAvailable    RouteTableLifecycleStateEnum = "AVAILABLE"
	RouteTableLifecycleStateTerminating  RouteTableLifecycleStateEnum = "TERMINATING"
	RouteTableLifecycleStateTerminated   RouteTableLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for RouteTableLifecycleStateEnum

func GetMappingRouteTableLifecycleStateEnum ¶

func GetMappingRouteTableLifecycleStateEnum(val string) (RouteTableLifecycleStateEnum, bool)

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

func GetRouteTableLifecycleStateEnumValues ¶

func GetRouteTableLifecycleStateEnumValues() []RouteTableLifecycleStateEnum

GetRouteTableLifecycleStateEnumValues Enumerates the set of values for RouteTableLifecycleStateEnum

type RoutingAction ¶

type RoutingAction interface {

	// The type of the routing support for the traffic flow.
	GetActionType() RoutingActionActionTypeEnum
}

RoutingAction Defines the details for routing actions taken on the traffic flow.

type RoutingActionActionEnum ¶

type RoutingActionActionEnum string

RoutingActionActionEnum Enum with underlying type: string

const (
	RoutingActionActionForwarded     RoutingActionActionEnum = "FORWARDED"
	RoutingActionActionNoRoute       RoutingActionActionEnum = "NO_ROUTE"
	RoutingActionActionIndeterminate RoutingActionActionEnum = "INDETERMINATE"
)

Set of constants representing the allowable values for RoutingActionActionEnum

func GetMappingRoutingActionActionEnum ¶

func GetMappingRoutingActionActionEnum(val string) (RoutingActionActionEnum, bool)

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

func GetRoutingActionActionEnumValues ¶

func GetRoutingActionActionEnumValues() []RoutingActionActionEnum

GetRoutingActionActionEnumValues Enumerates the set of values for RoutingActionActionEnum

type RoutingActionActionTypeEnum ¶

type RoutingActionActionTypeEnum string

RoutingActionActionTypeEnum Enum with underlying type: string

const (
	RoutingActionActionTypeExplicit     RoutingActionActionTypeEnum = "EXPLICIT"
	RoutingActionActionTypeImplicit     RoutingActionActionTypeEnum = "IMPLICIT"
	RoutingActionActionTypeNotSupported RoutingActionActionTypeEnum = "NOT_SUPPORTED"
)

Set of constants representing the allowable values for RoutingActionActionTypeEnum

func GetMappingRoutingActionActionTypeEnum ¶

func GetMappingRoutingActionActionTypeEnum(val string) (RoutingActionActionTypeEnum, bool)

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

func GetRoutingActionActionTypeEnumValues ¶

func GetRoutingActionActionTypeEnumValues() []RoutingActionActionTypeEnum

GetRoutingActionActionTypeEnumValues Enumerates the set of values for RoutingActionActionTypeEnum

type SecurityAction ¶

type SecurityAction interface {

	// Type of the `SecurityAction`.
	GetActionType() SecurityActionActionTypeEnum
}

SecurityAction Defines the security action details taken on the traffic.

type SecurityActionActionEnum ¶

type SecurityActionActionEnum string

SecurityActionActionEnum Enum with underlying type: string

const (
	SecurityActionActionAllowed SecurityActionActionEnum = "ALLOWED"
	SecurityActionActionDenied  SecurityActionActionEnum = "DENIED"
)

Set of constants representing the allowable values for SecurityActionActionEnum

func GetMappingSecurityActionActionEnum ¶

func GetMappingSecurityActionActionEnum(val string) (SecurityActionActionEnum, bool)

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

func GetSecurityActionActionEnumValues ¶

func GetSecurityActionActionEnumValues() []SecurityActionActionEnum

GetSecurityActionActionEnumValues Enumerates the set of values for SecurityActionActionEnum

type SecurityActionActionTypeEnum ¶

type SecurityActionActionTypeEnum string

SecurityActionActionTypeEnum Enum with underlying type: string

const (
	SecurityActionActionTypeExplicit SecurityActionActionTypeEnum = "EXPLICIT"
	SecurityActionActionTypeImplicit SecurityActionActionTypeEnum = "IMPLICIT"
)

Set of constants representing the allowable values for SecurityActionActionTypeEnum

func GetMappingSecurityActionActionTypeEnum ¶

func GetMappingSecurityActionActionTypeEnum(val string) (SecurityActionActionTypeEnum, bool)

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

func GetSecurityActionActionTypeEnumValues ¶

func GetSecurityActionActionTypeEnumValues() []SecurityActionActionTypeEnum

GetSecurityActionActionTypeEnumValues Enumerates the set of values for SecurityActionActionTypeEnum

type SecurityList ¶

type SecurityList struct {

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

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

	// Rules for allowing egress IP packets.
	EgressSecurityRules []EgressSecurityRule `mandatory:"true" json:"egressSecurityRules"`

	// The security list's Oracle Cloud ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// Rules for allowing ingress IP packets.
	IngressSecurityRules []IngressSecurityRule `mandatory:"true" json:"ingressSecurityRules"`

	// The security list's current state.
	LifecycleState SecurityListLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

SecurityList A set of virtual firewall rules for your VCN. Security lists are configured at the subnet level, but the rules are applied to the ingress and egress traffic for the individual instances in the subnet. The rules can be stateful or stateless. For more information, see Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). **Note:** Compare security lists to NetworkSecurityGroups, which let you apply a set of security rules to a *specific set of VNICs* instead of an entire subnet. Oracle recommends using network security groups instead of security lists, although you can use either or both together. **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example, Linux iptables, Windows firewall). If there are issues with some type of access to an instance, make sure both the security lists associated with the instance's subnet and the instance's firewall rules are set correctly. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (SecurityList) String ¶

func (m SecurityList) String() string

func (SecurityList) ValidateEnumValue ¶

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

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

type SecurityListLifecycleStateEnum ¶

type SecurityListLifecycleStateEnum string

SecurityListLifecycleStateEnum Enum with underlying type: string

const (
	SecurityListLifecycleStateProvisioning SecurityListLifecycleStateEnum = "PROVISIONING"
	SecurityListLifecycleStateAvailable    SecurityListLifecycleStateEnum = "AVAILABLE"
	SecurityListLifecycleStateTerminating  SecurityListLifecycleStateEnum = "TERMINATING"
	SecurityListLifecycleStateTerminated   SecurityListLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for SecurityListLifecycleStateEnum

func GetMappingSecurityListLifecycleStateEnum ¶

func GetMappingSecurityListLifecycleStateEnum(val string) (SecurityListLifecycleStateEnum, bool)

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

func GetSecurityListLifecycleStateEnumValues ¶

func GetSecurityListLifecycleStateEnumValues() []SecurityListLifecycleStateEnum

GetSecurityListLifecycleStateEnumValues Enumerates the set of values for SecurityListLifecycleStateEnum

type SecurityRule ¶

type SecurityRule struct {

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

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

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

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

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

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

	// An Oracle-assigned identifier for the security rule. You specify this ID when you want to
	// update or delete the rule.
	// Example: `04ABEC`
	Id *string `mandatory:"false" json:"id"`

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

	// Whether the rule is valid. The value is `True` when the rule is first created. If
	// the rule's `source` or `destination` is a network security group, the value changes to
	// `False` if that network security group is deleted.
	IsValid *bool `mandatory:"false" json:"isValid"`

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

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

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

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

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

SecurityRule A security rule is one of the items in a NetworkSecurityGroup. It is a virtual firewall rule for the VNICs in the network security group. A rule can be for either inbound (`direction`= INGRESS) or outbound (`direction`= EGRESS) IP packets.

func (SecurityRule) String ¶

func (m SecurityRule) String() string

func (SecurityRule) ValidateEnumValue ¶

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

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

type SecurityRuleDestinationTypeEnum ¶

type SecurityRuleDestinationTypeEnum string

SecurityRuleDestinationTypeEnum Enum with underlying type: string

const (
	SecurityRuleDestinationTypeCidrBlock            SecurityRuleDestinationTypeEnum = "CIDR_BLOCK"
	SecurityRuleDestinationTypeServiceCidrBlock     SecurityRuleDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
	SecurityRuleDestinationTypeNetworkSecurityGroup SecurityRuleDestinationTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for SecurityRuleDestinationTypeEnum

func GetMappingSecurityRuleDestinationTypeEnum ¶

func GetMappingSecurityRuleDestinationTypeEnum(val string) (SecurityRuleDestinationTypeEnum, bool)

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

func GetSecurityRuleDestinationTypeEnumValues ¶

func GetSecurityRuleDestinationTypeEnumValues() []SecurityRuleDestinationTypeEnum

GetSecurityRuleDestinationTypeEnumValues Enumerates the set of values for SecurityRuleDestinationTypeEnum

type SecurityRuleDirectionEnum ¶

type SecurityRuleDirectionEnum string

SecurityRuleDirectionEnum Enum with underlying type: string

const (
	SecurityRuleDirectionEgress  SecurityRuleDirectionEnum = "EGRESS"
	SecurityRuleDirectionIngress SecurityRuleDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for SecurityRuleDirectionEnum

func GetMappingSecurityRuleDirectionEnum ¶

func GetMappingSecurityRuleDirectionEnum(val string) (SecurityRuleDirectionEnum, bool)

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

func GetSecurityRuleDirectionEnumValues ¶

func GetSecurityRuleDirectionEnumValues() []SecurityRuleDirectionEnum

GetSecurityRuleDirectionEnumValues Enumerates the set of values for SecurityRuleDirectionEnum

type SecurityRuleSourceTypeEnum ¶

type SecurityRuleSourceTypeEnum string

SecurityRuleSourceTypeEnum Enum with underlying type: string

const (
	SecurityRuleSourceTypeCidrBlock            SecurityRuleSourceTypeEnum = "CIDR_BLOCK"
	SecurityRuleSourceTypeServiceCidrBlock     SecurityRuleSourceTypeEnum = "SERVICE_CIDR_BLOCK"
	SecurityRuleSourceTypeNetworkSecurityGroup SecurityRuleSourceTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for SecurityRuleSourceTypeEnum

func GetMappingSecurityRuleSourceTypeEnum ¶

func GetMappingSecurityRuleSourceTypeEnum(val string) (SecurityRuleSourceTypeEnum, bool)

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

func GetSecurityRuleSourceTypeEnumValues ¶

func GetSecurityRuleSourceTypeEnumValues() []SecurityRuleSourceTypeEnum

GetSecurityRuleSourceTypeEnumValues Enumerates the set of values for SecurityRuleSourceTypeEnum

type Service ¶

type Service struct {

	// A string that represents the regional public IP address ranges for the Oracle service or
	// services covered by this `Service` object. Also known as the `Service` object's *service
	// CIDR label*.
	// When you set up a route rule to route traffic to the service gateway, use this value as the
	// rule's destination. See RouteTable. Also, when you set up
	// a security list rule to cover traffic with the service gateway, use the `cidrBlock` value
	// as the rule's destination (for an egress rule) or the source (for an ingress rule).
	// See SecurityList.
	// Example: `oci-phx-objectstorage`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// Description of the Oracle service or services covered by this `Service` object.
	// Example: `OCI PHX Object Storage`
	Description *string `mandatory:"true" json:"description"`

	// The `Service` object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
	Id *string `mandatory:"true" json:"id"`

	// Name of the `Service` object. This name can change and is not guaranteed to be unique.
	// Example: `OCI PHX Object Storage`
	Name *string `mandatory:"true" json:"name"`
}

Service An object that represents one or multiple Oracle services that you can enable for a ServiceGateway. In the User Guide topic Access to Oracle Services: Service Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm), the term *service CIDR label* is used to refer to the string that represents the regional public IP address ranges of the Oracle service or services covered by a given `Service` object. That unique string is the value of the `Service` object's `cidrBlock` attribute.

func (Service) String ¶

func (m Service) String() string

func (Service) ValidateEnumValue ¶

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

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

type ServiceGateway ¶

type ServiceGateway struct {

	// Whether the service gateway blocks all traffic through it. The default is `false`. When
	// this is `true`, traffic is not routed to any services, regardless of route rules.
	// Example: `true`
	BlockTraffic *bool `mandatory:"true" json:"blockTraffic"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service gateway.
	Id *string `mandatory:"true" json:"id"`

	// The service gateway's current state.
	LifecycleState ServiceGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// List of the Service objects enabled for this service gateway.
	// The list can be empty. You can enable a particular `Service` by using
	// AttachServiceId or
	// UpdateServiceGateway.
	Services []ServiceIdResponseDetails `mandatory:"true" json:"services"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the service gateway
	// belongs to.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 date and time the service gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

ServiceGateway Represents a router that lets your VCN privately access specific Oracle services such as Object Storage without exposing the VCN to the public internet. Traffic leaving the VCN and destined for a supported Oracle service (see ListServices) is routed through the service gateway and does not traverse the internet. The instances in the VCN do not need to have public IP addresses nor be in a public subnet. The VCN does not need an internet gateway for this traffic. For more information, see Access to Oracle Services: Service Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (ServiceGateway) String ¶

func (m ServiceGateway) String() string

func (ServiceGateway) ValidateEnumValue ¶

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

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

type ServiceGatewayLifecycleStateEnum ¶

type ServiceGatewayLifecycleStateEnum string

ServiceGatewayLifecycleStateEnum Enum with underlying type: string

const (
	ServiceGatewayLifecycleStateProvisioning ServiceGatewayLifecycleStateEnum = "PROVISIONING"
	ServiceGatewayLifecycleStateAvailable    ServiceGatewayLifecycleStateEnum = "AVAILABLE"
	ServiceGatewayLifecycleStateTerminating  ServiceGatewayLifecycleStateEnum = "TERMINATING"
	ServiceGatewayLifecycleStateTerminated   ServiceGatewayLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for ServiceGatewayLifecycleStateEnum

func GetMappingServiceGatewayLifecycleStateEnum ¶

func GetMappingServiceGatewayLifecycleStateEnum(val string) (ServiceGatewayLifecycleStateEnum, bool)

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

func GetServiceGatewayLifecycleStateEnumValues ¶

func GetServiceGatewayLifecycleStateEnumValues() []ServiceGatewayLifecycleStateEnum

GetServiceGatewayLifecycleStateEnumValues Enumerates the set of values for ServiceGatewayLifecycleStateEnum

type ServiceIdRequestDetails ¶

type ServiceIdRequestDetails struct {

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

ServiceIdRequestDetails The representation of ServiceIdRequestDetails

func (ServiceIdRequestDetails) String ¶

func (m ServiceIdRequestDetails) String() string

func (ServiceIdRequestDetails) ValidateEnumValue ¶

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

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

type ServiceIdResponseDetails ¶

type ServiceIdResponseDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service.
	ServiceId *string `mandatory:"true" json:"serviceId"`

	// The name of the service.
	ServiceName *string `mandatory:"true" json:"serviceName"`
}

ServiceIdResponseDetails The representation of ServiceIdResponseDetails

func (ServiceIdResponseDetails) String ¶

func (m ServiceIdResponseDetails) String() string

func (ServiceIdResponseDetails) ValidateEnumValue ¶

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

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

type SortOrderEnum ¶

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum ¶

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues ¶

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StatefulEgressSecurityListConfiguration ¶

type StatefulEgressSecurityListConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security
	// list that allowed the traffic.
	SecurityListId *string `mandatory:"true" json:"securityListId"`

	SecurityRule *IngressSecurityRule `mandatory:"true" json:"securityRule"`
}

StatefulEgressSecurityListConfiguration Defines the stateful subnet egress security list configuration that allowed the ingress traffic.

func (StatefulEgressSecurityListConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (StatefulEgressSecurityListConfiguration) String ¶

func (StatefulEgressSecurityListConfiguration) ValidateEnumValue ¶

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

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

type StatefulIngressSecurityListConfiguration ¶

type StatefulIngressSecurityListConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the security
	// list that allowed the traffic.
	SecurityListId *string `mandatory:"true" json:"securityListId"`

	SecurityRule *EgressSecurityRule `mandatory:"true" json:"securityRule"`
}

StatefulIngressSecurityListConfiguration Defines the stateful subnet ingress security list configuration that allowed the egress traffic.

func (StatefulIngressSecurityListConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (StatefulIngressSecurityListConfiguration) String ¶

func (StatefulIngressSecurityListConfiguration) ValidateEnumValue ¶

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

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

type StatefulNsgConfiguration ¶

type StatefulNsgConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network
	// security group that allowed the traffic.
	NsgId *string `mandatory:"true" json:"nsgId"`

	SecurityRule *SecurityRule `mandatory:"true" json:"securityRule"`
}

StatefulNsgConfiguration Defines the stateful network security group configuration that allowed the traffic.

func (StatefulNsgConfiguration) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (StatefulNsgConfiguration) String ¶

func (m StatefulNsgConfiguration) String() string

func (StatefulNsgConfiguration) ValidateEnumValue ¶

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

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

type Subnet ¶

type Subnet struct {

	// The subnet's availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The subnet's CIDR block.
	// Example: `10.0.1.0/24`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

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

	// The subnet's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The subnet's current state.
	LifecycleState SubnetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the subnet uses.
	RouteTableId *string `mandatory:"true" json:"routeTableId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the subnet is in.
	VcnId *string `mandatory:"true" json:"vcnId"`

	// The IP address of the virtual router.
	// Example: `10.0.14.1`
	VirtualRouterIp *string `mandatory:"true" json:"virtualRouterIp"`

	// The MAC address of the virtual router.
	// Example: `00:00:00:00:00:01`
	VirtualRouterMac *string `mandatory:"true" json:"virtualRouterMac"`

	// 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 that the subnet uses.
	DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"`

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

	// A DNS label for the subnet, used in conjunction with the VNIC's hostname and
	// VCN's DNS label to form a fully qualified domain name (FQDN) for each VNIC
	// within this subnet (for example, `bminstance-1.subnet123.vcn1.oraclevcn.com`).
	// Must be an alphanumeric string that begins with a letter and is unique within the VCN.
	// The value cannot be changed.
	// The absence of this parameter means the Internet and VCN Resolver
	// will not resolve hostnames of instances in this subnet.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `subnet123`
	DnsLabel *string `mandatory:"false" json:"dnsLabel"`

	// 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 an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's private IP address
	// space. The subnet size is always /64. 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:0db8:0123:1111::/64`
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's public IP address
	// space. The subnet size is always /64. The left 48 bits are inherited from the
	// `ipv6PublicCidrBlock` of the Vcn,
	// and the remaining 16 bits are from the subnet's `ipv6CidrBlock`.
	// Example: `2001:0db8:0123:1111::/64`
	Ipv6PublicCidrBlock *string `mandatory:"false" json:"ipv6PublicCidrBlock"`

	// For an IPv6-enabled subnet, this is the IPv6 address of the virtual router.
	// Example: `2001:0db8:0123:1111:89ab:cdef:1234:5678`
	Ipv6VirtualRouterIp *string `mandatory:"false" json:"ipv6VirtualRouterIp"`

	// Whether VNICs within this subnet can have public IP addresses.
	// Defaults to false, which means VNICs created in this subnet will
	// automatically be assigned public IP addresses unless specified
	// otherwise during instance launch or VNIC creation (with the
	// `assignPublicIp` flag in
	// CreateVnicDetails).
	// If `prohibitPublicIpOnVnic` is set to true, VNICs created in this
	// subnet cannot have public IP addresses (that is, it's a private
	// subnet).
	// Example: `true`
	ProhibitPublicIpOnVnic *bool `mandatory:"false" json:"prohibitPublicIpOnVnic"`

	// The OCIDs of the security list or lists that the subnet uses. Remember
	// that security lists are associated *with the subnet*, but the
	// rules are applied to the individual VNICs in the subnet.
	SecurityListIds []string `mandatory:"false" json:"securityListIds"`

	// The subnet's domain name, which consists of the subnet's DNS label,
	// the VCN's DNS label, and the `oraclevcn.com` domain.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `subnet123.vcn1.oraclevcn.com`
	SubnetDomainName *string `mandatory:"false" json:"subnetDomainName"`

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

Subnet A logical subdivision of a VCN. Each subnet consists of a contiguous range of IP addresses that do not overlap with other subnets in the VCN. Example: 172.16.1.0/24. For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm) and VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Subnet) String ¶

func (m Subnet) String() string

func (Subnet) ValidateEnumValue ¶

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

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

type SubnetEndpoint ¶

type SubnetEndpoint struct {

	// The IPv4 address of the `Endpoint`.
	Address *string `mandatory:"true" json:"address"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet containing the IP address.
	// This can be used to disambiguate which subnet is intended, in case the IP address
	// is used in more than one subnet (when there are subnets with overlapping IP ranges).
	SubnetId *string `mandatory:"true" json:"subnetId"`
}

SubnetEndpoint Defines the details required for a SUBNET-type `Endpoint`.

func (SubnetEndpoint) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (SubnetEndpoint) String ¶

func (m SubnetEndpoint) String() string

func (SubnetEndpoint) ValidateEnumValue ¶

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

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

type SubnetLifecycleStateEnum ¶

type SubnetLifecycleStateEnum string

SubnetLifecycleStateEnum Enum with underlying type: string

const (
	SubnetLifecycleStateProvisioning SubnetLifecycleStateEnum = "PROVISIONING"
	SubnetLifecycleStateAvailable    SubnetLifecycleStateEnum = "AVAILABLE"
	SubnetLifecycleStateTerminating  SubnetLifecycleStateEnum = "TERMINATING"
	SubnetLifecycleStateTerminated   SubnetLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for SubnetLifecycleStateEnum

func GetMappingSubnetLifecycleStateEnum ¶

func GetMappingSubnetLifecycleStateEnum(val string) (SubnetLifecycleStateEnum, bool)

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

func GetSubnetLifecycleStateEnumValues ¶

func GetSubnetLifecycleStateEnumValues() []SubnetLifecycleStateEnum

GetSubnetLifecycleStateEnumValues Enumerates the set of values for SubnetLifecycleStateEnum

type SubnetTopology ¶

type SubnetTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet for which the visualization is generated.
	SubnetId *string `mandatory:"false" json:"subnetId"`
}

SubnetTopology Defines the visualization of a subnet in a VCN.

func (SubnetTopology) GetEntities ¶

func (m SubnetTopology) GetEntities() []interface{}

GetEntities returns Entities

func (SubnetTopology) GetRelationships ¶

func (m SubnetTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (SubnetTopology) GetTimeCreated ¶

func (m SubnetTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SubnetTopology) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (SubnetTopology) String ¶

func (m SubnetTopology) String() string

func (*SubnetTopology) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (SubnetTopology) ValidateEnumValue ¶

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

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

type TcpOptions ¶

type TcpOptions struct {
	DestinationPortRange *PortRange `mandatory:"false" json:"destinationPortRange"`

	SourcePortRange *PortRange `mandatory:"false" json:"sourcePortRange"`
}

TcpOptions Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.

func (TcpOptions) String ¶

func (m TcpOptions) String() string

func (TcpOptions) ValidateEnumValue ¶

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

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

type TcpProtocolParameters ¶

type TcpProtocolParameters struct {

	// The destination port to use in a `PathAnalyzerTest` resource.
	DestinationPort *int `mandatory:"true" json:"destinationPort"`

	// The source port to use in a `PathAnalyzerTest` resource.
	SourcePort *int `mandatory:"false" json:"sourcePort"`
}

TcpProtocolParameters Defines the configuration for TCP protocol parameters.

func (TcpProtocolParameters) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (TcpProtocolParameters) String ¶

func (m TcpProtocolParameters) String() string

func (TcpProtocolParameters) ValidateEnumValue ¶

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

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

type TcpTrafficProtocolParameters ¶

type TcpTrafficProtocolParameters struct {

	// The destination port to use in a `PathAnalyzerTest`.
	DestinationPort *int `mandatory:"true" json:"destinationPort"`

	// The source port to use in a `PathAnalyzerTest`.
	SourcePort *int `mandatory:"false" json:"sourcePort"`
}

TcpTrafficProtocolParameters Defines the `TrafficProtocolParameters` configuration for the TCP protocol.

func (TcpTrafficProtocolParameters) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (TcpTrafficProtocolParameters) String ¶

func (TcpTrafficProtocolParameters) ValidateEnumValue ¶

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

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

type Topology ¶

type Topology interface {

	// Lists entities comprising the virtual network topology.
	GetEntities() []interface{}

	// Lists relationships between entities in the virtual network topology.
	GetRelationships() []TopologyEntityRelationship

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	GetTimeCreated() *common.SDKTime
}

Topology Defines the representation of a virtual network topology.

type TopologyAssociatedWithEntityRelationship ¶

type TopologyAssociatedWithEntityRelationship struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	Id1 *string `mandatory:"true" json:"id1"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	Id2 *string `mandatory:"true" json:"id2"`

	AssociatedWithDetails *TopologyAssociatedWithRelationshipDetails `mandatory:"false" json:"associatedWithDetails"`
}

TopologyAssociatedWithEntityRelationship Defines the `AssociatedWith` relationship between virtual network topology entities. An `AssociatedWith` relationship is defined when there is no obvious `contains` relationship but entities are still related. For example, a DRG is associated with a VCN because a DRG is not managed by VCN but can be attached to a VCN.

func (TopologyAssociatedWithEntityRelationship) GetId1 ¶

GetId1 returns Id1

func (TopologyAssociatedWithEntityRelationship) GetId2 ¶

GetId2 returns Id2

func (TopologyAssociatedWithEntityRelationship) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (TopologyAssociatedWithEntityRelationship) String ¶

func (TopologyAssociatedWithEntityRelationship) ValidateEnumValue ¶

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

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

type TopologyAssociatedWithRelationshipDetails ¶

type TopologyAssociatedWithRelationshipDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entities via which the relationship is created. For example an instance is associated with a network security group via the VNIC attachment and the VNIC.
	Via []string `mandatory:"false" json:"via"`
}

TopologyAssociatedWithRelationshipDetails Defines association details for an `associatedWith` relationship.

func (TopologyAssociatedWithRelationshipDetails) String ¶

func (TopologyAssociatedWithRelationshipDetails) ValidateEnumValue ¶

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

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

type TopologyContainsEntityRelationship ¶

type TopologyContainsEntityRelationship struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	Id1 *string `mandatory:"true" json:"id1"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	Id2 *string `mandatory:"true" json:"id2"`
}

TopologyContainsEntityRelationship Defines the `contains` relationship between virtual network topology entities. A `Contains` relationship is defined when an entity fully owns, contains or manages another entity. For example, a subnet is contained and managed in the scope of a VCN, therefore a VCN has a `contains` relationship to a subnet.

func (TopologyContainsEntityRelationship) GetId1 ¶

GetId1 returns Id1

func (TopologyContainsEntityRelationship) GetId2 ¶

GetId2 returns Id2

func (TopologyContainsEntityRelationship) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (TopologyContainsEntityRelationship) String ¶

func (TopologyContainsEntityRelationship) ValidateEnumValue ¶

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

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

type TopologyEntityRelationship ¶

type TopologyEntityRelationship interface {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	GetId1() *string

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	GetId2() *string
}

TopologyEntityRelationship Defines the relationship between Virtual Network topology entities.

type TopologyEntityRelationshipTypeEnum ¶

type TopologyEntityRelationshipTypeEnum string

TopologyEntityRelationshipTypeEnum Enum with underlying type: string

const (
	TopologyEntityRelationshipTypeContains       TopologyEntityRelationshipTypeEnum = "CONTAINS"
	TopologyEntityRelationshipTypeAssociatedWith TopologyEntityRelationshipTypeEnum = "ASSOCIATED_WITH"
	TopologyEntityRelationshipTypeRoutesTo       TopologyEntityRelationshipTypeEnum = "ROUTES_TO"
)

Set of constants representing the allowable values for TopologyEntityRelationshipTypeEnum

func GetMappingTopologyEntityRelationshipTypeEnum ¶

func GetMappingTopologyEntityRelationshipTypeEnum(val string) (TopologyEntityRelationshipTypeEnum, bool)

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

func GetTopologyEntityRelationshipTypeEnumValues ¶

func GetTopologyEntityRelationshipTypeEnumValues() []TopologyEntityRelationshipTypeEnum

GetTopologyEntityRelationshipTypeEnumValues Enumerates the set of values for TopologyEntityRelationshipTypeEnum

type TopologyRoutesToEntityRelationship ¶

type TopologyRoutesToEntityRelationship struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship.
	Id1 *string `mandatory:"true" json:"id1"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship.
	Id2 *string `mandatory:"true" json:"id2"`

	RouteRuleDetails *TopologyRoutesToRelationshipDetails `mandatory:"true" json:"routeRuleDetails"`
}

TopologyRoutesToEntityRelationship Defines the `routesTo` relationship between virtual network topology entities. A `RoutesTo` relationship is defined when a routing table and a routing rule are used to govern how to route traffic from one entity to another. For example, a DRG might have a routing rule to send certain traffic to an LPG.

func (TopologyRoutesToEntityRelationship) GetId1 ¶

GetId1 returns Id1

func (TopologyRoutesToEntityRelationship) GetId2 ¶

GetId2 returns Id2

func (TopologyRoutesToEntityRelationship) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (TopologyRoutesToEntityRelationship) String ¶

func (TopologyRoutesToEntityRelationship) ValidateEnumValue ¶

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

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

type TopologyRoutesToRelationshipDetails ¶

type TopologyRoutesToRelationshipDetails struct {

	// The destinationType can be set to one of two values:
	// * Use `CIDR_BLOCK` if the rule's `destination` is an IP address range in CIDR notation.
	// * Use `SERVICE_CIDR_BLOCK` if the rule's `destination` is the `cidrBlock` value for a Service.
	DestinationType *string `mandatory:"true" json:"destinationType"`

	// An IP address range in CIDR notation or the `cidrBlock` value for a Service.
	Destination *string `mandatory:"true" json:"destination"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the routing table that contains the route rule.
	RouteTableId *string `mandatory:"true" json:"routeTableId"`

	// A route rule can be `STATIC` if manually added to the route table or `DYNAMIC` if imported from another route table.
	RouteType TopologyRoutesToRelationshipDetailsRouteTypeEnum `mandatory:"false" json:"routeType,omitempty"`
}

TopologyRoutesToRelationshipDetails Defines route rule details for a `routesTo` relationship.

func (TopologyRoutesToRelationshipDetails) String ¶

func (TopologyRoutesToRelationshipDetails) ValidateEnumValue ¶

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

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

type TopologyRoutesToRelationshipDetailsRouteTypeEnum ¶

type TopologyRoutesToRelationshipDetailsRouteTypeEnum string

TopologyRoutesToRelationshipDetailsRouteTypeEnum Enum with underlying type: string

const (
	TopologyRoutesToRelationshipDetailsRouteTypeStatic  TopologyRoutesToRelationshipDetailsRouteTypeEnum = "STATIC"
	TopologyRoutesToRelationshipDetailsRouteTypeDynamic TopologyRoutesToRelationshipDetailsRouteTypeEnum = "DYNAMIC"
)

Set of constants representing the allowable values for TopologyRoutesToRelationshipDetailsRouteTypeEnum

func GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum ¶

func GetMappingTopologyRoutesToRelationshipDetailsRouteTypeEnum(val string) (TopologyRoutesToRelationshipDetailsRouteTypeEnum, bool)

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

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues ¶

func GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues() []TopologyRoutesToRelationshipDetailsRouteTypeEnum

GetTopologyRoutesToRelationshipDetailsRouteTypeEnumValues Enumerates the set of values for TopologyRoutesToRelationshipDetailsRouteTypeEnum

type TopologyTypeEnum ¶

type TopologyTypeEnum string

TopologyTypeEnum Enum with underlying type: string

const (
	TopologyTypeNetworking TopologyTypeEnum = "NETWORKING"
	TopologyTypeVcn        TopologyTypeEnum = "VCN"
	TopologyTypeSubnet     TopologyTypeEnum = "SUBNET"
	TopologyTypePath       TopologyTypeEnum = "PATH"
)

Set of constants representing the allowable values for TopologyTypeEnum

func GetMappingTopologyTypeEnum ¶

func GetMappingTopologyTypeEnum(val string) (TopologyTypeEnum, bool)

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

func GetTopologyTypeEnumValues ¶

func GetTopologyTypeEnumValues() []TopologyTypeEnum

GetTopologyTypeEnumValues Enumerates the set of values for TopologyTypeEnum

type TrafficNode ¶

type TrafficNode interface {
	GetEgressTraffic() *EgressTrafficSpec

	GetNextHopRoutingAction() RoutingAction

	GetEgressSecurityAction() SecurityAction

	GetIngressSecurityAction() SecurityAction
}

TrafficNode Defines the configuration of the OCI entity that represents a traffic node in `PathAnalysisResult`.

type TrafficNodeTypeEnum ¶

type TrafficNodeTypeEnum string

TrafficNodeTypeEnum Enum with underlying type: string

const (
	TrafficNodeTypeVisible      TrafficNodeTypeEnum = "VISIBLE"
	TrafficNodeTypeAccessDenied TrafficNodeTypeEnum = "ACCESS_DENIED"
)

Set of constants representing the allowable values for TrafficNodeTypeEnum

func GetMappingTrafficNodeTypeEnum ¶

func GetMappingTrafficNodeTypeEnum(val string) (TrafficNodeTypeEnum, bool)

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

func GetTrafficNodeTypeEnumValues ¶

func GetTrafficNodeTypeEnumValues() []TrafficNodeTypeEnum

GetTrafficNodeTypeEnumValues Enumerates the set of values for TrafficNodeTypeEnum

type TrafficProtocolParameters ¶

type TrafficProtocolParameters interface {
}

TrafficProtocolParameters Defines the traffic protocol parameters for the traffic in a `PathAnalysisResult`.

type TrafficProtocolParametersTypeEnum ¶

type TrafficProtocolParametersTypeEnum string

TrafficProtocolParametersTypeEnum Enum with underlying type: string

const (
	TrafficProtocolParametersTypeTcp  TrafficProtocolParametersTypeEnum = "TCP"
	TrafficProtocolParametersTypeUdp  TrafficProtocolParametersTypeEnum = "UDP"
	TrafficProtocolParametersTypeIcmp TrafficProtocolParametersTypeEnum = "ICMP"
)

Set of constants representing the allowable values for TrafficProtocolParametersTypeEnum

func GetMappingTrafficProtocolParametersTypeEnum ¶

func GetMappingTrafficProtocolParametersTypeEnum(val string) (TrafficProtocolParametersTypeEnum, bool)

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

func GetTrafficProtocolParametersTypeEnumValues ¶

func GetTrafficProtocolParametersTypeEnumValues() []TrafficProtocolParametersTypeEnum

GetTrafficProtocolParametersTypeEnumValues Enumerates the set of values for TrafficProtocolParametersTypeEnum

type TrafficRoute ¶

type TrafficRoute struct {

	// Reachability status for the given traffic route.
	ReachabilityStatus TrafficRouteReachabilityStatusEnum `mandatory:"true" json:"reachabilityStatus"`

	// The ordered sequence of nodes in the given the traffic route forming a path.
	Nodes []TrafficNode `mandatory:"true" json:"nodes"`

	// A description of the traffic route analysis. For example: "Traffic might not reach a destination
	// due to the LB backend being unhealthy".
	RouteAnalysisDescription *string `mandatory:"false" json:"routeAnalysisDescription"`
}

TrafficRoute Defines the traffic route taken in the path in `PathAnalysisResult`.

func (TrafficRoute) String ¶

func (m TrafficRoute) String() string

func (*TrafficRoute) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (TrafficRoute) ValidateEnumValue ¶

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

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

type TrafficRouteReachabilityStatusEnum ¶

type TrafficRouteReachabilityStatusEnum string

TrafficRouteReachabilityStatusEnum Enum with underlying type: string

const (
	TrafficRouteReachabilityStatusReachable     TrafficRouteReachabilityStatusEnum = "REACHABLE"
	TrafficRouteReachabilityStatusUnreachable   TrafficRouteReachabilityStatusEnum = "UNREACHABLE"
	TrafficRouteReachabilityStatusIndeterminate TrafficRouteReachabilityStatusEnum = "INDETERMINATE"
)

Set of constants representing the allowable values for TrafficRouteReachabilityStatusEnum

func GetMappingTrafficRouteReachabilityStatusEnum ¶

func GetMappingTrafficRouteReachabilityStatusEnum(val string) (TrafficRouteReachabilityStatusEnum, bool)

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

func GetTrafficRouteReachabilityStatusEnumValues ¶

func GetTrafficRouteReachabilityStatusEnumValues() []TrafficRouteReachabilityStatusEnum

GetTrafficRouteReachabilityStatusEnumValues Enumerates the set of values for TrafficRouteReachabilityStatusEnum

type TunnelConfig ¶

type TunnelConfig struct {

	// The IP address of Oracle's VPN headend.
	// Example: `203.0.113.50 `
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The shared secret of the IPSec tunnel.
	SharedSecret *string `mandatory:"true" json:"sharedSecret"`

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

TunnelConfig Specific connection details for an IPSec tunnel.

func (TunnelConfig) String ¶

func (m TunnelConfig) String() string

func (TunnelConfig) ValidateEnumValue ¶

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

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

type TunnelStatus ¶

type TunnelStatus struct {

	// The IP address of Oracle's VPN headend.
	// Example: `203.0.113.50`
	IpAddress *string `mandatory:"true" json:"ipAddress"`

	// The tunnel's current state.
	LifecycleState TunnelStatusLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

	// When the state of the tunnel last changed, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeStateModified *common.SDKTime `mandatory:"false" json:"timeStateModified"`
}

TunnelStatus Specific connection details for an IPSec tunnel.

func (TunnelStatus) String ¶

func (m TunnelStatus) String() string

func (TunnelStatus) ValidateEnumValue ¶

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

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

type TunnelStatusLifecycleStateEnum ¶

type TunnelStatusLifecycleStateEnum string

TunnelStatusLifecycleStateEnum Enum with underlying type: string

const (
	TunnelStatusLifecycleStateUp                 TunnelStatusLifecycleStateEnum = "UP"
	TunnelStatusLifecycleStateDown               TunnelStatusLifecycleStateEnum = "DOWN"
	TunnelStatusLifecycleStateDownForMaintenance TunnelStatusLifecycleStateEnum = "DOWN_FOR_MAINTENANCE"
)

Set of constants representing the allowable values for TunnelStatusLifecycleStateEnum

func GetMappingTunnelStatusLifecycleStateEnum ¶

func GetMappingTunnelStatusLifecycleStateEnum(val string) (TunnelStatusLifecycleStateEnum, bool)

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

func GetTunnelStatusLifecycleStateEnumValues ¶

func GetTunnelStatusLifecycleStateEnumValues() []TunnelStatusLifecycleStateEnum

GetTunnelStatusLifecycleStateEnumValues Enumerates the set of values for TunnelStatusLifecycleStateEnum

type UdpOptions ¶

type UdpOptions struct {
	DestinationPortRange *PortRange `mandatory:"false" json:"destinationPortRange"`

	SourcePortRange *PortRange `mandatory:"false" json:"sourcePortRange"`
}

UdpOptions Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed.

func (UdpOptions) String ¶

func (m UdpOptions) String() string

func (UdpOptions) ValidateEnumValue ¶

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

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

type UdpProtocolParameters ¶

type UdpProtocolParameters struct {

	// The destination port to use in a `PathAnalyzerTest` resource.
	DestinationPort *int `mandatory:"true" json:"destinationPort"`

	// The source port to use in a `PathAnalyzerTest` resource.
	SourcePort *int `mandatory:"false" json:"sourcePort"`
}

UdpProtocolParameters Defines the configuration for UDP protocol parameters.

func (UdpProtocolParameters) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (UdpProtocolParameters) String ¶

func (m UdpProtocolParameters) String() string

func (UdpProtocolParameters) ValidateEnumValue ¶

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

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

type UdpTrafficProtocolParameters ¶

type UdpTrafficProtocolParameters struct {

	// The destination port to use in a `PathAnalyzerTest`.
	DestinationPort *int `mandatory:"true" json:"destinationPort"`

	// The source port to use in a `PathAnalyzerTest`.
	SourcePort *int `mandatory:"false" json:"sourcePort"`
}

UdpTrafficProtocolParameters Defines the `TrafficProtocolParameters` configuration for the UDP protocol.

func (UdpTrafficProtocolParameters) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (UdpTrafficProtocolParameters) String ¶

func (UdpTrafficProtocolParameters) ValidateEnumValue ¶

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

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

type UpdateCpeDetails ¶

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

UpdateCpeDetails The representation of UpdateCpeDetails

func (UpdateCpeDetails) String ¶

func (m UpdateCpeDetails) String() string

func (UpdateCpeDetails) ValidateEnumValue ¶

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

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

type UpdateCrossConnectDetails ¶

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

	// Set to true to activate the cross-connect. You activate it after the physical cabling
	// is complete, and you've confirmed the cross-connect's light levels are good and your side
	// of the interface is up. Activation indicates to Oracle that the physical connection is ready.
	// Example: `true`
	IsActive *bool `mandatory:"false" json:"isActive"`
}

UpdateCrossConnectDetails Update a CrossConnect

func (UpdateCrossConnectDetails) String ¶

func (m UpdateCrossConnectDetails) String() string

func (UpdateCrossConnectDetails) ValidateEnumValue ¶

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

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

type UpdateCrossConnectGroupDetails ¶

type UpdateCrossConnectGroupDetails struct {

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

UpdateCrossConnectGroupDetails The representation of UpdateCrossConnectGroupDetails

func (UpdateCrossConnectGroupDetails) String ¶

func (UpdateCrossConnectGroupDetails) ValidateEnumValue ¶

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

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

type UpdateDhcpDetails ¶

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

	Options []DhcpOption `mandatory:"false" json:"options"`
}

UpdateDhcpDetails The representation of UpdateDhcpDetails

func (UpdateDhcpDetails) String ¶

func (m UpdateDhcpDetails) String() string

func (*UpdateDhcpDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (UpdateDhcpDetails) ValidateEnumValue ¶

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

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

type UpdateDrgAttachmentDetails ¶

type UpdateDrgAttachmentDetails struct {

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment.
	// The DRG route table manages traffic inside the DRG.
	// You can't remove a DRG route table from a DRG attachment, but you can reassign which
	// DRG route table it uses.
	DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`

	NetworkDetails DrgAttachmentNetworkUpdateDetails `mandatory:"false" json:"networkDetails"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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 export route distribution used to specify how routes in the assigned DRG route table
	// are advertised out through the attachment.
	// If this value is null, no routes are advertised through this attachment.
	ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"`
}

UpdateDrgAttachmentDetails The representation of UpdateDrgAttachmentDetails

func (UpdateDrgAttachmentDetails) String ¶

func (*UpdateDrgAttachmentDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (UpdateDrgAttachmentDetails) ValidateEnumValue ¶

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

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

type UpdateDrgDetails ¶

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

	DefaultDrgRouteTables *DefaultDrgRouteTables `mandatory:"false" json:"defaultDrgRouteTables"`

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

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

UpdateDrgDetails The representation of UpdateDrgDetails

func (UpdateDrgDetails) String ¶

func (m UpdateDrgDetails) String() string

func (UpdateDrgDetails) ValidateEnumValue ¶

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

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

type UpdateDrgRouteDistributionDetails ¶

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

UpdateDrgRouteDistributionDetails Details used in a request to update a route distribution. You cannot assign a table to a virtual circuit or IPSec tunnel attachment if there is a static route rule for an RPC attachment.

func (UpdateDrgRouteDistributionDetails) String ¶

func (UpdateDrgRouteDistributionDetails) ValidateEnumValue ¶

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

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

type UpdateDrgRouteDistributionStatementDetails ¶

type UpdateDrgRouteDistributionStatementDetails struct {

	// The Oracle-assigned ID of each route distribution statement to be updated.
	Id *string `mandatory:"true" json:"id"`

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

	// The priority of the statement you'd like to update.
	Priority *int `mandatory:"false" json:"priority"`
}

UpdateDrgRouteDistributionStatementDetails Route distribution statements to update in the route distribution.

func (UpdateDrgRouteDistributionStatementDetails) String ¶

func (*UpdateDrgRouteDistributionStatementDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (UpdateDrgRouteDistributionStatementDetails) ValidateEnumValue ¶

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

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

type UpdateDrgRouteDistributionStatementsDetails ¶

type UpdateDrgRouteDistributionStatementsDetails struct {

	// The route distribution statements to update, and the details to be updated.
	Statements []UpdateDrgRouteDistributionStatementDetails `mandatory:"true" json:"statements"`
}

UpdateDrgRouteDistributionStatementsDetails Details request to update statements in a route distribution.

func (UpdateDrgRouteDistributionStatementsDetails) String ¶

func (UpdateDrgRouteDistributionStatementsDetails) ValidateEnumValue ¶

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

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

type UpdateDrgRouteRuleDetails ¶

type UpdateDrgRouteRuleDetails struct {

	// The Oracle-assigned ID of each DRG route rule to update.
	Id *string `mandatory:"true" json:"id"`

	// The range of IP addresses used for matching when routing traffic.
	// Potential values:
	//   * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: `192.168.1.0/24`
	//   or `2001:0db8:0123:45::/56`.
	Destination *string `mandatory:"false" json:"destination"`

	// Type of destination for the rule. Required if `direction` = `EGRESS`.
	// Allowed values:
	//   * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation.
	DestinationType UpdateDrgRouteRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"`

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

UpdateDrgRouteRuleDetails Details used to update a route rule in the DRG route table.

func (UpdateDrgRouteRuleDetails) String ¶

func (m UpdateDrgRouteRuleDetails) String() string

func (UpdateDrgRouteRuleDetails) ValidateEnumValue ¶

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

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

type UpdateDrgRouteRuleDetailsDestinationTypeEnum ¶

type UpdateDrgRouteRuleDetailsDestinationTypeEnum string

UpdateDrgRouteRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	UpdateDrgRouteRuleDetailsDestinationTypeCidrBlock UpdateDrgRouteRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
)

Set of constants representing the allowable values for UpdateDrgRouteRuleDetailsDestinationTypeEnum

func GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum ¶

func GetMappingUpdateDrgRouteRuleDetailsDestinationTypeEnum(val string) (UpdateDrgRouteRuleDetailsDestinationTypeEnum, bool)

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

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues ¶

func GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues() []UpdateDrgRouteRuleDetailsDestinationTypeEnum

GetUpdateDrgRouteRuleDetailsDestinationTypeEnumValues Enumerates the set of values for UpdateDrgRouteRuleDetailsDestinationTypeEnum

type UpdateDrgRouteRulesDetails ¶

type UpdateDrgRouteRulesDetails struct {

	// The DRG rute rules to update.
	RouteRules []UpdateDrgRouteRuleDetails `mandatory:"false" json:"routeRules"`
}

UpdateDrgRouteRulesDetails Details used to update route rules in a DRG route table.

func (UpdateDrgRouteRulesDetails) String ¶

func (UpdateDrgRouteRulesDetails) ValidateEnumValue ¶

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

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

type UpdateDrgRouteTableDetails ¶

type UpdateDrgRouteTableDetails 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through
	// referenced attachements are inserted into the DRG route table.
	ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"`

	// If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to
	// your on-prem networks, set this value to true on the route table.
	IsEcmpEnabled *bool `mandatory:"false" json:"isEcmpEnabled"`
}

UpdateDrgRouteTableDetails Details used in a request to update a DRG route table. You can't assign a table to a virtual circuit or IPSec tunnel attachment if there is a static route rule for an RPC attachment.

func (UpdateDrgRouteTableDetails) String ¶

func (UpdateDrgRouteTableDetails) ValidateEnumValue ¶

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

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

type UpdateInternetGatewayDetails ¶

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

	// Whether the gateway is enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}

UpdateInternetGatewayDetails The representation of UpdateInternetGatewayDetails

func (UpdateInternetGatewayDetails) String ¶

func (UpdateInternetGatewayDetails) ValidateEnumValue ¶

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

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

type UpdateIpSecConnectionDetails ¶

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

UpdateIpSecConnectionDetails The representation of UpdateIpSecConnectionDetails

func (UpdateIpSecConnectionDetails) String ¶

func (UpdateIpSecConnectionDetails) ValidateEnumValue ¶

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

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

type UpdateIpv6Details ¶

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

	// Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in
	// a public subnet. Never allowed for an IPv6 in a private subnet. If the value is `true`, the
	// IPv6 uses its public IP address for internet communication.
	// If you switch this from `true` to `false`, the `publicIpAddress` attribute for the IPv6
	// becomes null.
	// Example: `false`
	IsInternetAccessAllowed *bool `mandatory:"false" json:"isInternetAccessAllowed"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the IPv6 to.
	// The VNIC must be in the same subnet as the current VNIC.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

UpdateIpv6Details The representation of UpdateIpv6Details

func (UpdateIpv6Details) String ¶

func (m UpdateIpv6Details) String() string

func (UpdateIpv6Details) ValidateEnumValue ¶

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

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

type UpdateLocalPeeringGatewayDetails ¶

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

UpdateLocalPeeringGatewayDetails The representation of UpdateLocalPeeringGatewayDetails

func (UpdateLocalPeeringGatewayDetails) String ¶

func (UpdateLocalPeeringGatewayDetails) ValidateEnumValue ¶

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

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

type UpdateNetworkSecurityGroupDetails ¶

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

UpdateNetworkSecurityGroupDetails The representation of UpdateNetworkSecurityGroupDetails

func (UpdateNetworkSecurityGroupDetails) String ¶

func (UpdateNetworkSecurityGroupDetails) ValidateEnumValue ¶

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

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

type UpdateNetworkSecurityGroupSecurityRulesDetails ¶

type UpdateNetworkSecurityGroupSecurityRulesDetails struct {

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

UpdateNetworkSecurityGroupSecurityRulesDetails The representation of UpdateNetworkSecurityGroupSecurityRulesDetails

func (UpdateNetworkSecurityGroupSecurityRulesDetails) String ¶

func (UpdateNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue ¶

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

type UpdatePathAnalyzerTestDetails ¶

type UpdatePathAnalyzerTestDetails 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 IP protocol to use in the `PathAnalyzerTest` resource.
	Protocol *int `mandatory:"false" json:"protocol"`

	SourceEndpoint Endpoint `mandatory:"false" json:"sourceEndpoint"`

	DestinationEndpoint Endpoint `mandatory:"false" json:"destinationEndpoint"`

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

UpdatePathAnalyzerTestDetails Details to update a `PathAnalyzerTest` resource.

func (UpdatePathAnalyzerTestDetails) String ¶

func (*UpdatePathAnalyzerTestDetails) UnmarshalJSON ¶

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

UnmarshalJSON unmarshals from json

func (UpdatePathAnalyzerTestDetails) ValidateEnumValue ¶

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

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

type UpdatePathAnalyzerTestRequest ¶

type UpdatePathAnalyzerTestRequest 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.
	UpdatePathAnalyzerTestDetails `contributesTo:"body"`

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

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

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

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

UpdatePathAnalyzerTestRequest wrapper for the UpdatePathAnalyzerTest operation

See also ¶

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

func (UpdatePathAnalyzerTestRequest) BinaryRequestBody ¶

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

BinaryRequestBody implements the OCIRequest interface

func (UpdatePathAnalyzerTestRequest) HTTPRequest ¶

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

HTTPRequest implements the OCIRequest interface

func (UpdatePathAnalyzerTestRequest) RetryPolicy ¶

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

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

func (UpdatePathAnalyzerTestRequest) String ¶

func (request UpdatePathAnalyzerTestRequest) String() string

func (UpdatePathAnalyzerTestRequest) ValidateEnumValue ¶

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

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

type UpdatePathAnalyzerTestResponse ¶

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

UpdatePathAnalyzerTestResponse wrapper for the UpdatePathAnalyzerTest operation

func (UpdatePathAnalyzerTestResponse) HTTPResponse ¶

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

HTTPResponse implements the OCIResponse interface

func (UpdatePathAnalyzerTestResponse) String ¶

func (response UpdatePathAnalyzerTestResponse) String() string

type UpdatePrivateIpDetails ¶

type UpdatePrivateIpDetails 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, `bminstance-1` in FQDN `bminstance-1.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: `bminstance-1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the private IP to. The VNIC must
	// be in the same subnet as the current VNIC.
	VnicId *string `mandatory:"false" json:"vnicId"`
}

UpdatePrivateIpDetails The representation of UpdatePrivateIpDetails

func (UpdatePrivateIpDetails) String ¶

func (m UpdatePrivateIpDetails) String() string

func (UpdatePrivateIpDetails) ValidateEnumValue ¶

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

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

type UpdatePublicIpDetails ¶

type UpdatePublicIpDetails 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 OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to.
	// * If the public IP is already assigned to a different private IP, it will be unassigned
	// and then reassigned to the specified private IP.
	// * If you set this field to an empty string, the public IP will be unassigned from the
	// private IP it is currently assigned to.
	PrivateIpId *string `mandatory:"false" json:"privateIpId"`
}

UpdatePublicIpDetails The representation of UpdatePublicIpDetails

func (UpdatePublicIpDetails) String ¶

func (m UpdatePublicIpDetails) String() string

func (UpdatePublicIpDetails) ValidateEnumValue ¶

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

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

type UpdateRemotePeeringConnectionDetails ¶

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

UpdateRemotePeeringConnectionDetails The representation of UpdateRemotePeeringConnectionDetails

func (UpdateRemotePeeringConnectionDetails) String ¶

func (UpdateRemotePeeringConnectionDetails) ValidateEnumValue ¶

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

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

type UpdateRouteTableDetails ¶

type UpdateRouteTableDetails 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 collection of rules used for routing destination IPs to network devices.
	RouteRules []RouteRule `mandatory:"false" json:"routeRules"`
}

UpdateRouteTableDetails The representation of UpdateRouteTableDetails

func (UpdateRouteTableDetails) String ¶

func (m UpdateRouteTableDetails) String() string

func (UpdateRouteTableDetails) ValidateEnumValue ¶

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

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

type UpdateSecurityListDetails ¶

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

	// Rules for allowing egress IP packets.
	EgressSecurityRules []EgressSecurityRule `mandatory:"false" json:"egressSecurityRules"`

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

	// Rules for allowing ingress IP packets.
	IngressSecurityRules []IngressSecurityRule `mandatory:"false" json:"ingressSecurityRules"`
}

UpdateSecurityListDetails The representation of UpdateSecurityListDetails

func (UpdateSecurityListDetails) String ¶

func (m UpdateSecurityListDetails) String() string

func (UpdateSecurityListDetails) ValidateEnumValue ¶

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

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

type UpdateSecurityRuleDetails ¶

type UpdateSecurityRuleDetails struct {

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

	// The Oracle-assigned ID of the security rule that you want to update. You can't change this value.
	// Example: `04ABEC`
	Id *string `mandatory:"true" json:"id"`

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

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

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

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

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

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

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

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

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

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

UpdateSecurityRuleDetails A rule for allowing inbound (`direction`= INGRESS) or outbound (`direction`= EGRESS) IP packets.

func (UpdateSecurityRuleDetails) String ¶

func (m UpdateSecurityRuleDetails) String() string

func (UpdateSecurityRuleDetails) ValidateEnumValue ¶

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

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

type UpdateSecurityRuleDetailsDestinationTypeEnum ¶

type UpdateSecurityRuleDetailsDestinationTypeEnum string

UpdateSecurityRuleDetailsDestinationTypeEnum Enum with underlying type: string

const (
	UpdateSecurityRuleDetailsDestinationTypeCidrBlock            UpdateSecurityRuleDetailsDestinationTypeEnum = "CIDR_BLOCK"
	UpdateSecurityRuleDetailsDestinationTypeServiceCidrBlock     UpdateSecurityRuleDetailsDestinationTypeEnum = "SERVICE_CIDR_BLOCK"
	UpdateSecurityRuleDetailsDestinationTypeNetworkSecurityGroup UpdateSecurityRuleDetailsDestinationTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for UpdateSecurityRuleDetailsDestinationTypeEnum

func GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum ¶

func GetMappingUpdateSecurityRuleDetailsDestinationTypeEnum(val string) (UpdateSecurityRuleDetailsDestinationTypeEnum, bool)

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

func GetUpdateSecurityRuleDetailsDestinationTypeEnumValues ¶

func GetUpdateSecurityRuleDetailsDestinationTypeEnumValues() []UpdateSecurityRuleDetailsDestinationTypeEnum

GetUpdateSecurityRuleDetailsDestinationTypeEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsDestinationTypeEnum

type UpdateSecurityRuleDetailsDirectionEnum ¶

type UpdateSecurityRuleDetailsDirectionEnum string

UpdateSecurityRuleDetailsDirectionEnum Enum with underlying type: string

const (
	UpdateSecurityRuleDetailsDirectionEgress  UpdateSecurityRuleDetailsDirectionEnum = "EGRESS"
	UpdateSecurityRuleDetailsDirectionIngress UpdateSecurityRuleDetailsDirectionEnum = "INGRESS"
)

Set of constants representing the allowable values for UpdateSecurityRuleDetailsDirectionEnum

func GetMappingUpdateSecurityRuleDetailsDirectionEnum ¶

func GetMappingUpdateSecurityRuleDetailsDirectionEnum(val string) (UpdateSecurityRuleDetailsDirectionEnum, bool)

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

func GetUpdateSecurityRuleDetailsDirectionEnumValues ¶

func GetUpdateSecurityRuleDetailsDirectionEnumValues() []UpdateSecurityRuleDetailsDirectionEnum

GetUpdateSecurityRuleDetailsDirectionEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsDirectionEnum

type UpdateSecurityRuleDetailsSourceTypeEnum ¶

type UpdateSecurityRuleDetailsSourceTypeEnum string

UpdateSecurityRuleDetailsSourceTypeEnum Enum with underlying type: string

const (
	UpdateSecurityRuleDetailsSourceTypeCidrBlock            UpdateSecurityRuleDetailsSourceTypeEnum = "CIDR_BLOCK"
	UpdateSecurityRuleDetailsSourceTypeServiceCidrBlock     UpdateSecurityRuleDetailsSourceTypeEnum = "SERVICE_CIDR_BLOCK"
	UpdateSecurityRuleDetailsSourceTypeNetworkSecurityGroup UpdateSecurityRuleDetailsSourceTypeEnum = "NETWORK_SECURITY_GROUP"
)

Set of constants representing the allowable values for UpdateSecurityRuleDetailsSourceTypeEnum

func GetMappingUpdateSecurityRuleDetailsSourceTypeEnum ¶

func GetMappingUpdateSecurityRuleDetailsSourceTypeEnum(val string) (UpdateSecurityRuleDetailsSourceTypeEnum, bool)

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

func GetUpdateSecurityRuleDetailsSourceTypeEnumValues ¶

func GetUpdateSecurityRuleDetailsSourceTypeEnumValues() []UpdateSecurityRuleDetailsSourceTypeEnum

GetUpdateSecurityRuleDetailsSourceTypeEnumValues Enumerates the set of values for UpdateSecurityRuleDetailsSourceTypeEnum

type UpdateServiceGatewayDetails ¶

type UpdateServiceGatewayDetails struct {

	// Whether the service gateway blocks all traffic through it. The default is `false`. When
	// this is `true`, traffic is not routed to any services, regardless of route rules.
	// Example: `true`
	BlockTraffic *bool `mandatory:"false" json:"blockTraffic"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`

	// List of all the `Service` objects you want enabled on this service gateway. Sending an empty list
	// means you want to disable all services. Omitting this parameter entirely keeps the
	// existing list of services intact.
	// You can also enable or disable a particular `Service` by using
	// AttachServiceId or
	// DetachServiceId.
	// For each enabled `Service`, make sure there's a route rule with the `Service` object's `cidrBlock`
	// as the rule's destination and the service gateway as the rule's target. See
	// RouteTable.
	Services []ServiceIdRequestDetails `mandatory:"false" json:"services"`
}

UpdateServiceGatewayDetails The representation of UpdateServiceGatewayDetails

func (UpdateServiceGatewayDetails) String ¶

func (UpdateServiceGatewayDetails) ValidateEnumValue ¶

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

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

type UpdateSubnetDetails ¶

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use.
	DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"`

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

	// 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 subnet will use.
	RouteTableId *string `mandatory:"false" json:"routeTableId"`

	// The OCIDs of the security list or lists the subnet will use. This
	// replaces the entire current set of security lists. Remember that
	// security lists are associated *with the subnet*, but the rules are
	// applied to the individual VNICs in the subnet.
	SecurityListIds []string `mandatory:"false" json:"securityListIds"`
}

UpdateSubnetDetails The representation of UpdateSubnetDetails

func (UpdateSubnetDetails) String ¶

func (m UpdateSubnetDetails) String() string

func (UpdateSubnetDetails) ValidateEnumValue ¶

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

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

type UpdateVcnDetails ¶

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

UpdateVcnDetails The representation of UpdateVcnDetails

func (UpdateVcnDetails) String ¶

func (m UpdateVcnDetails) String() string

func (UpdateVcnDetails) ValidateEnumValue ¶

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

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

type UpdateVirtualCircuitDetails ¶

type UpdateVirtualCircuitDetails struct {

	// The provisioned data rate of the connection. To get a list of the
	// available bandwidth levels (that is, shapes), see
	// ListFastConnectProviderVirtualCircuitBandwidthShapes.
	// To be updated only by the customer who owns the virtual circuit.
	BandwidthShapeName *string `mandatory:"false" json:"bandwidthShapeName"`

	// An array of mappings, each containing properties for a cross-connect or
	// cross-connect group associated with this virtual circuit.
	// The customer and provider can update different properties in the mapping
	// depending on the situation. See the description of the
	// CrossConnectMapping.
	CrossConnectMappings []CrossConnectMapping `mandatory:"false" json:"crossConnectMappings"`

	// The BGP ASN of the network at the other end of the BGP
	// session from Oracle.
	// If the BGP session is from the customer's edge router to Oracle, the
	// required value is the customer's ASN, and it can be updated only
	// by the customer.
	// If the BGP session is from the provider's edge router to Oracle, the
	// required value is the provider's ASN, and it can be updated only
	// by the provider.
	CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`

	// 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
	// that this private virtual circuit uses.
	// To be updated only by the customer who owns the virtual circuit.
	GatewayId *string `mandatory:"false" json:"gatewayId"`

	// The provider's state in relation to this virtual circuit. Relevant only
	// if the customer is using FastConnect via a provider. ACTIVE
	// means the provider has provisioned the virtual circuit from their
	// end. INACTIVE means the provider has not yet provisioned the virtual
	// circuit, or has de-provisioned it.
	// To be updated only by the provider.
	ProviderState UpdateVirtualCircuitDetailsProviderStateEnum `mandatory:"false" json:"providerState,omitempty"`

	// Provider-supplied reference information about this virtual circuit.
	// Relevant only if the customer is using FastConnect via a provider.
	// To be updated only by the provider.
	ReferenceComment *string `mandatory:"false" json:"referenceComment"`
}

UpdateVirtualCircuitDetails The representation of UpdateVirtualCircuitDetails

func (UpdateVirtualCircuitDetails) String ¶

func (UpdateVirtualCircuitDetails) ValidateEnumValue ¶

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

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

type UpdateVirtualCircuitDetailsProviderStateEnum ¶

type UpdateVirtualCircuitDetailsProviderStateEnum string

UpdateVirtualCircuitDetailsProviderStateEnum Enum with underlying type: string

const (
	UpdateVirtualCircuitDetailsProviderStateActive   UpdateVirtualCircuitDetailsProviderStateEnum = "ACTIVE"
	UpdateVirtualCircuitDetailsProviderStateInactive UpdateVirtualCircuitDetailsProviderStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for UpdateVirtualCircuitDetailsProviderStateEnum

func GetMappingUpdateVirtualCircuitDetailsProviderStateEnum ¶

func GetMappingUpdateVirtualCircuitDetailsProviderStateEnum(val string) (UpdateVirtualCircuitDetailsProviderStateEnum, bool)

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

func GetUpdateVirtualCircuitDetailsProviderStateEnumValues ¶

func GetUpdateVirtualCircuitDetailsProviderStateEnumValues() []UpdateVirtualCircuitDetailsProviderStateEnum

GetUpdateVirtualCircuitDetailsProviderStateEnumValues Enumerates the set of values for UpdateVirtualCircuitDetailsProviderStateEnum

type UpdateVnicDetails ¶

type UpdateVnicDetails 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 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, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`).
	// Must be unique across all VNICs in the subnet and comply with
	// RFC 952 (https://tools.ietf.org/html/rfc952) and
	// RFC 1123 (https://tools.ietf.org/html/rfc1123).
	// The value appears in the Vnic object and also the
	// PrivateIp object returned by
	// ListPrivateIps and
	// GetPrivateIp.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting this as
	// an empty array removes the VNIC from all network security groups.
	// For more information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// Whether the source/destination check is disabled on the VNIC.
	// Defaults to `false`, which means the check is performed. For information about why you would
	// skip the source/destination check, see
	// Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).
	// Example: `true`
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`
}

UpdateVnicDetails The representation of UpdateVnicDetails

func (UpdateVnicDetails) String ¶

func (m UpdateVnicDetails) String() string

func (UpdateVnicDetails) ValidateEnumValue ¶

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

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

type UpdatedNetworkSecurityGroupSecurityRules ¶

type UpdatedNetworkSecurityGroupSecurityRules struct {

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

UpdatedNetworkSecurityGroupSecurityRules The representation of UpdatedNetworkSecurityGroupSecurityRules

func (UpdatedNetworkSecurityGroupSecurityRules) String ¶

func (UpdatedNetworkSecurityGroupSecurityRules) ValidateEnumValue ¶

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

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

type UpgradeStatus ¶

type UpgradeStatus struct {

	// The `drgId` of the upgraded DRG.
	DrgId *string `mandatory:"true" json:"drgId"`

	// The current upgrade status of the DRG attachment.
	Status UpgradeStatusStatusEnum `mandatory:"true" json:"status"`

	// The number of upgraded connections.
	UpgradedConnections *string `mandatory:"true" json:"upgradedConnections"`
}

UpgradeStatus The upgrade status of a DRG.

func (UpgradeStatus) String ¶

func (m UpgradeStatus) String() string

func (UpgradeStatus) ValidateEnumValue ¶

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

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

type UpgradeStatusStatusEnum ¶

type UpgradeStatusStatusEnum string

UpgradeStatusStatusEnum Enum with underlying type: string

const (
	UpgradeStatusStatusNotUpgraded UpgradeStatusStatusEnum = "NOT_UPGRADED"
	UpgradeStatusStatusInProgress  UpgradeStatusStatusEnum = "IN_PROGRESS"
	UpgradeStatusStatusUpgraded    UpgradeStatusStatusEnum = "UPGRADED"
)

Set of constants representing the allowable values for UpgradeStatusStatusEnum

func GetMappingUpgradeStatusStatusEnum ¶

func GetMappingUpgradeStatusStatusEnum(val string) (UpgradeStatusStatusEnum, bool)

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

func GetUpgradeStatusStatusEnumValues ¶

func GetUpgradeStatusStatusEnumValues() []UpgradeStatusStatusEnum

GetUpgradeStatusStatusEnumValues Enumerates the set of values for UpgradeStatusStatusEnum

type Vcn ¶

type Vcn struct {

	// The CIDR block IP address of the VCN.
	// Example: `172.16.0.0/16`
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

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

	// The VCN's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"true" json:"id"`

	// The VCN's current state.
	LifecycleState VcnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options.
	DefaultDhcpOptionsId *string `mandatory:"false" json:"defaultDhcpOptionsId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default route table.
	DefaultRouteTableId *string `mandatory:"false" json:"defaultRouteTableId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default security list.
	DefaultSecurityListId *string `mandatory:"false" json:"defaultSecurityListId"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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, `bminstance-1.subnet123.vcn1.oraclevcn.com`).
	// Must be an alphanumeric string that begins with a letter.
	// The value cannot be changed.
	// The absence of this parameter means the Internet and VCN Resolver will
	// not work for this VCN.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `vcn1`
	DnsLabel *string `mandatory:"false" json:"dnsLabel"`

	// 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 an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's private IP address space.
	// The VCN size is always /56. Oracle
	// provides the IPv6 CIDR block to use as the *same* CIDR for the `ipv6PublicCidrBlock`.
	// When creating a subnet, specify the last 8 bits, 00 to FF.
	// See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm).
	// Example: `2001:0db8:0123::/56`
	Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"`

	// For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's public IP address space.
	// The VCN size is always /56. This CIDR is always provided by Oracle. If you don't provide a
	// custom CIDR for the `ipv6CidrBlock` when creating the VCN, Oracle assigns that value and also
	// uses it for `ipv6PublicCidrBlock`. Oracle uses addresses from this block for the `publicIpAddress`
	// attribute of an Ipv6 that has internet access allowed.
	// Example: `2001:0db8:0123::/48`
	Ipv6PublicCidrBlock *string `mandatory:"false" json:"ipv6PublicCidrBlock"`

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

	// The VCN's domain name, which consists of the VCN's DNS label, and the
	// `oraclevcn.com` domain.
	// For more information, see
	// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
	// Example: `vcn1.oraclevcn.com`
	VcnDomainName *string `mandatory:"false" json:"vcnDomainName"`
}

Vcn A virtual cloud network (VCN). For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Vcn) String ¶

func (m Vcn) String() string

func (Vcn) ValidateEnumValue ¶

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

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

type VcnDrgAttachmentNetworkCreateDetails ¶

type VcnDrgAttachmentNetworkCreateDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"true" json:"id"`

	// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
	// For information about why you would associate a route table with a DRG attachment, see
	// Advanced Scenario: Transit Routing (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm).
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

VcnDrgAttachmentNetworkCreateDetails Specifies the VCN Attachment

func (VcnDrgAttachmentNetworkCreateDetails) GetId ¶

GetId returns Id

func (VcnDrgAttachmentNetworkCreateDetails) MarshalJSON ¶

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

MarshalJSON marshals to json representation

func (VcnDrgAttachmentNetworkCreateDetails) String ¶

func (VcnDrgAttachmentNetworkCreateDetails) ValidateEnumValue ¶

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

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VcnDrgAttachmentNetworkDetails ¶

type VcnDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

VcnDrgAttachmentNetworkDetails Specifies details within the VCN.

func (VcnDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (VcnDrgAttachmentNetworkDetails) MarshalJSON ¶

func (m VcnDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnDrgAttachmentNetworkDetails) String ¶

func (VcnDrgAttachmentNetworkDetails) ValidateEnumValue ¶

func (m VcnDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VcnDrgAttachmentNetworkUpdateDetails ¶

type VcnDrgAttachmentNetworkUpdateDetails struct {

	// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
	// For information about why you would associate a route table with a DRG attachment, see:
	//   * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm)
	//   * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
	RouteTableId *string `mandatory:"false" json:"routeTableId"`
}

VcnDrgAttachmentNetworkUpdateDetails Specifies the update details for the VCN attachment.

func (VcnDrgAttachmentNetworkUpdateDetails) MarshalJSON ¶

func (m VcnDrgAttachmentNetworkUpdateDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnDrgAttachmentNetworkUpdateDetails) String ¶

func (VcnDrgAttachmentNetworkUpdateDetails) ValidateEnumValue ¶

func (m VcnDrgAttachmentNetworkUpdateDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VcnLifecycleStateEnum ¶

type VcnLifecycleStateEnum string

VcnLifecycleStateEnum Enum with underlying type: string

const (
	VcnLifecycleStateProvisioning VcnLifecycleStateEnum = "PROVISIONING"
	VcnLifecycleStateAvailable    VcnLifecycleStateEnum = "AVAILABLE"
	VcnLifecycleStateTerminating  VcnLifecycleStateEnum = "TERMINATING"
	VcnLifecycleStateTerminated   VcnLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VcnLifecycleStateEnum

func GetMappingVcnLifecycleStateEnum ¶

func GetMappingVcnLifecycleStateEnum(val string) (VcnLifecycleStateEnum, bool)

GetMappingVcnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVcnLifecycleStateEnumValues ¶

func GetVcnLifecycleStateEnumValues() []VcnLifecycleStateEnum

GetVcnLifecycleStateEnumValues Enumerates the set of values for VcnLifecycleStateEnum

type VcnRoutingConfiguration ¶

type VcnRoutingConfiguration struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN route
	// table that allowed the traffic.
	VcnRouteTableId *string `mandatory:"true" json:"vcnRouteTableId"`

	RouteRule *RouteRule `mandatory:"true" json:"routeRule"`
}

VcnRoutingConfiguration Identifies the VCN route table and rule that allowed the traffic to be forwarded.

func (VcnRoutingConfiguration) MarshalJSON ¶

func (m VcnRoutingConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnRoutingConfiguration) String ¶

func (m VcnRoutingConfiguration) String() string

func (VcnRoutingConfiguration) ValidateEnumValue ¶

func (m VcnRoutingConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VcnTopology ¶

type VcnTopology struct {

	// Lists entities comprising the virtual network topology.
	Entities []interface{} `mandatory:"true" json:"entities"`

	// Lists relationships between entities in the virtual network topology.
	Relationships []TopologyEntityRelationship `mandatory:"true" json:"relationships"`

	// Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time.
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN for which the topology is generated.
	VcnId *string `mandatory:"false" json:"vcnId"`
}

VcnTopology Defines the representation of a virtual network topology for a VCN.

func (VcnTopology) GetEntities ¶

func (m VcnTopology) GetEntities() []interface{}

GetEntities returns Entities

func (VcnTopology) GetRelationships ¶

func (m VcnTopology) GetRelationships() []TopologyEntityRelationship

GetRelationships returns Relationships

func (VcnTopology) GetTimeCreated ¶

func (m VcnTopology) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VcnTopology) MarshalJSON ¶

func (m VcnTopology) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VcnTopology) String ¶

func (m VcnTopology) String() string

func (*VcnTopology) UnmarshalJSON ¶

func (m *VcnTopology) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (VcnTopology) ValidateEnumValue ¶

func (m VcnTopology) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VirtualCircuit ¶

type VirtualCircuit struct {

	// The provisioned data rate of the connection. To get a list of the
	// available bandwidth levels (that is, shapes), see
	// ListFastConnectProviderVirtualCircuitBandwidthShapes.
	// Example: `10 Gbps`
	BandwidthShapeName *string `mandatory:"false" json:"bandwidthShapeName"`

	// BGP management option.
	BgpManagement VirtualCircuitBgpManagementEnum `mandatory:"false" json:"bgpManagement,omitempty"`

	// The state of the BGP session associated with the virtual circuit.
	BgpSessionState VirtualCircuitBgpSessionStateEnum `mandatory:"false" json:"bgpSessionState,omitempty"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the virtual circuit.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// An array of mappings, each containing properties for a
	// cross-connect or cross-connect group that is associated with this
	// virtual circuit.
	CrossConnectMappings []CrossConnectMapping `mandatory:"false" json:"crossConnectMappings"`

	// The BGP ASN of the network at the other end of the BGP
	// session from Oracle. If the session is between the customer's
	// edge router and Oracle, the value is the customer's ASN. If the BGP
	// session is between the provider's edge router and Oracle, the value
	// is the provider's ASN.
	CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`

	// 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 customer's Drg
	// that this virtual circuit uses. Applicable only to private virtual circuits.
	GatewayId *string `mandatory:"false" json:"gatewayId"`

	// The virtual circuit's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
	Id *string `mandatory:"false" json:"id"`

	// The virtual circuit's current state. For information about
	// the different states, see
	// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
	LifecycleState VirtualCircuitLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// The Oracle BGP ASN.
	OracleBgpAsn *int `mandatory:"false" json:"oracleBgpAsn"`

	// Deprecated. Instead use `providerServiceId`.
	ProviderName *string `mandatory:"false" json:"providerName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if the customer is connecting via a provider).
	ProviderServiceId *string `mandatory:"false" json:"providerServiceId"`

	// Deprecated. Instead use `providerServiceId`.
	ProviderServiceName *string `mandatory:"false" json:"providerServiceName"`

	// The provider's state in relation to this virtual circuit (if the
	// customer is connecting via a provider). ACTIVE means
	// the provider has provisioned the virtual circuit from their end.
	// INACTIVE means the provider has not yet provisioned the virtual
	// circuit, or has de-provisioned it.
	ProviderState VirtualCircuitProviderStateEnum `mandatory:"false" json:"providerState,omitempty"`

	// For a public virtual circuit. The public IP prefixes (CIDRs) the customer wants to
	// advertise across the connection. All prefix sizes are allowed.
	PublicPrefixes []string `mandatory:"false" json:"publicPrefixes"`

	// Provider-supplied reference information about this virtual circuit
	// (if the customer is connecting via a provider).
	ReferenceComment *string `mandatory:"false" json:"referenceComment"`

	// The Oracle Cloud Infrastructure region where this virtual
	// circuit is located.
	Region *string `mandatory:"false" json:"region"`

	// Provider service type.
	ServiceType VirtualCircuitServiceTypeEnum `mandatory:"false" json:"serviceType,omitempty"`

	// The date and time the virtual circuit was created,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Whether the virtual circuit supports private or public peering. For more information,
	// see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
	Type VirtualCircuitTypeEnum `mandatory:"false" json:"type,omitempty"`
}

VirtualCircuit For use with Oracle Cloud Infrastructure FastConnect. A virtual circuit is an isolated network path that runs over one or more physical network connections to provide a single, logical connection between the edge router on the customer's existing network and Oracle Cloud Infrastructure. *Private* virtual circuits support private peering, and *public* virtual circuits support public peering. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). Each virtual circuit is made up of information shared between a customer, Oracle, and a provider (if the customer is using FastConnect via a provider). Who fills in a given property of a virtual circuit depends on whether the BGP session related to that virtual circuit goes from the customer's edge router to Oracle, or from the provider's edge router to Oracle. Also, in the case where the customer is using a provider, values for some of the properties may not be present immediately, but may get filled in as the provider and Oracle each do their part to provision the virtual circuit. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (VirtualCircuit) String ¶

func (m VirtualCircuit) String() string

func (VirtualCircuit) ValidateEnumValue ¶

func (m VirtualCircuit) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VirtualCircuitBandwidthShape ¶

type VirtualCircuitBandwidthShape struct {

	// The name of the bandwidth shape.
	// Example: `10 Gbps`
	Name *string `mandatory:"true" json:"name"`

	// The bandwidth in Mbps.
	// Example: `10000`
	BandwidthInMbps *int `mandatory:"false" json:"bandwidthInMbps"`
}

VirtualCircuitBandwidthShape An individual bandwidth level for virtual circuits.

func (VirtualCircuitBandwidthShape) String ¶

func (VirtualCircuitBandwidthShape) ValidateEnumValue ¶

func (m VirtualCircuitBandwidthShape) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VirtualCircuitBgpManagementEnum ¶

type VirtualCircuitBgpManagementEnum string

VirtualCircuitBgpManagementEnum Enum with underlying type: string

const (
	VirtualCircuitBgpManagementCustomerManaged VirtualCircuitBgpManagementEnum = "CUSTOMER_MANAGED"
	VirtualCircuitBgpManagementProviderManaged VirtualCircuitBgpManagementEnum = "PROVIDER_MANAGED"
	VirtualCircuitBgpManagementOracleManaged   VirtualCircuitBgpManagementEnum = "ORACLE_MANAGED"
)

Set of constants representing the allowable values for VirtualCircuitBgpManagementEnum

func GetMappingVirtualCircuitBgpManagementEnum ¶

func GetMappingVirtualCircuitBgpManagementEnum(val string) (VirtualCircuitBgpManagementEnum, bool)

GetMappingVirtualCircuitBgpManagementEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitBgpManagementEnumValues ¶

func GetVirtualCircuitBgpManagementEnumValues() []VirtualCircuitBgpManagementEnum

GetVirtualCircuitBgpManagementEnumValues Enumerates the set of values for VirtualCircuitBgpManagementEnum

type VirtualCircuitBgpSessionStateEnum ¶

type VirtualCircuitBgpSessionStateEnum string

VirtualCircuitBgpSessionStateEnum Enum with underlying type: string

const (
	VirtualCircuitBgpSessionStateUp   VirtualCircuitBgpSessionStateEnum = "UP"
	VirtualCircuitBgpSessionStateDown VirtualCircuitBgpSessionStateEnum = "DOWN"
)

Set of constants representing the allowable values for VirtualCircuitBgpSessionStateEnum

func GetMappingVirtualCircuitBgpSessionStateEnum ¶

func GetMappingVirtualCircuitBgpSessionStateEnum(val string) (VirtualCircuitBgpSessionStateEnum, bool)

GetMappingVirtualCircuitBgpSessionStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitBgpSessionStateEnumValues ¶

func GetVirtualCircuitBgpSessionStateEnumValues() []VirtualCircuitBgpSessionStateEnum

GetVirtualCircuitBgpSessionStateEnumValues Enumerates the set of values for VirtualCircuitBgpSessionStateEnum

type VirtualCircuitDrgAttachmentNetworkDetails ¶

type VirtualCircuitDrgAttachmentNetworkDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
	Id *string `mandatory:"true" json:"id"`
}

VirtualCircuitDrgAttachmentNetworkDetails Specifies the virtual circuit attached to the DRG.

func (VirtualCircuitDrgAttachmentNetworkDetails) GetId ¶

GetId returns Id

func (VirtualCircuitDrgAttachmentNetworkDetails) MarshalJSON ¶

func (m VirtualCircuitDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VirtualCircuitDrgAttachmentNetworkDetails) String ¶

func (VirtualCircuitDrgAttachmentNetworkDetails) ValidateEnumValue ¶

func (m VirtualCircuitDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VirtualCircuitLifecycleStateEnum ¶

type VirtualCircuitLifecycleStateEnum string

VirtualCircuitLifecycleStateEnum Enum with underlying type: string

const (
	VirtualCircuitLifecycleStatePendingProvider VirtualCircuitLifecycleStateEnum = "PENDING_PROVIDER"
	VirtualCircuitLifecycleStateVerifying       VirtualCircuitLifecycleStateEnum = "VERIFYING"
	VirtualCircuitLifecycleStateProvisioning    VirtualCircuitLifecycleStateEnum = "PROVISIONING"
	VirtualCircuitLifecycleStateProvisioned     VirtualCircuitLifecycleStateEnum = "PROVISIONED"
	VirtualCircuitLifecycleStateFailed          VirtualCircuitLifecycleStateEnum = "FAILED"
	VirtualCircuitLifecycleStateInactive        VirtualCircuitLifecycleStateEnum = "INACTIVE"
	VirtualCircuitLifecycleStateTerminating     VirtualCircuitLifecycleStateEnum = "TERMINATING"
	VirtualCircuitLifecycleStateTerminated      VirtualCircuitLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VirtualCircuitLifecycleStateEnum

func GetMappingVirtualCircuitLifecycleStateEnum ¶

func GetMappingVirtualCircuitLifecycleStateEnum(val string) (VirtualCircuitLifecycleStateEnum, bool)

GetMappingVirtualCircuitLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitLifecycleStateEnumValues ¶

func GetVirtualCircuitLifecycleStateEnumValues() []VirtualCircuitLifecycleStateEnum

GetVirtualCircuitLifecycleStateEnumValues Enumerates the set of values for VirtualCircuitLifecycleStateEnum

type VirtualCircuitProviderStateEnum ¶

type VirtualCircuitProviderStateEnum string

VirtualCircuitProviderStateEnum Enum with underlying type: string

const (
	VirtualCircuitProviderStateActive   VirtualCircuitProviderStateEnum = "ACTIVE"
	VirtualCircuitProviderStateInactive VirtualCircuitProviderStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for VirtualCircuitProviderStateEnum

func GetMappingVirtualCircuitProviderStateEnum ¶

func GetMappingVirtualCircuitProviderStateEnum(val string) (VirtualCircuitProviderStateEnum, bool)

GetMappingVirtualCircuitProviderStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitProviderStateEnumValues ¶

func GetVirtualCircuitProviderStateEnumValues() []VirtualCircuitProviderStateEnum

GetVirtualCircuitProviderStateEnumValues Enumerates the set of values for VirtualCircuitProviderStateEnum

type VirtualCircuitPublicPrefix ¶

type VirtualCircuitPublicPrefix struct {

	// Publix IP prefix (CIDR) that the customer specified.
	CidrBlock *string `mandatory:"true" json:"cidrBlock"`

	// Oracle must verify that the customer owns the public IP prefix before traffic
	// for that prefix can flow across the virtual circuit. Verification can take a
	// few business days. `IN_PROGRESS` means Oracle is verifying the prefix. `COMPLETED`
	// means verification succeeded. `FAILED` means verification failed and traffic for
	// this prefix will not flow across the connection.
	VerificationState VirtualCircuitPublicPrefixVerificationStateEnum `mandatory:"true" json:"verificationState"`
}

VirtualCircuitPublicPrefix A public IP prefix and its details. With a public virtual circuit, the customer specifies the customer-owned public IP prefixes to advertise across the connection. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).

func (VirtualCircuitPublicPrefix) String ¶

func (VirtualCircuitPublicPrefix) ValidateEnumValue ¶

func (m VirtualCircuitPublicPrefix) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VirtualCircuitPublicPrefixVerificationStateEnum ¶

type VirtualCircuitPublicPrefixVerificationStateEnum string

VirtualCircuitPublicPrefixVerificationStateEnum Enum with underlying type: string

const (
	VirtualCircuitPublicPrefixVerificationStateInProgress VirtualCircuitPublicPrefixVerificationStateEnum = "IN_PROGRESS"
	VirtualCircuitPublicPrefixVerificationStateCompleted  VirtualCircuitPublicPrefixVerificationStateEnum = "COMPLETED"
	VirtualCircuitPublicPrefixVerificationStateFailed     VirtualCircuitPublicPrefixVerificationStateEnum = "FAILED"
)

Set of constants representing the allowable values for VirtualCircuitPublicPrefixVerificationStateEnum

func GetMappingVirtualCircuitPublicPrefixVerificationStateEnum ¶

func GetMappingVirtualCircuitPublicPrefixVerificationStateEnum(val string) (VirtualCircuitPublicPrefixVerificationStateEnum, bool)

GetMappingVirtualCircuitPublicPrefixVerificationStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitPublicPrefixVerificationStateEnumValues ¶

func GetVirtualCircuitPublicPrefixVerificationStateEnumValues() []VirtualCircuitPublicPrefixVerificationStateEnum

GetVirtualCircuitPublicPrefixVerificationStateEnumValues Enumerates the set of values for VirtualCircuitPublicPrefixVerificationStateEnum

type VirtualCircuitServiceTypeEnum ¶

type VirtualCircuitServiceTypeEnum string

VirtualCircuitServiceTypeEnum Enum with underlying type: string

const (
	VirtualCircuitServiceTypeColocated VirtualCircuitServiceTypeEnum = "COLOCATED"
	VirtualCircuitServiceTypeLayer2    VirtualCircuitServiceTypeEnum = "LAYER2"
	VirtualCircuitServiceTypeLayer3    VirtualCircuitServiceTypeEnum = "LAYER3"
)

Set of constants representing the allowable values for VirtualCircuitServiceTypeEnum

func GetMappingVirtualCircuitServiceTypeEnum ¶

func GetMappingVirtualCircuitServiceTypeEnum(val string) (VirtualCircuitServiceTypeEnum, bool)

GetMappingVirtualCircuitServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitServiceTypeEnumValues ¶

func GetVirtualCircuitServiceTypeEnumValues() []VirtualCircuitServiceTypeEnum

GetVirtualCircuitServiceTypeEnumValues Enumerates the set of values for VirtualCircuitServiceTypeEnum

type VirtualCircuitTypeEnum ¶

type VirtualCircuitTypeEnum string

VirtualCircuitTypeEnum Enum with underlying type: string

const (
	VirtualCircuitTypePublic  VirtualCircuitTypeEnum = "PUBLIC"
	VirtualCircuitTypePrivate VirtualCircuitTypeEnum = "PRIVATE"
)

Set of constants representing the allowable values for VirtualCircuitTypeEnum

func GetMappingVirtualCircuitTypeEnum ¶

func GetMappingVirtualCircuitTypeEnum(val string) (VirtualCircuitTypeEnum, bool)

GetMappingVirtualCircuitTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVirtualCircuitTypeEnumValues ¶

func GetVirtualCircuitTypeEnumValues() []VirtualCircuitTypeEnum

GetVirtualCircuitTypeEnumValues Enumerates the set of values for VirtualCircuitTypeEnum

type VisibleTrafficNode ¶

type VisibleTrafficNode 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"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the OCI entity that
	// represents the traffic node (Instance, GW, LB, etc.).
	EntityId *string `mandatory:"false" json:"entityId"`

	// Describes how the traffic was transformed. For example, if an address is translated by a NAT GW,
	// the string will describe the translation: 'SNAT: 10.0.0.1->204.0.0.1'
	TransformationDescription *string `mandatory:"false" json:"transformationDescription"`
}

VisibleTrafficNode Defines the configuration of a traffic node that is visible to the user.

func (VisibleTrafficNode) GetEgressSecurityAction ¶

func (m VisibleTrafficNode) GetEgressSecurityAction() SecurityAction

GetEgressSecurityAction returns EgressSecurityAction

func (VisibleTrafficNode) GetEgressTraffic ¶

func (m VisibleTrafficNode) GetEgressTraffic() *EgressTrafficSpec

GetEgressTraffic returns EgressTraffic

func (VisibleTrafficNode) GetIngressSecurityAction ¶

func (m VisibleTrafficNode) GetIngressSecurityAction() SecurityAction

GetIngressSecurityAction returns IngressSecurityAction

func (VisibleTrafficNode) GetNextHopRoutingAction ¶

func (m VisibleTrafficNode) GetNextHopRoutingAction() RoutingAction

GetNextHopRoutingAction returns NextHopRoutingAction

func (VisibleTrafficNode) MarshalJSON ¶

func (m VisibleTrafficNode) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VisibleTrafficNode) String ¶

func (m VisibleTrafficNode) String() string

func (*VisibleTrafficNode) UnmarshalJSON ¶

func (m *VisibleTrafficNode) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (VisibleTrafficNode) ValidateEnumValue ¶

func (m VisibleTrafficNode) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VlanEndpoint ¶

type VlanEndpoint struct {

	// The IPv4 address of the `Endpoint`.
	Address *string `mandatory:"true" json:"address"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address.
	// This can be used to disambiguate which VLAN is queried, in case the endpoint IP
	// address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges).
	VlanId *string `mandatory:"true" json:"vlanId"`
}

VlanEndpoint Defines the details required for a VLAN-type `Endpoint`.

func (VlanEndpoint) MarshalJSON ¶

func (m VlanEndpoint) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VlanEndpoint) String ¶

func (m VlanEndpoint) String() string

func (VlanEndpoint) ValidateEnumValue ¶

func (m VlanEndpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VnMonitoringClient ¶

type VnMonitoringClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

VnMonitoringClient a client for VnMonitoring

func NewVnMonitoringClientWithConfigurationProvider ¶

func NewVnMonitoringClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client VnMonitoringClient, err error)

NewVnMonitoringClientWithConfigurationProvider Creates a new default VnMonitoring client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewVnMonitoringClientWithOboToken ¶

func NewVnMonitoringClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VnMonitoringClient, err error)

NewVnMonitoringClientWithOboToken Creates a new default VnMonitoring client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (VnMonitoringClient) ChangePathAnalyzerTestCompartment ¶

func (client VnMonitoringClient) ChangePathAnalyzerTestCompartment(ctx context.Context, request ChangePathAnalyzerTestCompartmentRequest) (response ChangePathAnalyzerTestCompartmentResponse, err error)

ChangePathAnalyzerTestCompartment Moves a `PathAnalyzerTest` resource from one compartment to another based on the identifier.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/ChangePathAnalyzerTestCompartment.go.html to see an example of how to use ChangePathAnalyzerTestCompartment API.

func (*VnMonitoringClient) ConfigurationProvider ¶

func (client *VnMonitoringClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (VnMonitoringClient) CreatePathAnalyzerTest ¶

func (client VnMonitoringClient) CreatePathAnalyzerTest(ctx context.Context, request CreatePathAnalyzerTestRequest) (response CreatePathAnalyzerTestResponse, err error)

CreatePathAnalyzerTest Creates a new `PathAnalyzerTest` resource.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/CreatePathAnalyzerTest.go.html to see an example of how to use CreatePathAnalyzerTest API.

func (VnMonitoringClient) DeletePathAnalyzerTest ¶

func (client VnMonitoringClient) DeletePathAnalyzerTest(ctx context.Context, request DeletePathAnalyzerTestRequest) (response DeletePathAnalyzerTestResponse, err error)

DeletePathAnalyzerTest Deletes a `PathAnalyzerTest` resource using its identifier.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/DeletePathAnalyzerTest.go.html to see an example of how to use DeletePathAnalyzerTest API.

func (VnMonitoringClient) GetPathAnalysis ¶

func (client VnMonitoringClient) GetPathAnalysis(ctx context.Context, request GetPathAnalysisRequest) (response GetPathAnalysisResponse, err error)

GetPathAnalysis Use this method to initiate a Network Path Analyzer (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) analysis. This method returns an opc-work-request-id, and you can poll the status of the work request until it either fails or succeeds. If the work request status is successful, use ListWorkRequestResults with the work request ID to ask for the successful analysis results. If the work request status is failed, use ListWorkRequestErrors with the work request ID to ask for the analysis failure information. The information returned from either of these methods can be used to build a final report.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/GetPathAnalysis.go.html to see an example of how to use GetPathAnalysis API.

func (VnMonitoringClient) GetPathAnalyzerTest ¶

func (client VnMonitoringClient) GetPathAnalyzerTest(ctx context.Context, request GetPathAnalyzerTestRequest) (response GetPathAnalyzerTestResponse, err error)

GetPathAnalyzerTest Gets a `PathAnalyzerTest` using its identifier.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/GetPathAnalyzerTest.go.html to see an example of how to use GetPathAnalyzerTest API.

func (VnMonitoringClient) GetWorkRequest ¶

func (client VnMonitoringClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the details of a work request.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.

func (VnMonitoringClient) ListPathAnalyzerTests ¶

func (client VnMonitoringClient) ListPathAnalyzerTests(ctx context.Context, request ListPathAnalyzerTestsRequest) (response ListPathAnalyzerTestsResponse, err error)

ListPathAnalyzerTests Returns a list of all `PathAnalyzerTests` in a compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/ListPathAnalyzerTests.go.html to see an example of how to use ListPathAnalyzerTests API.

func (VnMonitoringClient) ListWorkRequestErrors ¶

func (client VnMonitoringClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID. This information is used to build the final report output.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.

func (VnMonitoringClient) ListWorkRequestLogs ¶

func (client VnMonitoringClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.

func (VnMonitoringClient) ListWorkRequestResults ¶

func (client VnMonitoringClient) ListWorkRequestResults(ctx context.Context, request ListWorkRequestResultsRequest) (response ListWorkRequestResultsResponse, err error)

ListWorkRequestResults Returns a (paginated) list of results for a successful work request. This information is used to build the final report output.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/ListWorkRequestResults.go.html to see an example of how to use ListWorkRequestResults API.

func (VnMonitoringClient) ListWorkRequests ¶

func (client VnMonitoringClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.

func (*VnMonitoringClient) SetRegion ¶

func (client *VnMonitoringClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (VnMonitoringClient) UpdatePathAnalyzerTest ¶

func (client VnMonitoringClient) UpdatePathAnalyzerTest(ctx context.Context, request UpdatePathAnalyzerTestRequest) (response UpdatePathAnalyzerTestResponse, err error)

UpdatePathAnalyzerTest Updates a `PathAnalyzerTest` using its identifier.

See also ¶

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/vnmonitoring/UpdatePathAnalyzerTest.go.html to see an example of how to use UpdatePathAnalyzerTest API.

type Vnic ¶

type Vnic struct {

	// The VNIC's availability domain.
	// Example: `Uocm:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VNIC.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC.
	Id *string `mandatory:"true" json:"id"`

	// The current state of the VNIC.
	LifecycleState VnicLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The date and time the VNIC was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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, `bminstance-1` in FQDN `bminstance-1.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: `bminstance-1`
	HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

	// Whether the VNIC is the primary VNIC (the VNIC that is automatically created
	// and attached during instance launch).
	IsPrimary *bool `mandatory:"false" json:"isPrimary"`

	// The MAC address of the VNIC.
	// Example: `00:00:00:00:00:01`
	MacAddress *string `mandatory:"false" json:"macAddress"`

	// A list of the OCIDs of the network security groups that the VNIC belongs to.
	// For more information about NSGs, see
	// NetworkSecurityGroup.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The private IP address of the primary `privateIp` object on the VNIC.
	// The address is within the CIDR of the VNIC's subnet.
	// Example: `10.0.3.3`
	PrivateIp *string `mandatory:"false" json:"privateIp"`

	// The public IP address of the VNIC, if one is assigned.
	PublicIp *string `mandatory:"false" json:"publicIp"`

	// Whether the source/destination check is disabled on the VNIC.
	// Defaults to `false`, which means the check is performed. For information
	// about why you would skip the source/destination check, see
	// Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).
	//
	// Example: `true`
	SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`
}

Vnic A virtual network interface card. Each VNIC resides in a subnet in a VCN. An instance attaches to a VNIC to obtain a network connection into the VCN through that subnet. Each instance has a *primary VNIC* that is automatically created and attached during launch. You can add *secondary VNICs* to an instance after it's launched. For more information, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). Each VNIC has a *primary private IP* that is automatically assigned during launch. You can add *secondary private IPs* to a VNIC after it's created. For more information, see CreatePrivateIp and IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm).

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

func (Vnic) String ¶

func (m Vnic) String() string

func (Vnic) ValidateEnumValue ¶

func (m Vnic) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VnicEndpoint ¶

type VnicEndpoint struct {

	// The IPv4 address of a VNIC type `Endpoint`.
	Address *string `mandatory:"true" json:"address"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC.
	VnicId *string `mandatory:"true" json:"vnicId"`
}

VnicEndpoint Defines the details required for a VNIC-type `Endpoint`.

func (VnicEndpoint) MarshalJSON ¶

func (m VnicEndpoint) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (VnicEndpoint) String ¶

func (m VnicEndpoint) String() string

func (VnicEndpoint) ValidateEnumValue ¶

func (m VnicEndpoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VnicLifecycleStateEnum ¶

type VnicLifecycleStateEnum string

VnicLifecycleStateEnum Enum with underlying type: string

const (
	VnicLifecycleStateProvisioning VnicLifecycleStateEnum = "PROVISIONING"
	VnicLifecycleStateAvailable    VnicLifecycleStateEnum = "AVAILABLE"
	VnicLifecycleStateTerminating  VnicLifecycleStateEnum = "TERMINATING"
	VnicLifecycleStateTerminated   VnicLifecycleStateEnum = "TERMINATED"
)

Set of constants representing the allowable values for VnicLifecycleStateEnum

func GetMappingVnicLifecycleStateEnum ¶

func GetMappingVnicLifecycleStateEnum(val string) (VnicLifecycleStateEnum, bool)

GetMappingVnicLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVnicLifecycleStateEnumValues ¶

func GetVnicLifecycleStateEnumValues() []VnicLifecycleStateEnum

GetVnicLifecycleStateEnumValues Enumerates the set of values for VnicLifecycleStateEnum

type WorkRequest ¶

type WorkRequest struct {

	// Type of the work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The status of the work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The date and time the work request was created, in the format defined by  RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest An asynchronous work request.

func (WorkRequest) String ¶

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue ¶

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError ¶

type WorkRequestError struct {

	// A machine-usable code for the error that occured.
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the error occurred, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing an operation that is tracked by a work request.

func (WorkRequestError) String ¶

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue ¶

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection ¶

type WorkRequestErrorCollection struct {

	// List of `WorkRequestError` objects.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a `WorkRequestError` search.

func (WorkRequestErrorCollection) String ¶

func (WorkRequestErrorCollection) ValidateEnumValue ¶

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry ¶

type WorkRequestLogEntry struct {

	// A human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The date and time the log message was written, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.

func (WorkRequestLogEntry) String ¶

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue ¶

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection ¶

type WorkRequestLogEntryCollection struct {

	// List of work request log entries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a `WorkRequestLog` search.

func (WorkRequestLogEntryCollection) String ¶

func (WorkRequestLogEntryCollection) ValidateEnumValue ¶

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource ¶

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the `IN_PROGRESS` state until
	// work is complete for that resource at which point it will transition to `CREATED`, `UPDATED`,
	// or `DELETED`, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource the work request affects.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that you can do a GET operation on to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String ¶

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue ¶

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResult ¶

type WorkRequestResult interface {
}

WorkRequestResult Ephemeral data resulting from an asynchronous operation.

type WorkRequestResultCollection ¶

type WorkRequestResultCollection struct {

	// List of `WorkRequestResult` objects.
	Items []WorkRequestResult `mandatory:"true" json:"items"`
}

WorkRequestResultCollection Results of a `WorkRequestResult` search.

func (WorkRequestResultCollection) String ¶

func (*WorkRequestResultCollection) UnmarshalJSON ¶

func (m *WorkRequestResultCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (WorkRequestResultCollection) ValidateEnumValue ¶

func (m WorkRequestResultCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResultResultTypeEnum ¶

type WorkRequestResultResultTypeEnum string

WorkRequestResultResultTypeEnum Enum with underlying type: string

const (
	WorkRequestResultResultTypePathAnalysis WorkRequestResultResultTypeEnum = "PATH_ANALYSIS"
)

Set of constants representing the allowable values for WorkRequestResultResultTypeEnum

func GetMappingWorkRequestResultResultTypeEnum ¶

func GetMappingWorkRequestResultResultTypeEnum(val string) (WorkRequestResultResultTypeEnum, bool)

GetMappingWorkRequestResultResultTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResultResultTypeEnumValues ¶

func GetWorkRequestResultResultTypeEnumValues() []WorkRequestResultResultTypeEnum

GetWorkRequestResultResultTypeEnumValues Enumerates the set of values for WorkRequestResultResultTypeEnum

type WorkRequestSummary ¶

type WorkRequestSummary struct {

	// Type of the work request.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// that contains the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The status of the work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The date and time the work request was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`,
	// in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String ¶

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue ¶

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection ¶

type WorkRequestSummaryCollection struct {

	// List of `WorkRequestSummary` objects.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestSummaryCollection Results of a `WorkRequest` search.

func (WorkRequestSummaryCollection) String ¶

func (WorkRequestSummaryCollection) ValidateEnumValue ¶

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL