-
Notifications
You must be signed in to change notification settings - Fork 650
/
constants.go
115 lines (111 loc) · 5.14 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Copyright IBM Corp. 2022 All Rights Reserved.
// Licensed under the Mozilla Public License v2.0
package directlink
const (
dlGatewaysVirtualConnections = "gateway_vcs"
dlVCNetworkAccount = "network_account"
dlVCNetworkId = "network_id"
dlVCName = "name"
dlVCType = "type"
dlVCCreatedAt = "created_at"
dlVCStatus = "status"
dlGatewayId = "gateway"
ID = "id"
dlVirtualConnectionId = "virtual_connection_id"
dlVirtualConnectionName = "virtual_connection_name"
dlVirtualConnectionType = "virtual_connection_type"
dlActive = "active"
dlAsPath = "as_path"
dlAdvertisedRoutes = "advertised_routes"
dlAsPrepends = "as_prepends"
dlAuthenticationKey = "authentication_key"
dlBfdInterval = "bfd_interval"
dlBfdMultiplier = "bfd_multiplier"
dlBfdStatus = "bfd_status"
dlBfdStatusUpdatedAt = "bfd_status_updated_at"
dlBgpAsn = "bgp_asn"
dlBgpBaseCidr = "bgp_base_cidr"
dlBgpCerCidr = "bgp_cer_cidr"
dlBgpIbmAsn = "bgp_ibm_asn"
dlBgpIbmCidr = "bgp_ibm_cidr"
dlBgpStatus = "bgp_status"
dlBgpStatusUpdatedAt = "bgp_status_updated_at"
dlCarrierName = "carrier_name"
dlChangeRequest = "change_request"
dlCipherSuite = "cipher_suite"
dlCompletionNoticeRejectReason = "completion_notice_reject_reason"
dlConfidentialityOffset = "confidentiality_offset"
dlGatewayProvisioning = "configuring"
dlConnectionMode = "connection_mode"
dlCreatedAt = "created_at"
dlGatewayProvisioningRejected = "create_rejected"
dlCrossConnectRouter = "cross_connect_router"
dlCrn = "crn"
dlCryptographicAlgorithm = "cryptographic_algorithm"
dlCustomerName = "customer_name"
dlFallbackCak = "fallback_cak"
dlGlobal = "global"
dlKeyServerPriority = "key_server_priority"
dlLength = "length"
dlLoaRejectReason = "loa_reject_reason"
dlLocalPreference = "local_preference"
dlLocationDisplayName = "location_display_name"
dlLocationName = "location_name"
dlLinkStatus = "link_status"
dlLinkStatusUpdatedAt = "link_status_updated_at"
dlMacSecConfig = "macsec_config"
dlMetered = "metered"
dlName = "name"
dlOperationalStatus = "operational_status"
dlPolicy = "policy"
dlPort = "port"
dlPrimaryCak = "primary_cak"
dlProviderAPIManaged = "provider_api_managed"
dlGatewayProvisioningDone = "provisioned"
dlResourceGroup = "resource_group"
dlSakExpiryTime = "sak_expiry_time"
dlSpeedMbps = "speed_mbps"
dlMacSecConfigStatus = "status"
dlTags = "tags"
dlType = "type"
dlUpdatedAt = "updated_at"
dlVlan = "vlan"
dlRemoveVlan = "remove_vlan"
dlWindowSize = "window_size"
customerAccountID = "customer_account_id"
dlRouteReports = "route_reports"
dlPrefix = "prefix"
dlRouteReportNextHop = "next_hop"
dlGatewayRoutes = "gateway_routes"
dlOnPremRoutes = "on_prem_routes"
dlOverlappingRoutes = "overlapping_routes"
dlRoutes = "routes"
dlRouteReportStatus = "status"
dlVirtualConnectionRoutes = "virtual_connection_routes"
dlId = "id"
dlRouteReportPending = "pending"
dlRouteReportComplete = "complete"
dlRouteReportId = "route_report_id"
dlResourceId = "id"
dlExportRouteFilters = "export_route_filters"
dlImportRouteFilters = "import_route_filters"
dlAction = "action"
dlBefore = "before"
dlGe = "ge"
dlLe = "le"
dlExportRouteFilterId = "ex_filter_id"
dlImportRouteFilterId = "im_filter_id"
dlDefault_export_route_filter = "default_export_route_filter"
dlDefault_import_route_filter = "default_import_route_filter"
dlCustomerAction = "action"
dlGatewayActionUpdate = "actionupdate"
dlGatewayActionUpdateDone = "actionupdatedone"
dlGatewayDeleteActionUpdate = "deleteAction"
dlGatewayDeleteActionUpdateDone = "deleteActiondone"
)
func NewInt64Pointer(v int64) *int64 {
return &v
}
func NewStrPointer(v string) *string {
return &v
}