oci 2.5.4 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/oci/core/compute_client.rb +2 -2
- data/lib/oci/core/core.rb +1 -0
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +1 -1
- data/lib/oci/core/models/boot_volume_attachment.rb +1 -1
- data/lib/oci/core/models/create_cross_connect_details.rb +20 -4
- data/lib/oci/core/models/create_cross_connect_group_details.rb +20 -4
- data/lib/oci/core/models/create_image_details.rb +1 -1
- data/lib/oci/core/models/create_virtual_circuit_details.rb +16 -1
- data/lib/oci/core/models/cross_connect.rb +17 -1
- data/lib/oci/core/models/cross_connect_group.rb +17 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +1 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +128 -1
- data/lib/oci/core/models/fast_connect_provider_service_key.rb +185 -0
- data/lib/oci/core/models/image_source_details.rb +2 -2
- data/lib/oci/core/models/launch_instance_details.rb +1 -1
- data/lib/oci/core/models/launch_options.rb +1 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +20 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +20 -4
- data/lib/oci/core/models/update_virtual_circuit_details.rb +16 -1
- data/lib/oci/core/models/virtual_circuit.rb +18 -2
- data/lib/oci/core/models/volume_attachment.rb +1 -1
- data/lib/oci/core/virtual_network_client.rb +57 -0
- data/lib/oci/key_management/kms_crypto_client.rb +4 -4
- data/lib/oci/key_management/kms_management_client.rb +13 -13
- data/lib/oci/key_management/kms_vault_client.rb +16 -16
- data/lib/oci/key_management/models/decrypted_data.rb +1 -1
- data/lib/oci/key_management/models/key.rb +3 -3
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +4 -4
- data/lib/oci/key_management/models/vault.rb +1 -1
- data/lib/oci/key_management/models/vault_summary.rb +1 -1
- data/lib/oci/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af639ff621d286e8511ecd0b878787d84116158380f1c2fe6024d6d930a91d8f
|
4
|
+
data.tar.gz: 14dc82ce98df05617cdfe2fc7c682a1a37f43043f4cce66d097ff061edd4dda9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba119a6299c6c8e0067098fb2e5d44778be8b1fa7183d704ae7f8d0c9002e4db0a43af9ae2d54032d0dc897f056b45b0bb287c20c976ae002c18956d46bf1381
|
7
|
+
data.tar.gz: 471a6001fafca5afc4aaeeda500af37314b607b29149f707e55fff5f2b74b38e0ac3396ff763461663825ecc2540177f851809993db6f54d3d4e995e6aea852b
|
data/README.md
CHANGED
@@ -435,7 +435,7 @@ module OCI
|
|
435
435
|
#
|
436
436
|
# When importing an image based on the Object Storage URL, use
|
437
437
|
# image_source_via_object_storage_uri_details.
|
438
|
-
# See [Object Storage URLs](https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [
|
438
|
+
# See [Object Storage URLs](https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [Using Pre-Authenticated Requests](https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm)
|
439
439
|
# for constructing URLs for image import/export.
|
440
440
|
#
|
441
441
|
# For more information about importing exported images, see
|
@@ -979,7 +979,7 @@ module OCI
|
|
979
979
|
# To perform an image export, you need write access to the Object Storage bucket for the image,
|
980
980
|
# see [Let Users Write Objects to Object Storage Buckets](https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm#Let4).
|
981
981
|
#
|
982
|
-
# See [Object Storage URLs](https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [
|
982
|
+
# See [Object Storage URLs](https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs) and [Using Pre-Authenticated Requests](https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm)
|
983
983
|
# for constructing URLs for image import/export.
|
984
984
|
#
|
985
985
|
# @param [String] image_id The OCID of the image.
|
data/lib/oci/core/core.rb
CHANGED
@@ -93,6 +93,7 @@ require 'oci/core/models/export_image_details'
|
|
93
93
|
require 'oci/core/models/export_image_via_object_storage_tuple_details'
|
94
94
|
require 'oci/core/models/export_image_via_object_storage_uri_details'
|
95
95
|
require 'oci/core/models/fast_connect_provider_service'
|
96
|
+
require 'oci/core/models/fast_connect_provider_service_key'
|
96
97
|
require 'oci/core/models/get_public_ip_by_ip_address_details'
|
97
98
|
require 'oci/core/models/get_public_ip_by_private_ip_id_details'
|
98
99
|
require 'oci/core/models/ip_sec_connection'
|
@@ -7,7 +7,7 @@ require_relative 'attach_volume_details'
|
|
7
7
|
module OCI
|
8
8
|
# AttachParavirtualizedVolumeDetails model.
|
9
9
|
class Core::Models::AttachParavirtualizedVolumeDetails < Core::Models::AttachVolumeDetails # rubocop:disable Metrics/LineLength
|
10
|
-
# Whether to enable
|
10
|
+
# Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
|
11
11
|
# @return [BOOLEAN]
|
12
12
|
attr_accessor :is_pv_encryption_in_transit_enabled
|
13
13
|
|
@@ -61,7 +61,7 @@ module OCI
|
|
61
61
|
# @return [DateTime]
|
62
62
|
attr_accessor :time_created
|
63
63
|
|
64
|
-
# Whether
|
64
|
+
# Whether in-transit encryption for the boot volume's paravirtualized attachment is enabled or not.
|
65
65
|
# @return [BOOLEAN]
|
66
66
|
attr_accessor :is_pv_encryption_in_transit_enabled
|
67
67
|
|
@@ -52,6 +52,12 @@ module OCI
|
|
52
52
|
# @return [String]
|
53
53
|
attr_accessor :port_speed_shape_name
|
54
54
|
|
55
|
+
# A reference name or identifier for the physical fiber connection that this cross-connect
|
56
|
+
# uses.
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :customer_reference_name
|
60
|
+
|
55
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
62
|
def self.attribute_map
|
57
63
|
{
|
@@ -62,7 +68,8 @@ module OCI
|
|
62
68
|
'far_cross_connect_or_cross_connect_group_id': :'farCrossConnectOrCrossConnectGroupId',
|
63
69
|
'location_name': :'locationName',
|
64
70
|
'near_cross_connect_or_cross_connect_group_id': :'nearCrossConnectOrCrossConnectGroupId',
|
65
|
-
'port_speed_shape_name': :'portSpeedShapeName'
|
71
|
+
'port_speed_shape_name': :'portSpeedShapeName',
|
72
|
+
'customer_reference_name': :'customerReferenceName'
|
66
73
|
# rubocop:enable Style/SymbolLiteral
|
67
74
|
}
|
68
75
|
end
|
@@ -77,7 +84,8 @@ module OCI
|
|
77
84
|
'far_cross_connect_or_cross_connect_group_id': :'String',
|
78
85
|
'location_name': :'String',
|
79
86
|
'near_cross_connect_or_cross_connect_group_id': :'String',
|
80
|
-
'port_speed_shape_name': :'String'
|
87
|
+
'port_speed_shape_name': :'String',
|
88
|
+
'customer_reference_name': :'String'
|
81
89
|
# rubocop:enable Style/SymbolLiteral
|
82
90
|
}
|
83
91
|
end
|
@@ -95,6 +103,7 @@ module OCI
|
|
95
103
|
# @option attributes [String] :location_name The value to assign to the {#location_name} property
|
96
104
|
# @option attributes [String] :near_cross_connect_or_cross_connect_group_id The value to assign to the {#near_cross_connect_or_cross_connect_group_id} property
|
97
105
|
# @option attributes [String] :port_speed_shape_name The value to assign to the {#port_speed_shape_name} property
|
106
|
+
# @option attributes [String] :customer_reference_name The value to assign to the {#customer_reference_name} property
|
98
107
|
def initialize(attributes = {})
|
99
108
|
return unless attributes.is_a?(Hash)
|
100
109
|
|
@@ -142,6 +151,12 @@ module OCI
|
|
142
151
|
raise 'You cannot provide both :portSpeedShapeName and :port_speed_shape_name' if attributes.key?(:'portSpeedShapeName') && attributes.key?(:'port_speed_shape_name')
|
143
152
|
|
144
153
|
self.port_speed_shape_name = attributes[:'port_speed_shape_name'] if attributes[:'port_speed_shape_name']
|
154
|
+
|
155
|
+
self.customer_reference_name = attributes[:'customerReferenceName'] if attributes[:'customerReferenceName']
|
156
|
+
|
157
|
+
raise 'You cannot provide both :customerReferenceName and :customer_reference_name' if attributes.key?(:'customerReferenceName') && attributes.key?(:'customer_reference_name')
|
158
|
+
|
159
|
+
self.customer_reference_name = attributes[:'customer_reference_name'] if attributes[:'customer_reference_name']
|
145
160
|
end
|
146
161
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
147
162
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
@@ -161,7 +176,8 @@ module OCI
|
|
161
176
|
far_cross_connect_or_cross_connect_group_id == other.far_cross_connect_or_cross_connect_group_id &&
|
162
177
|
location_name == other.location_name &&
|
163
178
|
near_cross_connect_or_cross_connect_group_id == other.near_cross_connect_or_cross_connect_group_id &&
|
164
|
-
port_speed_shape_name == other.port_speed_shape_name
|
179
|
+
port_speed_shape_name == other.port_speed_shape_name &&
|
180
|
+
customer_reference_name == other.customer_reference_name
|
165
181
|
end
|
166
182
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
167
183
|
|
@@ -177,7 +193,7 @@ module OCI
|
|
177
193
|
# Calculates hash code according to all attributes.
|
178
194
|
# @return [Fixnum] Hash code
|
179
195
|
def hash
|
180
|
-
[compartment_id, cross_connect_group_id, display_name, far_cross_connect_or_cross_connect_group_id, location_name, near_cross_connect_or_cross_connect_group_id, port_speed_shape_name].hash
|
196
|
+
[compartment_id, cross_connect_group_id, display_name, far_cross_connect_or_cross_connect_group_id, location_name, near_cross_connect_or_cross_connect_group_id, port_speed_shape_name, customer_reference_name].hash
|
181
197
|
end
|
182
198
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
183
199
|
|
@@ -16,12 +16,19 @@ module OCI
|
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :display_name
|
18
18
|
|
19
|
+
# A reference name or identifier for the physical fiber connection that this cross-connect
|
20
|
+
# group uses.
|
21
|
+
#
|
22
|
+
# @return [String]
|
23
|
+
attr_accessor :customer_reference_name
|
24
|
+
|
19
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
26
|
def self.attribute_map
|
21
27
|
{
|
22
28
|
# rubocop:disable Style/SymbolLiteral
|
23
29
|
'compartment_id': :'compartmentId',
|
24
|
-
'display_name': :'displayName'
|
30
|
+
'display_name': :'displayName',
|
31
|
+
'customer_reference_name': :'customerReferenceName'
|
25
32
|
# rubocop:enable Style/SymbolLiteral
|
26
33
|
}
|
27
34
|
end
|
@@ -31,7 +38,8 @@ module OCI
|
|
31
38
|
{
|
32
39
|
# rubocop:disable Style/SymbolLiteral
|
33
40
|
'compartment_id': :'String',
|
34
|
-
'display_name': :'String'
|
41
|
+
'display_name': :'String',
|
42
|
+
'customer_reference_name': :'String'
|
35
43
|
# rubocop:enable Style/SymbolLiteral
|
36
44
|
}
|
37
45
|
end
|
@@ -44,6 +52,7 @@ module OCI
|
|
44
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
45
53
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
46
54
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
55
|
+
# @option attributes [String] :customer_reference_name The value to assign to the {#customer_reference_name} property
|
47
56
|
def initialize(attributes = {})
|
48
57
|
return unless attributes.is_a?(Hash)
|
49
58
|
|
@@ -61,6 +70,12 @@ module OCI
|
|
61
70
|
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
62
71
|
|
63
72
|
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
73
|
+
|
74
|
+
self.customer_reference_name = attributes[:'customerReferenceName'] if attributes[:'customerReferenceName']
|
75
|
+
|
76
|
+
raise 'You cannot provide both :customerReferenceName and :customer_reference_name' if attributes.key?(:'customerReferenceName') && attributes.key?(:'customer_reference_name')
|
77
|
+
|
78
|
+
self.customer_reference_name = attributes[:'customer_reference_name'] if attributes[:'customer_reference_name']
|
64
79
|
end
|
65
80
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
66
81
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
@@ -75,7 +90,8 @@ module OCI
|
|
75
90
|
|
76
91
|
self.class == other.class &&
|
77
92
|
compartment_id == other.compartment_id &&
|
78
|
-
display_name == other.display_name
|
93
|
+
display_name == other.display_name &&
|
94
|
+
customer_reference_name == other.customer_reference_name
|
79
95
|
end
|
80
96
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
81
97
|
|
@@ -91,7 +107,7 @@ module OCI
|
|
91
107
|
# Calculates hash code according to all attributes.
|
92
108
|
# @return [Fixnum] Hash code
|
93
109
|
def hash
|
94
|
-
[compartment_id, display_name].hash
|
110
|
+
[compartment_id, display_name, customer_reference_name].hash
|
95
111
|
end
|
96
112
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
97
113
|
|
@@ -53,7 +53,7 @@ module OCI
|
|
53
53
|
attr_accessor :instance_id
|
54
54
|
|
55
55
|
# Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
|
56
|
-
# * `NATIVE` - VM instances launch with
|
56
|
+
# * `NATIVE` - VM instances launch with paravirtualized boot and VFIO devices. The default value for Oracle-provided images.
|
57
57
|
# * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
|
58
58
|
# * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using virtio drivers.
|
59
59
|
# * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
|
@@ -63,6 +63,11 @@ module OCI
|
|
63
63
|
# @return [String]
|
64
64
|
attr_accessor :provider_service_id
|
65
65
|
|
66
|
+
# The service key name offered by the provider (if the customer is connecting via a provider).
|
67
|
+
#
|
68
|
+
# @return [String]
|
69
|
+
attr_accessor :provider_service_key_name
|
70
|
+
|
66
71
|
# Deprecated. Instead use `providerServiceId`.
|
67
72
|
# To get a list of the provider names, see
|
68
73
|
# {#list_fast_connect_provider_services list_fast_connect_provider_services}.
|
@@ -102,6 +107,7 @@ module OCI
|
|
102
107
|
'gateway_id': :'gatewayId',
|
103
108
|
'provider_name': :'providerName',
|
104
109
|
'provider_service_id': :'providerServiceId',
|
110
|
+
'provider_service_key_name': :'providerServiceKeyName',
|
105
111
|
'provider_service_name': :'providerServiceName',
|
106
112
|
'public_prefixes': :'publicPrefixes',
|
107
113
|
'region': :'region',
|
@@ -122,6 +128,7 @@ module OCI
|
|
122
128
|
'gateway_id': :'String',
|
123
129
|
'provider_name': :'String',
|
124
130
|
'provider_service_id': :'String',
|
131
|
+
'provider_service_key_name': :'String',
|
125
132
|
'provider_service_name': :'String',
|
126
133
|
'public_prefixes': :'Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>',
|
127
134
|
'region': :'String',
|
@@ -144,6 +151,7 @@ module OCI
|
|
144
151
|
# @option attributes [String] :gateway_id The value to assign to the {#gateway_id} property
|
145
152
|
# @option attributes [String] :provider_name The value to assign to the {#provider_name} property
|
146
153
|
# @option attributes [String] :provider_service_id The value to assign to the {#provider_service_id} property
|
154
|
+
# @option attributes [String] :provider_service_key_name The value to assign to the {#provider_service_key_name} property
|
147
155
|
# @option attributes [String] :provider_service_name The value to assign to the {#provider_service_name} property
|
148
156
|
# @option attributes [Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>] :public_prefixes The value to assign to the {#public_prefixes} property
|
149
157
|
# @option attributes [String] :region The value to assign to the {#region} property
|
@@ -202,6 +210,12 @@ module OCI
|
|
202
210
|
|
203
211
|
self.provider_service_id = attributes[:'provider_service_id'] if attributes[:'provider_service_id']
|
204
212
|
|
213
|
+
self.provider_service_key_name = attributes[:'providerServiceKeyName'] if attributes[:'providerServiceKeyName']
|
214
|
+
|
215
|
+
raise 'You cannot provide both :providerServiceKeyName and :provider_service_key_name' if attributes.key?(:'providerServiceKeyName') && attributes.key?(:'provider_service_key_name')
|
216
|
+
|
217
|
+
self.provider_service_key_name = attributes[:'provider_service_key_name'] if attributes[:'provider_service_key_name']
|
218
|
+
|
205
219
|
self.provider_service_name = attributes[:'providerServiceName'] if attributes[:'providerServiceName']
|
206
220
|
|
207
221
|
raise 'You cannot provide both :providerServiceName and :provider_service_name' if attributes.key?(:'providerServiceName') && attributes.key?(:'provider_service_name')
|
@@ -248,6 +262,7 @@ module OCI
|
|
248
262
|
gateway_id == other.gateway_id &&
|
249
263
|
provider_name == other.provider_name &&
|
250
264
|
provider_service_id == other.provider_service_id &&
|
265
|
+
provider_service_key_name == other.provider_service_key_name &&
|
251
266
|
provider_service_name == other.provider_service_name &&
|
252
267
|
public_prefixes == other.public_prefixes &&
|
253
268
|
region == other.region &&
|
@@ -267,7 +282,7 @@ module OCI
|
|
267
282
|
# Calculates hash code according to all attributes.
|
268
283
|
# @return [Fixnum] Hash code
|
269
284
|
def hash
|
270
|
-
[bandwidth_shape_name, compartment_id, cross_connect_mappings, customer_bgp_asn, display_name, gateway_id, provider_name, provider_service_id, provider_service_name, public_prefixes, region, type].hash
|
285
|
+
[bandwidth_shape_name, compartment_id, cross_connect_mappings, customer_bgp_asn, display_name, gateway_id, provider_name, provider_service_id, provider_service_key_name, provider_service_name, public_prefixes, region, type].hash
|
271
286
|
end
|
272
287
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
273
288
|
|
@@ -73,6 +73,12 @@ module OCI
|
|
73
73
|
# @return [String]
|
74
74
|
attr_accessor :port_speed_shape_name
|
75
75
|
|
76
|
+
# A reference name or identifier for the physical fiber connection that this cross-connect
|
77
|
+
# uses.
|
78
|
+
#
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :customer_reference_name
|
81
|
+
|
76
82
|
# The date and time the cross-connect was created, in the format defined by RFC3339.
|
77
83
|
#
|
78
84
|
# Example: `2016-08-25T21:10:29.600Z`
|
@@ -92,6 +98,7 @@ module OCI
|
|
92
98
|
'location_name': :'locationName',
|
93
99
|
'port_name': :'portName',
|
94
100
|
'port_speed_shape_name': :'portSpeedShapeName',
|
101
|
+
'customer_reference_name': :'customerReferenceName',
|
95
102
|
'time_created': :'timeCreated'
|
96
103
|
# rubocop:enable Style/SymbolLiteral
|
97
104
|
}
|
@@ -109,6 +116,7 @@ module OCI
|
|
109
116
|
'location_name': :'String',
|
110
117
|
'port_name': :'String',
|
111
118
|
'port_speed_shape_name': :'String',
|
119
|
+
'customer_reference_name': :'String',
|
112
120
|
'time_created': :'DateTime'
|
113
121
|
# rubocop:enable Style/SymbolLiteral
|
114
122
|
}
|
@@ -128,6 +136,7 @@ module OCI
|
|
128
136
|
# @option attributes [String] :location_name The value to assign to the {#location_name} property
|
129
137
|
# @option attributes [String] :port_name The value to assign to the {#port_name} property
|
130
138
|
# @option attributes [String] :port_speed_shape_name The value to assign to the {#port_speed_shape_name} property
|
139
|
+
# @option attributes [String] :customer_reference_name The value to assign to the {#customer_reference_name} property
|
131
140
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
132
141
|
def initialize(attributes = {})
|
133
142
|
return unless attributes.is_a?(Hash)
|
@@ -179,6 +188,12 @@ module OCI
|
|
179
188
|
|
180
189
|
self.port_speed_shape_name = attributes[:'port_speed_shape_name'] if attributes[:'port_speed_shape_name']
|
181
190
|
|
191
|
+
self.customer_reference_name = attributes[:'customerReferenceName'] if attributes[:'customerReferenceName']
|
192
|
+
|
193
|
+
raise 'You cannot provide both :customerReferenceName and :customer_reference_name' if attributes.key?(:'customerReferenceName') && attributes.key?(:'customer_reference_name')
|
194
|
+
|
195
|
+
self.customer_reference_name = attributes[:'customer_reference_name'] if attributes[:'customer_reference_name']
|
196
|
+
|
182
197
|
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
183
198
|
|
184
199
|
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
@@ -220,6 +235,7 @@ module OCI
|
|
220
235
|
location_name == other.location_name &&
|
221
236
|
port_name == other.port_name &&
|
222
237
|
port_speed_shape_name == other.port_speed_shape_name &&
|
238
|
+
customer_reference_name == other.customer_reference_name &&
|
223
239
|
time_created == other.time_created
|
224
240
|
end
|
225
241
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
@@ -236,7 +252,7 @@ module OCI
|
|
236
252
|
# Calculates hash code according to all attributes.
|
237
253
|
# @return [Fixnum] Hash code
|
238
254
|
def hash
|
239
|
-
[compartment_id, cross_connect_group_id, display_name, id, lifecycle_state, location_name, port_name, port_speed_shape_name, time_created].hash
|
255
|
+
[compartment_id, cross_connect_group_id, display_name, id, lifecycle_state, location_name, port_name, port_speed_shape_name, customer_reference_name, time_created].hash
|
240
256
|
end
|
241
257
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
242
258
|
|
@@ -50,6 +50,12 @@ module OCI
|
|
50
50
|
# @return [String]
|
51
51
|
attr_reader :lifecycle_state
|
52
52
|
|
53
|
+
# A reference name or identifier for the physical fiber connection that this cross-connect
|
54
|
+
# group uses.
|
55
|
+
#
|
56
|
+
# @return [String]
|
57
|
+
attr_accessor :customer_reference_name
|
58
|
+
|
53
59
|
# The date and time the cross-connect group was created, in the format defined by RFC3339.
|
54
60
|
#
|
55
61
|
# Example: `2016-08-25T21:10:29.600Z`
|
@@ -65,6 +71,7 @@ module OCI
|
|
65
71
|
'display_name': :'displayName',
|
66
72
|
'id': :'id',
|
67
73
|
'lifecycle_state': :'lifecycleState',
|
74
|
+
'customer_reference_name': :'customerReferenceName',
|
68
75
|
'time_created': :'timeCreated'
|
69
76
|
# rubocop:enable Style/SymbolLiteral
|
70
77
|
}
|
@@ -78,6 +85,7 @@ module OCI
|
|
78
85
|
'display_name': :'String',
|
79
86
|
'id': :'String',
|
80
87
|
'lifecycle_state': :'String',
|
88
|
+
'customer_reference_name': :'String',
|
81
89
|
'time_created': :'DateTime'
|
82
90
|
# rubocop:enable Style/SymbolLiteral
|
83
91
|
}
|
@@ -93,6 +101,7 @@ module OCI
|
|
93
101
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
94
102
|
# @option attributes [String] :id The value to assign to the {#id} property
|
95
103
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
104
|
+
# @option attributes [String] :customer_reference_name The value to assign to the {#customer_reference_name} property
|
96
105
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
97
106
|
def initialize(attributes = {})
|
98
107
|
return unless attributes.is_a?(Hash)
|
@@ -120,6 +129,12 @@ module OCI
|
|
120
129
|
|
121
130
|
self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
|
122
131
|
|
132
|
+
self.customer_reference_name = attributes[:'customerReferenceName'] if attributes[:'customerReferenceName']
|
133
|
+
|
134
|
+
raise 'You cannot provide both :customerReferenceName and :customer_reference_name' if attributes.key?(:'customerReferenceName') && attributes.key?(:'customer_reference_name')
|
135
|
+
|
136
|
+
self.customer_reference_name = attributes[:'customer_reference_name'] if attributes[:'customer_reference_name']
|
137
|
+
|
123
138
|
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
124
139
|
|
125
140
|
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
@@ -157,6 +172,7 @@ module OCI
|
|
157
172
|
display_name == other.display_name &&
|
158
173
|
id == other.id &&
|
159
174
|
lifecycle_state == other.lifecycle_state &&
|
175
|
+
customer_reference_name == other.customer_reference_name &&
|
160
176
|
time_created == other.time_created
|
161
177
|
end
|
162
178
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
@@ -173,7 +189,7 @@ module OCI
|
|
173
189
|
# Calculates hash code according to all attributes.
|
174
190
|
# @return [Fixnum] Hash code
|
175
191
|
def hash
|
176
|
-
[compartment_id, display_name, id, lifecycle_state, time_created].hash
|
192
|
+
[compartment_id, display_name, id, lifecycle_state, customer_reference_name, time_created].hash
|
177
193
|
end
|
178
194
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
179
195
|
|
@@ -7,15 +7,15 @@ require_relative 'export_image_details'
|
|
7
7
|
module OCI
|
8
8
|
# ExportImageViaObjectStorageTupleDetails model.
|
9
9
|
class Core::Models::ExportImageViaObjectStorageTupleDetails < Core::Models::ExportImageDetails # rubocop:disable Metrics/LineLength
|
10
|
-
# The Object Storage bucket to export the image to.
|
10
|
+
# **[Required]** The Object Storage bucket to export the image to.
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :bucket_name
|
13
13
|
|
14
|
-
# The Object Storage namespace to export the image to.
|
14
|
+
# **[Required]** The Object Storage namespace to export the image to.
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :namespace_name
|
17
17
|
|
18
|
-
# The Object Storage object name for the exported image.
|
18
|
+
# **[Required]** The Object Storage object name for the exported image.
|
19
19
|
# @return [String]
|
20
20
|
attr_accessor :object_name
|
21
21
|
|
@@ -8,7 +8,7 @@ module OCI
|
|
8
8
|
# ExportImageViaObjectStorageUriDetails model.
|
9
9
|
class Core::Models::ExportImageViaObjectStorageUriDetails < Core::Models::ExportImageDetails # rubocop:disable Metrics/LineLength
|
10
10
|
# **[Required]** The Object Storage URL to export the image to. See [Object Storage URLs](https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs)
|
11
|
-
# and [
|
11
|
+
# and [Using Pre-Authenticated Requests](https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm) for constructing URLs for image import/export.
|
12
12
|
#
|
13
13
|
# @return [String]
|
14
14
|
attr_accessor :destination_uri
|
@@ -29,6 +29,27 @@ module OCI
|
|
29
29
|
SUPPORTED_VIRTUAL_CIRCUIT_TYPES_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
30
30
|
].freeze
|
31
31
|
|
32
|
+
CUSTOMER_ASN_MANAGEMENT_ENUM = [
|
33
|
+
CUSTOMER_ASN_MANAGEMENT_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED'.freeze,
|
34
|
+
CUSTOMER_ASN_MANAGEMENT_PROVIDER_MANAGED = 'PROVIDER_MANAGED'.freeze,
|
35
|
+
CUSTOMER_ASN_MANAGEMENT_ORACLE_MANAGED = 'ORACLE_MANAGED'.freeze,
|
36
|
+
CUSTOMER_ASN_MANAGEMENT_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
37
|
+
].freeze
|
38
|
+
|
39
|
+
PROVIDER_SERVICE_KEY_MANAGEMENT_ENUM = [
|
40
|
+
PROVIDER_SERVICE_KEY_MANAGEMENT_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED'.freeze,
|
41
|
+
PROVIDER_SERVICE_KEY_MANAGEMENT_PROVIDER_MANAGED = 'PROVIDER_MANAGED'.freeze,
|
42
|
+
PROVIDER_SERVICE_KEY_MANAGEMENT_ORACLE_MANAGED = 'ORACLE_MANAGED'.freeze,
|
43
|
+
PROVIDER_SERVICE_KEY_MANAGEMENT_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
44
|
+
].freeze
|
45
|
+
|
46
|
+
BANDWITH_SHAPE_MANAGEMENT_ENUM = [
|
47
|
+
BANDWITH_SHAPE_MANAGEMENT_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED'.freeze,
|
48
|
+
BANDWITH_SHAPE_MANAGEMENT_PROVIDER_MANAGED = 'PROVIDER_MANAGED'.freeze,
|
49
|
+
BANDWITH_SHAPE_MANAGEMENT_ORACLE_MANAGED = 'ORACLE_MANAGED'.freeze,
|
50
|
+
BANDWITH_SHAPE_MANAGEMENT_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
51
|
+
].freeze
|
52
|
+
|
32
53
|
TYPE_ENUM = [
|
33
54
|
TYPE_LAYER2 = 'LAYER2'.freeze,
|
34
55
|
TYPE_LAYER3 = 'LAYER3'.freeze,
|
@@ -70,6 +91,27 @@ module OCI
|
|
70
91
|
# @return [Array<String>]
|
71
92
|
attr_reader :supported_virtual_circuit_types
|
72
93
|
|
94
|
+
# **[Required]** Who is responsible for managing the ASN information for the network at the other end
|
95
|
+
# of the connection from Oracle.
|
96
|
+
#
|
97
|
+
# @return [String]
|
98
|
+
attr_reader :customer_asn_management
|
99
|
+
|
100
|
+
# **[Required]** Who is responsible for managing the provider service key.
|
101
|
+
#
|
102
|
+
# @return [String]
|
103
|
+
attr_reader :provider_service_key_management
|
104
|
+
|
105
|
+
# **[Required]** Who is responsible for managing the virtual circuit bandwidth.
|
106
|
+
#
|
107
|
+
# @return [String]
|
108
|
+
attr_reader :bandwith_shape_management
|
109
|
+
|
110
|
+
# **[Required]** Total number of cross-connect or cross-connect groups required for the virtual circuit.
|
111
|
+
#
|
112
|
+
# @return [Integer]
|
113
|
+
attr_accessor :required_total_cross_connects
|
114
|
+
|
73
115
|
# **[Required]** Provider service type.
|
74
116
|
#
|
75
117
|
# @return [String]
|
@@ -86,6 +128,10 @@ module OCI
|
|
86
128
|
'provider_service_name': :'providerServiceName',
|
87
129
|
'public_peering_bgp_management': :'publicPeeringBgpManagement',
|
88
130
|
'supported_virtual_circuit_types': :'supportedVirtualCircuitTypes',
|
131
|
+
'customer_asn_management': :'customerAsnManagement',
|
132
|
+
'provider_service_key_management': :'providerServiceKeyManagement',
|
133
|
+
'bandwith_shape_management': :'bandwithShapeManagement',
|
134
|
+
'required_total_cross_connects': :'requiredTotalCrossConnects',
|
89
135
|
'type': :'type'
|
90
136
|
# rubocop:enable Style/SymbolLiteral
|
91
137
|
}
|
@@ -102,6 +148,10 @@ module OCI
|
|
102
148
|
'provider_service_name': :'String',
|
103
149
|
'public_peering_bgp_management': :'String',
|
104
150
|
'supported_virtual_circuit_types': :'Array<String>',
|
151
|
+
'customer_asn_management': :'String',
|
152
|
+
'provider_service_key_management': :'String',
|
153
|
+
'bandwith_shape_management': :'String',
|
154
|
+
'required_total_cross_connects': :'Integer',
|
105
155
|
'type': :'String'
|
106
156
|
# rubocop:enable Style/SymbolLiteral
|
107
157
|
}
|
@@ -120,6 +170,10 @@ module OCI
|
|
120
170
|
# @option attributes [String] :provider_service_name The value to assign to the {#provider_service_name} property
|
121
171
|
# @option attributes [String] :public_peering_bgp_management The value to assign to the {#public_peering_bgp_management} property
|
122
172
|
# @option attributes [Array<String>] :supported_virtual_circuit_types The value to assign to the {#supported_virtual_circuit_types} property
|
173
|
+
# @option attributes [String] :customer_asn_management The value to assign to the {#customer_asn_management} property
|
174
|
+
# @option attributes [String] :provider_service_key_management The value to assign to the {#provider_service_key_management} property
|
175
|
+
# @option attributes [String] :bandwith_shape_management The value to assign to the {#bandwith_shape_management} property
|
176
|
+
# @option attributes [Integer] :required_total_cross_connects The value to assign to the {#required_total_cross_connects} property
|
123
177
|
# @option attributes [String] :type The value to assign to the {#type} property
|
124
178
|
def initialize(attributes = {})
|
125
179
|
return unless attributes.is_a?(Hash)
|
@@ -161,6 +215,30 @@ module OCI
|
|
161
215
|
|
162
216
|
self.supported_virtual_circuit_types = attributes[:'supported_virtual_circuit_types'] if attributes[:'supported_virtual_circuit_types']
|
163
217
|
|
218
|
+
self.customer_asn_management = attributes[:'customerAsnManagement'] if attributes[:'customerAsnManagement']
|
219
|
+
|
220
|
+
raise 'You cannot provide both :customerAsnManagement and :customer_asn_management' if attributes.key?(:'customerAsnManagement') && attributes.key?(:'customer_asn_management')
|
221
|
+
|
222
|
+
self.customer_asn_management = attributes[:'customer_asn_management'] if attributes[:'customer_asn_management']
|
223
|
+
|
224
|
+
self.provider_service_key_management = attributes[:'providerServiceKeyManagement'] if attributes[:'providerServiceKeyManagement']
|
225
|
+
|
226
|
+
raise 'You cannot provide both :providerServiceKeyManagement and :provider_service_key_management' if attributes.key?(:'providerServiceKeyManagement') && attributes.key?(:'provider_service_key_management')
|
227
|
+
|
228
|
+
self.provider_service_key_management = attributes[:'provider_service_key_management'] if attributes[:'provider_service_key_management']
|
229
|
+
|
230
|
+
self.bandwith_shape_management = attributes[:'bandwithShapeManagement'] if attributes[:'bandwithShapeManagement']
|
231
|
+
|
232
|
+
raise 'You cannot provide both :bandwithShapeManagement and :bandwith_shape_management' if attributes.key?(:'bandwithShapeManagement') && attributes.key?(:'bandwith_shape_management')
|
233
|
+
|
234
|
+
self.bandwith_shape_management = attributes[:'bandwith_shape_management'] if attributes[:'bandwith_shape_management']
|
235
|
+
|
236
|
+
self.required_total_cross_connects = attributes[:'requiredTotalCrossConnects'] if attributes[:'requiredTotalCrossConnects']
|
237
|
+
|
238
|
+
raise 'You cannot provide both :requiredTotalCrossConnects and :required_total_cross_connects' if attributes.key?(:'requiredTotalCrossConnects') && attributes.key?(:'required_total_cross_connects')
|
239
|
+
|
240
|
+
self.required_total_cross_connects = attributes[:'required_total_cross_connects'] if attributes[:'required_total_cross_connects']
|
241
|
+
|
164
242
|
self.type = attributes[:'type'] if attributes[:'type']
|
165
243
|
end
|
166
244
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
@@ -218,6 +296,51 @@ module OCI
|
|
218
296
|
# rubocop:enable Style/ConditionalAssignment
|
219
297
|
end
|
220
298
|
|
299
|
+
# Custom attribute writer method checking allowed values (enum).
|
300
|
+
# @param [Object] customer_asn_management Object to be assigned
|
301
|
+
def customer_asn_management=(customer_asn_management)
|
302
|
+
# rubocop:disable Style/ConditionalAssignment
|
303
|
+
if customer_asn_management && !CUSTOMER_ASN_MANAGEMENT_ENUM.include?(customer_asn_management)
|
304
|
+
# rubocop: disable Metrics/LineLength
|
305
|
+
OCI.logger.debug("Unknown value for 'customer_asn_management' [" + customer_asn_management + "]. Mapping to 'CUSTOMER_ASN_MANAGEMENT_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
306
|
+
# rubocop: enable Metrics/LineLength
|
307
|
+
@customer_asn_management = CUSTOMER_ASN_MANAGEMENT_UNKNOWN_ENUM_VALUE
|
308
|
+
else
|
309
|
+
@customer_asn_management = customer_asn_management
|
310
|
+
end
|
311
|
+
# rubocop:enable Style/ConditionalAssignment
|
312
|
+
end
|
313
|
+
|
314
|
+
# Custom attribute writer method checking allowed values (enum).
|
315
|
+
# @param [Object] provider_service_key_management Object to be assigned
|
316
|
+
def provider_service_key_management=(provider_service_key_management)
|
317
|
+
# rubocop:disable Style/ConditionalAssignment
|
318
|
+
if provider_service_key_management && !PROVIDER_SERVICE_KEY_MANAGEMENT_ENUM.include?(provider_service_key_management)
|
319
|
+
# rubocop: disable Metrics/LineLength
|
320
|
+
OCI.logger.debug("Unknown value for 'provider_service_key_management' [" + provider_service_key_management + "]. Mapping to 'PROVIDER_SERVICE_KEY_MANAGEMENT_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
321
|
+
# rubocop: enable Metrics/LineLength
|
322
|
+
@provider_service_key_management = PROVIDER_SERVICE_KEY_MANAGEMENT_UNKNOWN_ENUM_VALUE
|
323
|
+
else
|
324
|
+
@provider_service_key_management = provider_service_key_management
|
325
|
+
end
|
326
|
+
# rubocop:enable Style/ConditionalAssignment
|
327
|
+
end
|
328
|
+
|
329
|
+
# Custom attribute writer method checking allowed values (enum).
|
330
|
+
# @param [Object] bandwith_shape_management Object to be assigned
|
331
|
+
def bandwith_shape_management=(bandwith_shape_management)
|
332
|
+
# rubocop:disable Style/ConditionalAssignment
|
333
|
+
if bandwith_shape_management && !BANDWITH_SHAPE_MANAGEMENT_ENUM.include?(bandwith_shape_management)
|
334
|
+
# rubocop: disable Metrics/LineLength
|
335
|
+
OCI.logger.debug("Unknown value for 'bandwith_shape_management' [" + bandwith_shape_management + "]. Mapping to 'BANDWITH_SHAPE_MANAGEMENT_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
336
|
+
# rubocop: enable Metrics/LineLength
|
337
|
+
@bandwith_shape_management = BANDWITH_SHAPE_MANAGEMENT_UNKNOWN_ENUM_VALUE
|
338
|
+
else
|
339
|
+
@bandwith_shape_management = bandwith_shape_management
|
340
|
+
end
|
341
|
+
# rubocop:enable Style/ConditionalAssignment
|
342
|
+
end
|
343
|
+
|
221
344
|
# Custom attribute writer method checking allowed values (enum).
|
222
345
|
# @param [Object] type Object to be assigned
|
223
346
|
def type=(type)
|
@@ -249,6 +372,10 @@ module OCI
|
|
249
372
|
provider_service_name == other.provider_service_name &&
|
250
373
|
public_peering_bgp_management == other.public_peering_bgp_management &&
|
251
374
|
supported_virtual_circuit_types == other.supported_virtual_circuit_types &&
|
375
|
+
customer_asn_management == other.customer_asn_management &&
|
376
|
+
provider_service_key_management == other.provider_service_key_management &&
|
377
|
+
bandwith_shape_management == other.bandwith_shape_management &&
|
378
|
+
required_total_cross_connects == other.required_total_cross_connects &&
|
252
379
|
type == other.type
|
253
380
|
end
|
254
381
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
@@ -265,7 +392,7 @@ module OCI
|
|
265
392
|
# Calculates hash code according to all attributes.
|
266
393
|
# @return [Fixnum] Hash code
|
267
394
|
def hash
|
268
|
-
[description, id, private_peering_bgp_management, provider_name, provider_service_name, public_peering_bgp_management, supported_virtual_circuit_types, type].hash
|
395
|
+
[description, id, private_peering_bgp_management, provider_name, provider_service_name, public_peering_bgp_management, supported_virtual_circuit_types, customer_asn_management, provider_service_key_management, bandwith_shape_management, required_total_cross_connects, type].hash
|
269
396
|
end
|
270
397
|
# rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
|
271
398
|
|