Skip to content

Commit 836866c

Browse files
authored
Releasing version 7 1 0 (#183)
GO SDK 7.1.0 Release
1 parent da5dd37 commit 836866c

File tree

144 files changed

+5896
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+5896
-143
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7+
## 7.1.0 - 2019-08-20
8+
### Added
9+
- Support for the Limits service
10+
- Support for archiving to Object Storage in the Streaming service
11+
- Support for etags on resources in the Streaming service
12+
- Support for Key Management service (KMS) encryption of file systems in the File Storage service
13+
- Support for moving public IP, DHCP, local peering gateway, internet gateway, network security group, and DRG attachment resources across compartments in the Networking service
14+
- Support for multi-origin, basic cache, certificate mapping, and OCI Monitoring service integration in the Web Application Acceleration and Security service
15+
716
## 7.0.0 - 2019-08-13
817
### Added
918
- Support for the Data Transfer service

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/add_security_rule_details.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ type AddSecurityRuleDetails struct {
2828
// Options are supported only for ICMP ("1"), TCP ("6"), UDP ("17"), and ICMPv6 ("58").
2929
Protocol *string `mandatory:"true" json:"protocol"`
3030

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

3434
// Conceptually, this is the range of IP addresses that a packet originating from the instance
3535
// can go to.
3636
// Allowed values:
3737
// * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
38+
// Note that IPv6 addressing is currently supported only in the Government Cloud.
3839
// * The `cidrBlock` value for a Service, if you're
3940
// setting up a security rule for traffic destined for a particular `Service` through
4041
// a service gateway. For example: `oci-phx-objectstorage`.
@@ -75,6 +76,7 @@ type AddSecurityRuleDetails struct {
7576
// can come from.
7677
// Allowed values:
7778
// * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`
79+
// Note that IPv6 addressing is currently supported only in the Government Cloud.
7880
// * The `cidrBlock` value for a Service, if you're
7981
// setting up a security rule for traffic coming from a particular `Service` through
8082
// a service gateway. For example: `oci-phx-objectstorage`.
@@ -88,7 +90,7 @@ type AddSecurityRuleDetails struct {
8890
// * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a
8991
// Service (the rule is for traffic coming from a
9092
// particular `Service` through a service gateway).
91-
// * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID of a
93+
// * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID of a
9294
// NetworkSecurityGroup.
9395
SourceType AddSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"`
9496

core/attach_vnic_details.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type AttachVnicDetails struct {
2626
InstanceId *string `mandatory:"true" json:"instanceId"`
2727

2828
// A user-friendly name for the attachment. Does not have to be unique, and it cannot be changed.
29+
// Avoid entering confidential information.
2930
DisplayName *string `mandatory:"false" json:"displayName"`
3031

3132
// Which physical network interface card (NIC) the VNIC will use. Defaults to 0.

core/capture_console_history_details.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ type CaptureConsoleHistoryDetails struct {
2828
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
2929

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

3334
// Free-form tags for this resource. Each tag is a simple key-value pair with no
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7+
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8+
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9+
// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10+
// block storage volumes.
11+
//
12+
13+
package core
14+
15+
import (
16+
"github.com/oracle/oci-go-sdk/common"
17+
)
18+
19+
// ChangeDhcpOptionsCompartmentDetails The configuration details for the move operation.
20+
type ChangeDhcpOptionsCompartmentDetails struct {
21+
22+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
23+
// set of DHCP options to.
24+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
25+
}
26+
27+
func (m ChangeDhcpOptionsCompartmentDetails) String() string {
28+
return common.PointerString(m)
29+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package core
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ChangeDhcpOptionsCompartmentRequest wrapper for the ChangeDhcpOptionsCompartment operation
12+
type ChangeDhcpOptionsCompartmentRequest struct {
13+
14+
// The OCID for the set of DHCP options.
15+
DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"`
16+
17+
// Request to change the compartment of a set of DHCP Options.
18+
ChangeDhcpOptionsCompartmentDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
// If you need to contact Oracle about a particular request, please provide the request ID.
22+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// may be rejected).
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// Metadata about the request. This information will not be transmitted to the service, but
32+
// represents information that the SDK will consume to drive retry behavior.
33+
RequestMetadata common.RequestMetadata
34+
}
35+
36+
func (request ChangeDhcpOptionsCompartmentRequest) String() string {
37+
return common.PointerString(request)
38+
}
39+
40+
// HTTPRequest implements the OCIRequest interface
41+
func (request ChangeDhcpOptionsCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) {
42+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
43+
}
44+
45+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
46+
func (request ChangeDhcpOptionsCompartmentRequest) RetryPolicy() *common.RetryPolicy {
47+
return request.RequestMetadata.RetryPolicy
48+
}
49+
50+
// ChangeDhcpOptionsCompartmentResponse wrapper for the ChangeDhcpOptionsCompartment operation
51+
type ChangeDhcpOptionsCompartmentResponse struct {
52+
53+
// The underlying http response
54+
RawResponse *http.Response
55+
56+
// For optimistic concurrency control. See `if-match`.
57+
Etag *string `presentIn:"header" name:"etag"`
58+
59+
// Unique Oracle-assigned identifier for the request. If you need to contact
60+
// Oracle about a particular request, please provide the request ID.
61+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
62+
}
63+
64+
func (response ChangeDhcpOptionsCompartmentResponse) String() string {
65+
return common.PointerString(response)
66+
}
67+
68+
// HTTPResponse implements the OCIResponse interface
69+
func (response ChangeDhcpOptionsCompartmentResponse) HTTPResponse() *http.Response {
70+
return response.RawResponse
71+
}

core/change_instance_compartment_request_response.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type ChangeInstanceCompartmentResponse struct {
6565
// Oracle about a particular request, please provide the request ID.
6666
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
6767

68-
// The OCID of the work request. Use GetWorkRequest
68+
// The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest)
6969
// with this ID to track the status of the request.
7070
OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
7171
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7+
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8+
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9+
// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10+
// block storage volumes.
11+
//
12+
13+
package core
14+
15+
import (
16+
"github.com/oracle/oci-go-sdk/common"
17+
)
18+
19+
// ChangeInternetGatewayCompartmentDetails The configuration details for the move operation.
20+
type ChangeInternetGatewayCompartmentDetails struct {
21+
22+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
23+
// internet gateway to.
24+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
25+
}
26+
27+
func (m ChangeInternetGatewayCompartmentDetails) String() string {
28+
return common.PointerString(m)
29+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package core
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ChangeInternetGatewayCompartmentRequest wrapper for the ChangeInternetGatewayCompartment operation
12+
type ChangeInternetGatewayCompartmentRequest struct {
13+
14+
// The OCID of the internet gateway.
15+
IgId *string `mandatory:"true" contributesTo:"path" name:"igId"`
16+
17+
// Request to change the compartment of an internet gateway.
18+
ChangeInternetGatewayCompartmentDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
// If you need to contact Oracle about a particular request, please provide the request ID.
22+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// may be rejected).
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// Metadata about the request. This information will not be transmitted to the service, but
32+
// represents information that the SDK will consume to drive retry behavior.
33+
RequestMetadata common.RequestMetadata
34+
}
35+
36+
func (request ChangeInternetGatewayCompartmentRequest) String() string {
37+
return common.PointerString(request)
38+
}
39+
40+
// HTTPRequest implements the OCIRequest interface
41+
func (request ChangeInternetGatewayCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) {
42+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
43+
}
44+
45+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
46+
func (request ChangeInternetGatewayCompartmentRequest) RetryPolicy() *common.RetryPolicy {
47+
return request.RequestMetadata.RetryPolicy
48+
}
49+
50+
// ChangeInternetGatewayCompartmentResponse wrapper for the ChangeInternetGatewayCompartment operation
51+
type ChangeInternetGatewayCompartmentResponse struct {
52+
53+
// The underlying http response
54+
RawResponse *http.Response
55+
56+
// For optimistic concurrency control. See `if-match`.
57+
Etag *string `presentIn:"header" name:"etag"`
58+
59+
// Unique Oracle-assigned identifier for the request. If you need to contact
60+
// Oracle about a particular request, please provide the request ID.
61+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
62+
}
63+
64+
func (response ChangeInternetGatewayCompartmentResponse) String() string {
65+
return common.PointerString(response)
66+
}
67+
68+
// HTTPResponse implements the OCIResponse interface
69+
func (response ChangeInternetGatewayCompartmentResponse) HTTPResponse() *http.Response {
70+
return response.RawResponse
71+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
// Core Services API
5+
//
6+
// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
7+
// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
8+
// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API
9+
// to manage resources such as virtual cloud networks (VCNs), compute instances, and
10+
// block storage volumes.
11+
//
12+
13+
package core
14+
15+
import (
16+
"github.com/oracle/oci-go-sdk/common"
17+
)
18+
19+
// ChangeLocalPeeringGatewayCompartmentDetails The configuration details for the move operation.
20+
type ChangeLocalPeeringGatewayCompartmentDetails struct {
21+
22+
// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the
23+
// local peering gateway to.
24+
CompartmentId *string `mandatory:"true" json:"compartmentId"`
25+
}
26+
27+
func (m ChangeLocalPeeringGatewayCompartmentDetails) String() string {
28+
return common.PointerString(m)
29+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2+
// Code generated. DO NOT EDIT.
3+
4+
package core
5+
6+
import (
7+
"github.com/oracle/oci-go-sdk/common"
8+
"net/http"
9+
)
10+
11+
// ChangeLocalPeeringGatewayCompartmentRequest wrapper for the ChangeLocalPeeringGatewayCompartment operation
12+
type ChangeLocalPeeringGatewayCompartmentRequest struct {
13+
14+
// The OCID of the local peering gateway.
15+
LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"`
16+
17+
// Request to change the compartment of a given local peering gateway.
18+
ChangeLocalPeeringGatewayCompartmentDetails `contributesTo:"body"`
19+
20+
// Unique identifier for the request.
21+
// If you need to contact Oracle about a particular request, please provide the request ID.
22+
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
23+
24+
// A token that uniquely identifies a request so it can be retried in case of a timeout or
25+
// server error without risk of executing that same action again. Retry tokens expire after 24
26+
// hours, but can be invalidated before then due to conflicting operations (for example, if a resource
27+
// has been deleted and purged from the system, then a retry of the original creation request
28+
// may be rejected).
29+
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
30+
31+
// Metadata about the request. This information will not be transmitted to the service, but
32+
// represents information that the SDK will consume to drive retry behavior.
33+
RequestMetadata common.RequestMetadata
34+
}
35+
36+
func (request ChangeLocalPeeringGatewayCompartmentRequest) String() string {
37+
return common.PointerString(request)
38+
}
39+
40+
// HTTPRequest implements the OCIRequest interface
41+
func (request ChangeLocalPeeringGatewayCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) {
42+
return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request)
43+
}
44+
45+
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
46+
func (request ChangeLocalPeeringGatewayCompartmentRequest) RetryPolicy() *common.RetryPolicy {
47+
return request.RequestMetadata.RetryPolicy
48+
}
49+
50+
// ChangeLocalPeeringGatewayCompartmentResponse wrapper for the ChangeLocalPeeringGatewayCompartment operation
51+
type ChangeLocalPeeringGatewayCompartmentResponse struct {
52+
53+
// The underlying http response
54+
RawResponse *http.Response
55+
56+
// For optimistic concurrency control. See `if-match`.
57+
Etag *string `presentIn:"header" name:"etag"`
58+
59+
// Unique Oracle-assigned identifier for the request. If you need to contact
60+
// Oracle about a particular request, please provide the request ID.
61+
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
62+
}
63+
64+
func (response ChangeLocalPeeringGatewayCompartmentResponse) String() string {
65+
return common.PointerString(response)
66+
}
67+
68+
// HTTPResponse implements the OCIResponse interface
69+
func (response ChangeLocalPeeringGatewayCompartmentResponse) HTTPResponse() *http.Response {
70+
return response.RawResponse
71+
}

0 commit comments

Comments
 (0)