diff --git a/builder/oracle/oci/artifact.go b/builder/oracle/oci/artifact.go index cfe37c571..b5784d9a6 100644 --- a/builder/oracle/oci/artifact.go +++ b/builder/oracle/oci/artifact.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/oracle/oci-go-sdk/core" + "github.com/oracle/oci-go-sdk/v36/core" ) // Artifact is an artifact implementation that contains a built Custom Image. diff --git a/builder/oracle/oci/builder.go b/builder/oracle/oci/builder.go index 55247ee8c..7ed18c761 100644 --- a/builder/oracle/oci/builder.go +++ b/builder/oracle/oci/builder.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/packer-plugin-sdk/multistep/commonsteps" packersdk "github.com/hashicorp/packer-plugin-sdk/packer" ocommon "github.com/hashicorp/packer/builder/oracle/common" - "github.com/oracle/oci-go-sdk/core" + "github.com/oracle/oci-go-sdk/v36/core" ) // BuilderId uniquely identifies the builder diff --git a/builder/oracle/oci/config.go b/builder/oracle/oci/config.go index 11cb1f69f..7391e7693 100644 --- a/builder/oracle/oci/config.go +++ b/builder/oracle/oci/config.go @@ -19,8 +19,8 @@ import ( "github.com/hashicorp/packer-plugin-sdk/pathing" "github.com/hashicorp/packer-plugin-sdk/template/config" "github.com/hashicorp/packer-plugin-sdk/template/interpolate" - ocicommon "github.com/oracle/oci-go-sdk/common" - ociauth "github.com/oracle/oci-go-sdk/common/auth" + ocicommon "github.com/oracle/oci-go-sdk/v36/common" + ociauth "github.com/oracle/oci-go-sdk/v36/common/auth" ) type CreateVNICDetails struct { @@ -222,7 +222,7 @@ func (c *Config) Prepare(raws ...interface{}) error { } providers := []ocicommon.ConfigurationProvider{ - NewRawConfigurationProvider(c.TenancyID, c.UserID, c.Region, c.Fingerprint, string(keyContent), &c.PassPhrase), + ocicommon.NewRawConfigurationProvider(c.TenancyID, c.UserID, c.Region, c.Fingerprint, string(keyContent), &c.PassPhrase), } if fileProvider != nil { diff --git a/builder/oracle/oci/config_provider.go b/builder/oracle/oci/config_provider.go deleted file mode 100644 index 25d467a4c..000000000 --- a/builder/oracle/oci/config_provider.go +++ /dev/null @@ -1,76 +0,0 @@ -package oci - -import ( - "crypto/rsa" - "errors" - "fmt" - - "github.com/oracle/oci-go-sdk/common" -) - -// rawConfigurationProvider allows a user to simply construct a configuration -// provider from raw values. It errors on access when those values are empty. -type rawConfigurationProvider struct { - tenancy string - user string - region string - fingerprint string - privateKey string - privateKeyPassphrase *string -} - -// NewRawConfigurationProvider will create a rawConfigurationProvider. -func NewRawConfigurationProvider(tenancy, user, region, fingerprint, privateKey string, privateKeyPassphrase *string) common.ConfigurationProvider { - return rawConfigurationProvider{tenancy, user, region, fingerprint, privateKey, privateKeyPassphrase} -} - -func (p rawConfigurationProvider) PrivateRSAKey() (key *rsa.PrivateKey, err error) { - return common.PrivateKeyFromBytes([]byte(p.privateKey), p.privateKeyPassphrase) -} - -func (p rawConfigurationProvider) KeyID() (keyID string, err error) { - tenancy, err := p.TenancyOCID() - if err != nil { - return - } - - user, err := p.UserOCID() - if err != nil { - return - } - - fingerprint, err := p.KeyFingerprint() - if err != nil { - return - } - - return fmt.Sprintf("%s/%s/%s", tenancy, user, fingerprint), nil -} - -func (p rawConfigurationProvider) TenancyOCID() (string, error) { - if p.tenancy == "" { - return "", errors.New("no tenancy provided") - } - return p.tenancy, nil -} - -func (p rawConfigurationProvider) UserOCID() (string, error) { - if p.user == "" { - return "", errors.New("no user provided") - } - return p.user, nil -} - -func (p rawConfigurationProvider) KeyFingerprint() (string, error) { - if p.fingerprint == "" { - return "", errors.New("no fingerprint provided") - } - return p.fingerprint, nil -} - -func (p rawConfigurationProvider) Region() (string, error) { - if p.region == "" { - return "", errors.New("no region provided") - } - return p.region, nil -} diff --git a/builder/oracle/oci/config_test.go b/builder/oracle/oci/config_test.go index 7ab3203cb..631acef5d 100644 --- a/builder/oracle/oci/config_test.go +++ b/builder/oracle/oci/config_test.go @@ -131,7 +131,7 @@ func TestConfig(t *testing.T) { t.Run("NoAccessConfig", func(t *testing.T) { raw := testConfig(cfgFile) - delete(raw, "access_cfg_file") + raw["access_cfg_file"] = "/tmp/random/access/config/file/should/not/exist" var c Config errs := c.Prepare(raw) @@ -140,6 +140,10 @@ func TestConfig(t *testing.T) { "'user_ocid'", "'tenancy_ocid'", "'fingerprint'", "'key_file'", } + if errs == nil { + t.Fatalf("Expected errors %q but got none", expectedErrors) + } + s := errs.Error() for _, expected := range expectedErrors { if !strings.Contains(s, expected) { diff --git a/builder/oracle/oci/driver.go b/builder/oracle/oci/driver.go index 4e6013bbd..cdad1c4e6 100644 --- a/builder/oracle/oci/driver.go +++ b/builder/oracle/oci/driver.go @@ -3,7 +3,7 @@ package oci import ( "context" - "github.com/oracle/oci-go-sdk/core" + "github.com/oracle/oci-go-sdk/v36/core" ) // Driver interfaces between the builder steps and the OCI SDK. diff --git a/builder/oracle/oci/driver_mock.go b/builder/oracle/oci/driver_mock.go index df478998c..708067193 100644 --- a/builder/oracle/oci/driver_mock.go +++ b/builder/oracle/oci/driver_mock.go @@ -3,7 +3,7 @@ package oci import ( "context" - "github.com/oracle/oci-go-sdk/core" + "github.com/oracle/oci-go-sdk/v36/core" ) // driverMock implements the Driver interface and communicates with Oracle diff --git a/builder/oracle/oci/driver_oci.go b/builder/oracle/oci/driver_oci.go index c29828a6f..94cfcc0c6 100644 --- a/builder/oracle/oci/driver_oci.go +++ b/builder/oracle/oci/driver_oci.go @@ -11,8 +11,8 @@ import ( "sync/atomic" "time" - "github.com/oracle/oci-go-sdk/common" - core "github.com/oracle/oci-go-sdk/core" + "github.com/oracle/oci-go-sdk/v36/common" + core "github.com/oracle/oci-go-sdk/v36/core" ) // driverOCI implements the Driver interface and communicates with Oracle diff --git a/builder/oracle/oci/instance_principal_configuration_provider_mock.go b/builder/oracle/oci/instance_principal_configuration_provider_mock.go index 27969d1aa..f4eb5db99 100644 --- a/builder/oracle/oci/instance_principal_configuration_provider_mock.go +++ b/builder/oracle/oci/instance_principal_configuration_provider_mock.go @@ -3,6 +3,8 @@ package oci import ( "crypto/rand" "crypto/rsa" + + "github.com/oracle/oci-go-sdk/v36/common" ) // Mock struct to be used during testing to obtain Instance Principals. @@ -32,3 +34,10 @@ func (p instancePrincipalConfigurationProviderMock) KeyFingerprint() (string, er func (p instancePrincipalConfigurationProviderMock) Region() (string, error) { return "some_random_region", nil } + +func (p instancePrincipalConfigurationProviderMock) AuthType() (common.AuthConfig, error) { + return common.AuthConfig{ + AuthType: common.InstancePrincipal, + IsFromConfigFile: false, + OboToken: nil}, nil +} diff --git a/go.mod b/go.mod index 4cb549450..14a69dd54 100644 --- a/go.mod +++ b/go.mod @@ -64,12 +64,14 @@ require ( github.com/mitchellh/cli v1.1.0 github.com/mitchellh/go-homedir v1.1.0 github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed + github.com/mitchellh/gox v1.0.1 // indirect github.com/mitchellh/mapstructure v1.4.0 github.com/mitchellh/panicwrap v1.0.0 github.com/mitchellh/prefixedio v0.0.0-20151214002211-6e6954073784 github.com/mitchellh/reflectwalk v1.0.0 github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b - github.com/oracle/oci-go-sdk v24.3.0+incompatible + github.com/oracle/oci-go-sdk v18.0.0+incompatible // indirect + github.com/oracle/oci-go-sdk/v36 v36.2.0 github.com/outscale/osc-sdk-go/osc v0.0.0-20200722135656-d654809d0699 github.com/pierrec/lz4 v2.0.5+incompatible github.com/pkg/errors v0.9.1 diff --git a/go.sum b/go.sum index 807fb3dc9..08c00a0d6 100644 --- a/go.sum +++ b/go.sum @@ -526,6 +526,7 @@ github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZX github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/gox v1.0.1 h1:x0jD3dcHk9a9xPSDN6YEL4xL6Qz0dvNYm8yZqui5chI= github.com/mitchellh/gox v1.0.1/go.mod h1:ED6BioOGXMswlXa2zxfh/xdd5QhwYliBFn9V18Ap4z4= github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= @@ -552,9 +553,12 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b h1:LGItPaClbzopugAomw5VFKnG3h1dUr9QW5KOU+m8gu0= github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/oracle/oci-go-sdk v18.0.0+incompatible h1:FLV4KixsVfF3rwyVTMI6Ryp/Q+OSb9sR5TawbfjFLN4= github.com/oracle/oci-go-sdk v18.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= github.com/oracle/oci-go-sdk v24.3.0+incompatible h1:x4mcfb4agelf1O4/1/auGlZ1lr97jXRSSN5MxTgG/zU= github.com/oracle/oci-go-sdk v24.3.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= +github.com/oracle/oci-go-sdk/v36 v36.2.0 h1:oBaN/FnBDy3ohMyVZ/rKfekYxnyksG2KK0YAhT5HSnk= +github.com/oracle/oci-go-sdk/v36 v36.2.0/go.mod h1:t8Y/M3Lh8X4BOJhtThJKe1skRTg7qom7oWyHiNjo4RM= github.com/outscale/osc-sdk-go/osc v0.0.0-20200722135656-d654809d0699 h1:SHe9i7h5cHe+cB77fQ6lsEgIwKg3ckNU90P03CjGMnI= github.com/outscale/osc-sdk-go/osc v0.0.0-20200722135656-d654809d0699/go.mod h1:5AqqNH1X8zCHescKVlpSHRzrat1KCKDXqZoQPe8fY3A= github.com/packer-community/winrmcp v0.0.0-20180921204643-0fd363d6159a h1:A3QMuteviunoaY/8ex+RKFqwhcZJ/Cf3fCW3IwL2wx4= diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_agent_config_details.go deleted file mode 100644 index 54337343c..000000000 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_agent_config_details.go +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// Core Services API -// -// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API -// to manage resources such as virtual cloud networks (VCNs), compute instances, and -// block storage volumes. -// - -package core - -import ( - "github.com/oracle/oci-go-sdk/common" -) - -// InstanceConfigurationLaunchInstanceAgentConfigDetails Instance agent configuration options to choose for launching the instance -type InstanceConfigurationLaunchInstanceAgentConfigDetails struct { - - // Whether the agent running on the instance can gather performance metrics and monitor the instance. - // Default value is false. - IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` - - // Whether the agent running on the instance can run all the available management plugins. - // Default value is false. - IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` -} - -func (m InstanceConfigurationLaunchInstanceAgentConfigDetails) String() string { - return common.PointerString(m) -} diff --git a/vendor/github.com/oracle/oci-go-sdk/LICENSE.txt b/vendor/github.com/oracle/oci-go-sdk/v36/LICENSE.txt similarity index 100% rename from vendor/github.com/oracle/oci-go-sdk/LICENSE.txt rename to vendor/github.com/oracle/oci-go-sdk/v36/LICENSE.txt diff --git a/vendor/github.com/oracle/oci-go-sdk/NOTICE.txt b/vendor/github.com/oracle/oci-go-sdk/v36/NOTICE.txt similarity index 100% rename from vendor/github.com/oracle/oci-go-sdk/NOTICE.txt rename to vendor/github.com/oracle/oci-go-sdk/v36/NOTICE.txt diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/certificate_retriever.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/certificate_retriever.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/certificate_retriever.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/certificate_retriever.go index cde1ad689..de8522e32 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/certificate_retriever.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/certificate_retriever.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -9,7 +9,7 @@ import ( "crypto/x509" "encoding/pem" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "sync" ) diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/configuration.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/configuration.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/configuration.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/configuration.go index c7cd9702a..ef79428a9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -6,7 +6,7 @@ package auth import ( "crypto/rsa" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) type instancePrincipalConfigurationProvider struct { @@ -104,3 +104,7 @@ func (p instancePrincipalConfigurationProvider) Region() (string, error) { } return string(*p.region), nil } + +func (p instancePrincipalConfigurationProvider) AuthType() (common.AuthConfig, error) { + return common.AuthConfig{common.InstancePrincipal, false, nil}, fmt.Errorf("unsupported, keep the interface") +} diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/dispatcher_modifier.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/dispatcher_modifier.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/dispatcher_modifier.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/dispatcher_modifier.go index 48c3b9612..5fe752287 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/dispatcher_modifier.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/dispatcher_modifier.go @@ -1,9 +1,9 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth -import "github.com/oracle/oci-go-sdk/common" +import "github.com/oracle/oci-go-sdk/v36/common" //dispatcherModifier gives ability to modify a HTTPRequestDispatcher before use. type dispatcherModifier struct { diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/federation_client.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/federation_client.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/federation_client.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/federation_client.go index b381a20ef..2e7f0cea4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/federation_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/federation_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Package auth provides supporting functions and structs for authentication @@ -12,7 +12,7 @@ import ( "encoding/pem" "errors" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "io/ioutil" "net/http" "os" @@ -107,7 +107,7 @@ func newFileBasedFederationClient(securityTokenPath string, supplier sessionKeyS } var newToken securityToken - if newToken, err = newInstancePrincipalToken(string(content)); err != nil { + if newToken, err = newPrincipalToken(string(content)); err != nil { return nil, fmt.Errorf("failed to read security token from :%s. Due to: %s", securityTokenPath, err.Error()) } @@ -119,7 +119,7 @@ func newFileBasedFederationClient(securityTokenPath string, supplier sessionKeyS func newStaticFederationClient(sessionToken string, supplier sessionKeySupplier) (*genericFederationClient, error) { var newToken securityToken var err error - if newToken, err = newInstancePrincipalToken(string(sessionToken)); err != nil { + if newToken, err = newPrincipalToken(string(sessionToken)); err != nil { return nil, fmt.Errorf("failed to read security token. Due to: %s", err.Error()) } @@ -307,7 +307,7 @@ func (c *x509FederationClient) getSecurityToken() (securityToken, error) { return nil, fmt.Errorf("failed to unmarshal the response: %s", err.Error()) } - return newInstancePrincipalToken(response.Token.Token) + return newPrincipalToken(response.Token.Token) } func (c *x509FederationClient) GetClaim(key string) (interface{}, error) { @@ -535,24 +535,24 @@ type securityToken interface { ClaimHolder } -type instancePrincipalToken struct { +type principalToken struct { tokenString string jwtToken *jwtToken } -func newInstancePrincipalToken(tokenString string) (newToken securityToken, err error) { +func newPrincipalToken(tokenString string) (newToken securityToken, err error) { var jwtToken *jwtToken if jwtToken, err = parseJwt(tokenString); err != nil { return nil, fmt.Errorf("failed to parse the token string \"%s\": %s", tokenString, err.Error()) } - return &instancePrincipalToken{tokenString, jwtToken}, nil + return &principalToken{tokenString, jwtToken}, nil } -func (t *instancePrincipalToken) String() string { +func (t *principalToken) String() string { return t.tokenString } -func (t *instancePrincipalToken) Valid() bool { +func (t *principalToken) Valid() bool { return !t.jwtToken.expired() } @@ -561,7 +561,7 @@ var ( ErrNoSuchClaim = errors.New("no such claim") ) -func (t *instancePrincipalToken) GetClaim(key string) (interface{}, error) { +func (t *principalToken) GetClaim(key string) (interface{}, error) { if value, ok := t.jwtToken.payload[key]; ok { return value, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/instance_principal_delegation_token_provider.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/instance_principal_delegation_token_provider.go new file mode 100644 index 000000000..063e1658f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/instance_principal_delegation_token_provider.go @@ -0,0 +1,67 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +package auth + +import ( + "crypto/rsa" + "fmt" + "github.com/oracle/oci-go-sdk/v36/common" +) + +type instancePrincipalDelegationTokenConfigurationProvider struct { + instancePrincipalKeyProvider instancePrincipalKeyProvider + delegationToken string +} + +//InstancePrincipalDelegationTokenConfigurationProvider returns a configuration for obo token instance principals +func InstancePrincipalDelegationTokenConfigurationProvider(delegationToken *string) (common.ConfigurationProvider, error) { + if delegationToken == nil || len(*delegationToken) == 0 { + return nil, fmt.Errorf("failed to create a delagationTokenConfigurationProvider: token is a mondatory input paras") + } + return newInstancePrincipalDelegationTokenConfigurationProvider(delegationToken, nil) +} + +func newInstancePrincipalDelegationTokenConfigurationProvider(delegationToken *string, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, + error)) (common.ConfigurationProvider, error) { + + keyProvider, err := newInstancePrincipalKeyProvider(modifier) + if err != nil { + return nil, fmt.Errorf("failed to create a new key provider for instance principal: %s", err.Error()) + } + return instancePrincipalDelegationTokenConfigurationProvider{*keyProvider, *delegationToken}, err +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) getInstancePrincipalDelegationTokenConfigurationProvider() (instancePrincipalDelegationTokenConfigurationProvider, error) { + return p, nil +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) PrivateRSAKey() (*rsa.PrivateKey, error) { + return p.instancePrincipalKeyProvider.PrivateRSAKey() +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) KeyID() (string, error) { + return p.instancePrincipalKeyProvider.KeyID() +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) TenancyOCID() (string, error) { + return p.instancePrincipalKeyProvider.TenancyOCID() +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) UserOCID() (string, error) { + return "", nil +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) KeyFingerprint() (string, error) { + return "", nil +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) Region() (string, error) { + region := p.instancePrincipalKeyProvider.RegionForFederationClient() + return string(region), nil +} + +func (p instancePrincipalDelegationTokenConfigurationProvider) AuthType() (common.AuthConfig, error) { + token := p.delegationToken + return common.AuthConfig{common.InstancePrincipalDelegationToken, false, &token}, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/instance_principal_key_provider.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/instance_principal_key_provider.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/instance_principal_key_provider.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/instance_principal_key_provider.go index 1a18b6a19..619cbb231 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/instance_principal_key_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/instance_principal_key_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -7,7 +7,7 @@ import ( "bytes" "crypto/rsa" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" "strings" ) diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/jwt.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/jwt.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/jwt.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/jwt.go index f47253cfc..17dfb7d1e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/jwt.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/jwt.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -8,7 +8,7 @@ import ( "encoding/base64" "encoding/json" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "strings" "time" ) diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/resouce_principal_key_provider.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resouce_principal_key_provider.go similarity index 73% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/resouce_principal_key_provider.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resouce_principal_key_provider.go index 256a8f673..4926c2fb7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/resouce_principal_key_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resouce_principal_key_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -7,13 +7,13 @@ import ( "crypto/rsa" "errors" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "os" "path" ) const ( - //ResourcePrincipalVersion2_2 supported version for resource principals + //ResourcePrincipalVersion2_2 is a supported version for resource principals ResourcePrincipalVersion2_2 = "2.2" //ResourcePrincipalVersionEnvVar environment var name for version ResourcePrincipalVersionEnvVar = "OCI_RESOURCE_PRINCIPAL_VERSION" @@ -26,6 +26,13 @@ const ( //ResourcePrincipalRegionEnvVar environment variable holding a region ResourcePrincipalRegionEnvVar = "OCI_RESOURCE_PRINCIPAL_REGION" + //ResourcePrincipalVersion1_1 is a supported version for resource principals + ResourcePrincipalVersion1_1 = "1.1" + //ResourcePrincipalSessionTokenEndpoint endpoint for retrieving the Resource Principal Session Token + ResourcePrincipalSessionTokenEndpoint = "OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT" + //ResourcePrincipalTokenEndpoint endpoint for retrieving the Resource Principal Token + ResourcePrincipalTokenEndpoint = "OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT" + // TenancyOCIDClaimKey is the key used to look up the resource tenancy in an RPST TenancyOCIDClaimKey = "res_tenant" // CompartmentOCIDClaimKey is the key used to look up the resource compartment in an RPST @@ -65,11 +72,45 @@ func ResourcePrincipalConfigurationProvider() (ConfigurationProviderWithClaimAcc } return newResourcePrincipalKeyProvider22( *rpst, *private, passphrase, *region) + case ResourcePrincipalVersion1_1: + return newResourcePrincipalKeyProvider11(DefaultRptPathProvider{}) default: return nil, fmt.Errorf("can not create resource principal, environment variable: %s, must be valid", ResourcePrincipalVersionEnvVar) } } +// ResourcePrincipalConfigurationProviderWithPathProvider returns a resource principal configuration provider using path provider. +func ResourcePrincipalConfigurationProviderWithPathProvider(pathProvider PathProvider) (ConfigurationProviderWithClaimAccess, error) { + var version string + var ok bool + if version, ok = os.LookupEnv(ResourcePrincipalVersionEnvVar); !ok { + return nil, fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalVersionEnvVar) + } else if version != ResourcePrincipalVersion1_1 { + return nil, fmt.Errorf("can not create resource principal, environment variable: %s, must be %s", ResourcePrincipalVersionEnvVar, ResourcePrincipalVersion1_1) + } + return newResourcePrincipalKeyProvider11(pathProvider) +} + +func newResourcePrincipalKeyProvider11(pathProvider PathProvider) (ConfigurationProviderWithClaimAccess, error) { + rptEndpoint := requireEnv(ResourcePrincipalTokenEndpoint) + if rptEndpoint == nil { + return nil, fmt.Errorf("can not create resource principal, environment variable: %s, not present", ResourcePrincipalTokenEndpoint) + } + rptPath, err := pathProvider.Path() + if err != nil { + return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + } + resourceID, err := pathProvider.ResourceID() + if err != nil { + return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + } + rp, err := resourcePrincipalConfigurationProviderV1(*rptEndpoint+*rptPath, *resourceID) + if err != nil { + return nil, fmt.Errorf("can not create resource principal, due to: %s ", err.Error()) + } + return rp, nil +} + func requireEnv(key string) *string { if val, ok := os.LookupEnv(key); ok { return &val @@ -179,6 +220,10 @@ func (p *resourcePrincipalKeyProvider) UserOCID() (string, error) { return "", nil } +func (p *resourcePrincipalKeyProvider) AuthType() (common.AuthConfig, error) { + return common.AuthConfig{common.UnknownAuthenticationType, false, nil}, fmt.Errorf("unsupported, keep the interface") +} + // By contract for the the content of a resource principal to be considered path, it needs to be // an absolute path. func isPath(str string) bool { diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resource_principal_token_path_provider.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resource_principal_token_path_provider.go new file mode 100644 index 000000000..5bc58ccce --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resource_principal_token_path_provider.go @@ -0,0 +1,138 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +package auth + +import ( + "fmt" + "io/ioutil" + "net/http" +) + +const ( + imdsPathTemplate = "/20180711/resourcePrincipalToken/{id}" + instanceIDURL = `http://169.254.169.254/opc/v2/instance/id` + + //ResourcePrincipalTokenPath path for retrieving the Resource Principal Token + ResourcePrincipalTokenPath = "OCI_RESOURCE_PRINCIPAL_RPT_PATH" + //ResourceID OCID for the resource for Resource Principal + ResourceID = "OCI_RESOURCE_PRINCIPAL_RPT_ID" +) + +// PathProvider is an interface that returns path and resource ID +type PathProvider interface { + Path() (*string, error) + ResourceID() (*string, error) +} + +// StringRptPathProvider is a simple path provider that takes a string and returns it +type StringRptPathProvider struct { + path string + resourceID string +} + +// Path returns the resource principal token path +func (pp StringRptPathProvider) Path() (*string, error) { + return &pp.path, nil +} + +// ResourceID returns the resource associated with the resource principal +func (pp StringRptPathProvider) ResourceID() (*string, error) { + return &pp.resourceID, nil +} + +// ImdsRptPathProvider sets the path from a default value and the resource ID from instance metadata +type ImdsRptPathProvider struct{} + +// Path returns the resource principal token path +func (pp ImdsRptPathProvider) Path() (*string, error) { + path := imdsPathTemplate + return &path, nil +} + +// ResourceID returns the resource associated with the resource principal +func (pp ImdsRptPathProvider) ResourceID() (*string, error) { + instanceID, err := getInstanceIDFromMetadata() + return &instanceID, err +} + +// EnvRptPathProvider sets the path and resource ID from environment variables +type EnvRptPathProvider struct{} + +// Path returns the resource principal token path +func (pp EnvRptPathProvider) Path() (*string, error) { + path := requireEnv(ResourcePrincipalTokenPath) + if path == nil { + return nil, fmt.Errorf("missing %s env var", ResourcePrincipalTokenPath) + } + return path, nil +} + +// ResourceID returns the resource associated with the resource principal +func (pp EnvRptPathProvider) ResourceID() (*string, error) { + rpID := requireEnv(ResourceID) + if rpID == nil { + return nil, fmt.Errorf("missing %s env var", ResourceID) + } + return rpID, nil +} + +//DefaultRptPathProvider path provider makes sure the behavior happens with the correct fallback. +// +//For the path, +//Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_PATH environment variable, if set. +//Otherwise, use the current path: "/20180711/resourcePrincipalToken/{id}" +// +//For the resource id, +//Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_ID environment variable, if set. +//Otherwise, use IMDS to get the instance id +// +//This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer +type DefaultRptPathProvider struct { + path string + resourceID string +} + +// Path returns the resource principal token path +func (pp DefaultRptPathProvider) Path() (*string, error) { + path := requireEnv(ResourcePrincipalTokenPath) + if path == nil { + rpPath := imdsPathTemplate + return &rpPath, nil + } + return path, nil +} + +// ResourceID returns the resource associated with the resource principal +func (pp DefaultRptPathProvider) ResourceID() (*string, error) { + rpID := requireEnv(ResourceID) + if rpID == nil { + instanceID, err := getInstanceIDFromMetadata() + if err != nil { + return nil, err + } + return &instanceID, nil + } + return rpID, nil +} + +func getInstanceIDFromMetadata() (instanceID string, err error) { + client := &http.Client{} + req, err := http.NewRequest("GET", instanceIDURL, nil) + if err != nil { + return "", err + } + req.Header.Set("Authorization", "Bearer Oracle") + resp, err := client.Do(req) + if err != nil { + return "", err + } + defer resp.Body.Close() + + bodyBytes, err := ioutil.ReadAll(resp.Body) + if err != nil { + return "", err + } + bodyString := string(bodyBytes) + return bodyString, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resource_principals_v1.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resource_principals_v1.go new file mode 100644 index 000000000..69c5d2de5 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/resource_principals_v1.go @@ -0,0 +1,373 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +package auth + +import ( + "context" + "crypto/rsa" + "fmt" + "github.com/oracle/oci-go-sdk/v36/common" + + "net/http" + "net/url" + "sync" + "time" +) + +// resourcePrincipalFederationClient is the client used to to talk acquire resource principals +// No auth client, leaf or intermediate retrievers. We use certificates retrieved by instance principals to sign the operations of +// resource principals +type resourcePrincipalFederationClient struct { + tenancyID string + instanceID string + sessionKeySupplier sessionKeySupplier + mux sync.Mutex + securityToken securityToken + path string + + //instancePrincipalKeyProvider the instance Principal Key container + instancePrincipalKeyProvider instancePrincipalKeyProvider + + //ResourcePrincipalTargetServiceClient client that calls the target service to acquire a resource principal token + ResourcePrincipalTargetServiceClient common.BaseClient + + //ResourcePrincipalSessionTokenClient. The client used to communicate with identity to exchange a resource principal for + // resource principal session token + ResourcePrincipalSessionTokenClient common.BaseClient +} + +type resourcePrincipalTokenRequest struct { + InstanceID string `contributesTo:"path" name:"id"` +} + +type resourcePrincipalTokenResponse struct { + Body struct { + ResourcePrincipalToken string `json:"resourcePrincipalToken"` + ServicePrincipalSessionToken string `json:"servicePrincipalSessionToken"` + } `presentIn:"body"` +} + +type resourcePrincipalSessionTokenRequestBody struct { + ResourcePrincipalToken string `json:"resourcePrincipalToken,omitempty"` + ServicePrincipalSessionToken string `json:"servicePrincipalSessionToken,omitempty"` + SessionPublicKey string `json:"sessionPublicKey,omitempty"` +} +type resourcePrincipalSessionTokenRequest struct { + Body resourcePrincipalSessionTokenRequestBody `contributesTo:"body"` +} + +//acquireResourcePrincipalToken acquires the resource principal from the target service +func (c *resourcePrincipalFederationClient) acquireResourcePrincipalToken() (tokenResponse resourcePrincipalTokenResponse, err error) { + rpServiceClient := c.ResourcePrincipalTargetServiceClient + + //Set the signer of this client to be the instance principal provider + rpServiceClient.Signer = common.DefaultRequestSigner(&c.instancePrincipalKeyProvider) + + //Create a request with the instanceId + request, err := common.MakeDefaultHTTPRequestWithTaggedStruct(http.MethodGet, c.path, resourcePrincipalTokenRequest{InstanceID: c.instanceID}) + if err != nil { + return + } + + //Call the target service + response, err := rpServiceClient.Call(context.Background(), &request) + if err != nil { + return + } + + defer common.CloseBodyIfValid(response) + + tokenResponse = resourcePrincipalTokenResponse{} + err = common.UnmarshalResponse(response, &tokenResponse) + return +} + +//exchangeToken exchanges a resource principal token from the target service with a session token from identity +func (c *resourcePrincipalFederationClient) exchangeToken(publicKeyBase64 string, tokenResponse resourcePrincipalTokenResponse) (sessionToken string, err error) { + rpServiceClient := c.ResourcePrincipalSessionTokenClient + + //Set the signer of this client to be the instance principal provider + rpServiceClient.Signer = common.DefaultRequestSigner(&c.instancePrincipalKeyProvider) + + // Call identity service to get resource principal session token + sessionTokenReq := resourcePrincipalSessionTokenRequest{ + resourcePrincipalSessionTokenRequestBody{ + ServicePrincipalSessionToken: tokenResponse.Body.ServicePrincipalSessionToken, + ResourcePrincipalToken: tokenResponse.Body.ResourcePrincipalToken, + SessionPublicKey: publicKeyBase64, + }, + } + + sessionTokenHTTPReq, err := common.MakeDefaultHTTPRequestWithTaggedStruct(http.MethodPost, + "", sessionTokenReq) + if err != nil { + return + } + + sessionTokenHTTPRes, err := rpServiceClient.Call(context.Background(), &sessionTokenHTTPReq) + if err != nil { + return + } + defer common.CloseBodyIfValid(sessionTokenHTTPRes) + + sessionTokenRes := x509FederationResponse{} + err = common.UnmarshalResponse(sessionTokenHTTPRes, &sessionTokenRes) + if err != nil { + return + } + + sessionToken = sessionTokenRes.Token.Token + return +} + +//getSecurityToken makes the appropiate calls to acquire a resource principal security token +func (c *resourcePrincipalFederationClient) getSecurityToken() (securityToken, error) { + var err error + ipFederationClient := c.instancePrincipalKeyProvider.FederationClient + + common.Debugf("Refreshing instance principal token") + //Refresh instance principal token + if refreshable, ok := ipFederationClient.(*x509FederationClient); ok { + err = refreshable.renewSecurityTokenIfNotValid() + if err != nil { + return nil, err + } + } + + //Acquire resource principal token from target service + common.Debugf("Acquiring resource principal token from target service") + tokenResponse, err := c.acquireResourcePrincipalToken() + if err != nil { + return nil, err + } + + //Read the public key from the session supplier. + pem := c.sessionKeySupplier.PublicKeyPemRaw() + pemSanitized := sanitizeCertificateString(string(pem)) + + //Exchange resource principal token for session token from identity + common.Debugf("Exchanging resource principal token for resource principal session token") + sessionToken, err := c.exchangeToken(pemSanitized, tokenResponse) + if err != nil { + return nil, err + } + + return newPrincipalToken(sessionToken) // should be a resource principal token +} + +func (c *resourcePrincipalFederationClient) renewSecurityToken() (err error) { + if err = c.sessionKeySupplier.Refresh(); err != nil { + return fmt.Errorf("failed to refresh session key: %s", err.Error()) + } + common.Logf("Renewing resource principal security token at: %v\n", time.Now().Format("15:04:05.000")) + if c.securityToken, err = c.getSecurityToken(); err != nil { + return fmt.Errorf("failed to get security token: %s", err.Error()) + } + common.Logf("Resource principal security token renewed at: %v\n", time.Now().Format("15:04:05.000")) + + return nil +} + +//ResourcePrincipal Key provider in charge of resource principal acquiring tokens +type resourcePrincipalKeyProviderV1 struct { + ResourcePrincipalClient resourcePrincipalFederationClient +} + +func (c *resourcePrincipalFederationClient) renewSecurityTokenIfNotValid() (err error) { + if c.securityToken == nil || !c.securityToken.Valid() { + if err = c.renewSecurityToken(); err != nil { + return fmt.Errorf("failed to renew resource prinicipal security token: %s", err.Error()) + } + } + return nil +} + +func (c *resourcePrincipalFederationClient) PrivateKey() (*rsa.PrivateKey, error) { + c.mux.Lock() + defer c.mux.Unlock() + + if err := c.renewSecurityTokenIfNotValid(); err != nil { + return nil, err + } + return c.sessionKeySupplier.PrivateKey(), nil +} + +func (c *resourcePrincipalFederationClient) SecurityToken() (token string, err error) { + c.mux.Lock() + defer c.mux.Unlock() + + if err = c.renewSecurityTokenIfNotValid(); err != nil { + return "", err + } + return c.securityToken.String(), nil +} + +func (p *resourcePrincipalConfigurationProvider) PrivateRSAKey() (privateKey *rsa.PrivateKey, err error) { + if privateKey, err = p.keyProvider.ResourcePrincipalClient.PrivateKey(); err != nil { + err = fmt.Errorf("failed to get resource principal private key: %s", err.Error()) + return nil, err + } + return privateKey, nil +} + +func (p *resourcePrincipalConfigurationProvider) KeyID() (string, error) { + var securityToken string + var err error + if securityToken, err = p.keyProvider.ResourcePrincipalClient.SecurityToken(); err != nil { + return "", fmt.Errorf("failed to get resource principal security token: %s", err.Error()) + } + return fmt.Sprintf("ST$%s", securityToken), nil +} + +func (p *resourcePrincipalConfigurationProvider) TenancyOCID() (string, error) { + return p.keyProvider.ResourcePrincipalClient.instancePrincipalKeyProvider.TenancyOCID() +} + +// todo what is this +func (p *resourcePrincipalConfigurationProvider) GetClaim(key string) (interface{}, error) { + return nil, nil +} + +//Resource Principals +type resourcePrincipalConfigurationProvider struct { + keyProvider resourcePrincipalKeyProviderV1 + region *common.Region +} + +func newResourcePrincipalKeyProvider(ipKeyProvider instancePrincipalKeyProvider, rpTokenTargetServiceClient, rpSessionTokenClient common.BaseClient, instanceID, path string) (keyProvider resourcePrincipalKeyProviderV1, err error) { + rpFedClient := resourcePrincipalFederationClient{} + rpFedClient.tenancyID = ipKeyProvider.TenancyID + rpFedClient.instanceID = instanceID + rpFedClient.sessionKeySupplier = newSessionKeySupplier() + rpFedClient.ResourcePrincipalTargetServiceClient = rpTokenTargetServiceClient + rpFedClient.ResourcePrincipalSessionTokenClient = rpSessionTokenClient + rpFedClient.instancePrincipalKeyProvider = ipKeyProvider + rpFedClient.path = path + keyProvider = resourcePrincipalKeyProviderV1{ResourcePrincipalClient: rpFedClient} + return +} + +func (p *resourcePrincipalConfigurationProvider) AuthType() (common.AuthConfig, error) { + return common.AuthConfig{common.UnknownAuthenticationType, false, nil}, + fmt.Errorf("unsupported, keep the interface") +} + +func (p resourcePrincipalConfigurationProvider) UserOCID() (string, error) { + return "", nil +} + +func (p resourcePrincipalConfigurationProvider) KeyFingerprint() (string, error) { + return "", nil +} + +func (p resourcePrincipalConfigurationProvider) Region() (string, error) { + if p.region == nil { + region := p.keyProvider.ResourcePrincipalClient.instancePrincipalKeyProvider.RegionForFederationClient() + common.Debugf("Region in resource principal configuration provider is nil. Returning instance principal federation clients region: %s", region) + return string(region), nil + } + return string(*p.region), nil +} + +// resourcePrincipalConfigurationProviderForInstanceWithClients returns a configuration for instance principals +// resourcePrincipalTargetServiceTokenClient and resourcePrincipalSessionTokenClient are clients that at last need to have +// their base path and host properly set for their respective services. Additionally the clients can be further customized +// to provide mocking or any other customization for the requests/responses +func resourcePrincipalConfigurationProviderForInstanceWithClients(instancePrincipalProvider common.ConfigurationProvider, + resourcePrincipalTargetServiceTokenClient, resourcePrincipalSessionTokenClient common.BaseClient, instanceID, path string) (*resourcePrincipalConfigurationProvider, error) { + var ok bool + var ip instancePrincipalConfigurationProvider + if ip, ok = instancePrincipalProvider.(instancePrincipalConfigurationProvider); !ok { + return nil, fmt.Errorf("instancePrincipalConfigurationProvider needs to be of type vald Instance Principal Configuration Provider") + } + + keyProvider, err := newResourcePrincipalKeyProvider(ip.keyProvider, resourcePrincipalTargetServiceTokenClient, resourcePrincipalSessionTokenClient, instanceID, path) + if err != nil { + return nil, err + } + + provider := &resourcePrincipalConfigurationProvider{ + region: nil, + keyProvider: keyProvider, + } + return provider, nil +} + +const identityResourcePrincipalSessionTokenPath = "/v1/resourcePrincipalSessionToken" + +// resourcePrincipalConfigurationProviderForInstanceWithInterceptor creates a resource principal configuration provider with +// a interceptor used to customize the call going to the resource principal token request to the target service +// for a given instance ID +func resourcePrincipalConfigurationProviderForInstanceWithInterceptor(instancePrincipalProvider common.ConfigurationProvider, resourcePrincipalTokenEndpoint, instanceID string, interceptor common.RequestInterceptor) (provider *resourcePrincipalConfigurationProvider, err error) { + + //Build the target service client + rpTargetServiceClient, err := common.NewClientWithConfig(instancePrincipalProvider) + if err != nil { + return + } + + rpTokenURL, err := url.Parse(resourcePrincipalTokenEndpoint) + if err != nil { + return + } + + rpTargetServiceClient.Host = rpTokenURL.Scheme + "://" + rpTokenURL.Host + rpTargetServiceClient.Interceptor = interceptor + + var path string + if rpTokenURL.Path != "" { + path = rpTokenURL.Path + } else { + path = identityResourcePrincipalSessionTokenPath + } + + //Build the identity client for token service + rpTokenSessionClient, err := common.NewClientWithConfig(instancePrincipalProvider) + if err != nil { + return + } + + // Set RPST endpoint if passed in from env var, otherwise create it from region + resourcePrincipalSessionTokenEndpoint := requireEnv(ResourcePrincipalSessionTokenEndpoint) + if resourcePrincipalSessionTokenEndpoint != nil { + rpSessionTokenURL, err := url.Parse(*resourcePrincipalSessionTokenEndpoint) + if err != nil { + return nil, err + } + + rpTokenSessionClient.Host = rpSessionTokenURL.Scheme + "://" + rpSessionTokenURL.Host + } else { + regionStr, err := instancePrincipalProvider.Region() + if err != nil { + return nil, fmt.Errorf("missing RPST env var and cannot determine region: %v", err) + } + region := common.StringToRegion(regionStr) + rpTokenSessionClient.Host = fmt.Sprintf("https://%s", region.Endpoint("auth")) + } + + rpTokenSessionClient.BasePath = identityResourcePrincipalSessionTokenPath + + return resourcePrincipalConfigurationProviderForInstanceWithClients(instancePrincipalProvider, rpTargetServiceClient, rpTokenSessionClient, instanceID, path) +} + +// ResourcePrincipalConfigurationProviderWithInterceptor creates a resource principal configuration provider with endpoints +// a interceptor used to customize the call going to the resource principal token request to the target service +// see https://godoc.org/github.com/oracle/oci-go-sdk/common#RequestInterceptor +func ResourcePrincipalConfigurationProviderWithInterceptor(instancePrincipalProvider common.ConfigurationProvider, + resourcePrincipalTokenEndpoint, resourcePrincipalSessionTokenEndpoint string, + interceptor common.RequestInterceptor) (common.ConfigurationProvider, error) { + + return resourcePrincipalConfigurationProviderForInstanceWithInterceptor(instancePrincipalProvider, resourcePrincipalTokenEndpoint, "", interceptor) +} + +// resourcePrincipalConfigurationProviderV1 creates a resource principal configuration provider with +// endpoints for both resource principal token and resource principal token session +func resourcePrincipalConfigurationProviderV1(resourcePrincipalTokenEndpoint, resourceID string) (*resourcePrincipalConfigurationProvider, error) { + + instancePrincipalProvider, err := InstancePrincipalConfigurationProvider() + if err != nil { + return nil, err + } + return resourcePrincipalConfigurationProviderForInstanceWithInterceptor(instancePrincipalProvider, resourcePrincipalTokenEndpoint, resourceID, nil) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/common/auth/utils.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/utils.go similarity index 60% rename from vendor/github.com/oracle/oci-go-sdk/common/auth/utils.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/auth/utils.go index 17a42a819..509f27b93 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/auth/utils.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/auth/utils.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -8,7 +8,7 @@ import ( "crypto/sha1" "crypto/x509" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" "net/http/httputil" "strings" @@ -68,3 +68,27 @@ func colonSeparatedString(fingerprint [sha1.Size]byte) string { spaceSeparated := fmt.Sprintf("% x", fingerprint) return strings.Replace(spaceSeparated, " ", ":", -1) } + +func sanitizeCertificateString(certString string) string { + certString = strings.Replace(certString, "-----BEGIN CERTIFICATE-----", "", -1) + certString = strings.Replace(certString, "-----END CERTIFICATE-----", "", -1) + certString = strings.Replace(certString, "-----BEGIN PUBLIC KEY-----", "", -1) + certString = strings.Replace(certString, "-----END PUBLIC KEY-----", "", -1) + certString = strings.Replace(certString, "\n", "", -1) + return certString +} + +// GetGenericConfigurationProvider checks auth config paras in config file and return the final configuration provider +func GetGenericConfigurationProvider(configProvider common.ConfigurationProvider) (common.ConfigurationProvider, error) { + if authConfig, err := configProvider.AuthType(); err == nil && authConfig.IsFromConfigFile { + switch authConfig.AuthType { + case common.InstancePrincipalDelegationToken: + return InstancePrincipalDelegationTokenConfigurationProvider(authConfig.OboToken) + case common.InstancePrincipal: + return InstancePrincipalConfigurationProvider() + case common.UserPrincipal: + return configProvider, nil + } + } + return configProvider, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/common/client.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/client.go similarity index 75% rename from vendor/github.com/oracle/oci-go-sdk/common/client.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/client.go index 85c78da2b..08c20d62f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/client.go @@ -1,12 +1,15 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Package common provides supporting functions and structs used by service packages package common import ( + "bytes" "context" "fmt" + "io" + "io/ioutil" "math/rand" "net/http" "net/http/httputil" @@ -71,8 +74,9 @@ const ( defaultConfigFileName = "config" defaultConfigDirName = ".oci" configFilePathEnvVarName = "OCI_CONFIG_FILE" - secondaryConfigDirName = ".oraclebmc" - maxBodyLenForDebug = 1024 * 1000 + + secondaryConfigDirName = ".oraclebmc" + maxBodyLenForDebug = 1024 * 1000 ) // RequestInterceptor function used to customize the request before calling the underlying service @@ -84,6 +88,11 @@ type HTTPRequestDispatcher interface { Do(req *http.Request) (*http.Response, error) } +// CustomClientConfiguration contains configurations set at client level, currently it only includes RetryPolicy +type CustomClientConfiguration struct { + RetryPolicy *RetryPolicy +} + // BaseClient struct implements all basic operations to call oci web services. type BaseClient struct { //HTTPClient performs the http network operations @@ -103,10 +112,36 @@ type BaseClient struct { //Base path for all operations of this client BasePath string + + Configuration CustomClientConfiguration +} + +// SetCustomClientConfiguration sets client with retry and other custom configurations +func (client *BaseClient) SetCustomClientConfiguration(config CustomClientConfiguration) { + client.Configuration = config +} + +// RetryPolicy returns the retryPolicy configured for client +func (client *BaseClient) RetryPolicy() *RetryPolicy { + return client.Configuration.RetryPolicy +} + +// Endpoint returns the enpoint configured for client +func (client *BaseClient) Endpoint() string { + host := client.Host + if !strings.Contains(host, "http") && + !strings.Contains(host, "https") { + host = fmt.Sprintf("%s://%s", defaultScheme, host) + } + return host } func defaultUserAgent() string { userAgent := fmt.Sprintf(defaultUserAgentTemplate, defaultSDKMarker, Version(), runtime.GOOS, runtime.GOARCH, runtime.Version()) + appendUA := os.Getenv("OCI_SDK_APPEND_USER_AGENT") + if appendUA != "" { + userAgent = fmt.Sprintf("%s %s", userAgent, appendUA) + } return userAgent } @@ -158,6 +193,11 @@ func NewClientWithConfig(configProvider ConfigurationProvider) (client BaseClien client = defaultBaseClient(configProvider) + if authConfig, e := configProvider.AuthType(); e == nil && authConfig.OboToken != nil { + Debugf("authConfig's authType is %s, and token content is %s", authConfig.AuthType, *authConfig.OboToken) + signOboToken(&client, *authConfig.OboToken, configProvider) + } + return } @@ -168,6 +208,13 @@ func NewClientWithOboToken(configProvider ConfigurationProvider, oboToken string return } + signOboToken(&client, oboToken, configProvider) + + return +} + +// Add obo token header to Interceptor and sign to client +func signOboToken(client *BaseClient, oboToken string, configProvider ConfigurationProvider) { // Interceptor to add obo token header client.Interceptor = func(request *http.Request) error { request.Header.Add(requestHeaderOpcOboToken, oboToken) @@ -176,8 +223,6 @@ func NewClientWithOboToken(configProvider ConfigurationProvider, oboToken string // Obo token will also be signed defaultHeaders := append(DefaultGenericHeaders(), requestHeaderOpcOboToken) client.Signer = RequestSigner(configProvider, defaultHeaders, DefaultBodyHeaders()) - - return } func getHomeFolder() string { @@ -285,14 +330,72 @@ func (client BaseClient) intercept(request *http.Request) (err error) { return } -func checkForSuccessfulResponse(res *http.Response) error { +// checkForSuccessfulResponse checks if the response is successful +// If Error Code is 4XX/5XX and debug level is set to info, will log the request and response +func checkForSuccessfulResponse(res *http.Response, requestBody *io.ReadCloser) error { familyStatusCode := res.StatusCode / 100 if familyStatusCode == 4 || familyStatusCode == 5 { + IfInfo(func() { + // If debug level is set to verbose, the request and request body will be dumped and logged under debug level, this is to avoid duplicate logging + if defaultLogger.LogLevel() < verboseLogging { + logRequest(res.Request, Logf, noLogging) + if requestBody != nil && *requestBody != http.NoBody { + bodyContent, _ := ioutil.ReadAll(*requestBody) + Logf("Dump Request Body: \n%s", string(bodyContent)) + } + } + logResponse(res, Logf, infoLogging) + }) return newServiceFailureFromResponse(res) } + IfDebug(func() { + logResponse(res, Debugf, verboseLogging) + }) return nil } +func logRequest(request *http.Request, fn func(format string, v ...interface{}), bodyLoggingLevel int) { + if request == nil { + return + } + dumpBody := true + if checkBodyLengthExceedLimit(request.ContentLength) { + fn("not dumping body too big\n") + dumpBody = false + } + + dumpBody = dumpBody && defaultLogger.LogLevel() >= bodyLoggingLevel && bodyLoggingLevel != noLogging + if dump, e := httputil.DumpRequestOut(request, dumpBody); e == nil { + fn("Dump Request %s", string(dump)) + } else { + fn("%v\n", e) + } +} + +func logResponse(response *http.Response, fn func(format string, v ...interface{}), bodyLoggingLevel int) { + if response == nil { + return + } + dumpBody := true + if checkBodyLengthExceedLimit(response.ContentLength) { + fn("not dumping body too big\n") + dumpBody = false + } + dumpBody = dumpBody && defaultLogger.LogLevel() >= bodyLoggingLevel && bodyLoggingLevel != noLogging + if dump, e := httputil.DumpResponse(response, dumpBody); e == nil { + fn("Dump Response %s", string(dump)) + } else { + fn("%v\n", e) + } +} + +func checkBodyLengthExceedLimit(contentLength int64) bool { + if contentLength > maxBodyLenForDebug { + return true + } + return false +} + // OCIRequest is any request made to an OCI service. type OCIRequest interface { // HTTPRequest assembles an HTTP request. @@ -329,7 +432,7 @@ func (client BaseClient) Call(ctx context.Context, request *http.Request) (respo // CallWithDetails executes the http request, the given context using details specified in the paremeters, this function // provides a way to override some settings present in the client func (client BaseClient) CallWithDetails(ctx context.Context, request *http.Request, details ClientCallDetails) (response *http.Response, err error) { - Debugln("Atempting to call downstream service") + Debugln("Attempting to call downstream service") request = request.WithContext(ctx) err = client.prepareRequest(request) @@ -349,48 +452,28 @@ func (client BaseClient) CallWithDetails(ctx context.Context, request *http.Requ return } + //Copy request body and save for logging + dumpRequestBody := ioutil.NopCloser(bytes.NewBuffer(nil)) + if request.Body != nil && !checkBodyLengthExceedLimit(request.ContentLength) { + if dumpRequestBody, request.Body, err = drainBody(request.Body); err != nil { + dumpRequestBody = ioutil.NopCloser(bytes.NewBuffer(nil)) + } + } IfDebug(func() { - dumpBody := true - if request.ContentLength > maxBodyLenForDebug { - Debugf("not dumping body too big\n") - dumpBody = false - } - dumpBody = dumpBody && defaultLogger.LogLevel() == verboseLogging - if dump, e := httputil.DumpRequestOut(request, dumpBody); e == nil { - Debugf("Dump Request %s", string(dump)) - } else { - Debugf("%v\n", e) - } + logRequest(request, Debugf, verboseLogging) }) //Execute the http request response, err = client.HTTPClient.Do(request) - IfDebug(func() { - if err != nil { - Debugf("%v\n", err) - return - } - - dumpBody := true - if response.ContentLength > maxBodyLenForDebug { - Debugf("not dumping body too big\n") - dumpBody = false - } - - dumpBody = dumpBody && defaultLogger.LogLevel() == verboseLogging - if dump, e := httputil.DumpResponse(response, dumpBody); e == nil { - Debugf("Dump Response %s", string(dump)) - } else { - Debugf("%v\n", e) - } - }) - if err != nil { + IfInfo(func() { + Logf("%v\n", err) + }) return } - err = checkForSuccessfulResponse(response) + err = checkForSuccessfulResponse(response, &dumpRequestBody) return } diff --git a/vendor/github.com/oracle/oci-go-sdk/common/common.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/common.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/common/common.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/common.go index ab89c4e6f..9f3d6a8fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/common.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -33,10 +33,15 @@ const ( RegionIAD Region = "us-ashburn-1" //RegionSJC1 region SJC RegionSJC1 Region = "us-sanjose-1" + //RegionFRA region FRA RegionFRA Region = "eu-frankfurt-1" + + //RegionUKCardiff1 region for Cardiff + RegionUKCardiff1 Region = "uk-cardiff-1" //RegionLHR region LHR RegionLHR Region = "uk-london-1" + //RegionAPTokyo1 region for Tokyo RegionAPTokyo1 Region = "ap-tokyo-1" //RegionAPOsaka1 region for Osaka @@ -55,14 +60,21 @@ const ( RegionAPMelbourne1 Region = "ap-melbourne-1" //RegionAPSydney1 region for Sydney RegionAPSydney1 Region = "ap-sydney-1" + //RegionMEJeddah1 region for Jeddah RegionMEJeddah1 Region = "me-jeddah-1" + //RegionMEDubai1 region for Dubai + RegionMEDubai1 Region = "me-dubai-1" + //RegionEUZurich1 region for Zurich RegionEUZurich1 Region = "eu-zurich-1" //RegionEUAmsterdam1 region for Amsterdam RegionEUAmsterdam1 Region = "eu-amsterdam-1" + //RegionSASaopaulo1 region for Sao Paulo RegionSASaopaulo1 Region = "sa-saopaulo-1" + //RegionSASantiago1 region for santiago + RegionSASantiago1 Region = "sa-santiago-1" //RegionUSLangley1 region for Langley RegionUSLangley1 Region = "us-langley-1" @@ -100,6 +112,7 @@ var shortNameRegion = map[string]Region{ "iad": RegionIAD, "fra": RegionFRA, "lhr": RegionLHR, + "cwl": RegionUKCardiff1, "ams": RegionEUAmsterdam1, "zrh": RegionEUZurich1, "mel": RegionAPMelbourne1, @@ -110,12 +123,14 @@ var shortNameRegion = map[string]Region{ "nrt": RegionAPTokyo1, "kix": RegionAPOsaka1, "nja": RegionAPChiyoda1, + "jed": RegionMEJeddah1, + "dxb": RegionMEDubai1, "syd": RegionAPSydney1, "yul": RegionCAMontreal1, "yyz": RegionCAToronto1, "sjc": RegionSJC1, "gru": RegionSASaopaulo1, - "jed": RegionMEJeddah1, + "scl": RegionSASantiago1, "ltn": RegionUKGovLondon1, "brs": RegionUKGovCardiff1, } @@ -129,13 +144,17 @@ var realm = map[string]string{ } var regionRealm = map[Region]string{ - RegionPHX: "oc1", - RegionIAD: "oc1", - RegionFRA: "oc1", - RegionLHR: "oc1", - RegionCAToronto1: "oc1", - RegionCAMontreal1: "oc1", - RegionSJC1: "oc1", + RegionPHX: "oc1", + RegionIAD: "oc1", + RegionFRA: "oc1", + RegionLHR: "oc1", + RegionSJC1: "oc1", + + RegionUKCardiff1: "oc1", + + RegionCAToronto1: "oc1", + RegionCAMontreal1: "oc1", + RegionAPTokyo1: "oc1", RegionAPOsaka1: "oc1", RegionAPSeoul1: "oc1", @@ -144,13 +163,19 @@ var regionRealm = map[Region]string{ RegionAPMumbai1: "oc1", RegionAPHyderabad1: "oc1", RegionAPMelbourne1: "oc1", - RegionMEJeddah1: "oc1", + + RegionMEJeddah1: "oc1", + RegionMEDubai1: "oc1", + RegionEUZurich1: "oc1", RegionEUAmsterdam1: "oc1", - RegionSASaopaulo1: "oc1", - RegionUSLangley1: "oc2", - RegionUSLuke1: "oc2", + RegionSASaopaulo1: "oc1", + RegionSASantiago1: "oc1", + + RegionUSLangley1: "oc2", + RegionUSLuke1: "oc2", + RegionUSGovAshburn1: "oc3", RegionUSGovChicago1: "oc3", RegionUSGovPhoenix1: "oc3", diff --git a/vendor/github.com/oracle/oci-go-sdk/common/configuration.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/configuration.go similarity index 81% rename from vendor/github.com/oracle/oci-go-sdk/common/configuration.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/configuration.go index 42ae2275e..90019f70f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -14,6 +14,28 @@ import ( "strings" ) +// AuthenticationType for auth +type AuthenticationType string + +const ( + // UserPrincipal is default auth type + UserPrincipal AuthenticationType = "user_principal" + // InstancePrincipal is used for instance principle auth type + InstancePrincipal AuthenticationType = "instance_principal" + // InstancePrincipalDelegationToken is used for instance principle delegation token auth type + InstancePrincipalDelegationToken AuthenticationType = "instance_principle_delegation_token" + // UnknownAuthenticationType is used for none meaningful auth type + UnknownAuthenticationType AuthenticationType = "unknown_auth_type" +) + +// AuthConfig is used for getting auth related paras in config file +type AuthConfig struct { + AuthType AuthenticationType + // IsFromConfigFile is used to point out if the authConfig is from configuration file + IsFromConfigFile bool + OboToken *string +} + // ConfigurationProvider wraps information about the account owner type ConfigurationProvider interface { KeyProvider @@ -21,9 +43,12 @@ type ConfigurationProvider interface { UserOCID() (string, error) KeyFingerprint() (string, error) Region() (string, error) + // AuthType() is used for specify the needed auth type, like UserPrincipal, InstancePrincipal, etc. + AuthType() (AuthConfig, error) } -// IsConfigurationProviderValid Tests all parts of the configuration provider do not return an error +// IsConfigurationProviderValid Tests all parts of the configuration provider do not return an error, this method will +// not check AuthType(), since authType() is not required to be there. func IsConfigurationProviderValid(conf ConfigurationProvider) (ok bool, err error) { baseFn := []func() (string, error){conf.TenancyOCID, conf.UserOCID, conf.KeyFingerprint, conf.Region, conf.KeyID} for _, fn := range baseFn { @@ -105,6 +130,10 @@ func (p rawConfigurationProvider) Region() (string, error) { return canStringBeRegion(p.region) } +func (p rawConfigurationProvider) AuthType() (AuthConfig, error) { + return AuthConfig{UnknownAuthenticationType, false, nil}, nil +} + // environmentConfigurationProvider reads configuration from environment variables type environmentConfigurationProvider struct { PrivateKeyPassword string @@ -199,6 +228,11 @@ func (p environmentConfigurationProvider) Region() (value string, err error) { return canStringBeRegion(value) } +func (p environmentConfigurationProvider) AuthType() (AuthConfig, error) { + return AuthConfig{UnknownAuthenticationType, false, nil}, + fmt.Errorf("unsupported, keep the interface") +} + // fileConfigurationProvider. reads configuration information from a file type fileConfigurationProvider struct { //The path to the configuration file @@ -241,8 +275,9 @@ func ConfigurationProviderFromFileWithProfile(configFilePath, profile, privateKe } type configFileInfo struct { - UserOcid, Fingerprint, KeyFilePath, TenancyOcid, Region, Passphrase, SecurityTokenFilePath string - PresentConfiguration byte + UserOcid, Fingerprint, KeyFilePath, TenancyOcid, Region, Passphrase, SecurityTokenFilePath, DelegationTokenFilePath, + AuthenticationType string + PresentConfiguration rune } const ( @@ -253,6 +288,8 @@ const ( hasKeyFile hasPassphrase hasSecurityTokenFile + hasDelegationTokenFile + hasAuthenticationType none ) @@ -279,7 +316,7 @@ func parseConfigFile(data []byte, profile string) (info *configFileInfo, err err } func parseConfigAtLine(start int, content []string) (info *configFileInfo, err error) { - var configurationPresent byte + var configurationPresent rune info = &configFileInfo{} for i := start; i < len(content); i++ { line := content[i] @@ -314,6 +351,12 @@ func parseConfigAtLine(start int, content []string) (info *configFileInfo, err e case "security_token_file": configurationPresent = configurationPresent | hasSecurityTokenFile info.SecurityTokenFilePath = value + case "delegation_token_file": + configurationPresent = configurationPresent | hasDelegationTokenFile + info.DelegationTokenFilePath = value + case "authentication_type": + configurationPresent = configurationPresent | hasAuthenticationType + info.AuthenticationType = value } } info.PresentConfiguration = configurationPresent @@ -366,7 +409,7 @@ func (p fileConfigurationProvider) readAndParseConfigFile() (info *configFileInf return p.FileInfo, err } -func presentOrError(value string, expectedConf, presentConf byte, confMissing string) (string, error) { +func presentOrError(value string, expectedConf, presentConf rune, confMissing string) (string, error) { if presentConf&expectedConf == expectedConf { return value, nil } @@ -421,7 +464,11 @@ func (p fileConfigurationProvider) KeyID() (keyID string, err error) { return fmt.Sprintf("%s/%s/%s", info.TenancyOcid, info.UserOcid, info.Fingerprint), nil } if filePath, err := presentOrError(info.SecurityTokenFilePath, hasSecurityTokenFile, info.PresentConfiguration, "securityTokenFilePath"); err == nil { - return getSecurityToken(filePath) + rawString, err := getTokenContent(filePath) + if err != nil { + return "", err + } + return "ST$" + rawString, nil } err = fmt.Errorf("can not read SecurityTokenFilePath from configuration file due to: %s", err.Error()) return @@ -476,14 +523,39 @@ func (p fileConfigurationProvider) Region() (value string, err error) { return canStringBeRegion(value) } -func getSecurityToken(filePath string) (string, error) { +func (p fileConfigurationProvider) AuthType() (AuthConfig, error) { + info, err := p.readAndParseConfigFile() + if err != nil { + err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error()) + return AuthConfig{UnknownAuthenticationType, true, nil}, err + } + val, err := presentOrError(info.AuthenticationType, hasAuthenticationType, info.PresentConfiguration, "authentication_type") + + if val == "instance_principal" { + if filePath, err := presentOrError(info.DelegationTokenFilePath, hasDelegationTokenFile, info.PresentConfiguration, "delegationTokenFilePath"); err == nil { + if delegationToken, err := getTokenContent(filePath); err == nil && delegationToken != "" { + Debugf("delegation token content is %s, and error is %s ", delegationToken, err) + return AuthConfig{InstancePrincipalDelegationToken, true, &delegationToken}, nil + } + return AuthConfig{UnknownAuthenticationType, true, nil}, err + + } + // normal instance principle + return AuthConfig{InstancePrincipal, true, nil}, nil + } + + // by default, if no "authentication_type" is provided, just treated as user principle type, and will not return error + return AuthConfig{UserPrincipal, true, nil}, nil +} + +func getTokenContent(filePath string) (string, error) { expandedPath := expandPath(filePath) tokenFileContent, err := ioutil.ReadFile(expandedPath) if err != nil { - err = fmt.Errorf("can not read PrivateKey from configuration file due to: %s", err.Error()) + err = fmt.Errorf("can not read token content from configuration file due to: %s", err.Error()) return "", err } - return fmt.Sprintf("ST$%s", tokenFileContent), nil + return fmt.Sprintf("%s", tokenFileContent), nil } // A configuration provider that look for information in multiple configuration providers @@ -569,6 +641,15 @@ func (c composingConfigurationProvider) PrivateRSAKey() (*rsa.PrivateKey, error) return nil, fmt.Errorf("did not find a proper configuration for private key") } +func (c composingConfigurationProvider) AuthType() (AuthConfig, error) { + // only check the first default fileConfigProvider + authConfig, err := c.Providers[0].AuthType() + if err == nil && authConfig.AuthType != UnknownAuthenticationType { + return authConfig, nil + } + return AuthConfig{UnknownAuthenticationType, false, nil}, fmt.Errorf("did not find a proper configuration for auth type") +} + func getRegionFromEnvVar() (string, error) { regionEnvVar := "OCI_REGION" if region, existed := os.LookupEnv(regionEnvVar); existed { diff --git a/vendor/github.com/oracle/oci-go-sdk/common/errors.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/errors.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/common/errors.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/errors.go index 46f27c9f2..8601395e0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/errors.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/common/helpers.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/helpers.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/common/helpers.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/helpers.go index 9a564d068..8671777fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/helpers.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/helpers.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -9,6 +9,7 @@ import ( "crypto/x509" "encoding/pem" "fmt" + "net/textproto" "reflect" "strconv" "strings" @@ -255,6 +256,16 @@ func parsePKCSPrivateKey(decryptedKey []byte) (*rsa.PrivateKey, error) { return nil, fmt.Errorf("failed to parse private key") } +// parseContentLength trims whitespace from cl and returns -1 if can't purse uint, or the value if it's no less than 0 +func parseContentLength(cl string) int64 { + cl = textproto.TrimString(cl) + n, err := strconv.ParseUint(cl, 10, 63) + if err != nil { + return -1 + } + return int64(n) +} + func generateRandUUID() (string, error) { b := make([]byte, 16) _, err := rand.Read(b) diff --git a/vendor/github.com/oracle/oci-go-sdk/common/http.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/http.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/common/http.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/http.go index 498749ee6..92859c6ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/http.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/http.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -11,6 +11,7 @@ import ( "io/ioutil" "net/http" "net/url" + "os" "reflect" "regexp" "strconv" @@ -249,7 +250,7 @@ func removeNilFieldsInJSONWithTaggedStruct(rawJSON []byte, value reflect.Value) return json.Marshal(fixedMap) } -func addToBody(request *http.Request, value reflect.Value, field reflect.StructField) (e error) { +func addToBody(request *http.Request, value reflect.Value, field reflect.StructField, binaryBodySpecified *bool) (e error) { Debugln("Marshaling to body from field:", field.Name) if request.Body != nil { Logf("The body of the request is already set. Structure: %s will overwrite it\n", field.Name) @@ -258,6 +259,7 @@ func addToBody(request *http.Request, value reflect.Value, field reflect.StructF encoding := tag.Get("encoding") if encoding == "binary" { + *binaryBodySpecified = true return addBinaryBody(request, value, field) } @@ -279,12 +281,52 @@ func addToBody(request *http.Request, value reflect.Value, field reflect.StructF request.Header.Set(requestHeaderContentLength, strconv.FormatInt(request.ContentLength, 10)) request.Header.Set(requestHeaderContentType, "application/json") request.Body = ioutil.NopCloser(bodyBytes) + snapshot := *bodyBytes request.GetBody = func() (io.ReadCloser, error) { - return ioutil.NopCloser(bodyBytes), nil + r := snapshot + return ioutil.NopCloser(&r), nil } + return } +func checkBinaryBodyLength(request *http.Request) (contentLen int64, err error) { + if reflect.TypeOf(request.Body) == reflect.TypeOf(ioutil.NopCloser(nil)) { + ioReader := reflect.ValueOf(request.Body).Field(0).Interface().(io.Reader) + switch t := ioReader.(type) { + case *bytes.Reader: + return int64(t.Len()), nil + case *bytes.Buffer: + return int64(t.Len()), nil + case *strings.Reader: + return int64(t.Len()), nil + default: + return getNormalBinaryBodyLength(request) + } + } + if reflect.TypeOf(request.Body) == reflect.TypeOf((*os.File)(nil)) { + fi, err := (request.Body.(*os.File)).Stat() + if err != nil { + return contentLen, err + } + return fi.Size(), nil + } + return getNormalBinaryBodyLength(request) +} + +func getNormalBinaryBodyLength(request *http.Request) (contentLen int64, err error) { + dumpRequestBody := ioutil.NopCloser(bytes.NewBuffer(nil)) + if dumpRequestBody, request.Body, err = drainBody(request.Body); err != nil { + dumpRequestBody = ioutil.NopCloser(bytes.NewBuffer(nil)) + return contentLen, err + } + contentBody, err := ioutil.ReadAll(dumpRequestBody) + if err != nil { + return contentLen, err + } + return int64(len(contentBody)), nil +} + func addToQuery(request *http.Request, value reflect.Value, field reflect.StructField) (e error) { Debugln("Marshaling to query from field: ", field.Name) if request.URL == nil { @@ -401,7 +443,7 @@ func addToPath(request *http.Request, value reflect.Value, field reflect.StructF return } -func setWellKnownHeaders(request *http.Request, headerName, headerValue string) (e error) { +func setWellKnownHeaders(request *http.Request, headerName, headerValue string, contentLenSpecified *bool) (e error) { switch strings.ToLower(headerName) { case "content-length": var len int @@ -410,11 +452,12 @@ func setWellKnownHeaders(request *http.Request, headerName, headerValue string) return } request.ContentLength = int64(len) + *contentLenSpecified = true } return nil } -func addToHeader(request *http.Request, value reflect.Value, field reflect.StructField) (e error) { +func addToHeader(request *http.Request, value reflect.Value, field reflect.StructField, contentLenSpecified *bool) (e error) { Debugln("Marshaling to header from field: ", field.Name) if request.Header == nil { request.Header = http.Header{} @@ -445,7 +488,7 @@ func addToHeader(request *http.Request, value reflect.Value, field reflect.Struc return } - if e = setWellKnownHeaders(request, headerName, headerValue); e != nil { + if e = setWellKnownHeaders(request, headerName, headerValue, contentLenSpecified); e != nil { return } @@ -459,7 +502,7 @@ func addToHeader(request *http.Request, value reflect.Value, field reflect.Struc // Check if the header is required to be unique func isUniqueHeaderRequired(headerName string) bool { - return strings.EqualFold(headerName, requestHeaderContentType) + return strings.EqualFold(headerName, requestHeaderContentType) || strings.EqualFold(headerName, requestHeaderContentLength) } // Header collection is a map of string to string that gets rendered as individual headers with a given prefix @@ -526,6 +569,8 @@ func checkForValidRequestStruct(s interface{}) (*reflect.Value, error) { // nested structs are followed recursively depth-first. func structToRequestPart(request *http.Request, val reflect.Value) (err error) { typ := val.Type() + contentLenSpecified := false + binaryBodySpecified := false for i := 0; i < typ.NumField(); i++ { if err != nil { return @@ -541,7 +586,7 @@ func structToRequestPart(request *http.Request, val reflect.Value) (err error) { tag := sf.Tag.Get("contributesTo") switch tag { case "header": - err = addToHeader(request, sv, sf) + err = addToHeader(request, sv, sf, &contentLenSpecified) case "header-collection": err = addToHeaderCollection(request, sv, sf) case "path": @@ -549,7 +594,7 @@ func structToRequestPart(request *http.Request, val reflect.Value) (err error) { case "query": err = addToQuery(request, sv, sf) case "body": - err = addToBody(request, sv, sf) + err = addToBody(request, sv, sf, &binaryBodySpecified) case "": Debugln(sf.Name, " does not contain contributes tag. Skipping.") default: @@ -557,6 +602,20 @@ func structToRequestPart(request *http.Request, val reflect.Value) (err error) { } } + // if content-length is not specified but with binary body, calculate the content length according to request body + if !contentLenSpecified && binaryBodySpecified && request.Body != nil && request.Body != http.NoBody { + contentLen, err := checkBinaryBodyLength(request) + if err == nil { + request.Header.Set(requestHeaderContentLength, strconv.FormatInt(contentLen, 10)) + request.ContentLength = contentLen + } + } + + //If content length is zero, to avoid sending transfer-coding: chunked header, need to explicitly set the body to nil/Nobody. + if request.Header != nil && request.Body != nil && request.Body != http.NoBody && + parseContentLength(request.Header.Get(requestHeaderContentLength)) == 0 { + request.Body = http.NoBody + } //If headers are and the content type was not set, we default to application/json if request.Header != nil && request.Header.Get(requestHeaderContentType) == "" { request.Header.Set(requestHeaderContentType, "application/json") @@ -750,7 +809,7 @@ func analyzeValue(stringValue string, kind reflect.Kind, field reflect.StructFie return } -// Sets the field of a struct, with the appropiate value of the string +// Sets the field of a struct, with the appropriate value of the string // Only sets basic types func fromStringValue(newValue string, val *reflect.Value, field reflect.StructField) (err error) { @@ -767,11 +826,12 @@ func fromStringValue(newValue string, val *reflect.Value, field reflect.StructFi } value, valPtr, err := analyzeValue(newValue, kind, field) + valueType := val.Type() if err != nil { return } if !isPointer { - val.Set(value) + val.Set(value.Convert(valueType)) } else { val.Set(valPtr) } diff --git a/vendor/github.com/oracle/oci-go-sdk/common/http_signer.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/http_signer.go similarity index 99% rename from vendor/github.com/oracle/oci-go-sdk/common/http_signer.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/http_signer.go index 573bdff43..f678e17bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/http_signer.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/http_signer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/common/log.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/log.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/common/log.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/log.go index 2cfc773c6..b9578fa35 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/log.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -80,7 +80,7 @@ func newSDKLogger() (defaultSDKLogger, error) { configured, isLogEnabled := os.LookupEnv("OCI_GO_SDK_DEBUG") - // If env variable not present turn logging of + // If env variable not present turn logging off if !isLogEnabled { logger.currentLoggingLevel = noLogging } else { @@ -132,7 +132,7 @@ func (l defaultSDKLogger) getLoggerForLevel(logLevel int) *log.Logger { // Output mode is switched based on environment variable "OCI_GO_SDK_LOG_OUPUT_MODE" // "file" outputs log to a specific file // "combine" outputs log to both stderr and specific file -// other unsupported value ouputs log to stderr +// other unsupported value outputs log to stderr // output file can be set via environment variable "OCI_GO_SDK_LOG_FILE" // if this environment variable is not set, a default log file will be created under project root path func logOutputModeConfig(logger defaultSDKLogger) { @@ -221,3 +221,10 @@ func IfDebug(fn func()) { fn() } } + +// IfInfo executes closure if info is enabled +func IfInfo(fn func()) { + if defaultLogger.LogLevel() >= infoLogging { + fn() + } +} diff --git a/vendor/github.com/oracle/oci-go-sdk/common/retry.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/retry.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/common/retry.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/retry.go index e5fd47dc5..6c62c2f4c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/retry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/retry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/common/version.go b/vendor/github.com/oracle/oci-go-sdk/v36/common/version.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/common/version.go rename to vendor/github.com/oracle/oci-go-sdk/v36/common/version.go index 29bb6987b..acb4d8d7a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/common/version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/common/version.go @@ -11,8 +11,8 @@ import ( ) const ( - major = "24" - minor = "3" + major = "36" + minor = "2" patch = "0" tag = "" ) diff --git a/vendor/github.com/oracle/oci-go-sdk/core/add_image_shape_compatibility_entry_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_image_shape_compatibility_entry_details.go similarity index 84% rename from vendor/github.com/oracle/oci-go-sdk/core/add_image_shape_compatibility_entry_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/add_image_shape_compatibility_entry_details.go index ec07a1ab9..2039c92f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/add_image_shape_compatibility_entry_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_image_shape_compatibility_entry_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,11 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AddImageShapeCompatibilityEntryDetails Image shape compatibility details. type AddImageShapeCompatibilityEntryDetails struct { + MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"` + OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/add_image_shape_compatibility_entry_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_image_shape_compatibility_entry_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/add_image_shape_compatibility_entry_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/add_image_shape_compatibility_entry_request_response.go index ed7b65bb2..a03a90a32 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/add_image_shape_compatibility_entry_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_image_shape_compatibility_entry_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AddImageShapeCompatibilityEntryRequest wrapper for the AddImageShapeCompatibilityEntry operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntryRequest. type AddImageShapeCompatibilityEntryRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/add_network_security_group_security_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_network_security_group_security_rules_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/add_network_security_group_security_rules_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/add_network_security_group_security_rules_details.go index b313513dd..9ea4c73da 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/add_network_security_group_security_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AddNetworkSecurityGroupSecurityRulesDetails The representation of AddNetworkSecurityGroupSecurityRulesDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/add_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_network_security_group_security_rules_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/add_network_security_group_security_rules_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/add_network_security_group_security_rules_request_response.go index 85d2ce505..69cb7a580 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/add_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_network_security_group_security_rules_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AddNetworkSecurityGroupSecurityRulesRequest wrapper for the AddNetworkSecurityGroupSecurityRules operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRulesRequest. type AddNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request with one or more security rules to be associated with the network security group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_public_ip_pool_capacity_details.go similarity index 53% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_instance_agent_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/add_public_ip_pool_capacity_details.go index 1cdf3f22d..e17ae05b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_agent_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_public_ip_pool_capacity_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,21 +14,20 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// LaunchInstanceAgentConfigDetails Instance agent configuration options to choose for launching the instance -type LaunchInstanceAgentConfigDetails struct { +// AddPublicIpPoolCapacityDetails The information used to add capacity to an IP pool. +type AddPublicIpPoolCapacityDetails struct { - // Whether the agent running on the instance can gather performance metrics and monitor the instance. - // Default value is false. - IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. + ByoipRangeId *string `mandatory:"true" json:"byoipRangeId"` - // Whether the agent running on the instance can run all the available management plugins. - // Default value is false. - IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + // The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in `byoipRangeId`, or a subrange. + // Example: `10.0.1.0/24` + CidrBlock *string `mandatory:"true" json:"cidrBlock"` } -func (m LaunchInstanceAgentConfigDetails) String() string { +func (m AddPublicIpPoolCapacityDetails) String() string { return common.PointerString(m) } diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/add_public_ip_pool_capacity_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_public_ip_pool_capacity_request_response.go new file mode 100644 index 000000000..a006e43c4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_public_ip_pool_capacity_request_response.go @@ -0,0 +1,79 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// AddPublicIpPoolCapacityRequest wrapper for the AddPublicIpPoolCapacity operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacityRequest. +type AddPublicIpPoolCapacityRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` + + // Byoip Range prefix and a cidr from it + AddPublicIpPoolCapacityDetails `contributesTo:"body"` + + // 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 +} + +func (request AddPublicIpPoolCapacityRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request AddPublicIpPoolCapacityRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request AddPublicIpPoolCapacityRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// AddPublicIpPoolCapacityResponse wrapper for the AddPublicIpPoolCapacity operation +type AddPublicIpPoolCapacityResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicIpPool instance + PublicIpPool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response AddPublicIpPoolCapacityResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response AddPublicIpPoolCapacityResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/add_security_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_security_rule_details.go similarity index 84% rename from vendor/github.com/oracle/oci-go-sdk/core/add_security_rule_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/add_security_rule_details.go index 80fa9d30a..4baa6ddac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/add_security_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_security_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,14 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AddSecurityRuleDetails A rule for allowing inbound (INGRESS) or outbound (EGRESS) IP packets. type AddSecurityRuleDetails struct { - // Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets. + // Direction 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 @@ -37,7 +38,7 @@ type AddSecurityRuleDetails struct { // Allowed values: // * An 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -56,15 +57,6 @@ type AddSecurityRuleDetails struct { // NetworkSecurityGroup. DestinationType AddSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` - // 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. IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"` // A stateless rule allows traffic in one direction. Remember to add a corresponding @@ -79,7 +71,7 @@ type AddSecurityRuleDetails struct { // Allowed values: // * An 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -97,12 +89,8 @@ type AddSecurityRuleDetails struct { // NetworkSecurityGroup. SourceType AddSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` - // 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. TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"` - // 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. UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/add_vcn_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_vcn_cidr_details.go new file mode 100644 index 000000000..47e6aa0fc --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_vcn_cidr_details.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// AddVcnCidrDetails Details for adding a CIDR block to a VCN. +type AddVcnCidrDetails struct { + + // The CIDR block to add. + CidrBlock *string `mandatory:"true" json:"cidrBlock"` +} + +func (m AddVcnCidrDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/add_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_vcn_cidr_request_response.go new file mode 100644 index 000000000..a26798519 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/add_vcn_cidr_request_response.go @@ -0,0 +1,82 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// AddVcnCidrRequest wrapper for the AddVcnCidr operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidrRequest. +type AddVcnCidrRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` + + // Details object for deleting a VCN CIDR. + AddVcnCidrDetails `contributesTo:"body"` + + // 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"` + + // 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request AddVcnCidrRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request AddVcnCidrRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request AddVcnCidrRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// AddVcnCidrResponse wrapper for the AddVcnCidr operation +type AddVcnCidrResponse 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"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response AddVcnCidrResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response AddVcnCidrResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/added_network_security_group_security_rules.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/added_network_security_group_security_rules.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/added_network_security_group_security_rules.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/added_network_security_group_security_rules.go index 241ffad4d..8a3c380b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/added_network_security_group_security_rules.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/added_network_security_group_security_rules.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AddedNetworkSecurityGroupSecurityRules The representation of AddedNetworkSecurityGroupSecurityRules diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/advertise_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/advertise_byoip_range_request_response.go new file mode 100644 index 000000000..b5d264f21 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/advertise_byoip_range_request_response.go @@ -0,0 +1,63 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// AdvertiseByoipRangeRequest wrapper for the AdvertiseByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRangeRequest. +type AdvertiseByoipRangeRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request AdvertiseByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request AdvertiseByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request AdvertiseByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// AdvertiseByoipRangeResponse wrapper for the AdvertiseByoipRange operation +type AdvertiseByoipRangeResponse 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"` +} + +func (response AdvertiseByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response AdvertiseByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/amd_milan_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/amd_milan_bm_launch_instance_platform_config.go new file mode 100644 index 000000000..dc60063b6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/amd_milan_bm_launch_instance_platform_config.go @@ -0,0 +1,71 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "encoding/json" + "github.com/oracle/oci-go-sdk/v36/common" +) + +// AmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance specific to the AMD Milan platform. +type AmdMilanBmLaunchInstancePlatformConfig struct { + + // The number of NUMA nodes per socket. + NumaNodesPerSocket AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +func (m AmdMilanBmLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// MarshalJSON marshals to json representation +func (m AmdMilanBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdMilanBmLaunchInstancePlatformConfig AmdMilanBmLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdMilanBmLaunchInstancePlatformConfig + }{ + "AMD_MILAN_BM", + (MarshalTypeAmdMilanBmLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocket = map[string]AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocket { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/amd_milan_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/amd_milan_bm_platform_config.go new file mode 100644 index 000000000..cb3681846 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/amd_milan_bm_platform_config.go @@ -0,0 +1,71 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "encoding/json" + "github.com/oracle/oci-go-sdk/v36/common" +) + +// AmdMilanBmPlatformConfig The platform configuration of a bare metal instance specific to the AMD Milan platform. +type AmdMilanBmPlatformConfig struct { + + // The number of NUMA nodes per socket. + NumaNodesPerSocket AmdMilanBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +func (m AmdMilanBmPlatformConfig) String() string { + return common.PointerString(m) +} + +// MarshalJSON marshals to json representation +func (m AmdMilanBmPlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeAmdMilanBmPlatformConfig AmdMilanBmPlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeAmdMilanBmPlatformConfig + }{ + "AMD_MILAN_BM", + (MarshalTypeAmdMilanBmPlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// AmdMilanBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type AmdMilanBmPlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for AmdMilanBmPlatformConfigNumaNodesPerSocketEnum +const ( + AmdMilanBmPlatformConfigNumaNodesPerSocketNps0 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS0" + AmdMilanBmPlatformConfigNumaNodesPerSocketNps1 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS1" + AmdMilanBmPlatformConfigNumaNodesPerSocketNps2 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS2" + AmdMilanBmPlatformConfigNumaNodesPerSocketNps4 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingAmdMilanBmPlatformConfigNumaNodesPerSocket = map[string]AmdMilanBmPlatformConfigNumaNodesPerSocketEnum{ + "NPS0": AmdMilanBmPlatformConfigNumaNodesPerSocketNps0, + "NPS1": AmdMilanBmPlatformConfigNumaNodesPerSocketNps1, + "NPS2": AmdMilanBmPlatformConfigNumaNodesPerSocketNps2, + "NPS4": AmdMilanBmPlatformConfigNumaNodesPerSocketNps4, +} + +// GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmPlatformConfigNumaNodesPerSocketEnum +func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumValues() []AmdMilanBmPlatformConfigNumaNodesPerSocketEnum { + values := make([]AmdMilanBmPlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingAmdMilanBmPlatformConfigNumaNodesPerSocket { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing.go index 1bc03f8bb..f261736eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogListing Listing details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version.go index 5c284799a..07de8a901 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogListingResourceVersion Listing Resource Version diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version_agreements.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version_agreements.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version_agreements.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version_agreements.go index 84f5681d8..3ec156cfb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version_agreements.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version_agreements.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogListingResourceVersionAgreements Agreements for a listing resource version. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version_summary.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version_summary.go index 4aaff3089..86b5932ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_resource_version_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_resource_version_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogListingResourceVersionSummary Listing Resource Version summary diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_summary.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_summary.go index be4c7bc47..6002eed8b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_listing_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_listing_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogListingSummary A summary of a listing. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_subscription.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_subscription.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_subscription.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_subscription.go index f01e12149..85d35f668 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_subscription.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_subscription.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogSubscription a subscription for a listing resource version. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_subscription_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_subscription_summary.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/app_catalog_subscription_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_subscription_summary.go index c7d5b3bd7..3370c7551 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/app_catalog_subscription_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/app_catalog_subscription_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AppCatalogSubscriptionSummary a subscription summary for a listing resource version. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_boot_volume_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_boot_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_boot_volume_details.go index 02b6786c9..9f893643e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachBootVolumeDetails The representation of AttachBootVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_boot_volume_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_boot_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_boot_volume_request_response.go index 1975b6e13..edf56d61d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_boot_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AttachBootVolumeRequest wrapper for the AttachBootVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolumeRequest. type AttachBootVolumeRequest struct { // Attach boot volume request diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_emulated_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_emulated_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_emulated_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_emulated_volume_details.go index 3c1d2f497..cd987462e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_emulated_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_emulated_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachEmulatedVolumeDetails The representation of AttachEmulatedVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_i_scsi_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_i_scsi_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_i_scsi_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_i_scsi_volume_details.go index 9240ff35f..bee354d7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_i_scsi_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_i_scsi_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachIScsiVolumeDetails The representation of AttachIScsiVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_instance_pool_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_instance_pool_instance_details.go new file mode 100644 index 000000000..32a91bee9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_instance_pool_instance_details.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// AttachInstancePoolInstanceDetails Contains an instance and availability domain information for attaching an instance to the pool. +type AttachInstancePoolInstanceDetails struct { + + // the instance ocid to attach. + InstanceId *string `mandatory:"true" json:"instanceId"` +} + +func (m AttachInstancePoolInstanceDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_instance_pool_instance_request_response.go new file mode 100644 index 000000000..c9905bba3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_instance_pool_instance_request_response.go @@ -0,0 +1,86 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// AttachInstancePoolInstanceRequest wrapper for the AttachInstancePoolInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstanceRequest. +type AttachInstancePoolInstanceRequest struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. + InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` + + // Attach an instance to a pool + AttachInstancePoolInstanceDetails `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 Oracle-assigned identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request AttachInstancePoolInstanceRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request AttachInstancePoolInstanceRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request AttachInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// AttachInstancePoolInstanceResponse wrapper for the AttachInstancePoolInstance operation +type AttachInstancePoolInstanceResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The InstancePoolInstance instance + InstancePoolInstance `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 optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Location of the resource. + Location *string `presentIn:"header" name:"location"` +} + +func (response AttachInstancePoolInstanceResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response AttachInstancePoolInstanceResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_load_balancer_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_load_balancer_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_load_balancer_details.go index 1498e162f..25ecba384 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachLoadBalancerDetails Represents a load balancer that is to be attached to an instance pool. @@ -29,7 +29,9 @@ type AttachLoadBalancerDetails struct { // The port value to use when creating the backend set. Port *int `mandatory:"true" json:"port"` - // Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. + // Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. + // Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration + // that is associated with the instance pool. VnicSelection *string `mandatory:"true" json:"vnicSelection"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_load_balancer_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_load_balancer_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_load_balancer_request_response.go index 11cafe103..8f5211505 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_load_balancer_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AttachLoadBalancerRequest wrapper for the AttachLoadBalancer operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancerRequest. type AttachLoadBalancerRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -26,7 +30,7 @@ type AttachLoadBalancerRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_paravirtualized_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_paravirtualized_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_paravirtualized_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_paravirtualized_volume_details.go index 6eb64095e..47587e833 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_paravirtualized_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_paravirtualized_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachParavirtualizedVolumeDetails The representation of AttachParavirtualizedVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_service_determined_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_service_determined_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_service_determined_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_service_determined_volume_details.go index 71d9c8589..4f6f504b3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_service_determined_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_service_determined_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachServiceDeterminedVolumeDetails The representation of AttachServiceDeterminedVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_service_id_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_service_id_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_service_id_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_service_id_request_response.go index 67a968700..f6dd2724f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_service_id_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_service_id_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AttachServiceIdRequest wrapper for the AttachServiceId operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceIdRequest. type AttachServiceIdRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // ServiceId of Service to be attached to a service gateway. AttachServiceDetails ServiceIdRequestDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_vnic_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_vnic_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_vnic_details.go index 60e3cc721..fa74147c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,11 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachVnicDetails The representation of AttachVnicDetails type AttachVnicDetails struct { - - // Details for creating a new VNIC. CreateVnicDetails *CreateVnicDetails `mandatory:"true" json:"createVnicDetails"` // The OCID of the instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_vnic_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_vnic_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_vnic_request_response.go index 5d0e2fcb9..caac4da81 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_vnic_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AttachVnicRequest wrapper for the AttachVnic operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnicRequest. type AttachVnicRequest struct { // Attach VNIC details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_volume_details.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_volume_details.go index 430ff442d..0e83e55e9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // AttachVolumeDetails The representation of AttachVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/attach_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_volume_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/attach_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/attach_volume_request_response.go index 2a86ae3e5..1f8eb5461 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/attach_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/attach_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // AttachVolumeRequest wrapper for the AttachVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolumeRequest. type AttachVolumeRequest struct { // Attach volume request diff --git a/vendor/github.com/oracle/oci-go-sdk/core/bgp_session_info.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/bgp_session_info.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/bgp_session_info.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/bgp_session_info.go index ca5bc055c..699163cf2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/bgp_session_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/bgp_session_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BgpSessionInfo Information for establishing a BGP session for the IPSec tunnel. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boolean_image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boolean_image_capability_schema_descriptor.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/boolean_image_capability_schema_descriptor.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boolean_image_capability_schema_descriptor.go index 99d7475c4..f2ea9577f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boolean_image_capability_schema_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boolean_image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BooleanImageCapabilitySchemaDescriptor Boolean type ImageCapabilitySchemaDescriptor diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume.go index 1b0f20835..5ff508f3a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolume A detachable boot volume device that contains the image used to boot a Compute instance. For more information, see @@ -69,7 +69,8 @@ type BootVolume struct { // The image OCID used to create the boot volume. ImageId *string `mandatory:"false" json:"imageId"` - // Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup. + // Specifies whether the boot volume's data has finished copying + // from the source boot volume or boot volume backup. IsHydrated *bool `mandatory:"false" json:"isHydrated"` // The number of volume performance units (VPUs) that will be applied to this boot volume per GB, @@ -83,8 +84,6 @@ type BootVolume struct { // The size of the boot volume in GBs. SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"` - // The boot volume source, either an existing boot volume in the same availability domain or a boot volume backup. - // If null, this means that the boot volume was created from an image. SourceDetails BootVolumeSourceDetails `mandatory:"false" json:"sourceDetails"` // The OCID of the source volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_attachment.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_attachment.go index 865ab6155..7613f04c8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolumeAttachment Represents an attachment between a boot volume and an instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_backup.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_backup.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume_backup.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_backup.go index 0297e6171..01ff8612d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_backup.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolumeBackup A point-in-time copy of a boot volume that can then be used to create diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_kms_key.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_kms_key.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume_kms_key.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_kms_key.go index af7755b6b..a3a815bc1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_kms_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_kms_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolumeKmsKey The Key Management master encryption key associated with this volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_details.go index a7fcb2967..40767bd95 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolumeSourceDetails The representation of BootVolumeSourceDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_from_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_from_boot_volume_backup_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_from_boot_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_from_boot_volume_backup_details.go index eeeb88490..2de07377e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_from_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_from_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolumeSourceFromBootVolumeBackupDetails Specifies the boot volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_from_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_from_boot_volume_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_from_boot_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_from_boot_volume_details.go index 13229cf48..3167c8b2e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/boot_volume_source_from_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/boot_volume_source_from_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BootVolumeSourceFromBootVolumeDetails Specifies the source boot volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/bulk_add_virtual_circuit_public_prefixes_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_add_virtual_circuit_public_prefixes_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/bulk_add_virtual_circuit_public_prefixes_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_add_virtual_circuit_public_prefixes_details.go index 4645307cb..d223b2cfb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/bulk_add_virtual_circuit_public_prefixes_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_add_virtual_circuit_public_prefixes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BulkAddVirtualCircuitPublicPrefixesDetails The representation of BulkAddVirtualCircuitPublicPrefixesDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/bulk_add_virtual_circuit_public_prefixes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_add_virtual_circuit_public_prefixes_request_response.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/bulk_add_virtual_circuit_public_prefixes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_add_virtual_circuit_public_prefixes_request_response.go index e06005e0b..2f18c5865 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/bulk_add_virtual_circuit_public_prefixes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_add_virtual_circuit_public_prefixes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // BulkAddVirtualCircuitPublicPrefixesRequest wrapper for the BulkAddVirtualCircuitPublicPrefixes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixesRequest. type BulkAddVirtualCircuitPublicPrefixesRequest struct { // The OCID of the virtual circuit. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/bulk_delete_virtual_circuit_public_prefixes_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_delete_virtual_circuit_public_prefixes_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/bulk_delete_virtual_circuit_public_prefixes_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_delete_virtual_circuit_public_prefixes_details.go index 91798694a..a0c11d13d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/bulk_delete_virtual_circuit_public_prefixes_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_delete_virtual_circuit_public_prefixes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // BulkDeleteVirtualCircuitPublicPrefixesDetails The representation of BulkDeleteVirtualCircuitPublicPrefixesDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go index c8746a48f..a993ab8f6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // BulkDeleteVirtualCircuitPublicPrefixesRequest wrapper for the BulkDeleteVirtualCircuitPublicPrefixes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixesRequest. type BulkDeleteVirtualCircuitPublicPrefixesRequest struct { // The OCID of the virtual circuit. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_allocated_range_collection.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_allocated_range_collection.go new file mode 100644 index 000000000..81b5463b2 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_allocated_range_collection.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ByoipAllocatedRangeCollection Results of a `ListByoipAllocatedRanges` operation. +type ByoipAllocatedRangeCollection struct { + + // A list of subranges of a BYOIP CIDR block allocated to an IP pool. + Items []ByoipAllocatedRangeSummary `mandatory:"true" json:"items"` +} + +func (m ByoipAllocatedRangeCollection) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_allocated_range_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_allocated_range_summary.go new file mode 100644 index 000000000..f3d0576db --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_allocated_range_summary.go @@ -0,0 +1,32 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ByoipAllocatedRangeSummary A summary of CIDR block subranges that are currently allocated to an IP pool. +type ByoipAllocatedRangeSummary struct { + + // The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block. + CidrBlock *string `mandatory:"false" json:"cidrBlock"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP pool containing the CIDR block. + PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` +} + +func (m ByoipAllocatedRangeSummary) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range.go new file mode 100644 index 000000000..7edfe0cd2 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range.go @@ -0,0 +1,141 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ByoipRange Oracle offers the ability to Bring Your Own IP (BYOIP), importing public IP addresses that you currently own to Oracle Cloud Infrastructure. A `ByoipRange` resource is a record of the imported address block (a BYOIP CIDR block) and also some associated metadata. +// The process used to Bring Your Own IP (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm) is explained in the documentation. +type ByoipRange struct { + + // The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. + CidrBlock *string `mandatory:"true" json:"cidrBlock"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. + Id *string `mandatory:"true" json:"id"` + + // The `ByoipRange` resource's current state. + LifecycleState ByoipRangeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The date and time the `ByoipRange` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. + ValidationToken *string `mandatory:"true" json:"validationToken"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The `ByoipRange` resource's current status. + LifecycleDetails ByoipRangeLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` + + // The date and time the `ByoipRange` resource was validated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeValidated *common.SDKTime `mandatory:"false" json:"timeValidated"` + + // The date and time the `ByoipRange` resource was advertised to the internet by BGP, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeAdvertised *common.SDKTime `mandatory:"false" json:"timeAdvertised"` + + // The date and time the `ByoipRange` resource was withdrawn from advertisement by BGP to the internet, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeWithdrawn *common.SDKTime `mandatory:"false" json:"timeWithdrawn"` +} + +func (m ByoipRange) String() string { + return common.PointerString(m) +} + +// ByoipRangeLifecycleDetailsEnum Enum with underlying type: string +type ByoipRangeLifecycleDetailsEnum string + +// Set of constants representing the allowable values for ByoipRangeLifecycleDetailsEnum +const ( + ByoipRangeLifecycleDetailsCreating ByoipRangeLifecycleDetailsEnum = "CREATING" + ByoipRangeLifecycleDetailsValidating ByoipRangeLifecycleDetailsEnum = "VALIDATING" + ByoipRangeLifecycleDetailsProvisioned ByoipRangeLifecycleDetailsEnum = "PROVISIONED" + ByoipRangeLifecycleDetailsActive ByoipRangeLifecycleDetailsEnum = "ACTIVE" + ByoipRangeLifecycleDetailsFailed ByoipRangeLifecycleDetailsEnum = "FAILED" + ByoipRangeLifecycleDetailsDeleting ByoipRangeLifecycleDetailsEnum = "DELETING" + ByoipRangeLifecycleDetailsDeleted ByoipRangeLifecycleDetailsEnum = "DELETED" + ByoipRangeLifecycleDetailsAdvertising ByoipRangeLifecycleDetailsEnum = "ADVERTISING" + ByoipRangeLifecycleDetailsWithdrawing ByoipRangeLifecycleDetailsEnum = "WITHDRAWING" +) + +var mappingByoipRangeLifecycleDetails = map[string]ByoipRangeLifecycleDetailsEnum{ + "CREATING": ByoipRangeLifecycleDetailsCreating, + "VALIDATING": ByoipRangeLifecycleDetailsValidating, + "PROVISIONED": ByoipRangeLifecycleDetailsProvisioned, + "ACTIVE": ByoipRangeLifecycleDetailsActive, + "FAILED": ByoipRangeLifecycleDetailsFailed, + "DELETING": ByoipRangeLifecycleDetailsDeleting, + "DELETED": ByoipRangeLifecycleDetailsDeleted, + "ADVERTISING": ByoipRangeLifecycleDetailsAdvertising, + "WITHDRAWING": ByoipRangeLifecycleDetailsWithdrawing, +} + +// GetByoipRangeLifecycleDetailsEnumValues Enumerates the set of values for ByoipRangeLifecycleDetailsEnum +func GetByoipRangeLifecycleDetailsEnumValues() []ByoipRangeLifecycleDetailsEnum { + values := make([]ByoipRangeLifecycleDetailsEnum, 0) + for _, v := range mappingByoipRangeLifecycleDetails { + values = append(values, v) + } + return values +} + +// ByoipRangeLifecycleStateEnum Enum with underlying type: string +type ByoipRangeLifecycleStateEnum string + +// Set of constants representing the allowable values for ByoipRangeLifecycleStateEnum +const ( + ByoipRangeLifecycleStateInactive ByoipRangeLifecycleStateEnum = "INACTIVE" + ByoipRangeLifecycleStateUpdating ByoipRangeLifecycleStateEnum = "UPDATING" + ByoipRangeLifecycleStateActive ByoipRangeLifecycleStateEnum = "ACTIVE" + ByoipRangeLifecycleStateDeleting ByoipRangeLifecycleStateEnum = "DELETING" + ByoipRangeLifecycleStateDeleted ByoipRangeLifecycleStateEnum = "DELETED" +) + +var mappingByoipRangeLifecycleState = map[string]ByoipRangeLifecycleStateEnum{ + "INACTIVE": ByoipRangeLifecycleStateInactive, + "UPDATING": ByoipRangeLifecycleStateUpdating, + "ACTIVE": ByoipRangeLifecycleStateActive, + "DELETING": ByoipRangeLifecycleStateDeleting, + "DELETED": ByoipRangeLifecycleStateDeleted, +} + +// GetByoipRangeLifecycleStateEnumValues Enumerates the set of values for ByoipRangeLifecycleStateEnum +func GetByoipRangeLifecycleStateEnumValues() []ByoipRangeLifecycleStateEnum { + values := make([]ByoipRangeLifecycleStateEnum, 0) + for _, v := range mappingByoipRangeLifecycleState { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range_collection.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range_collection.go new file mode 100644 index 000000000..4b939d7e3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range_collection.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ByoipRangeCollection The results returned by a `ListByoipRange` operation. +type ByoipRangeCollection struct { + + // A list of `ByoipRange` resource summaries. + Items []ByoipRangeSummary `mandatory:"true" json:"items"` +} + +func (m ByoipRangeCollection) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range_summary.go new file mode 100644 index 000000000..2253180a7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/byoip_range_summary.go @@ -0,0 +1,59 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ByoipRangeSummary Information about a `ByoipRange` resource. +type ByoipRangeSummary struct { + + // The public IPv4 address range you are importing to the Oracle cloud. + CidrBlock *string `mandatory:"false" json:"cidrBlock"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange` resource. + CompartmentId *string `mandatory:"false" json:"compartmentId"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. + Id *string `mandatory:"false" json:"id"` + + // The `ByoipRange` resource's current state. + LifecycleState ByoipRangeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // The Byoip Range's current lifeCycle substate. + LifecycleDetails ByoipRangeLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` + + // The date and time the `ByoipRange` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` +} + +func (m ByoipRangeSummary) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/capture_console_history_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/capture_console_history_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/capture_console_history_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/capture_console_history_details.go index 6254476f7..eaee26821 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/capture_console_history_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/capture_console_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CaptureConsoleHistoryDetails The representation of CaptureConsoleHistoryDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/capture_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/capture_console_history_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/capture_console_history_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/capture_console_history_request_response.go index a09bc6a8b..181fbc7e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/capture_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/capture_console_history_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CaptureConsoleHistoryRequest wrapper for the CaptureConsoleHistory operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistoryRequest. type CaptureConsoleHistoryRequest struct { // Console history details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_backup_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_backup_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_backup_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_backup_compartment_details.go index 3186b0cf2..384a732f2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_backup_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeBootVolumeBackupCompartmentDetails Contains the details for the compartment to move the boot volume backup to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_backup_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_backup_compartment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_backup_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_backup_compartment_request_response.go index 2abdaf045..80d5b9ade 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_backup_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_backup_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeBootVolumeBackupCompartmentRequest wrapper for the ChangeBootVolumeBackupCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartmentRequest. type ChangeBootVolumeBackupCompartmentRequest struct { // The OCID of the boot volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_compartment_details.go index bf905c72f..1e87de3e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeBootVolumeCompartmentDetails Contains the details for the compartment to move the boot volume to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_compartment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_compartment_request_response.go index 2b93a899d..ea3e577c8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_boot_volume_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_boot_volume_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeBootVolumeCompartmentRequest wrapper for the ChangeBootVolumeCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartmentRequest. type ChangeBootVolumeCompartmentRequest struct { // The OCID of the boot volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/change_byoip_range_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_byoip_range_compartment_details.go new file mode 100644 index 000000000..e519ce06b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_byoip_range_compartment_details.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ChangeByoipRangeCompartmentDetails The configuration details for the move operation. +type ChangeByoipRangeCompartmentDetails struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the BYOIP CIDR block move. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeByoipRangeCompartmentDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/change_byoip_range_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_byoip_range_compartment_request_response.go new file mode 100644 index 000000000..94e83b892 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_byoip_range_compartment_request_response.go @@ -0,0 +1,73 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ChangeByoipRangeCompartmentRequest wrapper for the ChangeByoipRangeCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartmentRequest. +type ChangeByoipRangeCompartmentRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Request to change the compartment of a BYOIP CIDR block. + ChangeByoipRangeCompartmentDetails `contributesTo:"body"` + + // 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 +} + +func (request ChangeByoipRangeCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeByoipRangeCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeByoipRangeCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ChangeByoipRangeCompartmentResponse wrapper for the ChangeByoipRangeCompartment operation +type ChangeByoipRangeCompartmentResponse 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"` +} + +func (response ChangeByoipRangeCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeByoipRangeCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cluster_network_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cluster_network_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cluster_network_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cluster_network_compartment_details.go index 0e8f181ac..88a6d69b5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cluster_network_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cluster_network_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeClusterNetworkCompartmentDetails The configuration details for the move operation. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cluster_network_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cluster_network_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cluster_network_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cluster_network_compartment_request_response.go index 12e5a2a44..e16e704b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cluster_network_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cluster_network_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeClusterNetworkCompartmentRequest wrapper for the ChangeClusterNetworkCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartmentRequest. type ChangeClusterNetworkCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. @@ -19,7 +23,7 @@ type ChangeClusterNetworkCompartmentRequest struct { ChangeClusterNetworkCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_compute_image_capability_schema_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_compute_image_capability_schema_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_compute_image_capability_schema_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_compute_image_capability_schema_compartment_details.go index cd5aa44fd..d3085a822 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_compute_image_capability_schema_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_compute_image_capability_schema_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeComputeImageCapabilitySchemaCompartmentDetails The configuration details for the move operation. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_compute_image_capability_schema_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_compute_image_capability_schema_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_compute_image_capability_schema_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_compute_image_capability_schema_compartment_request_response.go index 7c5b317c1..543b6ab33 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_compute_image_capability_schema_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_compute_image_capability_schema_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeComputeImageCapabilitySchemaCompartmentRequest wrapper for the ChangeComputeImageCapabilitySchemaCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartmentRequest. type ChangeComputeImageCapabilitySchemaCompartmentRequest struct { // The id of the compute image capability schema or the image ocid @@ -19,7 +23,7 @@ type ChangeComputeImageCapabilitySchemaCompartmentRequest struct { ChangeComputeImageCapabilitySchemaCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cpe_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cpe_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cpe_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cpe_compartment_details.go index 1cf2bfed8..0fe2a63b1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cpe_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cpe_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeCpeCompartmentDetails The configuration details for the move operation. type ChangeCpeCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // CPE object to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cpe_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cpe_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cpe_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cpe_compartment_request_response.go index 5ec17cb67..f2f831c20 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cpe_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cpe_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeCpeCompartmentRequest wrapper for the ChangeCpeCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartmentRequest. type ChangeCpeCompartmentRequest struct { // The OCID of the CPE. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_compartment_details.go index 6a1998fd5..fe3bb9767 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeCrossConnectCompartmentDetails The configuration details for the move operation. type ChangeCrossConnectCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // cross-connect to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_compartment_request_response.go index de34e90f9..1fad39df2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeCrossConnectCompartmentRequest wrapper for the ChangeCrossConnectCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartmentRequest. type ChangeCrossConnectCompartmentRequest struct { // The OCID of the cross-connect. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_group_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_group_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_group_compartment_details.go index 89745740d..d53191893 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_group_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeCrossConnectGroupCompartmentDetails The configuration details for the move operation. type ChangeCrossConnectGroupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // cross-connect group to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_group_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_group_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_group_compartment_request_response.go index fe46b997f..553319485 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_cross_connect_group_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_cross_connect_group_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeCrossConnectGroupCompartmentRequest wrapper for the ChangeCrossConnectGroupCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartmentRequest. type ChangeCrossConnectGroupCompartmentRequest struct { // The OCID of the cross-connect group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_dedicated_vm_host_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dedicated_vm_host_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_dedicated_vm_host_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_dedicated_vm_host_compartment_details.go index 654a29af9..371c4d41e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_dedicated_vm_host_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dedicated_vm_host_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeDedicatedVmHostCompartmentDetails Specifies the compartment to move the dedicated virtual machine host to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_dedicated_vm_host_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dedicated_vm_host_compartment_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_dedicated_vm_host_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_dedicated_vm_host_compartment_request_response.go index f320bd9b4..5f13d9aea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_dedicated_vm_host_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dedicated_vm_host_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeDedicatedVmHostCompartmentRequest wrapper for the ChangeDedicatedVmHostCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartmentRequest. type ChangeDedicatedVmHostCompartmentRequest struct { // The OCID of the dedicated VM host. @@ -19,7 +23,7 @@ type ChangeDedicatedVmHostCompartmentRequest struct { ChangeDedicatedVmHostCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_dhcp_options_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dhcp_options_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_dhcp_options_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_dhcp_options_compartment_details.go index 7306d7ed0..c9c0ff363 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_dhcp_options_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dhcp_options_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeDhcpOptionsCompartmentDetails The configuration details for the move operation. type ChangeDhcpOptionsCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // set of DHCP options to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_dhcp_options_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dhcp_options_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_dhcp_options_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_dhcp_options_compartment_request_response.go index bd523502a..351dd1e0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_dhcp_options_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_dhcp_options_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeDhcpOptionsCompartmentRequest wrapper for the ChangeDhcpOptionsCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartmentRequest. type ChangeDhcpOptionsCompartmentRequest struct { // The OCID for the set of DHCP options. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_drg_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_drg_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_drg_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_drg_compartment_details.go index 58043980e..d564f0f91 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_drg_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_drg_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeDrgCompartmentDetails The configuration details for the move operation. type ChangeDrgCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // DRG to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_drg_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_drg_compartment_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_drg_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_drg_compartment_request_response.go index a648d307e..fb4c8ee5e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_drg_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_drg_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeDrgCompartmentRequest wrapper for the ChangeDrgCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartmentRequest. type ChangeDrgCompartmentRequest struct { // The OCID of the DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_i_p_sec_connection_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_i_p_sec_connection_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_i_p_sec_connection_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_i_p_sec_connection_compartment_request_response.go index 1d5dca260..260ffa91e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_i_p_sec_connection_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_i_p_sec_connection_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeIPSecConnectionCompartmentRequest wrapper for the ChangeIPSecConnectionCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartmentRequest. type ChangeIPSecConnectionCompartmentRequest struct { // The OCID of the IPSec connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_image_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_image_compartment_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_image_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_image_compartment_details.go index f1ad0914d..023097c3c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_image_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_image_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeImageCompartmentDetails The configuration details for the move operation. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_image_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_image_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_image_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_image_compartment_request_response.go index f63e8ae2c..7677b60ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_image_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_image_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeImageCompartmentRequest wrapper for the ChangeImageCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartmentRequest. type ChangeImageCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. @@ -19,7 +23,7 @@ type ChangeImageCompartmentRequest struct { ChangeImageCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_compartment_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_instance_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_compartment_details.go index 53cbd6aad..40c3db9e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeInstanceCompartmentDetails The configuration details for the move operation. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_compartment_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_instance_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_compartment_request_response.go index d79bb0f0e..ca5659d0a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeInstanceCompartmentRequest wrapper for the ChangeInstanceCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartmentRequest. type ChangeInstanceCompartmentRequest struct { // The OCID of the instance. @@ -19,7 +23,7 @@ type ChangeInstanceCompartmentRequest struct { ChangeInstanceCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_configuration_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_configuration_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_instance_configuration_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_configuration_compartment_details.go index cf8c12f8d..39c4030f6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_configuration_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_configuration_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeInstanceConfigurationCompartmentDetails The configuration details for the move operation. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_configuration_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_configuration_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_instance_configuration_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_configuration_compartment_request_response.go index b3d3e44f1..c85232ead 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_configuration_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_configuration_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeInstanceConfigurationCompartmentRequest wrapper for the ChangeInstanceConfigurationCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartmentRequest. type ChangeInstanceConfigurationCompartmentRequest struct { // The OCID of the instance configuration. @@ -19,7 +23,7 @@ type ChangeInstanceConfigurationCompartmentRequest struct { ChangeInstanceConfigurationCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_pool_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_pool_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_instance_pool_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_pool_compartment_details.go index 51f8fa366..88f1ce05f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_pool_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_pool_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeInstancePoolCompartmentDetails The configuration details for the move operation. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_pool_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_pool_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_instance_pool_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_pool_compartment_request_response.go index 16e6fa315..dd9206bf1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_instance_pool_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_instance_pool_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeInstancePoolCompartmentRequest wrapper for the ChangeInstancePoolCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartmentRequest. type ChangeInstancePoolCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -19,7 +23,7 @@ type ChangeInstancePoolCompartmentRequest struct { ChangeInstancePoolCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_internet_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_internet_gateway_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_internet_gateway_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_internet_gateway_compartment_details.go index 12644588b..dd4f12c49 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_internet_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_internet_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeInternetGatewayCompartmentDetails The configuration details for the move operation. type ChangeInternetGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // internet gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_internet_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_internet_gateway_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_internet_gateway_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_internet_gateway_compartment_request_response.go index 974e8dd83..dc670db06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_internet_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_internet_gateway_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeInternetGatewayCompartmentRequest wrapper for the ChangeInternetGatewayCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartmentRequest. type ChangeInternetGatewayCompartmentRequest struct { // The OCID of the internet gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_ip_sec_connection_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_ip_sec_connection_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_ip_sec_connection_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_ip_sec_connection_compartment_details.go index 33df3543c..cb169e509 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_ip_sec_connection_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_ip_sec_connection_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeIpSecConnectionCompartmentDetails The configuration details for the move operation. type ChangeIpSecConnectionCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // IPSec connection to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_local_peering_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_local_peering_gateway_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_local_peering_gateway_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_local_peering_gateway_compartment_details.go index 1a9fadd8d..078439d94 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_local_peering_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_local_peering_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeLocalPeeringGatewayCompartmentDetails The configuration details for the move operation. type ChangeLocalPeeringGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // local peering gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_local_peering_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_local_peering_gateway_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_local_peering_gateway_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_local_peering_gateway_compartment_request_response.go index 3ec32b72c..18a74dfd3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_local_peering_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_local_peering_gateway_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeLocalPeeringGatewayCompartmentRequest wrapper for the ChangeLocalPeeringGatewayCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartmentRequest. type ChangeLocalPeeringGatewayCompartmentRequest struct { // The OCID of the local peering gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_nat_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_nat_gateway_compartment_details.go similarity index 81% rename from vendor/github.com/oracle/oci-go-sdk/core/change_nat_gateway_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_nat_gateway_compartment_details.go index 8e32f40b9..89ac7f630 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_nat_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_nat_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeNatGatewayCompartmentDetails The configuration details for the move operation. type ChangeNatGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the NAT gateway to. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the NAT gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_nat_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_nat_gateway_compartment_request_response.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/change_nat_gateway_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_nat_gateway_compartment_request_response.go index 80b46e11b..5e95b4346 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_nat_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_nat_gateway_compartment_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeNatGatewayCompartmentRequest wrapper for the ChangeNatGatewayCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartmentRequest. type ChangeNatGatewayCompartmentRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // Request to change the compartment of a given NAT Gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_network_security_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_network_security_group_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_network_security_group_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_network_security_group_compartment_details.go index bfdec8859..f74ac4f4d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_network_security_group_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_network_security_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeNetworkSecurityGroupCompartmentDetails The representation of ChangeNetworkSecurityGroupCompartmentDetails type ChangeNetworkSecurityGroupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the network + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the network // security group to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_network_security_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_network_security_group_compartment_request_response.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/change_network_security_group_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_network_security_group_compartment_request_response.go index f6361864e..c3572ec9c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_network_security_group_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_network_security_group_compartment_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeNetworkSecurityGroupCompartmentRequest wrapper for the ChangeNetworkSecurityGroupCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartmentRequest. type ChangeNetworkSecurityGroupCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request to change the compartment of a network security group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_public_ip_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_public_ip_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_compartment_details.go index 2f0d93491..d8aa52038 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_public_ip_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangePublicIpCompartmentDetails The configuration details for the move operation. type ChangePublicIpCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // public IP to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_public_ip_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_public_ip_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_compartment_request_response.go index 4127cb3d0..df8a75d05 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_public_ip_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangePublicIpCompartmentRequest wrapper for the ChangePublicIpCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartmentRequest. type ChangePublicIpCompartmentRequest struct { // The OCID of the public IP. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_pool_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_pool_compartment_details.go new file mode 100644 index 000000000..5b93b79f9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_pool_compartment_details.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ChangePublicIpPoolCompartmentDetails The configuration details for the move operation. +type ChangePublicIpPoolCompartmentDetails struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the public IP pool move. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangePublicIpPoolCompartmentDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_pool_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_pool_compartment_request_response.go new file mode 100644 index 000000000..144f467e6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_public_ip_pool_compartment_request_response.go @@ -0,0 +1,73 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ChangePublicIpPoolCompartmentRequest wrapper for the ChangePublicIpPoolCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartmentRequest. +type ChangePublicIpPoolCompartmentRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` + + // Request to change the compartment of a public IP pool. + ChangePublicIpPoolCompartmentDetails `contributesTo:"body"` + + // 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 +} + +func (request ChangePublicIpPoolCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangePublicIpPoolCompartmentRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangePublicIpPoolCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ChangePublicIpPoolCompartmentResponse wrapper for the ChangePublicIpPoolCompartment operation +type ChangePublicIpPoolCompartmentResponse 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"` +} + +func (response ChangePublicIpPoolCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangePublicIpPoolCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_remote_peering_connection_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_remote_peering_connection_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_remote_peering_connection_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_remote_peering_connection_compartment_details.go index b1348d6bd..7d1386e29 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_remote_peering_connection_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_remote_peering_connection_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeRemotePeeringConnectionCompartmentDetails The configuration details for the move operation. type ChangeRemotePeeringConnectionCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // remote peering connection to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_remote_peering_connection_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_remote_peering_connection_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_remote_peering_connection_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_remote_peering_connection_compartment_request_response.go index fc967dc2c..fca8d44d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_remote_peering_connection_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_remote_peering_connection_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeRemotePeeringConnectionCompartmentRequest wrapper for the ChangeRemotePeeringConnectionCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartmentRequest. type ChangeRemotePeeringConnectionCompartmentRequest struct { // The OCID of the remote peering connection (RPC). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_route_table_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_route_table_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_route_table_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_route_table_compartment_details.go index 4ddec366a..92fd67f47 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_route_table_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_route_table_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeRouteTableCompartmentDetails The configuration details for the move operation. type ChangeRouteTableCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // route table to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_route_table_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_route_table_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_route_table_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_route_table_compartment_request_response.go index c715078fc..53d17ff0f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_route_table_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_route_table_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeRouteTableCompartmentRequest wrapper for the ChangeRouteTableCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartmentRequest. type ChangeRouteTableCompartmentRequest struct { // The OCID of the route table. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_security_list_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_security_list_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_security_list_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_security_list_compartment_details.go index 1c2cd63c2..4142bad68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_security_list_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_security_list_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeSecurityListCompartmentDetails The configuration details for the move operation. type ChangeSecurityListCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // security list to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_security_list_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_security_list_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_security_list_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_security_list_compartment_request_response.go index ab0a62036..25b7e8a48 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_security_list_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_security_list_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeSecurityListCompartmentRequest wrapper for the ChangeSecurityListCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartmentRequest. type ChangeSecurityListCompartmentRequest struct { // The OCID of the security list. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_service_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_service_gateway_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_service_gateway_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_service_gateway_compartment_details.go index 06f8aeba8..f8beb59b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_service_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_service_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeServiceGatewayCompartmentDetails The configuration details for the move operation. type ChangeServiceGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // service gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_service_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_service_gateway_compartment_request_response.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/change_service_gateway_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_service_gateway_compartment_request_response.go index 0f97a2e15..6d33e3554 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_service_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_service_gateway_compartment_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeServiceGatewayCompartmentRequest wrapper for the ChangeServiceGatewayCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartmentRequest. type ChangeServiceGatewayCompartmentRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // Request to change the compartment of a given Service Gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_subnet_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_subnet_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_subnet_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_subnet_compartment_details.go index e91d2b718..97c990dac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_subnet_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_subnet_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeSubnetCompartmentDetails The configuration details for the move operation. type ChangeSubnetCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // subnet to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_subnet_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_subnet_compartment_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_subnet_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_subnet_compartment_request_response.go index 87b3b0514..b22da57da 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_subnet_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_subnet_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeSubnetCompartmentRequest wrapper for the ChangeSubnetCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartmentRequest. type ChangeSubnetCompartmentRequest struct { // The OCID of the subnet. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_vcn_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vcn_compartment_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/change_vcn_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_vcn_compartment_details.go index a48b1af6c..6c8294e32 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_vcn_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vcn_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVcnCompartmentDetails The configuration details for the move operation. type ChangeVcnCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // VCN to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_vcn_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vcn_compartment_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/change_vcn_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_vcn_compartment_request_response.go index 3a0e00294..40a877cd4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_vcn_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vcn_compartment_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVcnCompartmentRequest wrapper for the ChangeVcnCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartmentRequest. type ChangeVcnCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Request to change the compartment of a given VCN. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_virtual_circuit_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_virtual_circuit_compartment_details.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/change_virtual_circuit_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_virtual_circuit_compartment_details.go index 031832066..5a718b09f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_virtual_circuit_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_virtual_circuit_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVirtualCircuitCompartmentDetails The configuration details for the move operation. type ChangeVirtualCircuitCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // virtual circuit to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_virtual_circuit_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_virtual_circuit_compartment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/change_virtual_circuit_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_virtual_circuit_compartment_request_response.go index 99333324d..d378ed127 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_virtual_circuit_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_virtual_circuit_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVirtualCircuitCompartmentRequest wrapper for the ChangeVirtualCircuitCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartmentRequest. type ChangeVirtualCircuitCompartmentRequest struct { // The OCID of the virtual circuit. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_vlan_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vlan_compartment_details.go similarity index 81% rename from vendor/github.com/oracle/oci-go-sdk/core/change_vlan_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_vlan_compartment_details.go index e26ecdc78..ff6c7cda1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_vlan_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vlan_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVlanCompartmentDetails The configuration details for the move operation. type ChangeVlanCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the VLAN to. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the VLAN to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_vlan_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vlan_compartment_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/change_vlan_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_vlan_compartment_request_response.go index d7b414b85..4d17d5201 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_vlan_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_vlan_compartment_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVlanCompartmentRequest wrapper for the ChangeVlanCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartmentRequest. type ChangeVlanCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // Request to change the compartment of a given VLAN. ChangeVlanCompartmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_backup_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_backup_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_backup_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_backup_compartment_details.go index 2e00262c2..4e8631b31 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_backup_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVolumeBackupCompartmentDetails Contains the details for the compartment to move the volume backup to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_backup_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_backup_compartment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_backup_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_backup_compartment_request_response.go index afae2970f..d6f04fd04 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_backup_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_backup_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVolumeBackupCompartmentRequest wrapper for the ChangeVolumeBackupCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartmentRequest. type ChangeVolumeBackupCompartmentRequest struct { // The OCID of the volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_compartment_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_compartment_details.go index 6018bf90f..49014cdbf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVolumeCompartmentDetails Contains the details for the compartment to move the volume to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_compartment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_compartment_request_response.go index d87b18d6a..578595e6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVolumeCompartmentRequest wrapper for the ChangeVolumeCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartmentRequest. type ChangeVolumeCompartmentRequest struct { // The OCID of the volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_backup_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_backup_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_backup_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_backup_compartment_details.go index 297e6a097..de125ca67 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_backup_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVolumeGroupBackupCompartmentDetails Contains the details for the compartment to move the volume group backup to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_backup_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_backup_compartment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_backup_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_backup_compartment_request_response.go index 5598cdb5d..fe2115130 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_backup_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_backup_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVolumeGroupBackupCompartmentRequest wrapper for the ChangeVolumeGroupBackupCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartmentRequest. type ChangeVolumeGroupBackupCompartmentRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_compartment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_compartment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_compartment_details.go index 00466fc31..83a8c20d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ChangeVolumeGroupCompartmentDetails Contains the details for the compartment to move the volume group to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_compartment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_compartment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_compartment_request_response.go index 4799cb21d..90dd55d17 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/change_volume_group_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/change_volume_group_compartment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ChangeVolumeGroupCompartmentRequest wrapper for the ChangeVolumeGroupCompartment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartmentRequest. type ChangeVolumeGroupCompartmentRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cluster_network.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/cluster_network.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network.go index 8ffe8bd13..65b5139be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cluster_network.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ClusterNetwork A cluster network is a group of high performance computing (HPC) bare metal instances that are connected @@ -56,7 +56,6 @@ type ClusterNetwork struct { // Each cluster network can have one instance pool. InstancePools []InstancePool `mandatory:"false" json:"instancePools"` - // The placement configuration for the instance pools in the cluster network. PlacementConfiguration *ClusterNetworkPlacementConfigurationDetails `mandatory:"false" json:"placementConfiguration"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cluster_network_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network_placement_configuration_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/cluster_network_placement_configuration_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network_placement_configuration_details.go index bdef2bdf0..5b47e60ad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cluster_network_placement_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ClusterNetworkPlacementConfigurationDetails The location for where the instance pools in a cluster network will place instances. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cluster_network_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network_summary.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/cluster_network_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network_summary.go index 8c626fced..537ac03fb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cluster_network_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cluster_network_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ClusterNetworkSummary Summary information for a cluster network. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema.go index fb0ac8480..7c16c9e9f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeGlobalImageCapabilitySchema Compute Global Image Capability Schema is a container for a set of compute global image capability schema versions diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_summary.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_summary.go index 1b06f3a72..5cd354d01 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeGlobalImageCapabilitySchemaSummary Summary information for a compute global image capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_version.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_version.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_version.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_version.go index c6ec75bc7..3d89d4d48 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeGlobalImageCapabilitySchemaVersion Compute Global Image Capability Schema Version is a set of all possible capabilities for a collection of images. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_version_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_version_summary.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_version_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_version_summary.go index 18a44056e..5bd2e33d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_global_image_capability_schema_version_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_global_image_capability_schema_version_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeGlobalImageCapabilitySchemaVersionSummary Summary information for a compute global image capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_image_capability_schema.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_image_capability_schema.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_image_capability_schema.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_image_capability_schema.go index 1413d4d88..0cc5f5d21 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_image_capability_schema.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_image_capability_schema.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeImageCapabilitySchema Compute Image Capability Schema is a set of capabilities that filter the compute global capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_image_capability_schema_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_image_capability_schema_summary.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_image_capability_schema_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_image_capability_schema_summary.go index d71d5d773..e79095cbc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_image_capability_schema_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_image_capability_schema_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeImageCapabilitySchemaSummary Summary information for a compute image capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/compute_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_instance_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/compute_instance_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/compute_instance_details.go index f0f1631c6..07c554bbd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/compute_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/compute_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ComputeInstanceDetails Compute Instance Configuration instance details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_local_peering_gateways_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/connect_local_peering_gateways_details.go index 488e126a4..d4b8af427 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_local_peering_gateways_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ConnectLocalPeeringGatewaysDetails Information about the other local peering gateway (LPG). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_local_peering_gateways_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/connect_local_peering_gateways_request_response.go index b49f784f9..be16b51c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_local_peering_gateways_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ConnectLocalPeeringGatewaysRequest wrapper for the ConnectLocalPeeringGateways operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGatewaysRequest. type ConnectLocalPeeringGatewaysRequest struct { // The OCID of the local peering gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/connect_remote_peering_connections_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_remote_peering_connections_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/connect_remote_peering_connections_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/connect_remote_peering_connections_details.go index da13205a9..b7ccc3a7a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/connect_remote_peering_connections_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_remote_peering_connections_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ConnectRemotePeeringConnectionsDetails Information about the other remote peering connection (RPC). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/connect_remote_peering_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_remote_peering_connections_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/connect_remote_peering_connections_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/connect_remote_peering_connections_request_response.go index 9be5f748f..abe49f585 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/connect_remote_peering_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/connect_remote_peering_connections_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ConnectRemotePeeringConnectionsRequest wrapper for the ConnectRemotePeeringConnections operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnectionsRequest. type ConnectRemotePeeringConnectionsRequest struct { // The OCID of the remote peering connection (RPC). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/console_history.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/console_history.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/console_history.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/console_history.go index f8b164a0b..aacad48c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/console_history.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/console_history.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ConsoleHistory An instance's serial console data. It includes configuration messages that occur when the diff --git a/vendor/github.com/oracle/oci-go-sdk/core/copy_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_boot_volume_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/copy_boot_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/copy_boot_volume_backup_details.go index 71bb6f00c..15b1a94a8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/copy_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CopyBootVolumeBackupDetails The representation of CopyBootVolumeBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/copy_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_boot_volume_backup_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/copy_boot_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/copy_boot_volume_backup_request_response.go index c1963ad89..8962d6088 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/copy_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_boot_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CopyBootVolumeBackupRequest wrapper for the CopyBootVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackupRequest. type CopyBootVolumeBackupRequest struct { // The OCID of the boot volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/copy_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_volume_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/copy_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/copy_volume_backup_details.go index 0552567d6..d469f9101 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/copy_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CopyVolumeBackupDetails The representation of CopyVolumeBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/copy_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_volume_backup_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/copy_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/copy_volume_backup_request_response.go index 2a3f5cee8..ed270ba07 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/copy_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/copy_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CopyVolumeBackupRequest wrapper for the CopyVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackupRequest. type CopyVolumeBackupRequest struct { // The OCID of the volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/core_blockstorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_blockstorage_client.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/core_blockstorage_client.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/core_blockstorage_client.go index 12539dddc..5d6328d1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/core_blockstorage_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_blockstorage_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,8 @@ package core import ( "context" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" + "github.com/oracle/oci-go-sdk/v36/common/auth" "net/http" ) @@ -29,12 +30,15 @@ type BlockstorageClient struct { // NewBlockstorageClientWithConfigurationProvider Creates a new default Blockstorage client with the given configuration provider. // the configuration provider will be used for the default signer as well as reading the region func NewBlockstorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BlockstorageClient, err error) { - baseClient, err := common.NewClientWithConfig(configProvider) + provider, err := auth.GetGenericConfigurationProvider(configProvider) if err != nil { - return + return client, err } - - return newBlockstorageClientFromBaseClient(baseClient, configProvider) + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newBlockstorageClientFromBaseClient(baseClient, provider) } // NewBlockstorageClientWithOboToken Creates a new default Blockstorage client with the given configuration provider. @@ -43,7 +47,7 @@ func NewBlockstorageClientWithConfigurationProvider(configProvider common.Config func NewBlockstorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BlockstorageClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { - return + return client, err } return newBlockstorageClientFromBaseClient(baseClient, configProvider) @@ -82,9 +86,16 @@ func (client *BlockstorageClient) ConfigurationProvider() *common.ConfigurationP // ChangeBootVolumeBackupCompartment Moves a boot volume backup into a different compartment within the same tenancy. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartment API. func (client BlockstorageClient) ChangeBootVolumeBackupCompartment(ctx context.Context, request ChangeBootVolumeBackupCompartmentRequest) (response ChangeBootVolumeBackupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -131,9 +142,16 @@ func (client BlockstorageClient) changeBootVolumeBackupCompartment(ctx context.C // ChangeBootVolumeCompartment Moves a boot volume into a different compartment within the same tenancy. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartment API. func (client BlockstorageClient) ChangeBootVolumeCompartment(ctx context.Context, request ChangeBootVolumeCompartmentRequest) (response ChangeBootVolumeCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -180,9 +198,16 @@ func (client BlockstorageClient) changeBootVolumeCompartment(ctx context.Context // ChangeVolumeBackupCompartment Moves a volume backup into a different compartment within the same tenancy. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartment API. func (client BlockstorageClient) ChangeVolumeBackupCompartment(ctx context.Context, request ChangeVolumeBackupCompartmentRequest) (response ChangeVolumeBackupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -229,9 +254,16 @@ func (client BlockstorageClient) changeVolumeBackupCompartment(ctx context.Conte // ChangeVolumeCompartment Moves a volume into a different compartment within the same tenancy. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartment API. func (client BlockstorageClient) ChangeVolumeCompartment(ctx context.Context, request ChangeVolumeCompartmentRequest) (response ChangeVolumeCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -278,9 +310,16 @@ func (client BlockstorageClient) changeVolumeCompartment(ctx context.Context, re // ChangeVolumeGroupBackupCompartment Moves a volume group backup into a different compartment within the same tenancy. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartment API. func (client BlockstorageClient) ChangeVolumeGroupBackupCompartment(ctx context.Context, request ChangeVolumeGroupBackupCompartmentRequest) (response ChangeVolumeGroupBackupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -327,9 +366,16 @@ func (client BlockstorageClient) changeVolumeGroupBackupCompartment(ctx context. // ChangeVolumeGroupCompartment Moves a volume group into a different compartment within the same tenancy. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartment API. func (client BlockstorageClient) ChangeVolumeGroupCompartment(ctx context.Context, request ChangeVolumeGroupCompartmentRequest) (response ChangeVolumeGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -375,9 +421,16 @@ func (client BlockstorageClient) changeVolumeGroupCompartment(ctx context.Contex // CopyBootVolumeBackup Creates a boot volume backup copy in specified region. For general information about volume backups, // see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/bootvolumebackups.htm) +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackup API. func (client BlockstorageClient) CopyBootVolumeBackup(ctx context.Context, request CopyBootVolumeBackupRequest) (response CopyBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -428,9 +481,16 @@ func (client BlockstorageClient) copyBootVolumeBackup(ctx context.Context, reque // CopyVolumeBackup Creates a volume backup copy in specified region. For general information about volume backups, // see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/Content/Block/Concepts/blockvolumebackups.htm) +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackup API. func (client BlockstorageClient) CopyVolumeBackup(ctx context.Context, request CopyVolumeBackupRequest) (response CopyVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -483,9 +543,16 @@ func (client BlockstorageClient) copyVolumeBackup(ctx context.Context, request c // For general information about boot volumes, see Boot Volumes (https://docs.cloud.oracle.com/Content/Block/Concepts/bootvolumes.htm). // You may optionally specify a *display name* for the volume, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolume API. func (client BlockstorageClient) CreateBootVolume(ctx context.Context, request CreateBootVolumeRequest) (response CreateBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -539,9 +606,16 @@ func (client BlockstorageClient) createBootVolume(ctx context.Context, request c // When the request is received, the backup object is in a REQUEST_RECEIVED state. // When the data is imaged, it goes into a CREATING state. // After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackup API. func (client BlockstorageClient) CreateBootVolumeBackup(ctx context.Context, request CreateBootVolumeBackupRequest) (response CreateBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -602,9 +676,16 @@ func (client BlockstorageClient) createBootVolumeBackup(ctx context.Context, req // in the Identity and Access Management Service API. // You may optionally specify a *display name* for the volume, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolume API. func (client BlockstorageClient) CreateVolume(ctx context.Context, request CreateVolumeRequest) (response CreateVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -658,9 +739,16 @@ func (client BlockstorageClient) createVolume(ctx context.Context, request commo // When the request is received, the backup object is in a REQUEST_RECEIVED state. // When the data is imaged, it goes into a CREATING state. // After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackup API. func (client BlockstorageClient) CreateVolumeBackup(ctx context.Context, request CreateVolumeBackupRequest) (response CreateVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -712,9 +800,16 @@ func (client BlockstorageClient) createVolumeBackup(ctx context.Context, request // CreateVolumeBackupPolicy Creates a new user defined backup policy. // For more information about Oracle defined backup policies and user defined backup policies, // see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicy API. func (client BlockstorageClient) CreateVolumeBackupPolicy(ctx context.Context, request CreateVolumeBackupPolicyRequest) (response CreateVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -766,9 +861,16 @@ func (client BlockstorageClient) createVolumeBackupPolicy(ctx context.Context, r // CreateVolumeBackupPolicyAssignment Assigns a volume backup policy to the specified volume. Note that a given volume can // only have one backup policy assigned to it. If this operation is used for a volume that already // has a different backup policy assigned, the prior backup policy will be silently unassigned. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignment API. func (client BlockstorageClient) CreateVolumeBackupPolicyAssignment(ctx context.Context, request CreateVolumeBackupPolicyAssignmentRequest) (response CreateVolumeBackupPolicyAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -818,9 +920,16 @@ func (client BlockstorageClient) createVolumeBackupPolicyAssignment(ctx context. // You may optionally specify a *display name* for the volume group, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. // For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroup API. func (client BlockstorageClient) CreateVolumeGroup(ctx context.Context, request CreateVolumeGroupRequest) (response CreateVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -871,9 +980,16 @@ func (client BlockstorageClient) createVolumeGroup(ctx context.Context, request // CreateVolumeGroupBackup Creates a new backup volume group of the specified volume group. // For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackup API. func (client BlockstorageClient) CreateVolumeGroupBackup(ctx context.Context, request CreateVolumeGroupBackupRequest) (response CreateVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -926,9 +1042,16 @@ func (client BlockstorageClient) createVolumeGroupBackup(ctx context.Context, re // To disconnect the boot volume from a connected instance, see // Disconnecting From a Boot Volume (https://docs.cloud.oracle.com/Content/Block/Tasks/deletingbootvolume.htm). // **Warning:** All data on the boot volume will be permanently lost when the boot volume is deleted. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolume API. func (client BlockstorageClient) DeleteBootVolume(ctx context.Context, request DeleteBootVolumeRequest) (response DeleteBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -973,9 +1096,16 @@ func (client BlockstorageClient) deleteBootVolume(ctx context.Context, request c } // DeleteBootVolumeBackup Deletes a boot volume backup. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackup API. func (client BlockstorageClient) DeleteBootVolumeBackup(ctx context.Context, request DeleteBootVolumeBackupRequest) (response DeleteBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1020,9 +1150,16 @@ func (client BlockstorageClient) deleteBootVolumeBackup(ctx context.Context, req } // DeleteBootVolumeKmsKey Removes the specified boot volume's assigned Key Management encryption key. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKey API. func (client BlockstorageClient) DeleteBootVolumeKmsKey(ctx context.Context, request DeleteBootVolumeKmsKeyRequest) (response DeleteBootVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1070,9 +1207,16 @@ func (client BlockstorageClient) deleteBootVolumeKmsKey(ctx context.Context, req // To disconnect the volume from a connected instance, see // Disconnecting From a Volume (https://docs.cloud.oracle.com/Content/Block/Tasks/disconnectingfromavolume.htm). // **Warning:** All data on the volume will be permanently lost when the volume is deleted. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolume API. func (client BlockstorageClient) DeleteVolume(ctx context.Context, request DeleteVolumeRequest) (response DeleteVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1117,9 +1261,16 @@ func (client BlockstorageClient) deleteVolume(ctx context.Context, request commo } // DeleteVolumeBackup Deletes a volume backup. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackup API. func (client BlockstorageClient) DeleteVolumeBackup(ctx context.Context, request DeleteVolumeBackupRequest) (response DeleteVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1167,9 +1318,16 @@ func (client BlockstorageClient) deleteVolumeBackup(ctx context.Context, request // For more information about user defined backup policies, // see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicy API. func (client BlockstorageClient) DeleteVolumeBackupPolicy(ctx context.Context, request DeleteVolumeBackupPolicyRequest) (response DeleteVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1214,9 +1372,16 @@ func (client BlockstorageClient) deleteVolumeBackupPolicy(ctx context.Context, r } // DeleteVolumeBackupPolicyAssignment Deletes a volume backup policy assignment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignment API. func (client BlockstorageClient) DeleteVolumeBackupPolicyAssignment(ctx context.Context, request DeleteVolumeBackupPolicyAssignmentRequest) (response DeleteVolumeBackupPolicyAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1262,9 +1427,16 @@ func (client BlockstorageClient) deleteVolumeBackupPolicyAssignment(ctx context. // DeleteVolumeGroup Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. // For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroup API. func (client BlockstorageClient) DeleteVolumeGroup(ctx context.Context, request DeleteVolumeGroupRequest) (response DeleteVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1308,10 +1480,18 @@ func (client BlockstorageClient) deleteVolumeGroup(ctx context.Context, request return response, err } -// DeleteVolumeGroupBackup Deletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// DeleteVolumeGroupBackup Deletes a volume group backup. This operation deletes all the backups in +// the volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackup API. func (client BlockstorageClient) DeleteVolumeGroupBackup(ctx context.Context, request DeleteVolumeGroupBackupRequest) (response DeleteVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1356,9 +1536,16 @@ func (client BlockstorageClient) deleteVolumeGroupBackup(ctx context.Context, re } // DeleteVolumeKmsKey Removes the specified volume's assigned Key Management encryption key. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKey API. func (client BlockstorageClient) DeleteVolumeKmsKey(ctx context.Context, request DeleteVolumeKmsKeyRequest) (response DeleteVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1403,9 +1590,16 @@ func (client BlockstorageClient) deleteVolumeKmsKey(ctx context.Context, request } // GetBootVolume Gets information for the specified boot volume. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolume API. func (client BlockstorageClient) GetBootVolume(ctx context.Context, request GetBootVolumeRequest) (response GetBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1450,9 +1644,16 @@ func (client BlockstorageClient) getBootVolume(ctx context.Context, request comm } // GetBootVolumeBackup Gets information for the specified boot volume backup. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackup API. func (client BlockstorageClient) GetBootVolumeBackup(ctx context.Context, request GetBootVolumeBackupRequest) (response GetBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1497,9 +1698,16 @@ func (client BlockstorageClient) getBootVolumeBackup(ctx context.Context, reques } // GetBootVolumeKmsKey Gets the Key Management encryption key assigned to the specified boot volume. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKey API. func (client BlockstorageClient) GetBootVolumeKmsKey(ctx context.Context, request GetBootVolumeKmsKeyRequest) (response GetBootVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1544,9 +1752,16 @@ func (client BlockstorageClient) getBootVolumeKmsKey(ctx context.Context, reques } // GetVolume Gets information for the specified volume. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolume API. func (client BlockstorageClient) GetVolume(ctx context.Context, request GetVolumeRequest) (response GetVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1591,9 +1806,16 @@ func (client BlockstorageClient) getVolume(ctx context.Context, request common.O } // GetVolumeBackup Gets information for the specified volume backup. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackup API. func (client BlockstorageClient) GetVolumeBackup(ctx context.Context, request GetVolumeBackupRequest) (response GetVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1638,9 +1860,16 @@ func (client BlockstorageClient) getVolumeBackup(ctx context.Context, request co } // GetVolumeBackupPolicy Gets information for the specified volume backup policy. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicy API. func (client BlockstorageClient) GetVolumeBackupPolicy(ctx context.Context, request GetVolumeBackupPolicyRequest) (response GetVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1687,9 +1916,16 @@ func (client BlockstorageClient) getVolumeBackupPolicy(ctx context.Context, requ // GetVolumeBackupPolicyAssetAssignment Gets the volume backup policy assignment for the specified volume. The // `assetId` query parameter is required, and the returned list will contain at most // one item, since volume can only have one volume backup policy assigned at a time. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignment API. func (client BlockstorageClient) GetVolumeBackupPolicyAssetAssignment(ctx context.Context, request GetVolumeBackupPolicyAssetAssignmentRequest) (response GetVolumeBackupPolicyAssetAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1734,9 +1970,16 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssetAssignment(ctx contex } // GetVolumeBackupPolicyAssignment Gets information for the specified volume backup policy assignment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignment API. func (client BlockstorageClient) GetVolumeBackupPolicyAssignment(ctx context.Context, request GetVolumeBackupPolicyAssignmentRequest) (response GetVolumeBackupPolicyAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1781,9 +2024,16 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssignment(ctx context.Con } // GetVolumeGroup Gets information for the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroup API. func (client BlockstorageClient) GetVolumeGroup(ctx context.Context, request GetVolumeGroupRequest) (response GetVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1828,9 +2078,16 @@ func (client BlockstorageClient) getVolumeGroup(ctx context.Context, request com } // GetVolumeGroupBackup Gets information for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackup API. func (client BlockstorageClient) GetVolumeGroupBackup(ctx context.Context, request GetVolumeGroupBackupRequest) (response GetVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1875,9 +2132,16 @@ func (client BlockstorageClient) getVolumeGroupBackup(ctx context.Context, reque } // GetVolumeKmsKey Gets the Key Management encryption key assigned to the specified volume. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKey API. func (client BlockstorageClient) GetVolumeKmsKey(ctx context.Context, request GetVolumeKmsKeyRequest) (response GetVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1922,9 +2186,16 @@ func (client BlockstorageClient) getVolumeKmsKey(ctx context.Context, request co } // ListBootVolumeBackups Lists the boot volume backups in the specified compartment. You can filter the results by boot volume. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackups API. func (client BlockstorageClient) ListBootVolumeBackups(ctx context.Context, request ListBootVolumeBackupsRequest) (response ListBootVolumeBackupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1969,9 +2240,16 @@ func (client BlockstorageClient) listBootVolumeBackups(ctx context.Context, requ } // ListBootVolumes Lists the boot volumes in the specified compartment and availability domain. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumes API. func (client BlockstorageClient) ListBootVolumes(ctx context.Context, request ListBootVolumesRequest) (response ListBootVolumesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2018,9 +2296,16 @@ func (client BlockstorageClient) listBootVolumes(ctx context.Context, request co // ListVolumeBackupPolicies Lists all the volume backup policies available in the specified compartment. // For more information about Oracle defined backup policies and user defined backup policies, // see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPolicies API. func (client BlockstorageClient) ListVolumeBackupPolicies(ctx context.Context, request ListVolumeBackupPoliciesRequest) (response ListVolumeBackupPoliciesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2065,9 +2350,16 @@ func (client BlockstorageClient) listVolumeBackupPolicies(ctx context.Context, r } // ListVolumeBackups Lists the volume backups in the specified compartment. You can filter the results by volume. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackups API. func (client BlockstorageClient) ListVolumeBackups(ctx context.Context, request ListVolumeBackupsRequest) (response ListVolumeBackupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2113,9 +2405,16 @@ func (client BlockstorageClient) listVolumeBackups(ctx context.Context, request // ListVolumeGroupBackups Lists the volume group backups in the specified compartment. You can filter the results by volume group. // For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackups API. func (client BlockstorageClient) ListVolumeGroupBackups(ctx context.Context, request ListVolumeGroupBackupsRequest) (response ListVolumeGroupBackupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2161,9 +2460,16 @@ func (client BlockstorageClient) listVolumeGroupBackups(ctx context.Context, req // ListVolumeGroups Lists the volume groups in the specified compartment and availability domain. // For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroups API. func (client BlockstorageClient) ListVolumeGroups(ctx context.Context, request ListVolumeGroupsRequest) (response ListVolumeGroupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2208,9 +2514,16 @@ func (client BlockstorageClient) listVolumeGroups(ctx context.Context, request c } // ListVolumes Lists the volumes in the specified compartment and availability domain. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumes API. func (client BlockstorageClient) ListVolumes(ctx context.Context, request ListVolumesRequest) (response ListVolumesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2255,9 +2568,16 @@ func (client BlockstorageClient) listVolumes(ctx context.Context, request common } // UpdateBootVolume Updates the specified boot volume's display name, defined tags, and free-form tags. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolume API. func (client BlockstorageClient) UpdateBootVolume(ctx context.Context, request UpdateBootVolumeRequest) (response UpdateBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2303,9 +2623,16 @@ func (client BlockstorageClient) updateBootVolume(ctx context.Context, request c // UpdateBootVolumeBackup Updates the display name for the specified boot volume backup. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackup API. func (client BlockstorageClient) UpdateBootVolumeBackup(ctx context.Context, request UpdateBootVolumeBackupRequest) (response UpdateBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2345,9 +2672,16 @@ func (client BlockstorageClient) updateBootVolumeBackup(ctx context.Context, req } // UpdateBootVolumeKmsKey Updates the specified volume with a new Key Management master encryption key. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKey API. func (client BlockstorageClient) UpdateBootVolumeKmsKey(ctx context.Context, request UpdateBootVolumeKmsKeyRequest) (response UpdateBootVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2393,9 +2727,16 @@ func (client BlockstorageClient) updateBootVolumeKmsKey(ctx context.Context, req // UpdateVolume Updates the specified volume's display name. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolume API. func (client BlockstorageClient) UpdateVolume(ctx context.Context, request UpdateVolumeRequest) (response UpdateVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2441,9 +2782,16 @@ func (client BlockstorageClient) updateVolume(ctx context.Context, request commo // UpdateVolumeBackup Updates the display name for the specified volume backup. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackup API. func (client BlockstorageClient) UpdateVolumeBackup(ctx context.Context, request UpdateVolumeBackupRequest) (response UpdateVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2486,9 +2834,16 @@ func (client BlockstorageClient) updateVolumeBackup(ctx context.Context, request // For more information about user defined backup policies, // see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicy API. func (client BlockstorageClient) UpdateVolumeBackupPolicy(ctx context.Context, request UpdateVolumeBackupPolicyRequest) (response UpdateVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2542,9 +2897,16 @@ func (client BlockstorageClient) updateVolumeBackupPolicy(ctx context.Context, r // volume group. If the volume ID is not specified in the call, it will be removed from the volume group. // Avoid entering confidential information. // For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroup API. func (client BlockstorageClient) UpdateVolumeGroup(ctx context.Context, request UpdateVolumeGroupRequest) (response UpdateVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2589,9 +2951,16 @@ func (client BlockstorageClient) updateVolumeGroup(ctx context.Context, request } // UpdateVolumeGroupBackup Updates the display name for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackup API. func (client BlockstorageClient) UpdateVolumeGroupBackup(ctx context.Context, request UpdateVolumeGroupBackupRequest) (response UpdateVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2631,9 +3000,16 @@ func (client BlockstorageClient) updateVolumeGroupBackup(ctx context.Context, re } // UpdateVolumeKmsKey Updates the specified volume with a new Key Management master encryption key. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKey API. func (client BlockstorageClient) UpdateVolumeKmsKey(ctx context.Context, request UpdateVolumeKmsKeyRequest) (response UpdateVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/core_compute_client.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_compute_client.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/core_compute_client.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/core_compute_client.go index ba01e639e..bd29bcbdb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/core_compute_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_compute_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,8 @@ package core import ( "context" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" + "github.com/oracle/oci-go-sdk/v36/common/auth" "net/http" ) @@ -29,12 +30,15 @@ type ComputeClient struct { // NewComputeClientWithConfigurationProvider Creates a new default Compute client with the given configuration provider. // the configuration provider will be used for the default signer as well as reading the region func NewComputeClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputeClient, err error) { - baseClient, err := common.NewClientWithConfig(configProvider) + provider, err := auth.GetGenericConfigurationProvider(configProvider) if err != nil { - return + return client, err } - - return newComputeClientFromBaseClient(baseClient, configProvider) + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newComputeClientFromBaseClient(baseClient, provider) } // NewComputeClientWithOboToken Creates a new default Compute client with the given configuration provider. @@ -43,7 +47,7 @@ func NewComputeClientWithConfigurationProvider(configProvider common.Configurati func NewComputeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { - return + return client, err } return newComputeClientFromBaseClient(baseClient, configProvider) @@ -80,9 +84,16 @@ func (client *ComputeClient) ConfigurationProvider() *common.ConfigurationProvid } // AddImageShapeCompatibilityEntry Adds a shape to the compatible shapes list for the image. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntry API. func (client ComputeClient) AddImageShapeCompatibilityEntry(ctx context.Context, request AddImageShapeCompatibilityEntryRequest) (response AddImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -127,9 +138,16 @@ func (client ComputeClient) addImageShapeCompatibilityEntry(ctx context.Context, } // AttachBootVolume Attaches the specified boot volume to the specified instance. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolume API. func (client ComputeClient) AttachBootVolume(ctx context.Context, request AttachBootVolumeRequest) (response AttachBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -181,9 +199,16 @@ func (client ComputeClient) attachBootVolume(ctx context.Context, request common // AttachVnic Creates a secondary VNIC and attaches it to the specified instance. // For more information about secondary VNICs, see // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/Content/Network/Tasks/managingVNICs.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnic API. func (client ComputeClient) AttachVnic(ctx context.Context, request AttachVnicRequest) (response AttachVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -233,9 +258,16 @@ func (client ComputeClient) attachVnic(ctx context.Context, request common.OCIRe } // AttachVolume Attaches the specified storage volume to the specified instance. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolume API. func (client ComputeClient) AttachVolume(ctx context.Context, request AttachVolumeRequest) (response AttachVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -299,9 +331,16 @@ func (client ComputeClient) attachVolume(ctx context.Context, request common.OCI // metadata). // 4. Optionally, use `DeleteConsoleHistory` to delete the console history metadata // and the console history data. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistory API. func (client ComputeClient) CaptureConsoleHistory(ctx context.Context, request CaptureConsoleHistoryRequest) (response CaptureConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -353,9 +392,16 @@ func (client ComputeClient) captureConsoleHistory(ctx context.Context, request c // ChangeComputeImageCapabilitySchemaCompartment Moves a compute image capability schema into a different compartment within the same tenancy. // For information about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartment API. func (client ComputeClient) ChangeComputeImageCapabilitySchemaCompartment(ctx context.Context, request ChangeComputeImageCapabilitySchemaCompartmentRequest) (response ChangeComputeImageCapabilitySchemaCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -405,9 +451,16 @@ func (client ComputeClient) changeComputeImageCapabilitySchemaCompartment(ctx co } // ChangeDedicatedVmHostCompartment Moves a dedicated virtual machine host from one compartment to another. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartment API. func (client ComputeClient) ChangeDedicatedVmHostCompartment(ctx context.Context, request ChangeDedicatedVmHostCompartmentRequest) (response ChangeDedicatedVmHostCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -459,9 +512,16 @@ func (client ComputeClient) changeDedicatedVmHostCompartment(ctx context.Context // ChangeImageCompartment Moves an image into a different compartment within the same tenancy. For information about moving // resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartment API. func (client ComputeClient) ChangeImageCompartment(ctx context.Context, request ChangeImageCompartmentRequest) (response ChangeImageCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -515,9 +575,16 @@ func (client ComputeClient) changeImageCompartment(ctx context.Context, request // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move an instance to a different compartment, associated resources such as boot volumes and VNICs // are not moved. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartment API. func (client ComputeClient) ChangeInstanceCompartment(ctx context.Context, request ChangeInstanceCompartmentRequest) (response ChangeInstanceCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -567,9 +634,16 @@ func (client ComputeClient) changeInstanceCompartment(ctx context.Context, reque } // CreateAppCatalogSubscription Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscription API. func (client ComputeClient) CreateAppCatalogSubscription(ctx context.Context, request CreateAppCatalogSubscriptionRequest) (response CreateAppCatalogSubscriptionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -619,9 +693,16 @@ func (client ComputeClient) createAppCatalogSubscription(ctx context.Context, re } // CreateComputeImageCapabilitySchema Creates compute image capability schema. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchema API. func (client ComputeClient) CreateComputeImageCapabilitySchema(ctx context.Context, request CreateComputeImageCapabilitySchemaRequest) (response CreateComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -674,9 +755,16 @@ func (client ComputeClient) createComputeImageCapabilitySchema(ctx context.Conte // Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers // that are a single tenant and not shared with other customers. // For more information, see Dedicated Virtual Machine Hosts (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHost API. func (client ComputeClient) CreateDedicatedVmHost(ctx context.Context, request CreateDedicatedVmHostRequest) (response CreateDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -742,9 +830,16 @@ func (client ComputeClient) createDedicatedVmHost(ctx context.Context, request c // You may optionally specify a *display name* for the image, which is simply a friendly name or description. // It does not have to be unique, and you can change it. See UpdateImage. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImage API. func (client ComputeClient) CreateImage(ctx context.Context, request CreateImageRequest) (response CreateImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -796,10 +891,17 @@ func (client ComputeClient) createImage(ctx context.Context, request common.OCIR // CreateInstanceConsoleConnection Creates a new console connection to the specified instance. // After the console connection has been created and is available, // you connect to the console using SSH. -// For more information about console access, see Accessing the Console (https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm). +// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnection API. func (client ComputeClient) CreateInstanceConsoleConnection(ctx context.Context, request CreateInstanceConsoleConnectionRequest) (response CreateInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -849,9 +951,16 @@ func (client ComputeClient) createInstanceConsoleConnection(ctx context.Context, } // DeleteAppCatalogSubscription Delete a subscription for a listing resource version for a compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscription API. func (client ComputeClient) DeleteAppCatalogSubscription(ctx context.Context, request DeleteAppCatalogSubscriptionRequest) (response DeleteAppCatalogSubscriptionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -896,9 +1005,16 @@ func (client ComputeClient) deleteAppCatalogSubscription(ctx context.Context, re } // DeleteComputeImageCapabilitySchema Deletes the specified Compute Image Capability Schema +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchema API. func (client ComputeClient) DeleteComputeImageCapabilitySchema(ctx context.Context, request DeleteComputeImageCapabilitySchemaRequest) (response DeleteComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -943,9 +1059,16 @@ func (client ComputeClient) deleteComputeImageCapabilitySchema(ctx context.Conte } // DeleteConsoleHistory Deletes the specified console history metadata and the console history data. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistory API. func (client ComputeClient) DeleteConsoleHistory(ctx context.Context, request DeleteConsoleHistoryRequest) (response DeleteConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -992,9 +1115,16 @@ func (client ComputeClient) deleteConsoleHistory(ctx context.Context, request co // DeleteDedicatedVmHost Deletes the specified dedicated virtual machine host. // If any VM instances are assigned to the dedicated virtual machine host, // the delete operation will fail and the service will return a 409 response code. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHost API. func (client ComputeClient) DeleteDedicatedVmHost(ctx context.Context, request DeleteDedicatedVmHostRequest) (response DeleteDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1039,9 +1169,16 @@ func (client ComputeClient) deleteDedicatedVmHost(ctx context.Context, request c } // DeleteImage Deletes an image. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImage API. func (client ComputeClient) DeleteImage(ctx context.Context, request DeleteImageRequest) (response DeleteImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1086,9 +1223,16 @@ func (client ComputeClient) deleteImage(ctx context.Context, request common.OCIR } // DeleteInstanceConsoleConnection Deletes the specified instance console connection. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnection API. func (client ComputeClient) DeleteInstanceConsoleConnection(ctx context.Context, request DeleteInstanceConsoleConnectionRequest) (response DeleteInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1135,9 +1279,16 @@ func (client ComputeClient) deleteInstanceConsoleConnection(ctx context.Context, // DetachBootVolume Detaches a boot volume from an instance. You must specify the OCID of the boot volume attachment. // This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily // until the attachment is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolume API. func (client ComputeClient) DetachBootVolume(ctx context.Context, request DetachBootVolumeRequest) (response DetachBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1190,9 +1341,16 @@ func (client ComputeClient) detachBootVolume(ctx context.Context, request common // target of a route rule (https://docs.cloud.oracle.com/Content/Network/Tasks/managingroutetables.htm#privateip), // deleting the VNIC causes that route rule to blackhole and the traffic // will be dropped. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnic API. func (client ComputeClient) DetachVnic(ctx context.Context, request DetachVnicRequest) (response DetachVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1239,9 +1397,16 @@ func (client ComputeClient) detachVnic(ctx context.Context, request common.OCIRe // DetachVolume Detaches a storage volume from an instance. You must specify the OCID of the volume attachment. // This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily // until the attachment is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolume API. func (client ComputeClient) DetachVolume(ctx context.Context, request DetachVolumeRequest) (response DetachVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1292,9 +1457,16 @@ func (client ComputeClient) detachVolume(ctx context.Context, request common.OCI // see Let Users Write Objects to Object Storage Buckets (https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm#Let4). // 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) // for constructing URLs for image import/export. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImage API. func (client ComputeClient) ExportImage(ctx context.Context, request ExportImageRequest) (response ExportImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1344,9 +1516,16 @@ func (client ComputeClient) exportImage(ctx context.Context, request common.OCIR } // GetAppCatalogListing Gets the specified listing. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListing API. func (client ComputeClient) GetAppCatalogListing(ctx context.Context, request GetAppCatalogListingRequest) (response GetAppCatalogListingResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1391,9 +1570,16 @@ func (client ComputeClient) getAppCatalogListing(ctx context.Context, request co } // GetAppCatalogListingAgreements Retrieves the agreements for a particular resource version of a listing. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreements API. func (client ComputeClient) GetAppCatalogListingAgreements(ctx context.Context, request GetAppCatalogListingAgreementsRequest) (response GetAppCatalogListingAgreementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1438,9 +1624,16 @@ func (client ComputeClient) getAppCatalogListingAgreements(ctx context.Context, } // GetAppCatalogListingResourceVersion Gets the specified listing resource version. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersion API. func (client ComputeClient) GetAppCatalogListingResourceVersion(ctx context.Context, request GetAppCatalogListingResourceVersionRequest) (response GetAppCatalogListingResourceVersionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1485,9 +1678,16 @@ func (client ComputeClient) getAppCatalogListingResourceVersion(ctx context.Cont } // GetBootVolumeAttachment Gets information about the specified boot volume attachment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachment API. func (client ComputeClient) GetBootVolumeAttachment(ctx context.Context, request GetBootVolumeAttachmentRequest) (response GetBootVolumeAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1532,9 +1732,16 @@ func (client ComputeClient) getBootVolumeAttachment(ctx context.Context, request } // GetComputeGlobalImageCapabilitySchema Gets the specified Compute Global Image Capability Schema +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchema API. func (client ComputeClient) GetComputeGlobalImageCapabilitySchema(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaRequest) (response GetComputeGlobalImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1579,9 +1786,16 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchema(ctx context.Co } // GetComputeGlobalImageCapabilitySchemaVersion Gets the specified Compute Global Image Capability Schema Version +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersion API. func (client ComputeClient) GetComputeGlobalImageCapabilitySchemaVersion(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaVersionRequest) (response GetComputeGlobalImageCapabilitySchemaVersionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1626,9 +1840,16 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchemaVersion(ctx con } // GetComputeImageCapabilitySchema Gets the specified Compute Image Capability Schema +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchema API. func (client ComputeClient) GetComputeImageCapabilitySchema(ctx context.Context, request GetComputeImageCapabilitySchemaRequest) (response GetComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1675,9 +1896,16 @@ func (client ComputeClient) getComputeImageCapabilitySchema(ctx context.Context, // GetConsoleHistory Shows the metadata for the specified console history. // See CaptureConsoleHistory // for details about using the console history operations. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistory API. func (client ComputeClient) GetConsoleHistory(ctx context.Context, request GetConsoleHistoryRequest) (response GetConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1724,9 +1952,16 @@ func (client ComputeClient) getConsoleHistory(ctx context.Context, request commo // GetConsoleHistoryContent Gets the actual console history data (not the metadata). // See CaptureConsoleHistory // for details about using the console history operations. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContent API. func (client ComputeClient) GetConsoleHistoryContent(ctx context.Context, request GetConsoleHistoryContentRequest) (response GetConsoleHistoryContentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1771,9 +2006,16 @@ func (client ComputeClient) getConsoleHistoryContent(ctx context.Context, reques } // GetDedicatedVmHost Gets information about the specified dedicated virtual machine host. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHost API. func (client ComputeClient) GetDedicatedVmHost(ctx context.Context, request GetDedicatedVmHostRequest) (response GetDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1818,9 +2060,16 @@ func (client ComputeClient) getDedicatedVmHost(ctx context.Context, request comm } // GetImage Gets the specified image. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImage API. func (client ComputeClient) GetImage(ctx context.Context, request GetImageRequest) (response GetImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1865,9 +2114,16 @@ func (client ComputeClient) getImage(ctx context.Context, request common.OCIRequ } // GetImageShapeCompatibilityEntry Retrieves an image shape compatibility entry. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntry API. func (client ComputeClient) GetImageShapeCompatibilityEntry(ctx context.Context, request GetImageShapeCompatibilityEntryRequest) (response GetImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1912,9 +2168,16 @@ func (client ComputeClient) getImageShapeCompatibilityEntry(ctx context.Context, } // GetInstance Gets information about the specified instance. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstance API. func (client ComputeClient) GetInstance(ctx context.Context, request GetInstanceRequest) (response GetInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1959,9 +2222,16 @@ func (client ComputeClient) getInstance(ctx context.Context, request common.OCIR } // GetInstanceConsoleConnection Gets the specified instance console connection's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnection API. func (client ComputeClient) GetInstanceConsoleConnection(ctx context.Context, request GetInstanceConsoleConnectionRequest) (response GetInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2006,9 +2276,16 @@ func (client ComputeClient) getInstanceConsoleConnection(ctx context.Context, re } // GetVnicAttachment Gets the information for the specified VNIC attachment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachment API. func (client ComputeClient) GetVnicAttachment(ctx context.Context, request GetVnicAttachmentRequest) (response GetVnicAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2053,9 +2330,16 @@ func (client ComputeClient) getVnicAttachment(ctx context.Context, request commo } // GetVolumeAttachment Gets information about the specified volume attachment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachment API. func (client ComputeClient) GetVolumeAttachment(ctx context.Context, request GetVolumeAttachmentRequest) (response GetVolumeAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2101,9 +2385,16 @@ func (client ComputeClient) getVolumeAttachment(ctx context.Context, request com // GetWindowsInstanceInitialCredentials Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows. // For certain operating systems, users will be forced to change the initial credentials. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentials API. func (client ComputeClient) GetWindowsInstanceInitialCredentials(ctx context.Context, request GetWindowsInstanceInitialCredentialsRequest) (response GetWindowsInstanceInitialCredentialsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2152,15 +2443,32 @@ func (client ComputeClient) getWindowsInstanceInitialCredentials(ctx context.Con // - **STOP** - Powers off the instance. // - **RESET** - Powers off the instance and then powers it back on. // - **SOFTSTOP** - Gracefully shuts down the instance by sending a shutdown command to the operating system. -// If the applications that run on the instance take a long time to shut down, they could be improperly stopped, resulting -// in data corruption. To avoid this, shut down the instance using the commands available in the OS before you softstop the +// After waiting 15 minutes for the OS to shut down, the instance is powered off. +// If the applications that run on the instance take more than 15 minutes to shut down, they could be improperly stopped, resulting +// in data corruption. To avoid this, manually shut down the instance using the commands available in the OS before you softstop the // instance. -// - **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system, and -// then powers the instance back on. -// For more information, see Stopping and Starting an Instance (https://docs.cloud.oracle.com/Content/Compute/Tasks/restartinginstance.htm). +// - **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system. +// After waiting 15 minutes for the OS to shut down, the instance is powered off and +// then powered back on. +// - **SENDDIAGNOSTICINTERRUPT** - For advanced users. **Warning: Sending a diagnostic interrupt to a live system can +// cause data corruption or system failure.** Sends a diagnostic interrupt that causes the instance's +// OS to crash and then reboot. Before you send a diagnostic interrupt, you must configure the instance to generate a +// crash dump file when it crashes. The crash dump captures information about the state of the OS at the time of +// the crash. After the OS restarts, you can analyze the crash dump to diagnose the issue. For more information, see +// Sending a Diagnostic Interrupt (https://docs.cloud.oracle.com/Content/Compute/Tasks/sendingdiagnosticinterrupt.htm). +// +// For more information about managing instance lifecycle states, see +// Stopping and Starting an Instance (https://docs.cloud.oracle.com/Content/Compute/Tasks/restartinginstance.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceAction API. func (client ComputeClient) InstanceAction(ctx context.Context, request InstanceActionRequest) (response InstanceActionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2241,9 +2549,16 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O // Then, call CreateAppCatalogSubscription // with the signature. To get the image ID for the LaunchInstance operation, call // GetAppCatalogListingResourceVersion. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstance API. func (client ComputeClient) LaunchInstance(ctx context.Context, request LaunchInstanceRequest) (response LaunchInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2293,9 +2608,16 @@ func (client ComputeClient) launchInstance(ctx context.Context, request common.O } // ListAppCatalogListingResourceVersions Gets all resource versions for a particular listing. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersions API. func (client ComputeClient) ListAppCatalogListingResourceVersions(ctx context.Context, request ListAppCatalogListingResourceVersionsRequest) (response ListAppCatalogListingResourceVersionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2340,9 +2662,16 @@ func (client ComputeClient) listAppCatalogListingResourceVersions(ctx context.Co } // ListAppCatalogListings Lists the published listings. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListings API. func (client ComputeClient) ListAppCatalogListings(ctx context.Context, request ListAppCatalogListingsRequest) (response ListAppCatalogListingsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2387,9 +2716,16 @@ func (client ComputeClient) listAppCatalogListings(ctx context.Context, request } // ListAppCatalogSubscriptions Lists subscriptions for a compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptions API. func (client ComputeClient) ListAppCatalogSubscriptions(ctx context.Context, request ListAppCatalogSubscriptionsRequest) (response ListAppCatalogSubscriptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2435,9 +2771,16 @@ func (client ComputeClient) listAppCatalogSubscriptions(ctx context.Context, req // ListBootVolumeAttachments Lists the boot volume attachments in the specified compartment. You can filter the // list by specifying an instance OCID, boot volume OCID, or both. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachments API. func (client ComputeClient) ListBootVolumeAttachments(ctx context.Context, request ListBootVolumeAttachmentsRequest) (response ListBootVolumeAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2482,9 +2825,16 @@ func (client ComputeClient) listBootVolumeAttachments(ctx context.Context, reque } // ListComputeGlobalImageCapabilitySchemaVersions Lists Compute Global Image Capability Schema versions in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersions API. func (client ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request ListComputeGlobalImageCapabilitySchemaVersionsRequest) (response ListComputeGlobalImageCapabilitySchemaVersionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2529,9 +2879,16 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemaVersions(ctx c } // ListComputeGlobalImageCapabilitySchemas Lists Compute Global Image Capability Schema in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemas API. func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context.Context, request ListComputeGlobalImageCapabilitySchemasRequest) (response ListComputeGlobalImageCapabilitySchemasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2576,9 +2933,16 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemas(ctx context. } // ListComputeImageCapabilitySchemas Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemas API. func (client ComputeClient) ListComputeImageCapabilitySchemas(ctx context.Context, request ListComputeImageCapabilitySchemasRequest) (response ListComputeImageCapabilitySchemasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2623,9 +2987,16 @@ func (client ComputeClient) listComputeImageCapabilitySchemas(ctx context.Contex } // ListConsoleHistories Lists the console history metadata for the specified compartment or instance. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistories API. func (client ComputeClient) ListConsoleHistories(ctx context.Context, request ListConsoleHistoriesRequest) (response ListConsoleHistoriesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2671,9 +3042,16 @@ func (client ComputeClient) listConsoleHistories(ctx context.Context, request co // ListDedicatedVmHostInstanceShapes Lists the shapes that can be used to launch a virtual machine instance on a dedicated virtual machine host within the specified compartment. // You can filter the list by compatibility with a specific dedicated virtual machine host shape. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapes API. func (client ComputeClient) ListDedicatedVmHostInstanceShapes(ctx context.Context, request ListDedicatedVmHostInstanceShapesRequest) (response ListDedicatedVmHostInstanceShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2718,9 +3096,16 @@ func (client ComputeClient) listDedicatedVmHostInstanceShapes(ctx context.Contex } // ListDedicatedVmHostInstances Returns the list of instances on the dedicated virtual machine hosts that match the specified criteria. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstances API. func (client ComputeClient) ListDedicatedVmHostInstances(ctx context.Context, request ListDedicatedVmHostInstancesRequest) (response ListDedicatedVmHostInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2765,9 +3150,16 @@ func (client ComputeClient) listDedicatedVmHostInstances(ctx context.Context, re } // ListDedicatedVmHostShapes Lists the shapes that can be used to launch a dedicated virtual machine host within the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapes API. func (client ComputeClient) ListDedicatedVmHostShapes(ctx context.Context, request ListDedicatedVmHostShapesRequest) (response ListDedicatedVmHostShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2814,9 +3206,16 @@ func (client ComputeClient) listDedicatedVmHostShapes(ctx context.Context, reque // ListDedicatedVmHosts Returns the list of dedicated virtual machine hosts that match the specified criteria in the specified compartment. // You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named // dedicated virtual machine hosts in the compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHosts API. func (client ComputeClient) ListDedicatedVmHosts(ctx context.Context, request ListDedicatedVmHostsRequest) (response ListDedicatedVmHostsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2861,9 +3260,16 @@ func (client ComputeClient) listDedicatedVmHosts(ctx context.Context, request co } // ListImageShapeCompatibilityEntries Lists the compatible shapes for the specified image. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntries API. func (client ComputeClient) ListImageShapeCompatibilityEntries(ctx context.Context, request ListImageShapeCompatibilityEntriesRequest) (response ListImageShapeCompatibilityEntriesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2913,9 +3319,16 @@ func (client ComputeClient) listImageShapeCompatibilityEntries(ctx context.Conte // been created. The list of images returned is ordered to first show all // Oracle-provided images, then all custom images. // The order of images returned may change when new images are released. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImages API. func (client ComputeClient) ListImages(ctx context.Context, request ListImagesRequest) (response ListImagesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2960,10 +3373,17 @@ func (client ComputeClient) listImages(ctx context.Context, request common.OCIRe } // ListInstanceConsoleConnections Lists the console connections for the specified compartment or instance. -// For more information about console access, see Accessing the Console (https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm). +// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnections API. func (client ComputeClient) ListInstanceConsoleConnections(ctx context.Context, request ListInstanceConsoleConnectionsRequest) (response ListInstanceConsoleConnectionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3008,9 +3428,16 @@ func (client ComputeClient) listInstanceConsoleConnections(ctx context.Context, } // ListInstanceDevices Gets a list of all the devices for given instance. You can optionally filter results by device availability. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevices API. func (client ComputeClient) ListInstanceDevices(ctx context.Context, request ListInstanceDevicesRequest) (response ListInstanceDevicesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3057,9 +3484,16 @@ func (client ComputeClient) listInstanceDevices(ctx context.Context, request com // ListInstances Lists the instances in the specified compartment and the specified availability domain. // You can filter the results by specifying an instance name (the list will include all the identically-named // instances in the compartment). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstances API. func (client ComputeClient) ListInstances(ctx context.Context, request ListInstancesRequest) (response ListInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3105,9 +3539,16 @@ func (client ComputeClient) listInstances(ctx context.Context, request common.OC // ListShapes Lists the shapes that can be used to launch an instance within the specified compartment. You can // filter the list by compatibility with a specific image. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapes API. func (client ComputeClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3154,9 +3595,16 @@ func (client ComputeClient) listShapes(ctx context.Context, request common.OCIRe // ListVnicAttachments Lists the VNIC attachments in the specified compartment. A VNIC attachment // resides in the same compartment as the attached instance. The list can be // filtered by instance, VNIC, or availability domain. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachments API. func (client ComputeClient) ListVnicAttachments(ctx context.Context, request ListVnicAttachmentsRequest) (response ListVnicAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3220,9 +3668,16 @@ func (m *listvolumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{ // list by specifying an instance OCID, volume OCID, or both. // Currently, the only supported volume attachment type are IScsiVolumeAttachment and // ParavirtualizedVolumeAttachment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachments API. func (client ComputeClient) ListVolumeAttachments(ctx context.Context, request ListVolumeAttachmentsRequest) (response ListVolumeAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3267,9 +3722,16 @@ func (client ComputeClient) listVolumeAttachments(ctx context.Context, request c } // RemoveImageShapeCompatibilityEntry Removes a shape from the compatible shapes list for the image. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntry API. func (client ComputeClient) RemoveImageShapeCompatibilityEntry(ctx context.Context, request RemoveImageShapeCompatibilityEntryRequest) (response RemoveImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3319,9 +3781,16 @@ func (client ComputeClient) removeImageShapeCompatibilityEntry(ctx context.Conte // To delete the boot volume when the instance is deleted, specify `false` or do not specify a value for `PreserveBootVolumeQueryParam`. // This is an asynchronous operation. The instance's `lifecycleState` will change to TERMINATING temporarily // until the instance is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstance API. func (client ComputeClient) TerminateInstance(ctx context.Context, request TerminateInstanceRequest) (response TerminateInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3366,9 +3835,16 @@ func (client ComputeClient) terminateInstance(ctx context.Context, request commo } // UpdateComputeImageCapabilitySchema Updates the specified Compute Image Capability Schema +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchema API. func (client ComputeClient) UpdateComputeImageCapabilitySchema(ctx context.Context, request UpdateComputeImageCapabilitySchemaRequest) (response UpdateComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3413,9 +3889,16 @@ func (client ComputeClient) updateComputeImageCapabilitySchema(ctx context.Conte } // UpdateConsoleHistory Updates the specified console history metadata. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistory API. func (client ComputeClient) UpdateConsoleHistory(ctx context.Context, request UpdateConsoleHistoryRequest) (response UpdateConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3461,9 +3944,16 @@ func (client ComputeClient) updateConsoleHistory(ctx context.Context, request co // UpdateDedicatedVmHost Updates the displayName, freeformTags, and definedTags attributes for the specified dedicated virtual machine host. // If an attribute value is not included, it will not be updated. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHost API. func (client ComputeClient) UpdateDedicatedVmHost(ctx context.Context, request UpdateDedicatedVmHostRequest) (response UpdateDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3513,9 +4003,16 @@ func (client ComputeClient) updateDedicatedVmHost(ctx context.Context, request c } // UpdateImage Updates the display name of the image. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImage API. func (client ComputeClient) UpdateImage(ctx context.Context, request UpdateImageRequest) (response UpdateImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3569,9 +4066,16 @@ func (client ComputeClient) updateImage(ctx context.Context, request common.OCIR // Changes to metadata fields will be reflected in the instance metadata service (this may take // up to a minute). // The OCID of the instance remains the same. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstance API. func (client ComputeClient) UpdateInstance(ctx context.Context, request UpdateInstanceRequest) (response UpdateInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3619,3 +4123,57 @@ func (client ComputeClient) updateInstance(ctx context.Context, request common.O err = common.UnmarshalResponse(httpResponse, &response) return response, err } + +// UpdateInstanceConsoleConnection Updates the defined tags and free-form tags for the specified instance console connection. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnection API. +func (client ComputeClient) UpdateInstanceConsoleConnection(ctx context.Context, request UpdateInstanceConsoleConnectionRequest) (response UpdateInstanceConsoleConnectionResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateInstanceConsoleConnection, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateInstanceConsoleConnectionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateInstanceConsoleConnectionResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateInstanceConsoleConnectionResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateInstanceConsoleConnectionResponse") + } + return +} + +// updateInstanceConsoleConnection implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) updateInstanceConsoleConnection(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPut, "/instanceConsoleConnections/{instanceConsoleConnectionId}") + if err != nil { + return nil, err + } + + var response UpdateInstanceConsoleConnectionResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/core_computemanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_computemanagement_client.go similarity index 79% rename from vendor/github.com/oracle/oci-go-sdk/core/core_computemanagement_client.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/core_computemanagement_client.go index da99d6c6c..d2034505e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/core_computemanagement_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_computemanagement_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,8 @@ package core import ( "context" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" + "github.com/oracle/oci-go-sdk/v36/common/auth" "net/http" ) @@ -29,12 +30,15 @@ type ComputeManagementClient struct { // NewComputeManagementClientWithConfigurationProvider Creates a new default ComputeManagement client with the given configuration provider. // the configuration provider will be used for the default signer as well as reading the region func NewComputeManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ComputeManagementClient, err error) { - baseClient, err := common.NewClientWithConfig(configProvider) + provider, err := auth.GetGenericConfigurationProvider(configProvider) if err != nil { - return + return client, err } - - return newComputeManagementClientFromBaseClient(baseClient, configProvider) + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newComputeManagementClientFromBaseClient(baseClient, provider) } // NewComputeManagementClientWithOboToken Creates a new default ComputeManagement client with the given configuration provider. @@ -43,7 +47,7 @@ func NewComputeManagementClientWithConfigurationProvider(configProvider common.C func NewComputeManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeManagementClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { - return + return client, err } return newComputeManagementClientFromBaseClient(baseClient, configProvider) @@ -79,10 +83,76 @@ func (client *ComputeManagementClient) ConfigurationProvider() *common.Configura return client.config } +// AttachInstancePoolInstance Attach an instance to the instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstance API. +func (client ComputeManagementClient) AttachInstancePoolInstance(ctx context.Context, request AttachInstancePoolInstanceRequest) (response AttachInstancePoolInstanceResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.attachInstancePoolInstance, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AttachInstancePoolInstanceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AttachInstancePoolInstanceResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AttachInstancePoolInstanceResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AttachInstancePoolInstanceResponse") + } + return +} + +// attachInstancePoolInstance implements the OCIOperation interface (enables retrying operations) +func (client ComputeManagementClient) attachInstancePoolInstance(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/instancePools/{instancePoolId}/instances") + if err != nil { + return nil, err + } + + var response AttachInstancePoolInstanceResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // AttachLoadBalancer Attach a load balancer to the instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancer API. func (client ComputeManagementClient) AttachLoadBalancer(ctx context.Context, request AttachLoadBalancerRequest) (response AttachLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -136,9 +206,16 @@ func (client ComputeManagementClient) attachLoadBalancer(ctx context.Context, re // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move a cluster network to a different compartment, associated resources such as the instances // in the cluster network, boot volumes, and VNICs are not moved. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartment API. func (client ComputeManagementClient) ChangeClusterNetworkCompartment(ctx context.Context, request ChangeClusterNetworkCompartmentRequest) (response ChangeClusterNetworkCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -198,9 +275,16 @@ func (client ComputeManagementClient) changeClusterNetworkCompartment(ctx contex // in the new compartment. If you want to update an instance configuration to point to a different compartment, // you should instead create a new instance configuration in the target compartment using // CreateInstanceConfiguration (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartment API. func (client ComputeManagementClient) ChangeInstanceConfigurationCompartment(ctx context.Context, request ChangeInstanceConfigurationCompartmentRequest) (response ChangeInstanceConfigurationCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -254,9 +338,16 @@ func (client ComputeManagementClient) changeInstanceConfigurationCompartment(ctx // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move an instance pool to a different compartment, associated resources such as the instances in // the pool, boot volumes, VNICs, and autoscaling configurations are not moved. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartment API. func (client ComputeManagementClient) ChangeInstancePoolCompartment(ctx context.Context, request ChangeInstancePoolCompartmentRequest) (response ChangeInstancePoolCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -307,9 +398,16 @@ func (client ComputeManagementClient) changeInstancePoolCompartment(ctx context. // CreateClusterNetwork Creates a cluster network. For more information about cluster networks, see // Managing Cluster Networks (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetwork API. func (client ComputeManagementClient) CreateClusterNetwork(ctx context.Context, request CreateClusterNetworkRequest) (response CreateClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -360,9 +458,16 @@ func (client ComputeManagementClient) createClusterNetwork(ctx context.Context, // CreateInstanceConfiguration Creates an instance configuration. An instance configuration is a template that defines the // settings to use when creating Compute instances. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfiguration API. func (client ComputeManagementClient) CreateInstanceConfiguration(ctx context.Context, request CreateInstanceConfigurationRequest) (response CreateInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -412,9 +517,16 @@ func (client ComputeManagementClient) createInstanceConfiguration(ctx context.Co } // CreateInstancePool Create an instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePool API. func (client ComputeManagementClient) CreateInstancePool(ctx context.Context, request CreateInstancePoolRequest) (response CreateInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -464,9 +576,16 @@ func (client ComputeManagementClient) createInstancePool(ctx context.Context, re } // DeleteInstanceConfiguration Deletes an instance configuration. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfiguration API. func (client ComputeManagementClient) DeleteInstanceConfiguration(ctx context.Context, request DeleteInstanceConfigurationRequest) (response DeleteInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -510,10 +629,76 @@ func (client ComputeManagementClient) deleteInstanceConfiguration(ctx context.Co return response, err } +// DetachInstancePoolInstance Detach instance from the instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstance API. +func (client ComputeManagementClient) DetachInstancePoolInstance(ctx context.Context, request DetachInstancePoolInstanceRequest) (response DetachInstancePoolInstanceResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.detachInstancePoolInstance, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DetachInstancePoolInstanceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DetachInstancePoolInstanceResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DetachInstancePoolInstanceResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DetachInstancePoolInstanceResponse") + } + return +} + +// detachInstancePoolInstance implements the OCIOperation interface (enables retrying operations) +func (client ComputeManagementClient) detachInstancePoolInstance(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/instancePools/{instancePoolId}/actions/detachInstance") + if err != nil { + return nil, err + } + + var response DetachInstancePoolInstanceResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // DetachLoadBalancer Detach a load balancer from the instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancer API. func (client ComputeManagementClient) DetachLoadBalancer(ctx context.Context, request DetachLoadBalancerRequest) (response DetachLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -563,9 +748,16 @@ func (client ComputeManagementClient) detachLoadBalancer(ctx context.Context, re } // GetClusterNetwork Gets information about the specified cluster network. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetwork API. func (client ComputeManagementClient) GetClusterNetwork(ctx context.Context, request GetClusterNetworkRequest) (response GetClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -610,9 +802,16 @@ func (client ComputeManagementClient) getClusterNetwork(ctx context.Context, req } // GetInstanceConfiguration Gets the specified instance configuration +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfiguration API. func (client ComputeManagementClient) GetInstanceConfiguration(ctx context.Context, request GetInstanceConfigurationRequest) (response GetInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -657,9 +856,16 @@ func (client ComputeManagementClient) getInstanceConfiguration(ctx context.Conte } // GetInstancePool Gets the specified instance pool +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePool API. func (client ComputeManagementClient) GetInstancePool(ctx context.Context, request GetInstancePoolRequest) (response GetInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -703,10 +909,71 @@ func (client ComputeManagementClient) getInstancePool(ctx context.Context, reque return response, err } +// GetInstancePoolInstance Gets the instance pool instance +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstance API. +func (client ComputeManagementClient) GetInstancePoolInstance(ctx context.Context, request GetInstancePoolInstanceRequest) (response GetInstancePoolInstanceResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getInstancePoolInstance, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetInstancePoolInstanceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetInstancePoolInstanceResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetInstancePoolInstanceResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetInstancePoolInstanceResponse") + } + return +} + +// getInstancePoolInstance implements the OCIOperation interface (enables retrying operations) +func (client ComputeManagementClient) getInstancePoolInstance(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/instancePools/{instancePoolId}/instances/{instanceId}") + if err != nil { + return nil, err + } + + var response GetInstancePoolInstanceResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetInstancePoolLoadBalancerAttachment Gets information about a load balancer that is attached to the specified instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachment API. func (client ComputeManagementClient) GetInstancePoolLoadBalancerAttachment(ctx context.Context, request GetInstancePoolLoadBalancerAttachmentRequest) (response GetInstancePoolLoadBalancerAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -756,9 +1023,16 @@ func (client ComputeManagementClient) getInstancePoolLoadBalancerAttachment(ctx // provide these parameters when you launch an instance from the instance configuration. // For more information, see the InstanceConfiguration // resource. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfiguration API. func (client ComputeManagementClient) LaunchInstanceConfiguration(ctx context.Context, request LaunchInstanceConfigurationRequest) (response LaunchInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -808,9 +1082,16 @@ func (client ComputeManagementClient) launchInstanceConfiguration(ctx context.Co } // ListClusterNetworkInstances Lists the instances in the specified cluster network. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstances API. func (client ComputeManagementClient) ListClusterNetworkInstances(ctx context.Context, request ListClusterNetworkInstancesRequest) (response ListClusterNetworkInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -855,9 +1136,16 @@ func (client ComputeManagementClient) listClusterNetworkInstances(ctx context.Co } // ListClusterNetworks Lists the cluster networks in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworks API. func (client ComputeManagementClient) ListClusterNetworks(ctx context.Context, request ListClusterNetworksRequest) (response ListClusterNetworksResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -902,9 +1190,16 @@ func (client ComputeManagementClient) listClusterNetworks(ctx context.Context, r } // ListInstanceConfigurations Lists the instance configurations in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurations API. func (client ComputeManagementClient) ListInstanceConfigurations(ctx context.Context, request ListInstanceConfigurationsRequest) (response ListInstanceConfigurationsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -949,9 +1244,16 @@ func (client ComputeManagementClient) listInstanceConfigurations(ctx context.Con } // ListInstancePoolInstances List the instances in the specified instance pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstances API. func (client ComputeManagementClient) ListInstancePoolInstances(ctx context.Context, request ListInstancePoolInstancesRequest) (response ListInstancePoolInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -996,9 +1298,16 @@ func (client ComputeManagementClient) listInstancePoolInstances(ctx context.Cont } // ListInstancePools Lists the instance pools in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePools API. func (client ComputeManagementClient) ListInstancePools(ctx context.Context, request ListInstancePoolsRequest) (response ListInstancePoolsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1042,11 +1351,18 @@ func (client ComputeManagementClient) listInstancePools(ctx context.Context, req return response, err } -// ResetInstancePool Performs the reset (power off and power on) action on the specified instance pool, +// ResetInstancePool Performs the reset (immediate power off and power on) action on the specified instance pool, // which performs the action on all the instances in the pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePool API. func (client ComputeManagementClient) ResetInstancePool(ctx context.Context, request ResetInstancePoolRequest) (response ResetInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1097,9 +1413,18 @@ func (client ComputeManagementClient) resetInstancePool(ctx context.Context, req // SoftresetInstancePool Performs the softreset (ACPI shutdown and power on) action on the specified instance pool, // which performs the action on all the instances in the pool. +// Softreset gracefully reboots the instances by sending a shutdown command to the operating systems. +// After waiting 15 minutes for the OS to shut down, the instances are powered off and then powered back on. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePool API. func (client ComputeManagementClient) SoftresetInstancePool(ctx context.Context, request SoftresetInstancePoolRequest) (response SoftresetInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1150,9 +1475,16 @@ func (client ComputeManagementClient) softresetInstancePool(ctx context.Context, // StartInstancePool Performs the start (power on) action on the specified instance pool, // which performs the action on all the instances in the pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePool API. func (client ComputeManagementClient) StartInstancePool(ctx context.Context, request StartInstancePoolRequest) (response StartInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1201,11 +1533,18 @@ func (client ComputeManagementClient) startInstancePool(ctx context.Context, req return response, err } -// StopInstancePool Performs the stop (power off) action on the specified instance pool, +// StopInstancePool Performs the stop (immediate power off) action on the specified instance pool, // which performs the action on all the instances in the pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePool API. func (client ComputeManagementClient) StopInstancePool(ctx context.Context, request StopInstancePoolRequest) (response StopInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1257,9 +1596,16 @@ func (client ComputeManagementClient) stopInstancePool(ctx context.Context, requ // TerminateClusterNetwork Terminates the specified cluster network. // When you delete a cluster network, all of its resources are permanently deleted, // including associated instances and instance pools. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetwork API. func (client ComputeManagementClient) TerminateClusterNetwork(ctx context.Context, request TerminateClusterNetworkRequest) (response TerminateClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1309,9 +1655,16 @@ func (client ComputeManagementClient) terminateClusterNetwork(ctx context.Contex // If an autoscaling configuration applies to the instance pool, the autoscaling configuration will be deleted // asynchronously after the pool is deleted. You can also manually delete the autoscaling configuration using // the `DeleteAutoScalingConfiguration` operation in the Autoscaling API. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePool API. func (client ComputeManagementClient) TerminateInstancePool(ctx context.Context, request TerminateInstancePoolRequest) (response TerminateInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1356,9 +1709,16 @@ func (client ComputeManagementClient) terminateInstancePool(ctx context.Context, } // UpdateClusterNetwork Updates the specified cluster network. The OCID of the cluster network remains the same. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetwork API. func (client ComputeManagementClient) UpdateClusterNetwork(ctx context.Context, request UpdateClusterNetworkRequest) (response UpdateClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1408,9 +1768,16 @@ func (client ComputeManagementClient) updateClusterNetwork(ctx context.Context, } // UpdateInstanceConfiguration Updates the free-form tags, defined tags, and display name of an instance configuration. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfiguration API. func (client ComputeManagementClient) UpdateInstanceConfiguration(ctx context.Context, request UpdateInstanceConfigurationRequest) (response UpdateInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1461,9 +1828,16 @@ func (client ComputeManagementClient) updateInstanceConfiguration(ctx context.Co // UpdateInstancePool Update the specified instance pool. // The OCID of the instance pool remains the same. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePool API. func (client ComputeManagementClient) UpdateInstancePool(ctx context.Context, request UpdateInstancePoolRequest) (response UpdateInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/core_virtualnetwork_client.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_virtualnetwork_client.go similarity index 77% rename from vendor/github.com/oracle/oci-go-sdk/core/core_virtualnetwork_client.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/core_virtualnetwork_client.go index f7def4d5f..e142fd366 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/core_virtualnetwork_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/core_virtualnetwork_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,8 @@ package core import ( "context" "fmt" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" + "github.com/oracle/oci-go-sdk/v36/common/auth" "net/http" ) @@ -29,12 +30,15 @@ type VirtualNetworkClient struct { // NewVirtualNetworkClientWithConfigurationProvider Creates a new default VirtualNetwork client with the given configuration provider. // the configuration provider will be used for the default signer as well as reading the region func NewVirtualNetworkClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client VirtualNetworkClient, err error) { - baseClient, err := common.NewClientWithConfig(configProvider) + provider, err := auth.GetGenericConfigurationProvider(configProvider) if err != nil { - return + return client, err } - - return newVirtualNetworkClientFromBaseClient(baseClient, configProvider) + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newVirtualNetworkClientFromBaseClient(baseClient, provider) } // NewVirtualNetworkClientWithOboToken Creates a new default VirtualNetwork client with the given configuration provider. @@ -43,7 +47,7 @@ func NewVirtualNetworkClientWithConfigurationProvider(configProvider common.Conf func NewVirtualNetworkClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VirtualNetworkClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { - return + return client, err } return newVirtualNetworkClientFromBaseClient(baseClient, configProvider) @@ -80,9 +84,16 @@ func (client *VirtualNetworkClient) ConfigurationProvider() *common.Configuratio } // AddNetworkSecurityGroupSecurityRules Adds one or more security rules to the specified network security group. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) AddNetworkSecurityGroupSecurityRules(ctx context.Context, request AddNetworkSecurityGroupSecurityRulesRequest) (response AddNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -126,6 +137,184 @@ func (client VirtualNetworkClient) addNetworkSecurityGroupSecurityRules(ctx cont return response, err } +// AddPublicIpPoolCapacity Adds some or all of a CIDR block to a public IP pool. +// The CIDR block (or subrange) must not overlap with any other CIDR block already added to this or any other public IP pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacity API. +func (client VirtualNetworkClient) AddPublicIpPoolCapacity(ctx context.Context, request AddPublicIpPoolCapacityRequest) (response AddPublicIpPoolCapacityResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.addPublicIpPoolCapacity, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AddPublicIpPoolCapacityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AddPublicIpPoolCapacityResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AddPublicIpPoolCapacityResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AddPublicIpPoolCapacityResponse") + } + return +} + +// addPublicIpPoolCapacity implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/addCapacity") + if err != nil { + return nil, err + } + + var response AddPublicIpPoolCapacityResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// AddVcnCidr Adds a CIDR block to a VCN. The CIDR block you add: +// - Must be valid. +// - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. +// - Must not exceed the limit of CIDR blocks allowed per VCN. +// **Note:** Adding a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidr API. +func (client VirtualNetworkClient) AddVcnCidr(ctx context.Context, request AddVcnCidrRequest) (response AddVcnCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.addVcnCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AddVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AddVcnCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AddVcnCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AddVcnCidrResponse") + } + return +} + +// addVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/addCidr") + if err != nil { + return nil, err + } + + var response AddVcnCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// AdvertiseByoipRange Begins BGP route advertisements for the BYOIP CIDR block you imported to the Oracle Cloud. +// The `ByoipRange` resource must be in the PROVISIONED state before the BYOIP CIDR block routes can be advertised with BGP. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRange API. +func (client VirtualNetworkClient) AdvertiseByoipRange(ctx context.Context, request AdvertiseByoipRangeRequest) (response AdvertiseByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.advertiseByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AdvertiseByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AdvertiseByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AdvertiseByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AdvertiseByoipRangeResponse") + } + return +} + +// advertiseByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/advertise") + if err != nil { + return nil, err + } + + var response AdvertiseByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // AttachServiceId Adds the specified Service to the list of enabled // `Service` objects for the specified gateway. You must also set up a route rule with the // `cidrBlock` of the `Service` as the rule's destination and the service gateway as the rule's @@ -135,9 +324,16 @@ func (client VirtualNetworkClient) addNetworkSecurityGroupSecurityRules(ctx cont // UpdateServiceGateway, which replaces // the entire existing list of enabled `Service` objects with the list that you provide in the // `Update` call. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceId API. func (client VirtualNetworkClient) AttachServiceId(ctx context.Context, request AttachServiceIdRequest) (response AttachServiceIdResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -185,9 +381,16 @@ func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request // Use this operation (and not UpdateVirtualCircuit) // to add prefixes to the virtual circuit. Oracle must verify the customer's ownership // of each prefix before traffic for that prefix will flow across the virtual circuit. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixes API. func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -230,9 +433,16 @@ func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx conte // Use this operation (and not UpdateVirtualCircuit) // to remove prefixes from the virtual circuit. When the virtual circuit's state switches // back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixes API. func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -271,12 +481,80 @@ func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx co return response, err } +// ChangeByoipRangeCompartment Moves a BYOIP CIDR block to a different compartment. For information +// about moving resources between compartments, see +// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartment API. +func (client VirtualNetworkClient) ChangeByoipRangeCompartment(ctx context.Context, request ChangeByoipRangeCompartmentRequest) (response ChangeByoipRangeCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeByoipRangeCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeByoipRangeCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeByoipRangeCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeByoipRangeCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeByoipRangeCompartmentResponse") + } + return +} + +// changeByoipRangeCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeByoipRangeCompartment(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/changeCompartment") + if err != nil { + return nil, err + } + + var response ChangeByoipRangeCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ChangeCpeCompartment Moves a CPE object into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartment API. func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, request ChangeCpeCompartmentRequest) (response ChangeCpeCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -328,9 +606,16 @@ func (client VirtualNetworkClient) changeCpeCompartment(ctx context.Context, req // ChangeCrossConnectCompartment Moves a cross-connect into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartment API. func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Context, request ChangeCrossConnectCompartmentRequest) (response ChangeCrossConnectCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -382,9 +667,16 @@ func (client VirtualNetworkClient) changeCrossConnectCompartment(ctx context.Con // ChangeCrossConnectGroupCompartment Moves a cross-connect group into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartment API. func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx context.Context, request ChangeCrossConnectGroupCompartmentRequest) (response ChangeCrossConnectGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -436,9 +728,16 @@ func (client VirtualNetworkClient) changeCrossConnectGroupCompartment(ctx contex // ChangeDhcpOptionsCompartment Moves a set of DHCP options into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartment API. func (client VirtualNetworkClient) ChangeDhcpOptionsCompartment(ctx context.Context, request ChangeDhcpOptionsCompartmentRequest) (response ChangeDhcpOptionsCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -490,9 +789,16 @@ func (client VirtualNetworkClient) changeDhcpOptionsCompartment(ctx context.Cont // ChangeDrgCompartment Moves a DRG into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartment API. func (client VirtualNetworkClient) ChangeDrgCompartment(ctx context.Context, request ChangeDrgCompartmentRequest) (response ChangeDrgCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -544,9 +850,16 @@ func (client VirtualNetworkClient) changeDrgCompartment(ctx context.Context, req // ChangeIPSecConnectionCompartment Moves an IPSec connection into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartment API. func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context.Context, request ChangeIPSecConnectionCompartmentRequest) (response ChangeIPSecConnectionCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -598,9 +911,16 @@ func (client VirtualNetworkClient) changeIPSecConnectionCompartment(ctx context. // ChangeInternetGatewayCompartment Moves an internet gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartment API. func (client VirtualNetworkClient) ChangeInternetGatewayCompartment(ctx context.Context, request ChangeInternetGatewayCompartmentRequest) (response ChangeInternetGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -652,9 +972,16 @@ func (client VirtualNetworkClient) changeInternetGatewayCompartment(ctx context. // ChangeLocalPeeringGatewayCompartment Moves a local peering gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartment API. func (client VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment(ctx context.Context, request ChangeLocalPeeringGatewayCompartmentRequest) (response ChangeLocalPeeringGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -706,9 +1033,16 @@ func (client VirtualNetworkClient) changeLocalPeeringGatewayCompartment(ctx cont // ChangeNatGatewayCompartment Moves a NAT gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartment API. func (client VirtualNetworkClient) ChangeNatGatewayCompartment(ctx context.Context, request ChangeNatGatewayCompartmentRequest) (response ChangeNatGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -759,9 +1093,16 @@ func (client VirtualNetworkClient) changeNatGatewayCompartment(ctx context.Conte // ChangeNetworkSecurityGroupCompartment Moves a network security group into a different compartment within the same tenancy. For // information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartment API. func (client VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment(ctx context.Context, request ChangeNetworkSecurityGroupCompartmentRequest) (response ChangeNetworkSecurityGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -815,9 +1156,16 @@ func (client VirtualNetworkClient) changeNetworkSecurityGroupCompartment(ctx con // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the // same compartment as their VNIC and move accordingly. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartment API. func (client VirtualNetworkClient) ChangePublicIpCompartment(ctx context.Context, request ChangePublicIpCompartmentRequest) (response ChangePublicIpCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -866,12 +1214,80 @@ func (client VirtualNetworkClient) changePublicIpCompartment(ctx context.Context return response, err } +// ChangePublicIpPoolCompartment Moves a public IP pool to a different compartment. For information +// about moving resources between compartments, see +// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartment API. +func (client VirtualNetworkClient) ChangePublicIpPoolCompartment(ctx context.Context, request ChangePublicIpPoolCompartmentRequest) (response ChangePublicIpPoolCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changePublicIpPoolCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangePublicIpPoolCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangePublicIpPoolCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangePublicIpPoolCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangePublicIpPoolCompartmentResponse") + } + return +} + +// changePublicIpPoolCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changePublicIpPoolCompartment(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/changeCompartment") + if err != nil { + return nil, err + } + + var response ChangePublicIpPoolCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ChangeRemotePeeringConnectionCompartment Moves a remote peering connection (RPC) into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartment API. func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx context.Context, request ChangeRemotePeeringConnectionCompartmentRequest) (response ChangeRemotePeeringConnectionCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -923,9 +1339,16 @@ func (client VirtualNetworkClient) changeRemotePeeringConnectionCompartment(ctx // ChangeRouteTableCompartment Moves a route table into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartment API. func (client VirtualNetworkClient) ChangeRouteTableCompartment(ctx context.Context, request ChangeRouteTableCompartmentRequest) (response ChangeRouteTableCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -977,9 +1400,16 @@ func (client VirtualNetworkClient) changeRouteTableCompartment(ctx context.Conte // ChangeSecurityListCompartment Moves a security list into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartment API. func (client VirtualNetworkClient) ChangeSecurityListCompartment(ctx context.Context, request ChangeSecurityListCompartmentRequest) (response ChangeSecurityListCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1031,9 +1461,16 @@ func (client VirtualNetworkClient) changeSecurityListCompartment(ctx context.Con // ChangeServiceGatewayCompartment Moves a service gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartment API. func (client VirtualNetworkClient) ChangeServiceGatewayCompartment(ctx context.Context, request ChangeServiceGatewayCompartmentRequest) (response ChangeServiceGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1085,9 +1522,16 @@ func (client VirtualNetworkClient) changeServiceGatewayCompartment(ctx context.C // ChangeSubnetCompartment Moves a subnet into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartment API. func (client VirtualNetworkClient) ChangeSubnetCompartment(ctx context.Context, request ChangeSubnetCompartmentRequest) (response ChangeSubnetCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1139,9 +1583,16 @@ func (client VirtualNetworkClient) changeSubnetCompartment(ctx context.Context, // ChangeVcnCompartment Moves a VCN into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartment API. func (client VirtualNetworkClient) ChangeVcnCompartment(ctx context.Context, request ChangeVcnCompartmentRequest) (response ChangeVcnCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1193,9 +1644,16 @@ func (client VirtualNetworkClient) changeVcnCompartment(ctx context.Context, req // ChangeVirtualCircuitCompartment Moves a virtual circuit into a different compartment within the same tenancy. For information // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartment API. func (client VirtualNetworkClient) ChangeVirtualCircuitCompartment(ctx context.Context, request ChangeVirtualCircuitCompartmentRequest) (response ChangeVirtualCircuitCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1247,9 +1705,16 @@ func (client VirtualNetworkClient) changeVirtualCircuitCompartment(ctx context.C // ChangeVlanCompartment Moves a VLAN into a different compartment within the same tenancy. // For information about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartment API. func (client VirtualNetworkClient) ChangeVlanCompartment(ctx context.Context, request ChangeVlanCompartmentRequest) (response ChangeVlanCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1304,10 +1769,17 @@ func (client VirtualNetworkClient) changeVlanCompartment(ctx context.Context, re // an Identity and Access Management (IAM) policy that gives the requestor permission // to connect to LPGs in the acceptor's compartment. Without that permission, this // operation will fail. For more information, see -// VCN Peering (https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm). +// VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGateways API. func (client VirtualNetworkClient) ConnectLocalPeeringGateways(ctx context.Context, request ConnectLocalPeeringGatewaysRequest) (response ConnectLocalPeeringGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1357,10 +1829,17 @@ func (client VirtualNetworkClient) connectLocalPeeringGateways(ctx context.Conte // an Identity and Access Management (IAM) policy that gives the requestor permission // to connect to RPCs in the acceptor's compartment. Without that permission, this // operation will fail. For more information, see -// VCN Peering (https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm). +// VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnections API. func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.Context, request ConnectRemotePeeringConnectionsRequest) (response ConnectRemotePeeringConnectionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1404,21 +1883,87 @@ func (client VirtualNetworkClient) connectRemotePeeringConnections(ctx context.C return response, err } +// CreateByoipRange Creates a subrange of the BYOIP CIDR block. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRange API. +func (client VirtualNetworkClient) CreateByoipRange(ctx context.Context, request CreateByoipRangeRequest) (response CreateByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateByoipRangeResponse") + } + return +} + +// createByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges") + if err != nil { + return nil, err + } + + var response CreateByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // CreateCpe Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For -// more information, see IPSec VPNs (https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPsec.htm). +// more information, see IPSec VPNs (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want // the CPE to reside. Notice that the CPE doesn't have to be in the same compartment as the IPSec // connection or other Networking Service components. If you're not sure which compartment to // use, put the CPE in the same compartment as the DRG. For more information about -// compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must provide the public IP address of your on-premises router. See -// Configuring Your On-Premises Router for an IPSec VPN (https://docs.cloud.oracle.com/Content/Network/Tasks/configuringCPE.htm). +// Configuring Your On-Premises Router for an IPSec VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). // You may optionally specify a *display name* for the CPE, otherwise a default is provided. It does not have to // be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpe API. func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request CreateCpeRequest) (response CreateCpeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1472,20 +2017,27 @@ func (client VirtualNetworkClient) createCpe(ctx context.Context, request common // with the connection. // After creating the `CrossConnect` object, you need to go the FastConnect location // and request to have the physical cable installed. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // For the purposes of access control, you must provide the OCID of the // compartment where you want the cross-connect to reside. If you're // not sure which compartment to use, put the cross-connect in the // same compartment with your VCN. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the cross-connect. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnect API. func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, request CreateCrossConnectRequest) (response CreateCrossConnectResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1536,20 +2088,27 @@ func (client VirtualNetworkClient) createCrossConnect(ctx context.Context, reque // CreateCrossConnectGroup Creates a new cross-connect group to use with Oracle Cloud Infrastructure // FastConnect. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // For the purposes of access control, you must provide the OCID of the // compartment where you want the cross-connect group to reside. If you're // not sure which compartment to use, put the cross-connect group in the // same compartment with your VCN. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the cross-connect group. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroup API. func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request CreateCrossConnectGroupRequest) (response CreateCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1604,13 +2163,20 @@ func (client VirtualNetworkClient) createCrossConnectGroup(ctx context.Context, // DHCP options to reside. Notice that the set of options doesn't have to be in the same compartment as the VCN, // subnets, or other Networking Service components. If you're not sure which compartment to use, put the set // of DHCP options in the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptions API. func (client VirtualNetworkClient) CreateDhcpOptions(ctx context.Context, request CreateDhcpOptionsRequest) (response CreateDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1660,18 +2226,25 @@ func (client VirtualNetworkClient) createDhcpOptions(ctx context.Context, reques } // CreateDrg Creates a new dynamic routing gateway (DRG) in the specified compartment. For more information, -// see Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/Content/Network/Tasks/managingDRGs.htm). +// see Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want // the DRG to reside. Notice that the DRG doesn't have to be in the same compartment as the VCN, // the DRG attachment, or other Networking Service components. If you're not sure which compartment // to use, put the DRG in the same compartment as the VCN. For more information about compartments -// and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the DRG, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrg API. func (client VirtualNetworkClient) CreateDrg(ctx context.Context, request CreateDrgRequest) (response CreateDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1723,15 +2296,22 @@ func (client VirtualNetworkClient) createDrg(ctx context.Context, request common // CreateDrgAttachment Attaches the specified DRG to the specified VCN. A VCN can be attached to only one DRG at a time, // and vice versa. The response includes a `DrgAttachment` object with its own OCID. For more // information about DRGs, see -// Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/Content/Network/Tasks/managingDRGs.htm). +// Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). // You may optionally specify a *display name* for the attachment, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // For the purposes of access control, the DRG attachment is automatically placed into the same compartment // as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachment API. func (client VirtualNetworkClient) CreateDrgAttachment(ctx context.Context, request CreateDrgAttachmentRequest) (response CreateDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1781,7 +2361,7 @@ func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, requ } // CreateIPSecConnection Creates a new IPSec connection between the specified DRG and CPE. For more information, see -// IPSec VPNs (https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPsec.htm). +// IPSec VPNs (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm). // If you configure at least one tunnel to use static routing, then in the request you must provide // at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16. // If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for @@ -1792,8 +2372,8 @@ func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, requ // as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to // use, put the IPSec connection in the same compartment as the DRG. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // After creating the IPSec connection, you need to configure your on-premises router @@ -1802,10 +2382,17 @@ func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, requ // * IPSecConnectionTunnelSharedSecret // For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret // (that is, the pre-shared key). For more information, see -// Configuring Your On-Premises Router for an IPSec VPN (https://docs.cloud.oracle.com/Content/Network/Tasks/configuringCPE.htm). +// Configuring Your On-Premises Router for an IPSec VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnection API. func (client VirtualNetworkClient) CreateIPSecConnection(ctx context.Context, request CreateIPSecConnectionRequest) (response CreateIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1855,13 +2442,13 @@ func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, re } // CreateInternetGateway Creates a new internet gateway for the specified VCN. For more information, see -// Access to the Internet (https://docs.cloud.oracle.com/Content/Network/Tasks/managingIGs.htm). +// Access to the Internet (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIGs.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want the Internet // Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or // other Networking Service components. If you're not sure which compartment to use, put the Internet // Gateway in the same compartment with the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It // does not have to be unique, and you can change it. Avoid entering confidential information. // For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in @@ -1871,9 +2458,16 @@ func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, re // traffic will flow to/from the internet even if there's a route rule that enables that traffic. You can later // use UpdateInternetGateway to easily disable/enable // the gateway without changing the route rule. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGateway API. func (client VirtualNetworkClient) CreateInternetGateway(ctx context.Context, request CreateInternetGatewayRequest) (response CreateInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1923,9 +2517,16 @@ func (client VirtualNetworkClient) createInternetGateway(ctx context.Context, re } // CreateIpv6 Creates an IPv6 for the specified VNIC. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6 API. func (client VirtualNetworkClient) CreateIpv6(ctx context.Context, request CreateIpv6Request) (response CreateIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -1975,9 +2576,16 @@ func (client VirtualNetworkClient) createIpv6(ctx context.Context, request commo } // CreateLocalPeeringGateway Creates a new local peering gateway (LPG) for the specified VCN. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGateway API. func (client VirtualNetworkClient) CreateLocalPeeringGateway(ctx context.Context, request CreateLocalPeeringGatewayRequest) (response CreateLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2028,9 +2636,16 @@ func (client VirtualNetworkClient) createLocalPeeringGateway(ctx context.Context // CreateNatGateway Creates a new NAT gateway for the specified VCN. You must also set up a route rule with the // NAT gateway as the rule's target. See RouteTable. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGateway API. func (client VirtualNetworkClient) CreateNatGateway(ctx context.Context, request CreateNatGatewayRequest) (response CreateNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2080,9 +2695,16 @@ func (client VirtualNetworkClient) createNatGateway(ctx context.Context, request } // CreateNetworkSecurityGroup Creates a new network security group for the specified VCN. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroup API. func (client VirtualNetworkClient) CreateNetworkSecurityGroup(ctx context.Context, request CreateNetworkSecurityGroupRequest) (response CreateNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2133,10 +2755,17 @@ func (client VirtualNetworkClient) createNetworkSecurityGroup(ctx context.Contex // CreatePrivateIp Creates a secondary private IP for the specified VNIC. // For more information about secondary private IPs, see -// IP Addresses (https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPaddresses.htm). +// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIp API. func (client VirtualNetworkClient) CreatePrivateIp(ctx context.Context, request CreatePrivateIpRequest) (response CreatePrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2187,7 +2816,7 @@ func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request // CreatePublicIp Creates a public IP. Use the `lifetime` property to specify whether it's an ephemeral or // reserved public IP. For information about limits on how many you can create, see -// Public IP Addresses (https://docs.cloud.oracle.com/Content/Network/Tasks/managingpublicIPs.htm). +// Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). // * **For an ephemeral public IP assigned to a private IP:** You must also specify a `privateIpId` // with the OCID of the primary private IP you want to assign the public IP to. The public IP is // created in the same availability domain as the private IP. An ephemeral public IP must always be @@ -2202,9 +2831,16 @@ func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request // Also, for reserved public IPs, the optional assignment part of this operation is // asynchronous. Poll the public IP's `lifecycleState` to determine if the assignment // succeeded. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIp API. func (client VirtualNetworkClient) CreatePublicIp(ctx context.Context, request CreatePublicIpRequest) (response CreatePublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2253,10 +2889,76 @@ func (client VirtualNetworkClient) createPublicIp(ctx context.Context, request c return response, err } +// CreatePublicIpPool Creates a public IP pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPool API. +func (client VirtualNetworkClient) CreatePublicIpPool(ctx context.Context, request CreatePublicIpPoolRequest) (response CreatePublicIpPoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createPublicIpPool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreatePublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreatePublicIpPoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreatePublicIpPoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreatePublicIpPoolResponse") + } + return +} + +// createPublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createPublicIpPool(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools") + if err != nil { + return nil, err + } + + var response CreatePublicIpPoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // CreateRemotePeeringConnection Creates a new remote peering connection (RPC) for the specified DRG. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnection API. func (client VirtualNetworkClient) CreateRemotePeeringConnection(ctx context.Context, request CreateRemotePeeringConnectionRequest) (response CreateRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2307,20 +3009,27 @@ func (client VirtualNetworkClient) createRemotePeeringConnection(ctx context.Con // CreateRouteTable Creates a new route table for the specified VCN. In the request you must also include at least one route // rule for the new route table. For information on the number of rules you can have in a route table, see -// Service Limits (https://docs.cloud.oracle.com/Content/General/Concepts/servicelimits.htm). For general information about route +// Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For general information about route // tables in your VCN and the types of targets you can use in route rules, -// see Route Tables (https://docs.cloud.oracle.com/Content/Network/Tasks/managingroutetables.htm). +// see Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want the route // table to reside. Notice that the route table doesn't have to be in the same compartment as the VCN, subnets, // or other Networking Service components. If you're not sure which compartment to use, put the route // table in the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the route table, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTable API. func (client VirtualNetworkClient) CreateRouteTable(ctx context.Context, request CreateRouteTableRequest) (response CreateRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2370,20 +3079,27 @@ func (client VirtualNetworkClient) createRouteTable(ctx context.Context, request } // CreateSecurityList Creates a new security list for the specified VCN. For more information -// about security lists, see Security Lists (https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm). +// about security lists, see Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). // For information on the number of rules you can have in a security list, see -// Service Limits (https://docs.cloud.oracle.com/Content/General/Concepts/servicelimits.htm). +// Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want the security // list to reside. Notice that the security list doesn't have to be in the same compartment as the VCN, subnets, // or other Networking Service components. If you're not sure which compartment to use, put the security // list in the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the security list, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityList API. func (client VirtualNetworkClient) CreateSecurityList(ctx context.Context, request CreateSecurityListRequest) (response CreateSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2435,13 +3151,20 @@ func (client VirtualNetworkClient) createSecurityList(ctx context.Context, reque // CreateServiceGateway Creates a new service gateway in the specified compartment. // For the purposes of access control, you must provide the OCID of the compartment where you want // the service gateway to reside. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the service gateway, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGateway API. func (client VirtualNetworkClient) CreateServiceGateway(ctx context.Context, request CreateServiceGatewayRequest) (response CreateServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2492,32 +3215,39 @@ func (client VirtualNetworkClient) createServiceGateway(ctx context.Context, req // CreateSubnet Creates a new subnet in the specified VCN. You can't change the size of the subnet after creation, // so it's important to think about the size of subnets you need before creating them. -// For more information, see VCNs and Subnets (https://docs.cloud.oracle.com/Content/Network/Tasks/managingVCNs.htm). +// For more information, see VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). // For information on the number of subnets you can have in a VCN, see -// Service Limits (https://docs.cloud.oracle.com/Content/General/Concepts/servicelimits.htm). +// Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want the subnet // to reside. Notice that the subnet doesn't have to be in the same compartment as the VCN, route tables, or // other Networking Service components. If you're not sure which compartment to use, put the subnet in // the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, -// see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, +// see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally associate a route table with the subnet. If you don't, the subnet will use the // VCN's default route table. For more information about route tables, see -// Route Tables (https://docs.cloud.oracle.com/Content/Network/Tasks/managingroutetables.htm). +// Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). // You may optionally associate a security list with the subnet. If you don't, the subnet will use the // VCN's default security list. For more information about security lists, see -// Security Lists (https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm). +// Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). // You may optionally associate a set of DHCP options with the subnet. If you don't, the subnet will use the // VCN's default set. For more information about DHCP options, see -// DHCP Options (https://docs.cloud.oracle.com/Content/Network/Tasks/managingDHCP.htm). +// DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). // You may optionally specify a *display name* for the subnet, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // You can also add a DNS label for the subnet, which is required if you want the Internet and // VCN Resolver to resolve hostnames for instances in the subnet. For more information, see -// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnet API. func (client VirtualNetworkClient) CreateSubnet(ctx context.Context, request CreateSubnetRequest) (response CreateSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2567,31 +3297,40 @@ func (client VirtualNetworkClient) createSubnet(ctx context.Context, request com } // CreateVcn Creates a new virtual cloud network (VCN). For more information, see -// VCNs and Subnets (https://docs.cloud.oracle.com/Content/Network/Tasks/managingVCNs.htm). -// For the VCN you must specify a single, contiguous IPv4 CIDR block. Oracle recommends using one of the -// private IP address ranges specified in RFC 1918 (https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, -// 172.16/12, and 192.168/16). Example: 172.16.0.0/16. The CIDR block can range from /16 to /30, and it -// must not overlap with your on-premises network. You can't change the size of the VCN after creation. +// VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). +// For the VCN, you specify a list of one or more IPv4 CIDR blocks that meet the following criteria: +// - The CIDR blocks must be valid. +// - They must not overlap with each other or with the on-premises network CIDR block. +// - The number of CIDR blocks does not exceed the limit of CIDR blocks allowed per VCN. +// For a CIDR block, Oracle recommends that you use one of the private IP address ranges specified in RFC 1918 (https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, 172.16/12, and 192.168/16). Example: +// 172.16.0.0/16. The CIDR blocks can range from /16 to /30. // For the purposes of access control, you must provide the OCID of the compartment where you want the VCN to // reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which // compartment to use. Notice that the VCN doesn't have to be in the same compartment as the subnets or other // Networking Service components. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the VCN, otherwise a default is provided. It does not have to // be unique, and you can change it. Avoid entering confidential information. // You can also add a DNS label for the VCN, which is required if you want the instances to use the // Interent and VCN Resolver option for DNS in the VCN. For more information, see -// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). // The VCN automatically comes with a default route table, default security list, and default set of DHCP options. // The OCID for each is returned in the response. You can't delete these default objects, but you can change their // contents (that is, change the route rules, security list rules, and so on). // The VCN and subnets you create are not accessible until you attach an internet gateway or set up an IPSec VPN // or FastConnect. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm). +// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcn API. func (client VirtualNetworkClient) CreateVcn(ctx context.Context, request CreateVcnRequest) (response CreateVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2642,25 +3381,32 @@ func (client VirtualNetworkClient) createVcn(ctx context.Context, request common // CreateVirtualCircuit Creates a new virtual circuit to use with Oracle Cloud // Infrastructure FastConnect. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // For the purposes of access control, you must provide the OCID of the // compartment where you want the virtual circuit to reside. If you're // not sure which compartment to use, put the virtual circuit in the // same compartment with the DRG it's using. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the virtual circuit. // It does not have to be unique, and you can change it. Avoid entering confidential information. // **Important:** When creating a virtual circuit, you specify a DRG for // the traffic to flow through. Make sure you attach the DRG to your // VCN and confirm the VCN's routing sends traffic to the DRG. Otherwise // traffic will not flow. For more information, see -// Route Tables (https://docs.cloud.oracle.com/Content/Network/Tasks/managingroutetables.htm). +// Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuit API. func (client VirtualNetworkClient) CreateVirtualCircuit(ctx context.Context, request CreateVirtualCircuitRequest) (response CreateVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2710,9 +3456,16 @@ func (client VirtualNetworkClient) createVirtualCircuit(ctx context.Context, req } // CreateVlan Creates a VLAN in the specified VCN and the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlan API. func (client VirtualNetworkClient) CreateVlan(ctx context.Context, request CreateVlanRequest) (response CreateVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2761,12 +3514,77 @@ func (client VirtualNetworkClient) createVlan(ctx context.Context, request commo return response, err } +// DeleteByoipRange Deletes the specified `ByoipRange` resource. +// The resource must be in one of the following states: CREATING, PROVISIONED, ACTIVE, or FAILED. +// It must not have any subranges currently allocated to a PublicIpPool object or the deletion will fail. +// You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// If the `ByoipRange` resource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRange API. +func (client VirtualNetworkClient) DeleteByoipRange(ctx context.Context, request DeleteByoipRangeRequest) (response DeleteByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteByoipRangeResponse") + } + return +} + +// deleteByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/byoipRanges/{byoipRangeId}") + if err != nil { + return nil, err + } + + var response DeleteByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // DeleteCpe Deletes the specified CPE object. The CPE must not be connected to a DRG. This is an asynchronous // operation. The CPE's `lifecycleState` will change to TERMINATING temporarily until the CPE is completely // removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpe API. func (client VirtualNetworkClient) DeleteCpe(ctx context.Context, request DeleteCpeRequest) (response DeleteCpeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2812,9 +3630,16 @@ func (client VirtualNetworkClient) deleteCpe(ctx context.Context, request common // DeleteCrossConnect Deletes the specified cross-connect. It must not be mapped to a // VirtualCircuit. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnect API. func (client VirtualNetworkClient) DeleteCrossConnect(ctx context.Context, request DeleteCrossConnectRequest) (response DeleteCrossConnectResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2861,9 +3686,16 @@ func (client VirtualNetworkClient) deleteCrossConnect(ctx context.Context, reque // DeleteCrossConnectGroup Deletes the specified cross-connect group. It must not contain any // cross-connects, and it cannot be mapped to a // VirtualCircuit. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroup API. func (client VirtualNetworkClient) DeleteCrossConnectGroup(ctx context.Context, request DeleteCrossConnectGroupRequest) (response DeleteCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2911,9 +3743,16 @@ func (client VirtualNetworkClient) deleteCrossConnectGroup(ctx context.Context, // VCN's default set of DHCP options. // This is an asynchronous operation. The state of the set of options will switch to TERMINATING temporarily // until the set is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptions API. func (client VirtualNetworkClient) DeleteDhcpOptions(ctx context.Context, request DeleteDhcpOptionsRequest) (response DeleteDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -2961,9 +3800,16 @@ func (client VirtualNetworkClient) deleteDhcpOptions(ctx context.Context, reques // network. Also, there must not be a route table that lists the DRG as a target. This is an asynchronous // operation. The DRG's `lifecycleState` will change to TERMINATING temporarily until the DRG is completely // removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrg API. func (client VirtualNetworkClient) DeleteDrg(ctx context.Context, request DeleteDrgRequest) (response DeleteDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3010,9 +3856,16 @@ func (client VirtualNetworkClient) deleteDrg(ctx context.Context, request common // DeleteDrgAttachment Detaches a DRG from a VCN by deleting the corresponding `DrgAttachment`. This is an asynchronous // operation. The attachment's `lifecycleState` will change to DETACHING temporarily until the attachment // is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachment API. func (client VirtualNetworkClient) DeleteDrgAttachment(ctx context.Context, request DeleteDrgAttachmentRequest) (response DeleteDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3063,9 +3916,16 @@ func (client VirtualNetworkClient) deleteDrgAttachment(ctx context.Context, requ // CreateIPSecConnection. // This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily // until the connection is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnection API. func (client VirtualNetworkClient) DeleteIPSecConnection(ctx context.Context, request DeleteIPSecConnectionRequest) (response DeleteIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3113,9 +3973,16 @@ func (client VirtualNetworkClient) deleteIPSecConnection(ctx context.Context, re // there must not be a route table that lists it as a target. // This is an asynchronous operation. The gateway's `lifecycleState` will change to TERMINATING temporarily // until the gateway is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGateway API. func (client VirtualNetworkClient) DeleteInternetGateway(ctx context.Context, request DeleteInternetGatewayRequest) (response DeleteInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3161,9 +4028,16 @@ func (client VirtualNetworkClient) deleteInternetGateway(ctx context.Context, re // DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID. // The IPv6 address is returned to the subnet's pool of available addresses. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6 API. func (client VirtualNetworkClient) DeleteIpv6(ctx context.Context, request DeleteIpv6Request) (response DeleteIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3210,9 +4084,16 @@ func (client VirtualNetworkClient) deleteIpv6(ctx context.Context, request commo // DeleteLocalPeeringGateway Deletes the specified local peering gateway (LPG). // This is an asynchronous operation; the local peering gateway's `lifecycleState` changes to TERMINATING temporarily // until the local peering gateway is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGateway API. func (client VirtualNetworkClient) DeleteLocalPeeringGateway(ctx context.Context, request DeleteLocalPeeringGatewayRequest) (response DeleteLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3260,9 +4141,16 @@ func (client VirtualNetworkClient) deleteLocalPeeringGateway(ctx context.Context // must not be a route rule that lists the NAT gateway as a target. // This is an asynchronous operation. The NAT gateway's `lifecycleState` will change to // TERMINATING temporarily until the NAT gateway is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGateway API. func (client VirtualNetworkClient) DeleteNatGateway(ctx context.Context, request DeleteNatGatewayRequest) (response DeleteNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3312,9 +4200,16 @@ func (client VirtualNetworkClient) deleteNatGateway(ctx context.Context, request // Each returned NetworkSecurityGroupVnic object // contains both the OCID of the VNIC and the OCID of the VNIC's parent resource (for example, // the Compute instance that the VNIC is attached to). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroup API. func (client VirtualNetworkClient) DeleteNetworkSecurityGroup(ctx context.Context, request DeleteNetworkSecurityGroupRequest) (response DeleteNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3364,12 +4259,19 @@ func (client VirtualNetworkClient) deleteNetworkSecurityGroup(ctx context.Contex // This operation cannot be used with primary private IPs, which are // automatically unassigned and deleted when the VNIC is terminated. // **Important:** If a secondary private IP is the -// target of a route rule (https://docs.cloud.oracle.com/Content/Network/Tasks/managingroutetables.htm#privateip), +// target of a route rule (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), // unassigning it from the VNIC causes that route rule to blackhole and the traffic // will be dropped. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIp API. func (client VirtualNetworkClient) DeletePrivateIp(ctx context.Context, request DeletePrivateIpRequest) (response DeletePrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3425,9 +4327,16 @@ func (client VirtualNetworkClient) deletePrivateIp(ctx context.Context, request // If you want to simply unassign a reserved public IP and return it to your pool // of reserved public IPs, instead use // UpdatePublicIp. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIp API. func (client VirtualNetworkClient) DeletePublicIp(ctx context.Context, request DeletePublicIpRequest) (response DeletePublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3471,12 +4380,75 @@ func (client VirtualNetworkClient) deletePublicIp(ctx context.Context, request c return response, err } +// DeletePublicIpPool Deletes the specified public IP pool. +// To delete a public IP pool it must not have any active IP address allocations. +// You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) when deleting an IP pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPool API. +func (client VirtualNetworkClient) DeletePublicIpPool(ctx context.Context, request DeletePublicIpPoolRequest) (response DeletePublicIpPoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deletePublicIpPool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeletePublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeletePublicIpPoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeletePublicIpPoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeletePublicIpPoolResponse") + } + return +} + +// deletePublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deletePublicIpPool(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/publicIpPools/{publicIpPoolId}") + if err != nil { + return nil, err + } + + var response DeletePublicIpPoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // DeleteRemotePeeringConnection Deletes the remote peering connection (RPC). // This is an asynchronous operation; the RPC's `lifecycleState` changes to TERMINATING temporarily // until the RPC is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnection API. func (client VirtualNetworkClient) DeleteRemotePeeringConnection(ctx context.Context, request DeleteRemotePeeringConnectionRequest) (response DeleteRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3524,9 +4496,16 @@ func (client VirtualNetworkClient) deleteRemotePeeringConnection(ctx context.Con // VCN's default route table. // This is an asynchronous operation. The route table's `lifecycleState` will change to TERMINATING temporarily // until the route table is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTable API. func (client VirtualNetworkClient) DeleteRouteTable(ctx context.Context, request DeleteRouteTableRequest) (response DeleteRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3574,9 +4553,16 @@ func (client VirtualNetworkClient) deleteRouteTable(ctx context.Context, request // a VCN's default security list. // This is an asynchronous operation. The security list's `lifecycleState` will change to TERMINATING temporarily // until the security list is completely removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityList API. func (client VirtualNetworkClient) DeleteSecurityList(ctx context.Context, request DeleteSecurityListRequest) (response DeleteSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3622,9 +4608,16 @@ func (client VirtualNetworkClient) deleteSecurityList(ctx context.Context, reque // DeleteServiceGateway Deletes the specified service gateway. There must not be a route table that lists the service // gateway as a target. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGateway API. func (client VirtualNetworkClient) DeleteServiceGateway(ctx context.Context, request DeleteServiceGatewayRequest) (response DeleteServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3671,9 +4664,16 @@ func (client VirtualNetworkClient) deleteServiceGateway(ctx context.Context, req // DeleteSubnet Deletes the specified subnet, but only if there are no instances in the subnet. This is an asynchronous // operation. The subnet's `lifecycleState` will change to TERMINATING temporarily. If there are any // instances in the subnet, the state will instead change back to AVAILABLE. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnet API. func (client VirtualNetworkClient) DeleteSubnet(ctx context.Context, request DeleteSubnetRequest) (response DeleteSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3720,9 +4720,16 @@ func (client VirtualNetworkClient) deleteSubnet(ctx context.Context, request com // DeleteVcn Deletes the specified VCN. The VCN must be empty and have no attached gateways. This is an asynchronous // operation. The VCN's `lifecycleState` will change to TERMINATING temporarily until the VCN is completely // removed. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcn API. func (client VirtualNetworkClient) DeleteVcn(ctx context.Context, request DeleteVcnRequest) (response DeleteVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3770,9 +4777,16 @@ func (client VirtualNetworkClient) deleteVcn(ctx context.Context, request common // **Important:** If you're using FastConnect via a provider, // make sure to also terminate the connection with // the provider, or else the provider may continue to bill you. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuit API. func (client VirtualNetworkClient) DeleteVirtualCircuit(ctx context.Context, request DeleteVirtualCircuitRequest) (response DeleteVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3817,9 +4831,16 @@ func (client VirtualNetworkClient) deleteVirtualCircuit(ctx context.Context, req } // DeleteVlan Deletes the specified VLAN, but only if there are no VNICs in the VLAN. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlan API. func (client VirtualNetworkClient) DeleteVlan(ctx context.Context, request DeleteVlanRequest) (response DeleteVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3874,9 +4895,16 @@ func (client VirtualNetworkClient) deleteVlan(ctx context.Context, request commo // the entire existing list of enabled `Service` objects with the list that you provide in the // `Update` call. `UpdateServiceGateway` also lets you block all traffic through the service // gateway without having to remove each of the individual `Service` objects. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceId API. func (client VirtualNetworkClient) DetachServiceId(ctx context.Context, request DetachServiceIdRequest) (response DetachServiceIdResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3920,10 +4948,71 @@ func (client VirtualNetworkClient) detachServiceId(ctx context.Context, request return response, err } +// GetByoipRange Gets the `ByoipRange` resource. You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRange API. +func (client VirtualNetworkClient) GetByoipRange(ctx context.Context, request GetByoipRangeRequest) (response GetByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetByoipRangeResponse") + } + return +} + +// getByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges/{byoipRangeId}") + if err != nil { + return nil, err + } + + var response GetByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetCpe Gets the specified CPE's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpe API. func (client VirtualNetworkClient) GetCpe(ctx context.Context, request GetCpeRequest) (response GetCpeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -3982,9 +5071,16 @@ func (client VirtualNetworkClient) getCpe(ctx context.Context, request common.OC // returns CPE configuration content for all tunnels in a single IPSec connection. // * GetTunnelCpeDeviceConfigContent // returns CPE configuration content for a specific tunnel within an IPSec connection. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContent API. func (client VirtualNetworkClient) GetCpeDeviceConfigContent(ctx context.Context, request GetCpeDeviceConfigContentRequest) (response GetCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4035,9 +5131,16 @@ func (client VirtualNetworkClient) getCpeDeviceConfigContent(ctx context.Context // * GetCpeDeviceConfigContent // * GetIpsecCpeDeviceConfigContent // * GetTunnelCpeDeviceConfigContent +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShape API. func (client VirtualNetworkClient) GetCpeDeviceShape(ctx context.Context, request GetCpeDeviceShapeRequest) (response GetCpeDeviceShapeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4082,9 +5185,16 @@ func (client VirtualNetworkClient) getCpeDeviceShape(ctx context.Context, reques } // GetCrossConnect Gets the specified cross-connect's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnect API. func (client VirtualNetworkClient) GetCrossConnect(ctx context.Context, request GetCrossConnectRequest) (response GetCrossConnectResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4129,9 +5239,16 @@ func (client VirtualNetworkClient) getCrossConnect(ctx context.Context, request } // GetCrossConnectGroup Gets the specified cross-connect group's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroup API. func (client VirtualNetworkClient) GetCrossConnectGroup(ctx context.Context, request GetCrossConnectGroupRequest) (response GetCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4176,9 +5293,16 @@ func (client VirtualNetworkClient) getCrossConnectGroup(ctx context.Context, req } // GetCrossConnectLetterOfAuthority Gets the Letter of Authority for the specified cross-connect. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthority API. func (client VirtualNetworkClient) GetCrossConnectLetterOfAuthority(ctx context.Context, request GetCrossConnectLetterOfAuthorityRequest) (response GetCrossConnectLetterOfAuthorityResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4223,9 +5347,16 @@ func (client VirtualNetworkClient) getCrossConnectLetterOfAuthority(ctx context. } // GetCrossConnectStatus Gets the status of the specified cross-connect. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatus API. func (client VirtualNetworkClient) GetCrossConnectStatus(ctx context.Context, request GetCrossConnectStatusRequest) (response GetCrossConnectStatusResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4270,9 +5401,16 @@ func (client VirtualNetworkClient) getCrossConnectStatus(ctx context.Context, re } // GetDhcpOptions Gets the specified set of DHCP options. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptions API. func (client VirtualNetworkClient) GetDhcpOptions(ctx context.Context, request GetDhcpOptionsRequest) (response GetDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4317,9 +5455,16 @@ func (client VirtualNetworkClient) getDhcpOptions(ctx context.Context, request c } // GetDrg Gets the specified DRG's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrg API. func (client VirtualNetworkClient) GetDrg(ctx context.Context, request GetDrgRequest) (response GetDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4364,9 +5509,16 @@ func (client VirtualNetworkClient) getDrg(ctx context.Context, request common.OC } // GetDrgAttachment Gets the information for the specified `DrgAttachment`. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachment API. func (client VirtualNetworkClient) GetDrgAttachment(ctx context.Context, request GetDrgAttachmentRequest) (response GetDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4411,10 +5563,17 @@ func (client VirtualNetworkClient) getDrgAttachment(ctx context.Context, request } // GetDrgRedundancyStatus Gets the redundancy status for the specified DRG. For more information, see -// Redundancy Remedies (https://docs.cloud.oracle.com/Content/Network/Troubleshoot/drgredundancy.htm). +// Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatus API. func (client VirtualNetworkClient) GetDrgRedundancyStatus(ctx context.Context, request GetDrgRedundancyStatusRequest) (response GetDrgRedundancyStatusResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4459,10 +5618,17 @@ func (client VirtualNetworkClient) getDrgRedundancyStatus(ctx context.Context, r } // GetFastConnectProviderService Gets the specified provider service. -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderService API. func (client VirtualNetworkClient) GetFastConnectProviderService(ctx context.Context, request GetFastConnectProviderServiceRequest) (response GetFastConnectProviderServiceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4508,9 +5674,16 @@ func (client VirtualNetworkClient) getFastConnectProviderService(ctx context.Con // GetFastConnectProviderServiceKey Gets the specified provider service key's information. Use this operation to validate a // provider service key. An invalid key returns a 404 error. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKey API. func (client VirtualNetworkClient) GetFastConnectProviderServiceKey(ctx context.Context, request GetFastConnectProviderServiceKeyRequest) (response GetFastConnectProviderServiceKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4557,9 +5730,16 @@ func (client VirtualNetworkClient) getFastConnectProviderServiceKey(ctx context. // GetIPSecConnection Gets the specified IPSec connection's basic information, including the static routes for the // on-premises router. If you want the status of the connection (whether it's up or down), use // GetIPSecConnectionTunnel. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnection API. func (client VirtualNetworkClient) GetIPSecConnection(ctx context.Context, request GetIPSecConnectionRequest) (response GetIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4606,9 +5786,16 @@ func (client VirtualNetworkClient) getIPSecConnection(ctx context.Context, reque // GetIPSecConnectionDeviceConfig Deprecated. To get tunnel information, instead use: // * GetIPSecConnectionTunnel // * GetIPSecConnectionTunnelSharedSecret +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfig API. func (client VirtualNetworkClient) GetIPSecConnectionDeviceConfig(ctx context.Context, request GetIPSecConnectionDeviceConfigRequest) (response GetIPSecConnectionDeviceConfigResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4654,9 +5841,16 @@ func (client VirtualNetworkClient) getIPSecConnectionDeviceConfig(ctx context.Co // GetIPSecConnectionDeviceStatus Deprecated. To get the tunnel status, instead use // GetIPSecConnectionTunnel. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatus API. func (client VirtualNetworkClient) GetIPSecConnectionDeviceStatus(ctx context.Context, request GetIPSecConnectionDeviceStatusRequest) (response GetIPSecConnectionDeviceStatusResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4703,9 +5897,16 @@ func (client VirtualNetworkClient) getIPSecConnectionDeviceStatus(ctx context.Co // GetIPSecConnectionTunnel Gets the specified tunnel's information. The resulting object does not include the tunnel's // shared secret (pre-shared key). To retrieve that, use // GetIPSecConnectionTunnelSharedSecret. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnel API. func (client VirtualNetworkClient) GetIPSecConnectionTunnel(ctx context.Context, request GetIPSecConnectionTunnelRequest) (response GetIPSecConnectionTunnelResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4751,9 +5952,16 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnel(ctx context.Context, // GetIPSecConnectionTunnelSharedSecret Gets the specified tunnel's shared secret (pre-shared key). To get other information // about the tunnel, use GetIPSecConnectionTunnel. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecret API. func (client VirtualNetworkClient) GetIPSecConnectionTunnelSharedSecret(ctx context.Context, request GetIPSecConnectionTunnelSharedSecretRequest) (response GetIPSecConnectionTunnelSharedSecretResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4798,9 +6006,16 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnelSharedSecret(ctx cont } // GetInternetGateway Gets the specified internet gateway's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGateway API. func (client VirtualNetworkClient) GetInternetGateway(ctx context.Context, request GetInternetGatewayRequest) (response GetInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4860,9 +6075,16 @@ func (client VirtualNetworkClient) getInternetGateway(ctx context.Context, reque // returns CPE configuration content for a specific tunnel within an IPSec connection. // * GetCpeDeviceConfigContent // returns CPE configuration content for *all* IPSec connections that use a specific CPE. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContent API. func (client VirtualNetworkClient) GetIpsecCpeDeviceConfigContent(ctx context.Context, request GetIpsecCpeDeviceConfigContentRequest) (response GetIpsecCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4909,9 +6131,16 @@ func (client VirtualNetworkClient) getIpsecCpeDeviceConfigContent(ctx context.Co // Alternatively, you can get the object by using // ListIpv6s // with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6 API. func (client VirtualNetworkClient) GetIpv6(ctx context.Context, request GetIpv6Request) (response GetIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -4956,9 +6185,16 @@ func (client VirtualNetworkClient) getIpv6(ctx context.Context, request common.O } // GetLocalPeeringGateway Gets the specified local peering gateway's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGateway API. func (client VirtualNetworkClient) GetLocalPeeringGateway(ctx context.Context, request GetLocalPeeringGatewayRequest) (response GetLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5003,9 +6239,16 @@ func (client VirtualNetworkClient) getLocalPeeringGateway(ctx context.Context, r } // GetNatGateway Gets the specified NAT gateway's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGateway API. func (client VirtualNetworkClient) GetNatGateway(ctx context.Context, request GetNatGatewayRequest) (response GetNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5054,9 +6297,16 @@ func (client VirtualNetworkClient) getNatGateway(ctx context.Context, request co // ListNetworkSecurityGroupVnics. // To list the security rules in an NSG, see // ListNetworkSecurityGroupSecurityRules. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroup API. func (client VirtualNetworkClient) GetNetworkSecurityGroup(ctx context.Context, request GetNetworkSecurityGroupRequest) (response GetNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5104,9 +6354,16 @@ func (client VirtualNetworkClient) getNetworkSecurityGroup(ctx context.Context, // Alternatively, you can get the object by using // ListPrivateIps // with the private IP address (for example, 10.0.3.3) and subnet OCID. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIp API. func (client VirtualNetworkClient) GetPrivateIp(ctx context.Context, request GetPrivateIpRequest) (response GetPrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5158,9 +6415,16 @@ func (client VirtualNetworkClient) getPrivateIp(ctx context.Context, request com // **Note:** If you're fetching a reserved public IP that is in the process of being // moved to a different private IP, the service returns the public IP object with // `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID of the target private IP. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIp API. func (client VirtualNetworkClient) GetPublicIp(ctx context.Context, request GetPublicIpRequest) (response GetPublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5208,9 +6472,16 @@ func (client VirtualNetworkClient) getPublicIp(ctx context.Context, request comm // **Note:** If you're fetching a reserved public IP that is in the process of being // moved to a different private IP, the service returns the public IP object with // `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID of the target private IP. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddress API. func (client VirtualNetworkClient) GetPublicIpByIpAddress(ctx context.Context, request GetPublicIpByIpAddressRequest) (response GetPublicIpByIpAddressResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5264,9 +6535,16 @@ func (client VirtualNetworkClient) getPublicIpByIpAddress(ctx context.Context, r // GetPublicIpByIpAddress, the // service returns the public IP object with `lifecycleState` = ASSIGNING and // `assignedEntityId` = OCID of the target private IP. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpId API. func (client VirtualNetworkClient) GetPublicIpByPrivateIpId(ctx context.Context, request GetPublicIpByPrivateIpIdRequest) (response GetPublicIpByPrivateIpIdResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5310,10 +6588,71 @@ func (client VirtualNetworkClient) getPublicIpByPrivateIpId(ctx context.Context, return response, err } +// GetPublicIpPool Gets the specified `PublicIpPool` object. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPool API. +func (client VirtualNetworkClient) GetPublicIpPool(ctx context.Context, request GetPublicIpPoolRequest) (response GetPublicIpPoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getPublicIpPool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetPublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetPublicIpPoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetPublicIpPoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetPublicIpPoolResponse") + } + return +} + +// getPublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getPublicIpPool(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIpPools/{publicIpPoolId}") + if err != nil { + return nil, err + } + + var response GetPublicIpPoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetRemotePeeringConnection Get the specified remote peering connection's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnection API. func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Context, request GetRemotePeeringConnectionRequest) (response GetRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5358,9 +6697,16 @@ func (client VirtualNetworkClient) getRemotePeeringConnection(ctx context.Contex } // GetRouteTable Gets the specified route table's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTable API. func (client VirtualNetworkClient) GetRouteTable(ctx context.Context, request GetRouteTableRequest) (response GetRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5405,9 +6751,16 @@ func (client VirtualNetworkClient) getRouteTable(ctx context.Context, request co } // GetSecurityList Gets the specified security list's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityList API. func (client VirtualNetworkClient) GetSecurityList(ctx context.Context, request GetSecurityListRequest) (response GetSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5452,9 +6805,16 @@ func (client VirtualNetworkClient) getSecurityList(ctx context.Context, request } // GetService Gets the specified Service object. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetService API. func (client VirtualNetworkClient) GetService(ctx context.Context, request GetServiceRequest) (response GetServiceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5499,9 +6859,16 @@ func (client VirtualNetworkClient) getService(ctx context.Context, request commo } // GetServiceGateway Gets the specified service gateway's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGateway API. func (client VirtualNetworkClient) GetServiceGateway(ctx context.Context, request GetServiceGatewayRequest) (response GetServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5546,9 +6913,16 @@ func (client VirtualNetworkClient) getServiceGateway(ctx context.Context, reques } // GetSubnet Gets the specified subnet's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnet API. func (client VirtualNetworkClient) GetSubnet(ctx context.Context, request GetSubnetRequest) (response GetSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5597,9 +6971,16 @@ func (client VirtualNetworkClient) getSubnet(ctx context.Context, request common // To get the full set of content for the tunnel (any answers merged with the template of other // information specific to the CPE device type), use // GetTunnelCpeDeviceConfigContent. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfig API. func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, request GetTunnelCpeDeviceConfigRequest) (response GetTunnelCpeDeviceConfigResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5658,9 +7039,16 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfig(ctx context.Context, // returns CPE configuration content for all tunnels in a single IPSec connection. // * GetCpeDeviceConfigContent // returns CPE configuration content for *all* IPSec connections that use a specific CPE. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContent API. func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.Context, request GetTunnelCpeDeviceConfigContentRequest) (response GetTunnelCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5704,9 +7092,16 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfigContent(ctx context.C } // GetVcn Gets the specified VCN's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcn API. func (client VirtualNetworkClient) GetVcn(ctx context.Context, request GetVcnRequest) (response GetVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5750,10 +7145,71 @@ func (client VirtualNetworkClient) getVcn(ctx context.Context, request common.OC return response, err } +// GetVcnDnsResolverAssociation Get the associated DNS resolver information with a vcn +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociation API. +func (client VirtualNetworkClient) GetVcnDnsResolverAssociation(ctx context.Context, request GetVcnDnsResolverAssociationRequest) (response GetVcnDnsResolverAssociationResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getVcnDnsResolverAssociation, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetVcnDnsResolverAssociationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetVcnDnsResolverAssociationResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetVcnDnsResolverAssociationResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetVcnDnsResolverAssociationResponse") + } + return +} + +// getVcnDnsResolverAssociation implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getVcnDnsResolverAssociation(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/vcns/{vcnId}/dnsResolverAssociation") + if err != nil { + return nil, err + } + + var response GetVcnDnsResolverAssociationResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetVirtualCircuit Gets the specified virtual circuit's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuit API. func (client VirtualNetworkClient) GetVirtualCircuit(ctx context.Context, request GetVirtualCircuitRequest) (response GetVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5798,9 +7254,16 @@ func (client VirtualNetworkClient) getVirtualCircuit(ctx context.Context, reques } // GetVlan Gets the specified VLAN's information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlan API. func (client VirtualNetworkClient) GetVlan(ctx context.Context, request GetVlanRequest) (response GetVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5848,9 +7311,16 @@ func (client VirtualNetworkClient) getVlan(ctx context.Context, request common.O // You can get the VNIC OCID from the // ListVnicAttachments // operation. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnic API. func (client VirtualNetworkClient) GetVnic(ctx context.Context, request GetVnicRequest) (response GetVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5895,10 +7365,17 @@ func (client VirtualNetworkClient) getVnic(ctx context.Context, request common.O } // ListAllowedPeerRegionsForRemotePeering Lists the regions that support remote VCN peering (which is peering across regions). -// For more information, see VCN Peering (https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm). +// For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeering API. func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx context.Context, request ListAllowedPeerRegionsForRemotePeeringRequest) (response ListAllowedPeerRegionsForRemotePeeringResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5942,6 +7419,116 @@ func (client VirtualNetworkClient) listAllowedPeerRegionsForRemotePeering(ctx co return response, err } +// ListByoipAllocatedRanges Lists the subranges of a BYOIP CIDR block currently allocated to an IP pool. +// Each `ByoipAllocatedRange` object also lists the IP pool where it is allocated. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRanges API. +func (client VirtualNetworkClient) ListByoipAllocatedRanges(ctx context.Context, request ListByoipAllocatedRangesRequest) (response ListByoipAllocatedRangesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listByoipAllocatedRanges, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListByoipAllocatedRangesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListByoipAllocatedRangesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListByoipAllocatedRangesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListByoipAllocatedRangesResponse") + } + return +} + +// listByoipAllocatedRanges implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listByoipAllocatedRanges(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges/{byoipRangeId}/byoipAllocatedRanges") + if err != nil { + return nil, err + } + + var response ListByoipAllocatedRangesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListByoipRanges Lists the `ByoipRange` resources in the specified compartment. +// You can filter the list using query parameters. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRanges API. +func (client VirtualNetworkClient) ListByoipRanges(ctx context.Context, request ListByoipRangesRequest) (response ListByoipRangesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listByoipRanges, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListByoipRangesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListByoipRangesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListByoipRangesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListByoipRangesResponse") + } + return +} + +// listByoipRanges implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listByoipRanges(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoipRanges") + if err != nil { + return nil, err + } + + var response ListByoipRangesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListCpeDeviceShapes Lists the CPE device types that the Networking service provides CPE configuration // content for (example: Cisco ASA). The content helps a network engineer configure // the actual CPE device represented by a Cpe object. @@ -5952,9 +7539,16 @@ func (client VirtualNetworkClient) listAllowedPeerRegionsForRemotePeering(ctx co // * GetCpeDeviceConfigContent // * GetIpsecCpeDeviceConfigContent // * GetTunnelCpeDeviceConfigContent +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapes API. func (client VirtualNetworkClient) ListCpeDeviceShapes(ctx context.Context, request ListCpeDeviceShapesRequest) (response ListCpeDeviceShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -5999,9 +7593,16 @@ func (client VirtualNetworkClient) listCpeDeviceShapes(ctx context.Context, requ } // ListCpes Lists the customer-premises equipment objects (CPEs) in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpes API. func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpesRequest) (response ListCpesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6046,9 +7647,16 @@ func (client VirtualNetworkClient) listCpes(ctx context.Context, request common. } // ListCrossConnectGroups Lists the cross-connect groups in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroups API. func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, request ListCrossConnectGroupsRequest) (response ListCrossConnectGroupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6094,9 +7702,16 @@ func (client VirtualNetworkClient) listCrossConnectGroups(ctx context.Context, r // ListCrossConnectLocations Lists the available FastConnect locations for cross-connect installation. You need // this information so you can specify your desired location when you create a cross-connect. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocations API. func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context, request ListCrossConnectLocationsRequest) (response ListCrossConnectLocationsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6142,9 +7757,16 @@ func (client VirtualNetworkClient) listCrossConnectLocations(ctx context.Context // ListCrossConnects Lists the cross-connects in the specified compartment. You can filter the list // by specifying the OCID of a cross-connect group. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnects API. func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, request ListCrossConnectsRequest) (response ListCrossConnectsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6191,9 +7813,16 @@ func (client VirtualNetworkClient) listCrossConnects(ctx context.Context, reques // ListCrossconnectPortSpeedShapes Lists the available port speeds for cross-connects. You need this information // so you can specify your desired port speed (that is, shape) when you create a // cross-connect. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapes API. func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.Context, request ListCrossconnectPortSpeedShapesRequest) (response ListCrossconnectPortSpeedShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6241,9 +7870,16 @@ func (client VirtualNetworkClient) listCrossconnectPortSpeedShapes(ctx context.C // If the VCN ID is not provided, then the list includes the sets of DHCP options from all VCNs in the specified compartment. // The response includes the default set of options that automatically comes with each VCN, // plus any other sets you've created. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptions API. func (client VirtualNetworkClient) ListDhcpOptions(ctx context.Context, request ListDhcpOptionsRequest) (response ListDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6289,9 +7925,16 @@ func (client VirtualNetworkClient) listDhcpOptions(ctx context.Context, request // ListDrgAttachments Lists the `DrgAttachment` objects for the specified compartment. You can filter the // results by VCN or DRG. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachments API. func (client VirtualNetworkClient) ListDrgAttachments(ctx context.Context, request ListDrgAttachmentsRequest) (response ListDrgAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6336,9 +7979,16 @@ func (client VirtualNetworkClient) listDrgAttachments(ctx context.Context, reque } // ListDrgs Lists the DRGs in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgs API. func (client VirtualNetworkClient) ListDrgs(ctx context.Context, request ListDrgsRequest) (response ListDrgsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6386,10 +8036,17 @@ func (client VirtualNetworkClient) listDrgs(ctx context.Context, request common. // information so you can specify your desired provider and service // offering when you create a virtual circuit. // For the compartment ID, provide the OCID of your tenancy (the root compartment). -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServices API. func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.Context, request ListFastConnectProviderServicesRequest) (response ListFastConnectProviderServicesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6435,10 +8092,17 @@ func (client VirtualNetworkClient) listFastConnectProviderServices(ctx context.C // ListFastConnectProviderVirtualCircuitBandwidthShapes Gets the list of available virtual circuit bandwidth levels for a provider. // You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit. -// For more information about virtual circuits, see FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// For more information about virtual circuits, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapes API. func (client VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) (response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6483,9 +8147,16 @@ func (client VirtualNetworkClient) listFastConnectProviderVirtualCircuitBandwidt } // ListIPSecConnectionTunnels Lists the tunnel information for the specified IPSec connection. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnels API. func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Context, request ListIPSecConnectionTunnelsRequest) (response ListIPSecConnectionTunnelsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6531,9 +8202,16 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnels(ctx context.Contex // ListIPSecConnections Lists the IPSec connections for the specified compartment. You can filter the // results by DRG or CPE. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnections API. func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, request ListIPSecConnectionsRequest) (response ListIPSecConnectionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6579,9 +8257,16 @@ func (client VirtualNetworkClient) listIPSecConnections(ctx context.Context, req // ListInternetGateways Lists the internet gateways in the specified VCN and the specified compartment. // If the VCN ID is not provided, then the list includes the internet gateways from all VCNs in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGateways API. func (client VirtualNetworkClient) ListInternetGateways(ctx context.Context, request ListInternetGatewaysRequest) (response ListInternetGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6632,9 +8317,16 @@ func (client VirtualNetworkClient) listInternetGateways(ctx context.Context, req // * Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private // IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its OCID. For comparison, // GetIpv6 requires the OCID. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6s API. func (client VirtualNetworkClient) ListIpv6s(ctx context.Context, request ListIpv6sRequest) (response ListIpv6sResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6680,9 +8372,16 @@ func (client VirtualNetworkClient) listIpv6s(ctx context.Context, request common // ListLocalPeeringGateways Lists the local peering gateways (LPGs) for the specified VCN and specified compartment. // If the VCN ID is not provided, then the list includes the LPGs from all VCNs in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGateways API. func (client VirtualNetworkClient) ListLocalPeeringGateways(ctx context.Context, request ListLocalPeeringGatewaysRequest) (response ListLocalPeeringGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6728,9 +8427,16 @@ func (client VirtualNetworkClient) listLocalPeeringGateways(ctx context.Context, // ListNatGateways Lists the NAT gateways in the specified compartment. You may optionally specify a VCN OCID // to filter the results by VCN. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGateways API. func (client VirtualNetworkClient) ListNatGateways(ctx context.Context, request ListNatGatewaysRequest) (response ListNatGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6775,9 +8481,16 @@ func (client VirtualNetworkClient) listNatGateways(ctx context.Context, request } // ListNetworkSecurityGroupSecurityRules Lists the security rules in the specified network security group. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules(ctx context.Context, request ListNetworkSecurityGroupSecurityRulesRequest) (response ListNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6822,9 +8535,16 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupSecurityRules(ctx con } // ListNetworkSecurityGroupVnics Lists the VNICs in the specified network security group. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnics API. func (client VirtualNetworkClient) ListNetworkSecurityGroupVnics(ctx context.Context, request ListNetworkSecurityGroupVnicsRequest) (response ListNetworkSecurityGroupVnicsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6869,9 +8589,16 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupVnics(ctx context.Con } // ListNetworkSecurityGroups Lists the network security groups in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroups API. func (client VirtualNetworkClient) ListNetworkSecurityGroups(ctx context.Context, request ListNetworkSecurityGroupsRequest) (response ListNetworkSecurityGroupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6928,9 +8655,16 @@ func (client VirtualNetworkClient) listNetworkSecurityGroups(ctx context.Context // or VNIC, the response includes both primary and secondary private IPs. // If you are an Oracle Cloud VMware Solution customer and have VLANs // in your VCN, you can filter the list by VLAN OCID. See Vlan. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIps API. func (client VirtualNetworkClient) ListPrivateIps(ctx context.Context, request ListPrivateIpsRequest) (response ListPrivateIpsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -6974,6 +8708,61 @@ func (client VirtualNetworkClient) listPrivateIps(ctx context.Context, request c return response, err } +// ListPublicIpPools Lists the public IP pools in the specified compartment. +// You can filter the list using query parameters. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPools API. +func (client VirtualNetworkClient) ListPublicIpPools(ctx context.Context, request ListPublicIpPoolsRequest) (response ListPublicIpPoolsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listPublicIpPools, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListPublicIpPoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListPublicIpPoolsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListPublicIpPoolsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListPublicIpPoolsResponse") + } + return +} + +// listPublicIpPools implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listPublicIpPools(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodGet, "/publicIpPools") + if err != nil { + return nil, err + } + + var response ListPublicIpPoolsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListPublicIps Lists the PublicIp objects // in the specified compartment. You can filter the list by using query parameters. // To list your reserved public IPs: @@ -6990,9 +8779,16 @@ func (client VirtualNetworkClient) listPrivateIps(ctx context.Context, request c // * Set `lifetime` = `EPHEMERAL` // **Note:** An ephemeral public IP assigned to a private IP // is always in the same availability domain and compartment as the private IP. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIps API. func (client VirtualNetworkClient) ListPublicIps(ctx context.Context, request ListPublicIpsRequest) (response ListPublicIpsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7038,9 +8834,16 @@ func (client VirtualNetworkClient) listPublicIps(ctx context.Context, request co // ListRemotePeeringConnections Lists the remote peering connections (RPCs) for the specified DRG and compartment // (the RPC's compartment). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnections API. func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Context, request ListRemotePeeringConnectionsRequest) (response ListRemotePeeringConnectionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7088,9 +8891,16 @@ func (client VirtualNetworkClient) listRemotePeeringConnections(ctx context.Cont // If the VCN ID is not provided, then the list includes the route tables from all VCNs in the specified compartment. // The response includes the default route table that automatically comes with // each VCN in the specified compartment, plus any route tables you've created. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTables API. func (client VirtualNetworkClient) ListRouteTables(ctx context.Context, request ListRouteTablesRequest) (response ListRouteTablesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7136,9 +8946,16 @@ func (client VirtualNetworkClient) listRouteTables(ctx context.Context, request // ListSecurityLists Lists the security lists in the specified VCN and compartment. // If the VCN ID is not provided, then the list includes the security lists from all VCNs in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityLists API. func (client VirtualNetworkClient) ListSecurityLists(ctx context.Context, request ListSecurityListsRequest) (response ListSecurityListsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7184,9 +9001,16 @@ func (client VirtualNetworkClient) listSecurityLists(ctx context.Context, reques // ListServiceGateways Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID // to filter the results by VCN. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGateways API. func (client VirtualNetworkClient) ListServiceGateways(ctx context.Context, request ListServiceGatewaysRequest) (response ListServiceGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7232,9 +9056,16 @@ func (client VirtualNetworkClient) listServiceGateways(ctx context.Context, requ // ListServices Lists the available Service objects that you can enable for a // service gateway in this region. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServices API. func (client VirtualNetworkClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7280,9 +9111,16 @@ func (client VirtualNetworkClient) listServices(ctx context.Context, request com // ListSubnets Lists the subnets in the specified VCN and the specified compartment. // If the VCN ID is not provided, then the list includes the subnets from all VCNs in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnets API. func (client VirtualNetworkClient) ListSubnets(ctx context.Context, request ListSubnetsRequest) (response ListSubnetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7327,9 +9165,16 @@ func (client VirtualNetworkClient) listSubnets(ctx context.Context, request comm } // ListVcns Lists the virtual cloud networks (VCNs) in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcns API. func (client VirtualNetworkClient) ListVcns(ctx context.Context, request ListVcnsRequest) (response ListVcnsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7374,9 +9219,16 @@ func (client VirtualNetworkClient) listVcns(ctx context.Context, request common. } // ListVirtualCircuitBandwidthShapes The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID of your tenancy (the root compartment). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapes API. func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context.Context, request ListVirtualCircuitBandwidthShapesRequest) (response ListVirtualCircuitBandwidthShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7422,9 +9274,16 @@ func (client VirtualNetworkClient) listVirtualCircuitBandwidthShapes(ctx context // ListVirtualCircuitPublicPrefixes Lists the public IP prefixes and their details for the specified // public virtual circuit. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixes API. func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context.Context, request ListVirtualCircuitPublicPrefixesRequest) (response ListVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7469,9 +9328,16 @@ func (client VirtualNetworkClient) listVirtualCircuitPublicPrefixes(ctx context. } // ListVirtualCircuits Lists the virtual circuits in the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuits API. func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, request ListVirtualCircuitsRequest) (response ListVirtualCircuitsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7516,9 +9382,16 @@ func (client VirtualNetworkClient) listVirtualCircuits(ctx context.Context, requ } // ListVlans Lists the VLANs in the specified VCN and the specified compartment. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlans API. func (client VirtualNetworkClient) ListVlans(ctx context.Context, request ListVlansRequest) (response ListVlansResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7562,10 +9435,82 @@ func (client VirtualNetworkClient) listVlans(ctx context.Context, request common return response, err } +// ModifyVcnCidr Updates the specified CIDR block of a VCN. The new CIDR IP range must meet the following criteria: +// - Must be valid. +// - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. +// - Must not exceed the limit of CIDR blocks allowed per VCN. +// - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. +// - No IP address in an existing subnet should be outside of the new CIDR block range. +// **Note:** Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the `GetWorkRequest` operation to check the status of the update. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidr API. +func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request ModifyVcnCidrRequest) (response ModifyVcnCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.modifyVcnCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ModifyVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ModifyVcnCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ModifyVcnCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ModifyVcnCidrResponse") + } + return +} + +// modifyVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/modifyCidr") + if err != nil { + return nil, err + } + + var response ModifyVcnCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // RemoveNetworkSecurityGroupSecurityRules Removes one or more security rules from the specified network security group. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules(ctx context.Context, request RemoveNetworkSecurityGroupSecurityRulesRequest) (response RemoveNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7609,11 +9554,193 @@ func (client VirtualNetworkClient) removeNetworkSecurityGroupSecurityRules(ctx c return response, err } +// RemovePublicIpPoolCapacity Removes a CIDR block from the referenced public IP pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacity API. +func (client VirtualNetworkClient) RemovePublicIpPoolCapacity(ctx context.Context, request RemovePublicIpPoolCapacityRequest) (response RemovePublicIpPoolCapacityResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.removePublicIpPoolCapacity, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = RemovePublicIpPoolCapacityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = RemovePublicIpPoolCapacityResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(RemovePublicIpPoolCapacityResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into RemovePublicIpPoolCapacityResponse") + } + return +} + +// removePublicIpPoolCapacity implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removePublicIpPoolCapacity(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/removeCapacity") + if err != nil { + return nil, err + } + + var response RemovePublicIpPoolCapacityResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// RemoveVcnCidr Removes a specified CIDR block from a VCN. +// **Notes:** +// - You cannot remove a CIDR block if an IP address in its range is in use. +// - Removing a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidr API. +func (client VirtualNetworkClient) RemoveVcnCidr(ctx context.Context, request RemoveVcnCidrRequest) (response RemoveVcnCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.removeVcnCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = RemoveVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = RemoveVcnCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(RemoveVcnCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into RemoveVcnCidrResponse") + } + return +} + +// removeVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeVcnCidr(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/removeCidr") + if err != nil { + return nil, err + } + + var response RemoveVcnCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateByoipRange Updates the tags or display name associated to the specified BYOIP CIDR block. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRange API. +func (client VirtualNetworkClient) UpdateByoipRange(ctx context.Context, request UpdateByoipRangeRequest) (response UpdateByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateByoipRangeResponse") + } + return +} + +// updateByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPut, "/byoipRanges/{byoipRangeId}") + if err != nil { + return nil, err + } + + var response UpdateByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateCpe Updates the specified CPE's display name or tags. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpe API. func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request UpdateCpeRequest) (response UpdateCpeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7658,9 +9785,16 @@ func (client VirtualNetworkClient) updateCpe(ctx context.Context, request common } // UpdateCrossConnect Updates the specified cross-connect. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnect API. func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, request UpdateCrossConnectRequest) (response UpdateCrossConnectResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7706,9 +9840,16 @@ func (client VirtualNetworkClient) updateCrossConnect(ctx context.Context, reque // UpdateCrossConnectGroup Updates the specified cross-connect group's display name. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroup API. func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, request UpdateCrossConnectGroupRequest) (response UpdateCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7755,9 +9896,16 @@ func (client VirtualNetworkClient) updateCrossConnectGroup(ctx context.Context, // UpdateDhcpOptions Updates the specified set of DHCP options. You can update the display name or the options // themselves. Avoid entering confidential information. // Note that the `options` object you provide replaces the entire existing set of options. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptions API. func (client VirtualNetworkClient) UpdateDhcpOptions(ctx context.Context, request UpdateDhcpOptionsRequest) (response UpdateDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7802,9 +9950,16 @@ func (client VirtualNetworkClient) updateDhcpOptions(ctx context.Context, reques } // UpdateDrg Updates the specified DRG's display name or tags. Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrg API. func (client VirtualNetworkClient) UpdateDrg(ctx context.Context, request UpdateDrgRequest) (response UpdateDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7850,9 +10005,16 @@ func (client VirtualNetworkClient) updateDrg(ctx context.Context, request common // UpdateDrgAttachment Updates the display name for the specified `DrgAttachment`. // Avoid entering confidential information. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachment API. func (client VirtualNetworkClient) UpdateDrgAttachment(ctx context.Context, request UpdateDrgAttachmentRequest) (response UpdateDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7899,9 +10061,16 @@ func (client VirtualNetworkClient) updateDrgAttachment(ctx context.Context, requ // UpdateIPSecConnection Updates the specified IPSec connection. // To update an individual IPSec tunnel's attributes, use // UpdateIPSecConnectionTunnel. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnection API. func (client VirtualNetworkClient) UpdateIPSecConnection(ctx context.Context, request UpdateIPSecConnectionRequest) (response UpdateIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -7954,9 +10123,16 @@ func (client VirtualNetworkClient) updateIPSecConnection(ctx context.Context, re // * If you want to switch the tunnel's `routing` from `BGP` to `STATIC`, make sure the // IPSecConnection already has at least one valid CIDR // static route. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnel API. func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Context, request UpdateIPSecConnectionTunnelRequest) (response UpdateIPSecConnectionTunnelResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8002,9 +10178,16 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnel(ctx context.Conte // UpdateIPSecConnectionTunnelSharedSecret Updates the shared secret (pre-shared key) for the specified tunnel. // **Important:** If you change the shared secret, the tunnel will go down while it's reprovisioned. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecret API. func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx context.Context, request UpdateIPSecConnectionTunnelSharedSecretRequest) (response UpdateIPSecConnectionTunnelSharedSecretResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8052,9 +10235,16 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnelSharedSecret(ctx c // or tags. Avoid entering confidential information. // If the gateway is disabled, that means no traffic will flow to/from the internet even if there's // a route rule that enables that traffic. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGateway API. func (client VirtualNetworkClient) UpdateInternetGateway(ctx context.Context, request UpdateInternetGatewayRequest) (response UpdateInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8104,9 +10294,16 @@ func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, re // * Enable/disable internet access for an IPv6. // * Change the display name for an IPv6. // * Update resource tags for an IPv6. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6 API. func (client VirtualNetworkClient) UpdateIpv6(ctx context.Context, request UpdateIpv6Request) (response UpdateIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8151,9 +10348,16 @@ func (client VirtualNetworkClient) updateIpv6(ctx context.Context, request commo } // UpdateLocalPeeringGateway Updates the specified local peering gateway (LPG). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGateway API. func (client VirtualNetworkClient) UpdateLocalPeeringGateway(ctx context.Context, request UpdateLocalPeeringGatewayRequest) (response UpdateLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8198,9 +10402,16 @@ func (client VirtualNetworkClient) updateLocalPeeringGateway(ctx context.Context } // UpdateNatGateway Updates the specified NAT gateway. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGateway API. func (client VirtualNetworkClient) UpdateNatGateway(ctx context.Context, request UpdateNatGatewayRequest) (response UpdateNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8255,9 +10466,16 @@ func (client VirtualNetworkClient) updateNatGateway(ctx context.Context, request // RemoveNetworkSecurityGroupSecurityRules. // To edit the contents of existing security rules in the group, use // UpdateNetworkSecurityGroupSecurityRules. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroup API. func (client VirtualNetworkClient) UpdateNetworkSecurityGroup(ctx context.Context, request UpdateNetworkSecurityGroupRequest) (response UpdateNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8302,9 +10520,16 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroup(ctx context.Contex } // UpdateNetworkSecurityGroupSecurityRules Updates one or more security rules in the specified network security group. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) UpdateNetworkSecurityGroupSecurityRules(ctx context.Context, request UpdateNetworkSecurityGroupSecurityRulesRequest) (response UpdateNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8356,9 +10581,16 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroupSecurityRules(ctx c // This operation cannot be used with primary private IPs. // To update the hostname for the primary IP on a VNIC, use // UpdateVnic. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIp API. func (client VirtualNetworkClient) UpdatePrivateIp(ctx context.Context, request UpdatePrivateIpRequest) (response UpdatePrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8433,10 +10665,17 @@ func (client VirtualNetworkClient) updatePrivateIp(ctx context.Context, request // a VNIC or instance can have. If you try to move a reserved public IP // to a VNIC or 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/Content/Network/Tasks/managingpublicIPs.htm). +// Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIp API. func (client VirtualNetworkClient) UpdatePublicIp(ctx context.Context, request UpdatePublicIpRequest) (response UpdatePublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8480,10 +10719,71 @@ func (client VirtualNetworkClient) updatePublicIp(ctx context.Context, request c return response, err } +// UpdatePublicIpPool Updates the specified public IP pool. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPool API. +func (client VirtualNetworkClient) UpdatePublicIpPool(ctx context.Context, request UpdatePublicIpPoolRequest) (response UpdatePublicIpPoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updatePublicIpPool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdatePublicIpPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdatePublicIpPoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdatePublicIpPoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdatePublicIpPoolResponse") + } + return +} + +// updatePublicIpPool implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updatePublicIpPool(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPut, "/publicIpPools/{publicIpPoolId}") + if err != nil { + return nil, err + } + + var response UpdatePublicIpPoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateRemotePeeringConnection Updates the specified remote peering connection (RPC). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnection API. func (client VirtualNetworkClient) UpdateRemotePeeringConnection(ctx context.Context, request UpdateRemotePeeringConnectionRequest) (response UpdateRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8530,9 +10830,16 @@ func (client VirtualNetworkClient) updateRemotePeeringConnection(ctx context.Con // UpdateRouteTable Updates the specified route table's display name or route rules. // Avoid entering confidential information. // Note that the `routeRules` object you provide replaces the entire existing set of rules. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTable API. func (client VirtualNetworkClient) UpdateRouteTable(ctx context.Context, request UpdateRouteTableRequest) (response UpdateRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8580,9 +10887,16 @@ func (client VirtualNetworkClient) updateRouteTable(ctx context.Context, request // Avoid entering confidential information. // Note that the `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire // existing objects. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityList API. func (client VirtualNetworkClient) UpdateSecurityList(ctx context.Context, request UpdateSecurityListRequest) (response UpdateSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8628,9 +10942,16 @@ func (client VirtualNetworkClient) updateSecurityList(ctx context.Context, reque // UpdateServiceGateway Updates the specified service gateway. The information you provide overwrites the existing // attributes of the gateway. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGateway API. func (client VirtualNetworkClient) UpdateServiceGateway(ctx context.Context, request UpdateServiceGatewayRequest) (response UpdateServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8675,9 +10996,16 @@ func (client VirtualNetworkClient) updateServiceGateway(ctx context.Context, req } // UpdateSubnet Updates the specified subnet. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnet API. func (client VirtualNetworkClient) UpdateSubnet(ctx context.Context, request UpdateSubnetRequest) (response UpdateSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8724,9 +11052,16 @@ func (client VirtualNetworkClient) updateSubnet(ctx context.Context, request com // UpdateTunnelCpeDeviceConfig Creates or updates the set of CPE configuration answers for the specified tunnel. // The answers correlate to the questions that are specific to the CPE device type (see the // `parameters` attribute of CpeDeviceShapeDetail). +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfig API. func (client VirtualNetworkClient) UpdateTunnelCpeDeviceConfig(ctx context.Context, request UpdateTunnelCpeDeviceConfigRequest) (response UpdateTunnelCpeDeviceConfigResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8776,9 +11111,16 @@ func (client VirtualNetworkClient) updateTunnelCpeDeviceConfig(ctx context.Conte } // UpdateVcn Updates the specified VCN. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcn API. func (client VirtualNetworkClient) UpdateVcn(ctx context.Context, request UpdateVcnRequest) (response UpdateVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8836,7 +11178,7 @@ func (client VirtualNetworkClient) updateVcn(ctx context.Context, request common // its state will return to PROVISIONED. Make sure you confirm that // the associated BGP session is back up. For more information // about the various states and how to test connectivity, see -// FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // To change the list of public IP prefixes for a public virtual circuit, // use BulkAddVirtualCircuitPublicPrefixes // and @@ -8844,9 +11186,16 @@ func (client VirtualNetworkClient) updateVcn(ctx context.Context, request common // Updating the list of prefixes does NOT cause the BGP session to go down. However, // Oracle must verify the customer's ownership of each added prefix before // traffic for that prefix will flow across the virtual circuit. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuit API. func (client VirtualNetworkClient) UpdateVirtualCircuit(ctx context.Context, request UpdateVirtualCircuitRequest) (response UpdateVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8890,12 +11239,18 @@ func (client VirtualNetworkClient) updateVirtualCircuit(ctx context.Context, req return response, err } -// UpdateVlan Updates the specified VLAN. This could result in changes to all -// the VNICs in the VLAN, which can take time. During that transition -// period, the VLAN will be in the UPDATING state. +// UpdateVlan Updates the specified VLAN. Note that this operation might require changes to all +// the VNICs in the VLAN, which can take a while. The VLAN will be in the UPDATING state until the changes are complete. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlan API. func (client VirtualNetworkClient) UpdateVlan(ctx context.Context, request UpdateVlanRequest) (response UpdateVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8940,9 +11295,16 @@ func (client VirtualNetworkClient) updateVlan(ctx context.Context, request commo } // UpdateVnic Updates the specified VNIC. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnic API. func (client VirtualNetworkClient) UpdateVnic(ctx context.Context, request UpdateVnicRequest) (response UpdateVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } @@ -8985,3 +11347,112 @@ func (client VirtualNetworkClient) updateVnic(ctx context.Context, request commo err = common.UnmarshalResponse(httpResponse, &response) return response, err } + +// ValidateByoipRange Submits the BYOIP CIDR block you are importing for validation. Do not submit to Oracle for validation if you have not already +// modified the information for the BYOIP CIDR block with your Regional Internet Registry. See To import a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRange API. +func (client VirtualNetworkClient) ValidateByoipRange(ctx context.Context, request ValidateByoipRangeRequest) (response ValidateByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.validateByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ValidateByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ValidateByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ValidateByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ValidateByoipRangeResponse") + } + return +} + +// validateByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) validateByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/validate") + if err != nil { + return nil, err + } + + var response ValidateByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// WithdrawByoipRange Withdraws BGP route advertisement for the BYOIP CIDR block. +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRange API. +func (client VirtualNetworkClient) WithdrawByoipRange(ctx context.Context, request WithdrawByoipRangeRequest) (response WithdrawByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.withdrawByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = WithdrawByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = WithdrawByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(WithdrawByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into WithdrawByoipRangeResponse") + } + return +} + +// withdrawByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) withdrawByoipRange(ctx context.Context, request common.OCIRequest) (common.OCIResponse, error) { + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/withdraw") + if err != nil { + return nil, err + } + + var response WithdrawByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cpe.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/cpe.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cpe.go index 5e7187141..c49eadb74 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cpe.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Cpe An object you create when setting up an IPSec 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 IPSec VPN connection. // For more information, -// see Overview of the Networking Service (https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Cpe struct { // The OCID of the compartment containing the CPE. @@ -52,7 +50,7 @@ type Cpe struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE's device type. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE's device type. // The Networking service maintains a general list of CPE device types (for example, // Cisco ASA). For each type, Oracle provides CPE configuration content that can help // a network engineer configure the CPE. The OCID uniquely identifies the type of diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_config_answer.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_config_answer.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/cpe_device_config_answer.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_config_answer.go index 02a684d70..c56e1a7e9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_config_answer.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_config_answer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CpeDeviceConfigAnswer An individual answer to a CPE device question. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_config_question.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_config_question.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/cpe_device_config_question.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_config_question.go index 680bc429e..7fae74efe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_config_question.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_config_question.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CpeDeviceConfigQuestion An individual question that the customer can answer about the CPE device. @@ -26,6 +26,7 @@ type CpeDeviceConfigQuestion struct { Key *string `mandatory:"false" json:"key"` // A descriptive label for the question (for example, to display in a form in a graphical interface). + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // A description or explanation of the question, to help the customer answer accurately. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_info.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_info.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/cpe_device_info.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_info.go index b17027b90..5150c1d67 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CpeDeviceInfo Basic information about a particular CPE device type. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_shape_detail.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_shape_detail.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/cpe_device_shape_detail.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_shape_detail.go index 63ec42c1c..4e39f93a3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_shape_detail.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_shape_detail.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,18 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CpeDeviceShapeDetail The detailed information about a particular CPE device type. Compare with // CpeDeviceShapeSummary. type CpeDeviceShapeDetail struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE device shape. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. // This value uniquely identifies the type of CPE device. CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"` - // Basic information about this particular CPE device type. CpeDeviceInfo *CpeDeviceInfo `mandatory:"false" json:"cpeDeviceInfo"` // For certain CPE devices types, the customer can provide answers to diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_shape_summary.go similarity index 81% rename from vendor/github.com/oracle/oci-go-sdk/core/cpe_device_shape_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_shape_summary.go index 5ccf492fb..c886744ba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cpe_device_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cpe_device_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,18 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CpeDeviceShapeSummary A summary of information about a particular CPE device type. Compare with // CpeDeviceShapeDetail. type CpeDeviceShapeSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE device shape. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. // This value uniquely identifies the type of CPE device. Id *string `mandatory:"false" json:"id"` - // Basic information about this particular CPE device type. CpeDeviceInfo *CpeDeviceInfo `mandatory:"false" json:"cpeDeviceInfo"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_app_catalog_subscription_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_app_catalog_subscription_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/create_app_catalog_subscription_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_app_catalog_subscription_details.go index dbfb8ebff..3b66c5f57 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_app_catalog_subscription_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_app_catalog_subscription_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateAppCatalogSubscriptionDetails details for creating a subscription for a listing resource version. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_app_catalog_subscription_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_app_catalog_subscription_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_app_catalog_subscription_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_app_catalog_subscription_request_response.go index 144496e40..fce8caaf8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_app_catalog_subscription_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_app_catalog_subscription_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateAppCatalogSubscriptionRequest wrapper for the CreateAppCatalogSubscription operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscriptionRequest. type CreateAppCatalogSubscriptionRequest struct { // Request for the creation of a subscription for listing resource version for a compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_backup_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_backup_details.go index 8bd84082f..a9271daf8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateBootVolumeBackupDetails The representation of CreateBootVolumeBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_backup_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_backup_request_response.go index 8f78f4e7d..dc4eca90b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateBootVolumeBackupRequest wrapper for the CreateBootVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackupRequest. type CreateBootVolumeBackupRequest struct { // Request to create a new backup of given boot volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_details.go index ef456224d..76219878a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateBootVolumeDetails The representation of CreateBootVolumeDetails @@ -28,8 +28,6 @@ type CreateBootVolumeDetails struct { // The OCID of the compartment that contains the boot volume. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // Specifies the boot volume source details for a new boot volume. The volume source is either another boot volume in the same availability domain or a boot volume backup. - // This is a mandatory field for a boot volume. SourceDetails BootVolumeSourceDetails `mandatory:"true" json:"sourceDetails"` // If provided, specifies the ID of the boot volume backup policy to assign to the newly diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_request_response.go index a9b5c53a0..5477be2dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_boot_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateBootVolumeRequest wrapper for the CreateBootVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolumeRequest. type CreateBootVolumeRequest struct { // Request to create a new boot volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/create_byoip_range_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_byoip_range_details.go new file mode 100644 index 000000000..3d5cd5126 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_byoip_range_details.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// CreateByoipRangeDetails The information used to create a `ByoipRange` resource. +type CreateByoipRangeDetails struct { + + // The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is validated. + // Example: `10.0.1.0/24` + CidrBlock *string `mandatory:"true" json:"cidrBlock"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m CreateByoipRangeDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/create_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_byoip_range_request_response.go new file mode 100644 index 000000000..ef38a8c0c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_byoip_range_request_response.go @@ -0,0 +1,76 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// CreateByoipRangeRequest wrapper for the CreateByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRangeRequest. +type CreateByoipRangeRequest struct { + + // Details needed to create a BYOIP CIDR block subrange. + CreateByoipRangeDetails `contributesTo:"body"` + + // 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 +} + +func (request CreateByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// CreateByoipRangeResponse wrapper for the CreateByoipRange operation +type CreateByoipRangeResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ByoipRange instance + ByoipRange `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_details.go index fcec8e6be..8c461786b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateClusterNetworkDetails The data to create a cluster network. @@ -28,7 +28,6 @@ type CreateClusterNetworkDetails struct { // Each cluster network can have one instance pool. InstancePools []CreateClusterNetworkInstancePoolDetails `mandatory:"true" json:"instancePools"` - // The placement configuration for the instance pools in the cluster network. PlacementConfiguration *ClusterNetworkPlacementConfigurationDetails `mandatory:"true" json:"placementConfiguration"` // Defined tags for this resource. Each key is predefined and scoped to a diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_instance_pool_details.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_instance_pool_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_instance_pool_details.go index fcf5d25aa..6de058296 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateClusterNetworkInstancePoolDetails The data to create an instance pool in a cluster network. @@ -25,8 +25,6 @@ type CreateClusterNetworkInstancePoolDetails struct { InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` // The number of instances that should be in the instance pool. - // If the required number of instances is not available or if some instances fail to launch, - // the cluster network is not created. Size *int `mandatory:"true" json:"size"` // Defined tags for this resource. Each key is predefined and scoped to a diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_request_response.go index 4d6b71388..6cf032064 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cluster_network_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateClusterNetworkRequest wrapper for the CreateClusterNetwork operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetworkRequest. type CreateClusterNetworkRequest struct { // Cluster network creation details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_compute_image_capability_schema_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_compute_image_capability_schema_details.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/create_compute_image_capability_schema_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_compute_image_capability_schema_details.go index 908a96bd3..506c89c6e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_compute_image_capability_schema_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_compute_image_capability_schema_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateComputeImageCapabilitySchemaDetails Create Image Capability Schema for an image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_compute_image_capability_schema_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_compute_image_capability_schema_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_compute_image_capability_schema_request_response.go index 9f7b78ddf..19254e25c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_compute_image_capability_schema_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateComputeImageCapabilitySchemaRequest wrapper for the CreateComputeImageCapabilitySchema operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchemaRequest. type CreateComputeImageCapabilitySchemaRequest struct { // Compute Image Capability Schema creation details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cpe_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cpe_details.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cpe_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cpe_details.go index bf78be121..af6b20370 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cpe_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cpe_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateCpeDetails The representation of CreateCpeDetails @@ -32,7 +32,8 @@ type CreateCpeDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no @@ -40,7 +41,7 @@ type CreateCpeDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide // a value if you want to later generate CPE device configuration content for IPSec connections // that use this CPE. You can also call UpdateCpe later to // provide a value. For a list of possible values, see diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cpe_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cpe_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cpe_request_response.go index 7a3bdca95..e24f29e34 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cpe_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateCpeRequest wrapper for the CreateCpe operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpeRequest. type CreateCpeRequest struct { // Details for creating a CPE. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_details.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_details.go index 4a0bfdbbb..64ee350bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateCrossConnectDetails The representation of CreateCrossConnectDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_group_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_group_details.go index b91ef2133..ef9297095 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateCrossConnectGroupDetails The representation of CreateCrossConnectGroupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_group_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_group_request_response.go index 6d4c56263..b2e939c1b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateCrossConnectGroupRequest wrapper for the CreateCrossConnectGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroupRequest. type CreateCrossConnectGroupRequest struct { // Details to create a CrossConnectGroup diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_request_response.go index 448b23285..fdcef82c1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_cross_connect_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateCrossConnectRequest wrapper for the CreateCrossConnect operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnectRequest. type CreateCrossConnectRequest struct { // Details to create a CrossConnect diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_dedicated_vm_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dedicated_vm_host_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_dedicated_vm_host_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_dedicated_vm_host_details.go index 45e54a195..3c5594e27 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_dedicated_vm_host_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dedicated_vm_host_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateDedicatedVmHostDetails The details for creating a new dedicated virtual machine host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dedicated_vm_host_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/create_dedicated_vm_host_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_dedicated_vm_host_request_response.go index feadf3cf1..f7ad2ad4d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dedicated_vm_host_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateDedicatedVmHostRequest wrapper for the CreateDedicatedVmHost operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHostRequest. type CreateDedicatedVmHostRequest struct { // The details for creating a new dedicated virtual machine host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dhcp_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_dhcp_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_dhcp_details.go index ff672ddcd..282245226 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_dhcp_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dhcp_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateDhcpDetails The representation of CreateDhcpDetails @@ -35,7 +35,8 @@ type CreateDhcpDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dhcp_options_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_dhcp_options_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_dhcp_options_request_response.go index 4526f0a13..2c59c2582 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_dhcp_options_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateDhcpOptionsRequest wrapper for the CreateDhcpOptions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptionsRequest. type CreateDhcpOptionsRequest struct { // Request object for creating a new set of DHCP options. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_attachment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_attachment_details.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/create_drg_attachment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_attachment_details.go index e7ef53d86..b17ead58d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_attachment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateDrgAttachmentDetails The representation of CreateDrgAttachmentDetails @@ -26,7 +26,8 @@ type CreateDrgAttachmentDetails struct { // The OCID of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` - // A user-friendly name. Does not have to be unique. Avoid entering confidential information. + // A user-friendly name. Does not have to be unique. Avoid entering + // confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The OCID of the route table the DRG attachment will use. @@ -34,8 +35,8 @@ type CreateDrgAttachmentDetails struct { // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the DRG attachment. // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.htm) + // * 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"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_attachment_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_drg_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_attachment_request_response.go index 337615e94..30f74585a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateDrgAttachmentRequest wrapper for the CreateDrgAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachmentRequest. type CreateDrgAttachmentRequest struct { // Details for creating a `DrgAttachment`. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/create_drg_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_details.go index 954e7fa73..f46183722 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateDrgDetails The representation of CreateDrgDetails @@ -28,7 +28,8 @@ type CreateDrgDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_drg_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_request_response.go index 27aa8d414..025bb12b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_drg_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateDrgRequest wrapper for the CreateDrg operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrgRequest. type CreateDrgRequest struct { // Details for creating a DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_i_p_sec_connection_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_i_p_sec_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_i_p_sec_connection_request_response.go index 8f67cfc1f..c93df2f2b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_i_p_sec_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateIPSecConnectionRequest wrapper for the CreateIPSecConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnectionRequest. type CreateIPSecConnectionRequest struct { // Details for creating an `IPSecConnection`. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_image_details.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/create_image_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_image_details.go index fdbc61dc5..eb9f31571 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateImageDetails Either instanceId or imageSourceDetails must be provided in addition to other required parameters. @@ -40,7 +40,6 @@ type CreateImageDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Details for creating an image through import ImageSourceDetails ImageSourceDetails `mandatory:"false" json:"imageSourceDetails"` // The OCID of the instance you want to use as the basis for the image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_image_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/create_image_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_image_request_response.go index 14fcf1e7c..71df76993 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_image_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateImageRequest wrapper for the CreateImage operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImageRequest. type CreateImageRequest struct { // Image creation details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_base.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_base.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_base.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_base.go index 206f090b3..0b9548087 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_base.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_base.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInstanceConfigurationBase Creation details for an instance configuration. @@ -30,7 +30,7 @@ type CreateInstanceConfigurationBase interface { // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} - // A user-friendly name for the instance configuration. Does not have to be unique, + // A user-friendly name for the instance configuration. Does not have to be unique, // and it's changeable. Avoid entering confidential information. GetDisplayName() *string diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_details.go index f26b3d066..5591bb6f0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInstanceConfigurationDetails Details for creating an instance configuration by providing a list of configuration settings. @@ -32,7 +32,7 @@ type CreateInstanceConfigurationDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // A user-friendly name for the instance configuration. Does not have to be unique, + // A user-friendly name for the instance configuration. Does not have to be unique, // and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_from_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_from_instance_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_from_instance_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_from_instance_details.go index a56bd8ee0..79504be17 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_from_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_from_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInstanceConfigurationFromInstanceDetails Details for creating an instance configuration using an existing instance as a template. @@ -34,7 +34,7 @@ type CreateInstanceConfigurationFromInstanceDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // A user-friendly name for the instance configuration. Does not have to be unique, + // A user-friendly name for the instance configuration. Does not have to be unique, // and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_request_response.go index 9efde3994..9ad012266 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_configuration_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateInstanceConfigurationRequest wrapper for the CreateInstanceConfiguration operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfigurationRequest. type CreateInstanceConfigurationRequest struct { // Instance configuration creation details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_console_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_console_connection_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_console_connection_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_console_connection_details.go index 2fac22f99..173880c58 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_console_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_console_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInstanceConsoleConnectionDetails The details for creating a instance console connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_console_connection_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_console_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_console_connection_request_response.go index 11355a486..fdf6e5870 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_console_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateInstanceConsoleConnectionRequest wrapper for the CreateInstanceConsoleConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnectionRequest. type CreateInstanceConsoleConnectionRequest struct { // Request object for creating an InstanceConsoleConnection diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_details.go index 4e9720996..d017dac10 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInstancePoolDetails The data to create an instance pool. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_placement_configuration_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_placement_configuration_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_placement_configuration_details.go index 22d503c07..c434ed712 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_placement_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInstancePoolPlacementConfigurationDetails The location for where an instance pool will place instances. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_request_response.go index 945937a1d..4c474fecc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateInstancePoolRequest wrapper for the CreateInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePoolRequest. type CreateInstancePoolRequest struct { // Instance pool creation details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_internet_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_internet_gateway_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_internet_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_internet_gateway_details.go index 9917a3350..4e764b1ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_internet_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_internet_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateInternetGatewayDetails The representation of CreateInternetGatewayDetails @@ -34,7 +34,8 @@ type CreateInternetGatewayDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_internet_gateway_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_internet_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_internet_gateway_request_response.go index 4a0339fcc..a07ed88d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_internet_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateInternetGatewayRequest wrapper for the CreateInternetGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGatewayRequest. type CreateInternetGatewayRequest struct { // Details for creating a new internet gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_connection_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_connection_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_connection_details.go index 43a0beae9..64e54eab6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateIpSecConnectionDetails The representation of CreateIpSecConnectionDetails @@ -37,7 +37,7 @@ type CreateIpSecConnectionDetails struct { // tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. // For more information, see the important note in IPSecConnection. // The CIDR can be either IPv4 or IPv6. Note that IPv6 addressing is currently supported only - // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `10.0.1.0/24` // Example: `2001:db8::/32` StaticRoutes []string `mandatory:"true" json:"staticRoutes"` @@ -47,7 +47,8 @@ type CreateIpSecConnectionDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no @@ -61,7 +62,7 @@ type CreateIpSecConnectionDetails struct { // If you don't provide a value, the `ipAddress` attribute for the Cpe // object specified by `cpeId` is used as the `cpeLocalIdentifier`. // For information about why you'd provide this value, see - // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat). + // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). // Example IP address: `10.0.3.3` // Example hostname: `cpe.example.com` CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_connection_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_connection_tunnel_details.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_connection_tunnel_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_connection_tunnel_details.go index 8ea704433..53f939540 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_connection_tunnel_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_connection_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateIpSecConnectionTunnelDetails The representation of CreateIpSecConnectionTunnelDetails @@ -36,12 +36,9 @@ type CreateIpSecConnectionTunnelDetails struct { // you like with UpdateIPSecConnectionTunnelSharedSecret. SharedSecret *string `mandatory:"false" json:"sharedSecret"` - // Information for establishing a BGP session for the IPSec tunnel. Required if the tunnel uses - // BGP dynamic routing. - // If the tunnel instead uses static routing, you may optionally provide - // this object and set an IP address for one or both ends of the IPSec tunnel for the purposes - // of troubleshooting or monitoring the tunnel. BgpSessionConfig *CreateIpSecTunnelBgpSessionDetails `mandatory:"false" json:"bgpSessionConfig"` + + EncryptionDomainConfig *CreateIpSecTunnelEncryptionDomainDetails `mandatory:"false" json:"encryptionDomainConfig"` } func (m CreateIpSecConnectionTunnelDetails) String() string { @@ -55,11 +52,13 @@ type CreateIpSecConnectionTunnelDetailsRoutingEnum string const ( CreateIpSecConnectionTunnelDetailsRoutingBgp CreateIpSecConnectionTunnelDetailsRoutingEnum = "BGP" CreateIpSecConnectionTunnelDetailsRoutingStatic CreateIpSecConnectionTunnelDetailsRoutingEnum = "STATIC" + CreateIpSecConnectionTunnelDetailsRoutingPolicy CreateIpSecConnectionTunnelDetailsRoutingEnum = "POLICY" ) var mappingCreateIpSecConnectionTunnelDetailsRouting = map[string]CreateIpSecConnectionTunnelDetailsRoutingEnum{ "BGP": CreateIpSecConnectionTunnelDetailsRoutingBgp, "STATIC": CreateIpSecConnectionTunnelDetailsRoutingStatic, + "POLICY": CreateIpSecConnectionTunnelDetailsRoutingPolicy, } // GetCreateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for CreateIpSecConnectionTunnelDetailsRoutingEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_tunnel_bgp_session_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_tunnel_bgp_session_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_tunnel_bgp_session_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_tunnel_bgp_session_details.go index f48d76724..6ffc62646 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_ip_sec_tunnel_bgp_session_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_tunnel_bgp_session_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateIpSecTunnelBgpSessionDetails The representation of CreateIpSecTunnelBgpSessionDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_tunnel_encryption_domain_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_tunnel_encryption_domain_details.go new file mode 100644 index 000000000..24db9edf3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ip_sec_tunnel_encryption_domain_details.go @@ -0,0 +1,33 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// CreateIpSecTunnelEncryptionDomainDetails Request to enable a multi-encryption domain policy on the VPNaaS tunnel. +// The cross product of oracleTrafficSelector and cpeTrafficSelector can't be more than 50. +type CreateIpSecTunnelEncryptionDomainDetails struct { + + // Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + OracleTrafficSelector []string `mandatory:"false" json:"oracleTrafficSelector"` + + // Lists IPv4 or IPv6-enabled subnets in your on-premises network. + CpeTrafficSelector []string `mandatory:"false" json:"cpeTrafficSelector"` +} + +func (m CreateIpSecTunnelEncryptionDomainDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_ipv6_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ipv6_details.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_ipv6_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_ipv6_details.go index f98343c8a..ebe7e5d37 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_ipv6_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ipv6_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,12 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateIpv6Details The representation of CreateIpv6Details type CreateIpv6Details struct { - // The OCID (https://docs.cloud.oracle.com/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. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -52,6 +48,10 @@ type CreateIpv6Details struct { // for the Ipv6 is null. // Example: `true` IsInternetAccessAllowed *bool `mandatory:"false" json:"isInternetAccessAllowed"` + + // 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:"false" json:"vnicId"` } func (m CreateIpv6Details) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ipv6_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_ipv6_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_ipv6_request_response.go index 62670299d..392980943 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_ipv6_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateIpv6Request wrapper for the CreateIpv6 operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6Request. type CreateIpv6Request struct { // Create IPv6 details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_local_peering_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_local_peering_gateway_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_local_peering_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_local_peering_gateway_details.go index 9dfe6e7a0..e7f12783d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_local_peering_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_local_peering_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateLocalPeeringGatewayDetails The representation of CreateLocalPeeringGatewayDetails @@ -45,7 +45,7 @@ type CreateLocalPeeringGatewayDetails struct { // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the LPG. // For information about why you would associate a route table with an LPG, see - // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/Content/Network/Tasks/transitrouting.htm). + // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_local_peering_gateway_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_local_peering_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_local_peering_gateway_request_response.go index 3e574e09a..e5af48ddc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_local_peering_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateLocalPeeringGatewayRequest wrapper for the CreateLocalPeeringGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGatewayRequest. type CreateLocalPeeringGatewayRequest struct { // Details for creating a new local peering gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_nat_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_nat_gateway_details.go similarity index 79% rename from vendor/github.com/oracle/oci-go-sdk/core/create_nat_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_nat_gateway_details.go index 4e2791ead..09e0d792e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_nat_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_nat_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,17 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateNatGatewayDetails The representation of CreateNatGatewayDetails type CreateNatGatewayDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the // NAT gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN the gateway belongs to. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the gateway belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -44,6 +44,9 @@ type CreateNatGatewayDetails struct { // Whether the NAT gateway blocks traffic through it. The default is `false`. // Example: `true` BlockTraffic *bool `mandatory:"false" json:"blockTraffic"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. + PublicIpId *string `mandatory:"false" json:"publicIpId"` } func (m CreateNatGatewayDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_nat_gateway_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_nat_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_nat_gateway_request_response.go index 84a4b1c02..48a9b6baa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_nat_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateNatGatewayRequest wrapper for the CreateNatGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGatewayRequest. type CreateNatGatewayRequest struct { // Details for creating a NAT gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_network_security_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_network_security_group_details.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/create_network_security_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_network_security_group_details.go index ed172f63d..fd1993e72 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_network_security_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_network_security_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,17 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateNetworkSecurityGroupDetails The representation of CreateNetworkSecurityGroupDetails type CreateNetworkSecurityGroupDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the + // 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/Content/General/Concepts/identifiers.htm) of the VCN to create the network + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_network_security_group_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_network_security_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_network_security_group_request_response.go index 3830c5718..0b9e86c6b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_network_security_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateNetworkSecurityGroupRequest wrapper for the CreateNetworkSecurityGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroupRequest. type CreateNetworkSecurityGroupRequest struct { // Details for creating a network security group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_private_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_private_ip_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_private_ip_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_private_ip_details.go index 90bc0b7aa..70b25e54a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_private_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_private_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreatePrivateIpDetails The representation of CreatePrivateIpDetails @@ -41,7 +41,7 @@ type CreatePrivateIpDetails struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_private_ip_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_private_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_private_ip_request_response.go index 1caeff352..ef1182b80 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_private_ip_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreatePrivateIpRequest wrapper for the CreatePrivateIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIpRequest. type CreatePrivateIpRequest struct { // Create private IP details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_public_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_details.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_public_ip_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_details.go index 2fcfa3c7d..2a53f6cc6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_public_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreatePublicIpDetails The representation of CreatePublicIpDetails @@ -26,7 +26,7 @@ type CreatePublicIpDetails struct { // 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/Content/Network/Tasks/managingpublicIPs.htm). + // 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 @@ -50,6 +50,9 @@ type CreatePublicIpDetails struct { // assigned to a private IP. You can later assign the public IP with // UpdatePublicIp. PrivateIpId *string `mandatory:"false" json:"privateIpId"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` } func (m CreatePublicIpDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_pool_details.go new file mode 100644 index 000000000..c15276c5b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_pool_details.go @@ -0,0 +1,43 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// CreatePublicIpPoolDetails The information used to create a public IP pool. +type CreatePublicIpPoolDetails struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m CreatePublicIpPoolDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_pool_request_response.go new file mode 100644 index 000000000..a8120a88b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_pool_request_response.go @@ -0,0 +1,76 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// CreatePublicIpPoolRequest wrapper for the CreatePublicIpPool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPoolRequest. +type CreatePublicIpPoolRequest struct { + + // Create Public Ip Pool details + CreatePublicIpPoolDetails `contributesTo:"body"` + + // 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 +} + +func (request CreatePublicIpPoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreatePublicIpPoolRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreatePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// CreatePublicIpPoolResponse wrapper for the CreatePublicIpPool operation +type CreatePublicIpPoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicIpPool instance + PublicIpPool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreatePublicIpPoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreatePublicIpPoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_public_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_request_response.go index d30d2bb9d..d46b1a388 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_public_ip_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreatePublicIpRequest wrapper for the CreatePublicIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIpRequest. type CreatePublicIpRequest struct { // Create public IP details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_remote_peering_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_remote_peering_connection_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_remote_peering_connection_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_remote_peering_connection_details.go index cad2c2e1f..bbbaeca8d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_remote_peering_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_remote_peering_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateRemotePeeringConnectionDetails The representation of CreateRemotePeeringConnectionDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_remote_peering_connection_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_remote_peering_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_remote_peering_connection_request_response.go index 81bc1c90a..96dd0249c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_remote_peering_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateRemotePeeringConnectionRequest wrapper for the CreateRemotePeeringConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnectionRequest. type CreateRemotePeeringConnectionRequest struct { // Request to create peering connection to remote region diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_route_table_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_route_table_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_route_table_details.go index ed2f83f97..d41a5d0df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_route_table_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateRouteTableDetails The representation of CreateRouteTableDetails @@ -34,7 +34,8 @@ type CreateRouteTableDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_route_table_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_route_table_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_route_table_request_response.go index 7a73c0ad1..3de725d0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_route_table_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateRouteTableRequest wrapper for the CreateRouteTable operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTableRequest. type CreateRouteTableRequest struct { // Details for creating a new route table. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_security_list_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_security_list_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_security_list_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_security_list_details.go index 0b37a79bb..234c86fa5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_security_list_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_security_list_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateSecurityListDetails The representation of CreateSecurityListDetails @@ -37,7 +37,8 @@ type CreateSecurityListDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_security_list_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_security_list_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_security_list_request_response.go index cc11a35d9..cc46c171a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_security_list_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateSecurityListRequest wrapper for the CreateSecurityList operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityListRequest. type CreateSecurityListRequest struct { // Details regarding the security list to create. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_service_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_service_gateway_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/create_service_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_service_gateway_details.go index d62780c6d..0fa0a497e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_service_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_service_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateServiceGatewayDetails The representation of CreateServiceGatewayDetails @@ -33,7 +33,7 @@ type CreateServiceGatewayDetails struct { // RouteTable. Services []ServiceIdRequestDetails `mandatory:"true" json:"services"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // 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 @@ -55,7 +55,7 @@ type CreateServiceGatewayDetails struct { // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the service gateway. // For information about why you would associate a route table with a service gateway, see - // Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.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"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_service_gateway_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_service_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_service_gateway_request_response.go index 3b3a508e1..1c53418c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_service_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateServiceGatewayRequest wrapper for the CreateServiceGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGatewayRequest. type CreateServiceGatewayRequest struct { // Details for creating a service gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_subnet_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_subnet_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/create_subnet_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_subnet_details.go index 1c6987b4c..0ca133e5f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_subnet_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateSubnetDetails The representation of CreateSubnetDetails @@ -53,7 +53,8 @@ type CreateSubnetDetails struct { // 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. + // 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 @@ -65,7 +66,7 @@ type CreateSubnetDetails struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` @@ -77,7 +78,7 @@ type CreateSubnetDetails struct { // 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/Content/Network/Concepts/ipv6.htm). + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_subnet_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_subnet_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_subnet_request_response.go index 71ac31d01..01fbde7b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_subnet_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateSubnetRequest wrapper for the CreateSubnet operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnetRequest. type CreateSubnetRequest struct { // Details for creating a subnet. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_vcn_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vcn_details.go similarity index 80% rename from vendor/github.com/oracle/oci-go-sdk/core/create_vcn_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_vcn_details.go index d1e40380a..db3071562 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_vcn_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,21 +14,28 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVcnDetails The representation of 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 of the compartment to contain the VCN. CompartmentId *string `mandatory:"true" json:"compartmentId"` + // **Deprecated.** Do *not* set this value. Use `cidrBlocks` instead. + // Example: `10.0.0.0/16` + CidrBlock *string `mandatory:"false" json:"cidrBlock"` + + // The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: + // - The CIDR blocks must be valid. + // - They must not overlap with each other or with the on-premises network CIDR block. + // - The number of CIDR blocks must not exceed the limit of CIDR blocks allowed per VCN. + // **Important:** Do *not* specify a value for `cidrBlock`. Use this parameter instead. + CidrBlocks []string `mandatory:"false" json:"cidrBlocks"` + // If you enable IPv6 for the VCN (see `isIpv6Enabled`), you may optionally provide an IPv6 - // /48 CIDR block from the supported ranges (see IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // /48 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 /48 CIDR block. @@ -41,7 +48,7 @@ type CreateVcnDetails struct { // 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/Content/Network/Concepts/ipv6.htm). + // 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"` @@ -50,7 +57,8 @@ type CreateVcnDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` 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. + // 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 @@ -63,7 +71,7 @@ type CreateVcnDetails struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` @@ -73,7 +81,7 @@ type CreateVcnDetails struct { FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Whether IPv6 is enabled for the VCN. Default is `false`. You cannot change this later. - // For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // 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"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vcn_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_vcn_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_vcn_request_response.go index c4e86c090..504f399db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vcn_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVcnRequest wrapper for the CreateVcn operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcnRequest. type CreateVcnRequest struct { // Details for creating a new VCN. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_details.go index 7422ffc23..b535de19a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVirtualCircuitDetails The representation of CreateVirtualCircuitDetails @@ -28,7 +28,7 @@ type CreateVirtualCircuitDetails struct { // (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 + // The provisioned data rate of the connection. To get a list of the // available bandwidth levels (that is, shapes), see // ListFastConnectProviderVirtualCircuitBandwidthShapes. // Example: `10 Gbps` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_public_prefix_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_public_prefix_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_public_prefix_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_public_prefix_details.go index bb2b2896f..0ed5faf8d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_public_prefix_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_public_prefix_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVirtualCircuitPublicPrefixDetails The representation of CreateVirtualCircuitPublicPrefixDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_request_response.go index a247a7290..0452f91ca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_virtual_circuit_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVirtualCircuitRequest wrapper for the CreateVirtualCircuit operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuitRequest. type CreateVirtualCircuitRequest struct { // Details to create a VirtualCircuit. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_vlan_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vlan_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_vlan_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_vlan_details.go index df74dc718..ee8908c36 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_vlan_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vlan_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVlanDetails The representation of CreateVlanDetails @@ -27,6 +27,7 @@ type CreateVlanDetails struct { // The range of IPv4 addresses that will be used for layer 3 communication with // hosts outside the VLAN. The CIDR must maintain the following rules - // a. The CIDR block is valid and correctly formatted. + // b. The new range is within one of the parent VCN ranges. // Example: `192.0.2.0/24` CidrBlock *string `mandatory:"true" json:"cidrBlock"` @@ -41,7 +42,8 @@ type CreateVlanDetails struct { // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // A descriptive name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + // A descriptive name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vlan_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_vlan_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_vlan_request_response.go index df6b8cca3..d5646d97d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vlan_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVlanRequest wrapper for the CreateVlan operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlanRequest. type CreateVlanRequest struct { // Details for creating a VLAN diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vnic_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_vnic_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_vnic_details.go index 1ff1d8751..96bb86d87 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Tasks/managingVNICs.htm). +// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). type CreateVnicDetails struct { // Whether the VNIC should be assigned a public IP address. Defaults to whether @@ -32,13 +32,13 @@ type CreateVnicDetails struct { // `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/Content/Network/Tasks/managingIPaddresses.htm). + // 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/Content/Network/Tasks/managingpublicIPs.htm). + // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). // Example: `false` // If you specify a `vlanId`, the `assignPublicIp` is required to be set to false. See // Vlan. @@ -69,7 +69,7 @@ type CreateVnicDetails struct { // ListPrivateIps and // GetPrivateIp. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm). + // 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. @@ -105,7 +105,7 @@ type CreateVnicDetails struct { // 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/Content/Network/Tasks/managingroutetables.htm#privateip). + // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). // // If you specify a `vlanId`, the `skipSourceDestCheck` cannot be specified because the // source/destination check is always disabled for VNICs in a VLAN. See diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_details.go index 77f5f2e5a..ee6a90cde 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVolumeBackupDetails The representation of CreateVolumeBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_assignment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_assignment_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_assignment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_assignment_details.go index 93a727e2c..3abf9e699 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_assignment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_assignment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVolumeBackupPolicyAssignmentDetails The representation of CreateVolumeBackupPolicyAssignmentDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_assignment_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_assignment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_assignment_request_response.go index 51daa5613..1aeb067e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_assignment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVolumeBackupPolicyAssignmentRequest wrapper for the CreateVolumeBackupPolicyAssignment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignmentRequest. type CreateVolumeBackupPolicyAssignmentRequest struct { // Request to assign a specified policy to a particular volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_details.go index 698126893..5c4cefa8a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVolumeBackupPolicyDetails Specifies the properties for creating user defined backup policy. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_request_response.go index e043fea90..2109e3bea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_policy_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVolumeBackupPolicyRequest wrapper for the CreateVolumeBackupPolicy operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicyRequest. type CreateVolumeBackupPolicyRequest struct { // Request to create a new scheduled backup policy. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_request_response.go index a3b8ca205..6ebdc3650 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVolumeBackupRequest wrapper for the CreateVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackupRequest. type CreateVolumeBackupRequest struct { // Request to create a new backup of given volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_details.go index 8f1267007..6cb351bf2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVolumeDetails The representation of CreateVolumeDetails @@ -66,9 +66,6 @@ type CreateVolumeDetails struct { // This field is deprecated. Use sizeInGBs instead. SizeInMBs *int64 `mandatory:"false" json:"sizeInMBs"` - // Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same availability domain or a Block volume backup. - // This is an optional field. If not specified or set to null, the new Block volume will be empty. - // When specified, the new Block volume will contain data from the source volume or backup. SourceDetails VolumeSourceDetails `mandatory:"false" json:"sourceDetails"` // The OCID of the volume backup from which the data should be restored on the newly created volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_backup_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_backup_details.go index baa147671..ce906e8b2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVolumeGroupBackupDetails The representation of CreateVolumeGroupBackupDetails @@ -23,7 +23,9 @@ type CreateVolumeGroupBackupDetails struct { // The OCID of the volume group that needs to be backed up. VolumeGroupId *string `mandatory:"true" json:"volumeGroupId"` - // The OCID of the compartment that will contain the volume group backup. This parameter is optional, by default backup will be created in the same compartment and source volume group. + // The OCID of the compartment that will contain the volume group + // backup. This parameter is optional, by default backup will be created in + // the same compartment and source volume group. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_backup_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_backup_request_response.go index ad3ef4ddf..1beeb03eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVolumeGroupBackupRequest wrapper for the CreateVolumeGroupBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackupRequest. type CreateVolumeGroupBackupRequest struct { // Request to create a new backup group of given volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_details.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_details.go index 38812745f..9fc96b9fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CreateVolumeGroupDetails The representation of CreateVolumeGroupDetails @@ -27,16 +27,19 @@ type CreateVolumeGroupDetails struct { // The OCID of the compartment that contains the volume group. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // Specifies the volume group source details for a new volume group. The volume source is either another a list of - // volume ids in the same availability domain, another volume group or a volume group backup. SourceDetails VolumeGroupSourceDetails `mandatory:"true" json:"sourceDetails"` + // If provided, specifies the ID of the volume backup policy to assign to the newly + // created volume group. If omitted, no policy will be assigned. + BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"` + // Defined tags for this resource. Each key is predefined and scoped to a // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // A user-friendly name for the volume group. Does not have to be unique, and it's changeable. Avoid entering confidential information. + // A user-friendly name for the volume group. Does not have to be + // unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no @@ -52,6 +55,7 @@ func (m CreateVolumeGroupDetails) String() string { // UnmarshalJSON unmarshals from json func (m *CreateVolumeGroupDetails) UnmarshalJSON(data []byte) (e error) { model := struct { + BackupPolicyId *string `json:"backupPolicyId"` DefinedTags map[string]map[string]interface{} `json:"definedTags"` DisplayName *string `json:"displayName"` FreeformTags map[string]string `json:"freeformTags"` @@ -65,6 +69,8 @@ func (m *CreateVolumeGroupDetails) UnmarshalJSON(data []byte) (e error) { return } var nn interface{} + m.BackupPolicyId = model.BackupPolicyId + m.DefinedTags = model.DefinedTags m.DisplayName = model.DisplayName diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_request_response.go index d5fd19e01..18b8bedbf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVolumeGroupRequest wrapper for the CreateVolumeGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroupRequest. type CreateVolumeGroupRequest struct { // Request to create a new volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/create_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_request_response.go index bf2096722..27993eb6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/create_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/create_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // CreateVolumeRequest wrapper for the CreateVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolumeRequest. type CreateVolumeRequest struct { // Request to create a new volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/cross_connect.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect.go index 31948c0d5..e941c4f6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/fastconnect.htm). +// 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. @@ -29,9 +29,7 @@ import ( // 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type CrossConnect struct { // The OCID of the compartment containing the cross-connect group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_group.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_group.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/cross_connect_group.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_group.go index e7149fd35..a6fe7d3da 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,22 +14,20 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/fastconnect.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type CrossConnectGroup struct { // The OCID of the compartment containing the cross-connect group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_location.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_location.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/cross_connect_location.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_location.go index 669cc239b..052d890b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_location.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_location.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CrossConnectLocation An individual FastConnect location. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_mapping.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_mapping.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/cross_connect_mapping.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_mapping.go index 1e98f152e..b5f54590a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_mapping.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_mapping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CrossConnectMapping For use with Oracle Cloud Infrastructure FastConnect. Each @@ -78,17 +78,17 @@ type CrossConnectMapping struct { // provider's edge router. Only subnet masks from /64 up to /127 are allowed. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. // Note that IPv6 addressing is currently supported only in certain regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:db8::1/64` CustomerBgpPeeringIpv6 *string `mandatory:"false" json:"customerBgpPeeringIpv6"` - // The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. + // The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. // If the session goes from Oracle to a customer's edge router, // the customer specifies this information. If the session goes from Oracle to // a provider's edge router, the provider specifies this. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. // Note that IPv6 addressing is currently supported only in certain regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:db8::2/64` OracleBgpPeeringIpv6 *string `mandatory:"false" json:"oracleBgpPeeringIpv6"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_port_speed_shape.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_port_speed_shape.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/cross_connect_port_speed_shape.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_port_speed_shape.go index bc1addfe8..a203e0a8d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_port_speed_shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_port_speed_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CrossConnectPortSpeedShape An individual port speed level for cross-connects. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_status.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_status.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/cross_connect_status.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_status.go index 232a6a2b4..d138d8df6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/cross_connect_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/cross_connect_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // CrossConnectStatus The status of the cross-connect. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host.go index 0936854a9..acc631fbe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DedicatedVmHost A dedicated virtual machine host that enables you to host multiple VM instances diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_instance_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_instance_shape_summary.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_instance_shape_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_instance_shape_summary.go index cfef16784..ca6a76f05 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_instance_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_instance_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DedicatedVmHostInstanceShapeSummary The shape used to launch instances associated with the dedicated VM host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_instance_summary.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_instance_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_instance_summary.go index 7fc47c088..999e8e572 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_instance_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DedicatedVmHostInstanceSummary Condensed instance data when listing instances on a dedicated VM host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_shape_summary.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_shape_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_shape_summary.go index a71166e2f..280832c10 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DedicatedVmHostShapeSummary The shape used to launch the dedicated virtual machine (VM) host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_summary.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_summary.go index f8a783f02..7d269a453 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dedicated_vm_host_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dedicated_vm_host_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DedicatedVmHostSummary A dedicated virtual machine (VM) host that enables you to host multiple instances on a dedicated host instance that is not shared with other tenancies. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_app_catalog_subscription_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_app_catalog_subscription_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_app_catalog_subscription_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_app_catalog_subscription_request_response.go index 541f91a4a..06a836f8c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_app_catalog_subscription_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_app_catalog_subscription_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteAppCatalogSubscriptionRequest wrapper for the DeleteAppCatalogSubscription operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscriptionRequest. type DeleteAppCatalogSubscriptionRequest struct { // The OCID of the listing. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_backup_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_backup_request_response.go index 2526dbabf..0537f45bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_backup_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteBootVolumeBackupRequest wrapper for the DeleteBootVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackupRequest. type DeleteBootVolumeBackupRequest struct { // The OCID of the boot volume backup. BootVolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeBackupId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_kms_key_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_kms_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_kms_key_request_response.go index 9a9ce9652..1d36e2527 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_kms_key_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteBootVolumeKmsKeyRequest wrapper for the DeleteBootVolumeKmsKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKeyRequest. type DeleteBootVolumeKmsKeyRequest struct { // The OCID of the boot volume. BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_request_response.go index 86fa797c1..f3c3ed05f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_boot_volume_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteBootVolumeRequest wrapper for the DeleteBootVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolumeRequest. type DeleteBootVolumeRequest struct { // The OCID of the boot volume. BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_byoip_range_request_response.go new file mode 100644 index 000000000..22a456987 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_byoip_range_request_response.go @@ -0,0 +1,72 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// DeleteByoipRangeRequest wrapper for the DeleteByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRangeRequest. +type DeleteByoipRangeRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // 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 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// DeleteByoipRangeResponse wrapper for the DeleteByoipRange operation +type DeleteByoipRangeResponse 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"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response DeleteByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_compute_image_capability_schema_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_compute_image_capability_schema_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_compute_image_capability_schema_request_response.go index 057ee7d5b..1955b2d1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_compute_image_capability_schema_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteComputeImageCapabilitySchemaRequest wrapper for the DeleteComputeImageCapabilitySchema operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchemaRequest. type DeleteComputeImageCapabilitySchemaRequest struct { // The id of the compute image capability schema or the image ocid ComputeImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeImageCapabilitySchemaId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_console_history_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_console_history_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_console_history_request_response.go index fba488484..c7bf8a83b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_console_history_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteConsoleHistoryRequest wrapper for the DeleteConsoleHistory operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistoryRequest. type DeleteConsoleHistoryRequest struct { // The OCID of the console history. InstanceConsoleHistoryId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleHistoryId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cpe_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_cpe_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cpe_request_response.go index 4ac71e580..1a346a03b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cpe_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteCpeRequest wrapper for the DeleteCpe operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpeRequest. type DeleteCpeRequest struct { // The OCID of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cross_connect_group_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_cross_connect_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cross_connect_group_request_response.go index 5304df54f..54bc62906 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cross_connect_group_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteCrossConnectGroupRequest wrapper for the DeleteCrossConnectGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroupRequest. type DeleteCrossConnectGroupRequest struct { // The OCID of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cross_connect_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_cross_connect_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cross_connect_request_response.go index 9d9d3c909..7d63d544d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_cross_connect_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteCrossConnectRequest wrapper for the DeleteCrossConnect operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnectRequest. type DeleteCrossConnectRequest struct { // The OCID of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_dedicated_vm_host_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_dedicated_vm_host_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_dedicated_vm_host_request_response.go index 2d675f955..542ac015d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_dedicated_vm_host_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteDedicatedVmHostRequest wrapper for the DeleteDedicatedVmHost operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHostRequest. type DeleteDedicatedVmHostRequest struct { // The OCID of the dedicated VM host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_dhcp_options_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_dhcp_options_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_dhcp_options_request_response.go index 50305ed78..0808ca2d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_dhcp_options_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteDhcpOptionsRequest wrapper for the DeleteDhcpOptions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptionsRequest. type DeleteDhcpOptionsRequest struct { // The OCID for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_drg_attachment_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_drg_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_drg_attachment_request_response.go index 57adf5ce2..e2121c406 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_drg_attachment_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteDrgAttachmentRequest wrapper for the DeleteDrgAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachmentRequest. type DeleteDrgAttachmentRequest struct { // The OCID of the DRG attachment. DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_drg_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_drg_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_drg_request_response.go index df5cdbffd..c307e8e26 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_drg_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteDrgRequest wrapper for the DeleteDrg operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrgRequest. type DeleteDrgRequest struct { // The OCID of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_i_p_sec_connection_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_i_p_sec_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_i_p_sec_connection_request_response.go index 17273f49e..2d0d0141a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_i_p_sec_connection_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteIPSecConnectionRequest wrapper for the DeleteIPSecConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnectionRequest. type DeleteIPSecConnectionRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_image_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_image_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_image_request_response.go index ec37af25d..0ea3a13b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_image_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteImageRequest wrapper for the DeleteImage operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImageRequest. type DeleteImageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_instance_configuration_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_instance_configuration_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_instance_configuration_request_response.go index f89c70f06..e6e630375 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_instance_configuration_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteInstanceConfigurationRequest wrapper for the DeleteInstanceConfiguration operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfigurationRequest. type DeleteInstanceConfigurationRequest struct { // The OCID of the instance configuration. InstanceConfigurationId *string `mandatory:"true" contributesTo:"path" name:"instanceConfigurationId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_instance_console_connection_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_instance_console_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_instance_console_connection_request_response.go index 07a002e76..51446149e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_instance_console_connection_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteInstanceConsoleConnectionRequest wrapper for the DeleteInstanceConsoleConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnectionRequest. type DeleteInstanceConsoleConnectionRequest struct { // The OCID of the instance console connection. InstanceConsoleConnectionId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleConnectionId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_internet_gateway_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_internet_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_internet_gateway_request_response.go index 37dbf0042..37727dfd3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_internet_gateway_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteInternetGatewayRequest wrapper for the DeleteInternetGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGatewayRequest. type DeleteInternetGatewayRequest struct { // The OCID of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_ipv6_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_ipv6_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_ipv6_request_response.go index 0466003f0..78b902a2b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_ipv6_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteIpv6Request wrapper for the DeleteIpv6 operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6Request. type DeleteIpv6Request struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_local_peering_gateway_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_local_peering_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_local_peering_gateway_request_response.go index b5f7eb835..bdbc9c83d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_local_peering_gateway_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteLocalPeeringGatewayRequest wrapper for the DeleteLocalPeeringGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGatewayRequest. type DeleteLocalPeeringGatewayRequest struct { // The OCID of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_nat_gateway_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_nat_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_nat_gateway_request_response.go index 498b2e181..d5e35c38b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_nat_gateway_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteNatGatewayRequest wrapper for the DeleteNatGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGatewayRequest. type DeleteNatGatewayRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_network_security_group_request_response.go similarity index 84% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_network_security_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_network_security_group_request_response.go index 4e2aae6a6..f14d5a370 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_network_security_group_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteNetworkSecurityGroupRequest wrapper for the DeleteNetworkSecurityGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroupRequest. type DeleteNetworkSecurityGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_private_ip_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_private_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_private_ip_request_response.go index 43c917e80..d92ca21f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_private_ip_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeletePrivateIpRequest wrapper for the DeletePrivateIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIpRequest. type DeletePrivateIpRequest struct { // The OCID of the private IP. PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_public_ip_pool_request_response.go new file mode 100644 index 000000000..32fd1692b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_public_ip_pool_request_response.go @@ -0,0 +1,68 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// DeletePublicIpPoolRequest wrapper for the DeletePublicIpPool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPoolRequest. +type DeletePublicIpPoolRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` + + // 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 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeletePublicIpPoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeletePublicIpPoolRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeletePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// DeletePublicIpPoolResponse wrapper for the DeletePublicIpPool operation +type DeletePublicIpPoolResponse 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"` +} + +func (response DeletePublicIpPoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeletePublicIpPoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_public_ip_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_public_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_public_ip_request_response.go index afd278b68..eed416051 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_public_ip_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeletePublicIpRequest wrapper for the DeletePublicIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIpRequest. type DeletePublicIpRequest struct { // The OCID of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_remote_peering_connection_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_remote_peering_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_remote_peering_connection_request_response.go index 949dbc1d4..4455f5bb9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_remote_peering_connection_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteRemotePeeringConnectionRequest wrapper for the DeleteRemotePeeringConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnectionRequest. type DeleteRemotePeeringConnectionRequest struct { // The OCID of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_route_table_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_route_table_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_route_table_request_response.go index 3b031fcff..472b0b8ef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_route_table_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteRouteTableRequest wrapper for the DeleteRouteTable operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTableRequest. type DeleteRouteTableRequest struct { // The OCID of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_security_list_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_security_list_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_security_list_request_response.go index 8f21213d1..700ad7620 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_security_list_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteSecurityListRequest wrapper for the DeleteSecurityList operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityListRequest. type DeleteSecurityListRequest struct { // The OCID of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_service_gateway_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_service_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_service_gateway_request_response.go index 0e54d0f86..f72437911 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_service_gateway_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteServiceGatewayRequest wrapper for the DeleteServiceGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGatewayRequest. type DeleteServiceGatewayRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_subnet_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_subnet_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_subnet_request_response.go index 97d8fab5b..7e028491e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_subnet_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteSubnetRequest wrapper for the DeleteSubnet operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnetRequest. type DeleteSubnetRequest struct { // The OCID of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_vcn_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_vcn_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_vcn_request_response.go index 2fd9df9db..469cd7f18 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_vcn_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVcnRequest wrapper for the DeleteVcn operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcnRequest. type DeleteVcnRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_virtual_circuit_public_prefix_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_virtual_circuit_public_prefix_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_virtual_circuit_public_prefix_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_virtual_circuit_public_prefix_details.go index 8df10dcab..fd4a571e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_virtual_circuit_public_prefix_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_virtual_circuit_public_prefix_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DeleteVirtualCircuitPublicPrefixDetails The representation of DeleteVirtualCircuitPublicPrefixDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_virtual_circuit_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_virtual_circuit_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_virtual_circuit_request_response.go index e28650765..3cefc57f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_virtual_circuit_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVirtualCircuitRequest wrapper for the DeleteVirtualCircuit operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuitRequest. type DeleteVirtualCircuitRequest struct { // The OCID of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_vlan_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_vlan_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_vlan_request_response.go index e2be2deed..44fcb85e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_vlan_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVlanRequest wrapper for the DeleteVlan operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlanRequest. type DeleteVlanRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_policy_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_policy_assignment_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_policy_assignment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_policy_assignment_request_response.go index 3d454c6a5..bb158c749 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_policy_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_policy_assignment_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeBackupPolicyAssignmentRequest wrapper for the DeleteVolumeBackupPolicyAssignment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignmentRequest. type DeleteVolumeBackupPolicyAssignmentRequest struct { // The OCID of the volume backup policy assignment. PolicyAssignmentId *string `mandatory:"true" contributesTo:"path" name:"policyAssignmentId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_policy_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_policy_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_policy_request_response.go index 8b7c7d3a0..517e8d3e9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_policy_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeBackupPolicyRequest wrapper for the DeleteVolumeBackupPolicy operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicyRequest. type DeleteVolumeBackupPolicyRequest struct { // The OCID of the volume backup policy. @@ -20,7 +24,7 @@ type DeleteVolumeBackupPolicyRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_request_response.go index c1c3aabbe..6b831769f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_backup_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeBackupRequest wrapper for the DeleteVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackupRequest. type DeleteVolumeBackupRequest struct { // The OCID of the volume backup. VolumeBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeBackupId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_group_backup_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_group_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_group_backup_request_response.go index ca7898ba2..2a910e76f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_group_backup_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeGroupBackupRequest wrapper for the DeleteVolumeGroupBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackupRequest. type DeleteVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. VolumeGroupBackupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupBackupId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_group_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_group_request_response.go index 566bf07cd..28b1e81f2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_group_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeGroupRequest wrapper for the DeleteVolumeGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroupRequest. type DeleteVolumeGroupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. VolumeGroupId *string `mandatory:"true" contributesTo:"path" name:"volumeGroupId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_kms_key_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_kms_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_kms_key_request_response.go index e15f7ba88..8163755eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_kms_key_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeKmsKeyRequest wrapper for the DeleteVolumeKmsKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKeyRequest. type DeleteVolumeKmsKeyRequest struct { // The OCID of the volume. VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/delete_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_request_response.go index 7d0d6c3c2..1c8f3fb12 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/delete_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/delete_volume_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DeleteVolumeRequest wrapper for the DeleteVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolumeRequest. type DeleteVolumeRequest struct { // The OCID of the volume. VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/detach_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_boot_volume_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/detach_boot_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_boot_volume_request_response.go index 3ce27f42d..716dd90a8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/detach_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_boot_volume_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DetachBootVolumeRequest wrapper for the DetachBootVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolumeRequest. type DetachBootVolumeRequest struct { // The OCID of the boot volume attachment. BootVolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeAttachmentId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_instance_pool_instance_details.go similarity index 55% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_agent_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_instance_pool_instance_details.go index 56347e215..550196e13 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_agent_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_instance_pool_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,22 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// UpdateInstanceAgentConfigDetails Instance agent configuration options to choose for updating the instance -type UpdateInstanceAgentConfigDetails struct { +// DetachInstancePoolInstanceDetails Detach an instance from the pool. +type DetachInstancePoolInstanceDetails struct { - // Whether the agent running on the instance can gather performance metrics and monitor the instance. - IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + // The instance ocid to detach. + InstanceId *string `mandatory:"true" json:"instanceId"` - // Whether the agent running on the instance can run all the available management plugins - IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + // Decrement the size of the instance pool during detachment. + IsDecrementSize *bool `mandatory:"false" json:"isDecrementSize"` + + // Terminate the instance after it has been detached. + IsAutoTerminate *bool `mandatory:"false" json:"isAutoTerminate"` } -func (m UpdateInstanceAgentConfigDetails) String() string { +func (m DetachInstancePoolInstanceDetails) String() string { return common.PointerString(m) } diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_instance_pool_instance_request_response.go new file mode 100644 index 000000000..7cbf4ab5a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_instance_pool_instance_request_response.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// DetachInstancePoolInstanceRequest wrapper for the DetachInstancePoolInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstanceRequest. +type DetachInstancePoolInstanceRequest struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. + InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` + + // Instance being detached + DetachInstancePoolInstanceDetails `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 Oracle-assigned identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DetachInstancePoolInstanceRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DetachInstancePoolInstanceRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DetachInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// DetachInstancePoolInstanceResponse wrapper for the DetachInstancePoolInstance operation +type DetachInstancePoolInstanceResponse 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"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response DetachInstancePoolInstanceResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DetachInstancePoolInstanceResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/detach_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_load_balancer_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/detach_load_balancer_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_load_balancer_details.go index df34d47b7..dcac460bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/detach_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DetachLoadBalancerDetails Represents a load balancer that is to be detached from an instance pool. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/detach_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_load_balancer_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/detach_load_balancer_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_load_balancer_request_response.go index 5d458d27c..0b414f919 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/detach_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_load_balancer_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DetachLoadBalancerRequest wrapper for the DetachLoadBalancer operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancerRequest. type DetachLoadBalancerRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -26,7 +30,7 @@ type DetachLoadBalancerRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/detach_service_id_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_service_id_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/detach_service_id_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_service_id_request_response.go index aa2c3ff67..bcba9d7ca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/detach_service_id_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_service_id_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DetachServiceIdRequest wrapper for the DetachServiceId operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceIdRequest. type DetachServiceIdRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // ServiceId of Service to be detached from a service gateway. DetachServiceDetails ServiceIdRequestDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/detach_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_vnic_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/detach_vnic_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_vnic_request_response.go index 3fa7a9223..155099435 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/detach_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_vnic_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DetachVnicRequest wrapper for the DetachVnic operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnicRequest. type DetachVnicRequest struct { // The OCID of the VNIC attachment. VnicAttachmentId *string `mandatory:"true" contributesTo:"path" name:"vnicAttachmentId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/detach_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_volume_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/detach_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/detach_volume_request_response.go index 7113dd64a..046d412fc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/detach_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/detach_volume_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // DetachVolumeRequest wrapper for the DetachVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolumeRequest. type DetachVolumeRequest struct { // The OCID of the volume attachment. VolumeAttachmentId *string `mandatory:"true" contributesTo:"path" name:"volumeAttachmentId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/device.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/device.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/device.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/device.go index 340653071..71774b91c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/device.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/device.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Device Device Path corresponding to the block devices attached to instances having a name and isAvailable flag. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_dns_option.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_dns_option.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/dhcp_dns_option.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_dns_option.go index 0f4937b68..22e874963 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_dns_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_dns_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,12 +15,12 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). type DhcpDnsOption struct { // If you set `serverType` to `CustomDnsServer`, specify the @@ -37,7 +37,7 @@ type DhcpDnsOption struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_option.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_option.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/dhcp_option.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_option.go index a77171849..269741fb5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,14 +15,14 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/dns.htm) -// and DHCP Options (https://docs.cloud.oracle.com/Content/Network/Tasks/managingDHCP.htm). +// 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 DhcpOption interface { } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_options.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/dhcp_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_options.go index 61134deaf..8e56d0150 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DhcpOptions A set of DHCP options. Used by the VCN to automatically provide configuration @@ -24,13 +24,11 @@ import ( // 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/Content/Network/Concepts/dns.htm) -// and DHCP Options (https://docs.cloud.oracle.com/Content/Network/Tasks/managingDHCP.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type DhcpOptions struct { // The OCID of the compartment containing the set of DHCP options. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_search_domain_option.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_search_domain_option.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/dhcp_search_domain_option.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_search_domain_option.go index 5cd26819f..4f9b6c95d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/dhcp_search_domain_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/dhcp_search_domain_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,11 +15,11 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). type DhcpSearchDomainOption struct { // A single search domain name according to RFC 952 (https://tools.ietf.org/html/rfc952) diff --git a/vendor/github.com/oracle/oci-go-sdk/core/drg.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/drg.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/drg.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/drg.go index 4277792f1..da4a7e6a8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/drg.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/drg.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Drg A dynamic routing gateway (DRG), which is a virtual router that provides a path for private // network traffic between your VCN and your existing network. You use it with other Networking // Service components to create an IPSec VPN or a connection that uses // Oracle Cloud Infrastructure FastConnect. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Drg struct { // The OCID of the compartment containing the DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/drg_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/drg_attachment.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/drg_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/drg_attachment.go index 078fb5fbb..193a1c1d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/drg_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/drg_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,11 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DrgAttachment A link between a DRG and VCN. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). type DrgAttachment struct { // The OCID of the compartment containing the DRG attachment. @@ -42,15 +40,15 @@ type DrgAttachment struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID 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/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.htm) - RouteTableId *string `mandatory:"false" json:"routeTableId"` - // 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 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"` } func (m DrgAttachment) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/drg_redundancy_status.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/drg_redundancy_status.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/drg_redundancy_status.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/drg_redundancy_status.go index b74edca97..d7baa0903 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/drg_redundancy_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/drg_redundancy_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,11 +14,11 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // DrgRedundancyStatus The redundancy status of the DRG. For more information, see -// Redundancy Remedies (https://docs.cloud.oracle.com/Content/Network/Troubleshoot/drgredundancy.htm). +// Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). type DrgRedundancyStatus struct { // The OCID of the DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/egress_security_rule.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/egress_security_rule.go similarity index 75% rename from vendor/github.com/oracle/oci-go-sdk/core/egress_security_rule.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/egress_security_rule.go index 997da6464..da4db4eb4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/egress_security_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/egress_security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // EgressSecurityRule A rule for allowing outbound IP packets. @@ -25,7 +25,7 @@ type EgressSecurityRule struct { // 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -45,15 +45,6 @@ type EgressSecurityRule struct { // particular `Service` through a service gateway). DestinationType EgressSecurityRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` - // 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. IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"` // A stateless rule allows traffic in one direction. Remember to add a corresponding @@ -63,12 +54,8 @@ type EgressSecurityRule struct { // and a corresponding rule is not necessary for bidirectional traffic. IsStateless *bool `mandatory:"false" json:"isStateless"` - // 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. TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"` - // 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. UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"` // An optional description of your choice for the rule. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/emulated_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/emulated_volume_attachment.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/emulated_volume_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/emulated_volume_attachment.go index 429644f8a..50feaac05 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/emulated_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/emulated_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // EmulatedVolumeAttachment An Emulated volume attachment. @@ -52,7 +52,10 @@ type EmulatedVolumeAttachment struct { // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` - // Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. + // Whether the attachment should be created in shareable mode. If an attachment + // is created in shareable mode, then other instances can attach the same volume, provided + // that they also create their attachments in shareable mode. Only certain volume types can + // be attached in shareable mode. Defaults to false if not specified. IsShareable *bool `mandatory:"false" json:"isShareable"` // Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_agent_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/encryption_domain_config.go similarity index 57% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_agent_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/encryption_domain_config.go index 3e9b28e6e..6ea726811 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_agent_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/encryption_domain_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,19 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// InstanceAgentConfig Instance agent configuration on the instance -type InstanceAgentConfig struct { +// EncryptionDomainConfig Configuration information used by the encryption domain policy. +type EncryptionDomainConfig struct { - // Whether the agent running on the instance can gather performance metrics and monitor the instance. - IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + // Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + OracleTrafficSelector []string `mandatory:"false" json:"oracleTrafficSelector"` - // Whether the agent running on the instance can run all the available management plugins. - IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + // Lists IPv4 or IPv6-enabled subnets in your on-premises network. + CpeTrafficSelector []string `mandatory:"false" json:"cpeTrafficSelector"` } -func (m InstanceAgentConfig) String() string { +func (m EncryptionDomainConfig) String() string { return common.PointerString(m) } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/enum_integer_image_capability_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/enum_integer_image_capability_descriptor.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/enum_integer_image_capability_descriptor.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/enum_integer_image_capability_descriptor.go index 401de3902..39736847f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/enum_integer_image_capability_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/enum_integer_image_capability_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // EnumIntegerImageCapabilityDescriptor Enum Integer type CapabilityDescriptor diff --git a/vendor/github.com/oracle/oci-go-sdk/core/enum_string_image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/enum_string_image_capability_schema_descriptor.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/enum_string_image_capability_schema_descriptor.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/enum_string_image_capability_schema_descriptor.go index 6e69a0db9..4481aab1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/enum_string_image_capability_schema_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/enum_string_image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // EnumStringImageCapabilitySchemaDescriptor Enum String type of ImageCapabilitySchemaDescriptor diff --git a/vendor/github.com/oracle/oci-go-sdk/core/export_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_details.go similarity index 54% rename from vendor/github.com/oracle/oci-go-sdk/core/export_image_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_details.go index 8391ceed8..937647649 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/export_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ExportImageDetails The destination details for the image export. @@ -26,11 +26,15 @@ import ( // use ExportImageViaObjectStorageUriDetails // when specifying the Object Storage URL. type ExportImageDetails interface { + + // The format of the image to be exported. The default value is "OCI". + GetExportFormat() ExportImageDetailsExportFormatEnum } type exportimagedetails struct { JsonData []byte - DestinationType string `json:"destinationType"` + ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"` + DestinationType string `json:"destinationType"` } // UnmarshalJSON unmarshals json @@ -44,6 +48,7 @@ func (m *exportimagedetails) UnmarshalJSON(data []byte) error { if err != nil { return err } + m.ExportFormat = s.Model.ExportFormat m.DestinationType = s.Model.DestinationType return err @@ -71,6 +76,40 @@ func (m *exportimagedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, } } +//GetExportFormat returns ExportFormat +func (m exportimagedetails) GetExportFormat() ExportImageDetailsExportFormatEnum { + return m.ExportFormat +} + func (m exportimagedetails) String() string { return common.PointerString(m) } + +// ExportImageDetailsExportFormatEnum Enum with underlying type: string +type ExportImageDetailsExportFormatEnum string + +// Set of constants representing the allowable values for ExportImageDetailsExportFormatEnum +const ( + ExportImageDetailsExportFormatQcow2 ExportImageDetailsExportFormatEnum = "QCOW2" + ExportImageDetailsExportFormatVmdk ExportImageDetailsExportFormatEnum = "VMDK" + ExportImageDetailsExportFormatOci ExportImageDetailsExportFormatEnum = "OCI" + ExportImageDetailsExportFormatVhd ExportImageDetailsExportFormatEnum = "VHD" + ExportImageDetailsExportFormatVdi ExportImageDetailsExportFormatEnum = "VDI" +) + +var mappingExportImageDetailsExportFormat = map[string]ExportImageDetailsExportFormatEnum{ + "QCOW2": ExportImageDetailsExportFormatQcow2, + "VMDK": ExportImageDetailsExportFormatVmdk, + "OCI": ExportImageDetailsExportFormatOci, + "VHD": ExportImageDetailsExportFormatVhd, + "VDI": ExportImageDetailsExportFormatVdi, +} + +// GetExportImageDetailsExportFormatEnumValues Enumerates the set of values for ExportImageDetailsExportFormatEnum +func GetExportImageDetailsExportFormatEnumValues() []ExportImageDetailsExportFormatEnum { + values := make([]ExportImageDetailsExportFormatEnum, 0) + for _, v := range mappingExportImageDetailsExportFormat { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/export_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/export_image_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_request_response.go index 609ac3470..7979ca2b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/export_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ExportImageRequest wrapper for the ExportImage operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImageRequest. type ExportImageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. @@ -26,7 +30,7 @@ type ExportImageRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/export_image_via_object_storage_tuple_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_via_object_storage_tuple_details.go similarity index 80% rename from vendor/github.com/oracle/oci-go-sdk/core/export_image_via_object_storage_tuple_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_via_object_storage_tuple_details.go index 0cbff3e18..91ca33327 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/export_image_via_object_storage_tuple_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_via_object_storage_tuple_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ExportImageViaObjectStorageTupleDetails The representation of ExportImageViaObjectStorageTupleDetails @@ -29,6 +29,14 @@ type ExportImageViaObjectStorageTupleDetails struct { // The Object Storage object name for the exported image. ObjectName *string `mandatory:"true" json:"objectName"` + + // The format of the image to be exported. The default value is "OCI". + ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"` +} + +//GetExportFormat returns ExportFormat +func (m ExportImageViaObjectStorageTupleDetails) GetExportFormat() ExportImageDetailsExportFormatEnum { + return m.ExportFormat } func (m ExportImageViaObjectStorageTupleDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/export_image_via_object_storage_uri_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_via_object_storage_uri_details.go similarity index 69% rename from vendor/github.com/oracle/oci-go-sdk/core/export_image_via_object_storage_uri_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_via_object_storage_uri_details.go index 901cb275d..ff90f6e7b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/export_image_via_object_storage_uri_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/export_image_via_object_storage_uri_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,15 +15,25 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ExportImageViaObjectStorageUriDetails The representation of ExportImageViaObjectStorageUriDetails type ExportImageViaObjectStorageUriDetails struct { - // The Object Storage URL to export the image to. 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) for constructing URLs for image import/export. + // The Object Storage URL to export the image to. 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) + // for constructing URLs for image import/export. DestinationUri *string `mandatory:"true" json:"destinationUri"` + + // The format of the image to be exported. The default value is "OCI". + ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"` +} + +//GetExportFormat returns ExportFormat +func (m ExportImageViaObjectStorageUriDetails) GetExportFormat() ExportImageDetailsExportFormatEnum { + return m.ExportFormat } func (m ExportImageViaObjectStorageUriDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/fast_connect_provider_service.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/fast_connect_provider_service.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/core/fast_connect_provider_service.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/fast_connect_provider_service.go index e8ae506aa..123d4c505 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/fast_connect_provider_service.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/fast_connect_provider_service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,11 +14,11 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // FastConnectProviderService A service offering from a supported provider. For more information, -// see FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). +// see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). type FastConnectProviderService struct { // The OCID of the service offered by the provider. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/fast_connect_provider_service_key.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/fast_connect_provider_service_key.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/fast_connect_provider_service_key.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/fast_connect_provider_service_key.go index 89590305d..ff2d6f966 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/fast_connect_provider_service_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/fast_connect_provider_service_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // FastConnectProviderServiceKey A provider service key and its details. A provider service key is an identifier for a provider's @@ -27,7 +27,7 @@ type FastConnectProviderServiceKey struct { // GetFastConnectProviderServiceKey. Name *string `mandatory:"true" json:"name"` - // The provisioned data rate of the connection. To get a list of the + // The provisioned data rate of the connection. To get a list of the // available bandwidth levels (that is, shapes), see // ListFastConnectProviderVirtualCircuitBandwidthShapes. // Example: `10 Gbps` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_agreements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_agreements_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_agreements_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_agreements_request_response.go index ae8ab8588..411652061 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_agreements_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_agreements_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetAppCatalogListingAgreementsRequest wrapper for the GetAppCatalogListingAgreements operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreementsRequest. type GetAppCatalogListingAgreementsRequest struct { // The OCID of the listing. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_request_response.go index ae8b502ed..df5ad8323 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetAppCatalogListingRequest wrapper for the GetAppCatalogListing operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListingRequest. type GetAppCatalogListingRequest struct { // The OCID of the listing. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_resource_version_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_resource_version_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_resource_version_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_resource_version_request_response.go index a963ec0a7..797243a76 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_app_catalog_listing_resource_version_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_app_catalog_listing_resource_version_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetAppCatalogListingResourceVersionRequest wrapper for the GetAppCatalogListingResourceVersion operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersionRequest. type GetAppCatalogListingResourceVersionRequest struct { // The OCID of the listing. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_attachment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_attachment_request_response.go index 5dfec3ea3..47aef4b9e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetBootVolumeAttachmentRequest wrapper for the GetBootVolumeAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachmentRequest. type GetBootVolumeAttachmentRequest struct { // The OCID of the boot volume attachment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_backup_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_backup_request_response.go index ec5e7de12..8074f8320 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetBootVolumeBackupRequest wrapper for the GetBootVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackupRequest. type GetBootVolumeBackupRequest struct { // The OCID of the boot volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_kms_key_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_kms_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_kms_key_request_response.go index fbdf3c727..bf8535723 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_kms_key_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetBootVolumeKmsKeyRequest wrapper for the GetBootVolumeKmsKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKeyRequest. type GetBootVolumeKmsKeyRequest struct { // The OCID of the boot volume. BootVolumeId *string `mandatory:"true" contributesTo:"path" name:"bootVolumeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_request_response.go index 09a36a295..3c7c2df88 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_boot_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetBootVolumeRequest wrapper for the GetBootVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolumeRequest. type GetBootVolumeRequest struct { // The OCID of the boot volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/get_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_byoip_range_request_response.go new file mode 100644 index 000000000..fda02dd99 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_byoip_range_request_response.go @@ -0,0 +1,69 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// GetByoipRangeRequest wrapper for the GetByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRangeRequest. +type GetByoipRangeRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// GetByoipRangeResponse wrapper for the GetByoipRange operation +type GetByoipRangeResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ByoipRange instance + ByoipRange `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cluster_network_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cluster_network_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cluster_network_request_response.go index d9c08e2f9..cf4e2095d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cluster_network_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetClusterNetworkRequest wrapper for the GetClusterNetwork operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetworkRequest. type GetClusterNetworkRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_compute_global_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_global_image_capability_schema_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_compute_global_image_capability_schema_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_global_image_capability_schema_request_response.go index 992840a24..d85c3ba44 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_compute_global_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_global_image_capability_schema_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetComputeGlobalImageCapabilitySchemaRequest wrapper for the GetComputeGlobalImageCapabilitySchema operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaRequest. type GetComputeGlobalImageCapabilitySchemaRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compute global image capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_compute_global_image_capability_schema_version_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_global_image_capability_schema_version_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_compute_global_image_capability_schema_version_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_global_image_capability_schema_version_request_response.go index d5082d257..b0c9146d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_compute_global_image_capability_schema_version_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_global_image_capability_schema_version_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetComputeGlobalImageCapabilitySchemaVersionRequest wrapper for the GetComputeGlobalImageCapabilitySchemaVersion operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersionRequest. type GetComputeGlobalImageCapabilitySchemaVersionRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compute global image capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_image_capability_schema_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_compute_image_capability_schema_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_image_capability_schema_request_response.go index a3820d4d6..9804d1026 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_compute_image_capability_schema_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetComputeImageCapabilitySchemaRequest wrapper for the GetComputeImageCapabilitySchema operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchemaRequest. type GetComputeImageCapabilitySchemaRequest struct { // The id of the compute image capability schema or the image ocid diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_console_history_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_console_history_content_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/get_console_history_content_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_console_history_content_request_response.go index 4a79cf634..71ac320cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_console_history_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_console_history_content_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetConsoleHistoryContentRequest wrapper for the GetConsoleHistoryContent operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContentRequest. type GetConsoleHistoryContentRequest struct { // The OCID of the console history. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_console_history_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_console_history_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_console_history_request_response.go index 40df0dab9..969c74e27 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_console_history_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetConsoleHistoryRequest wrapper for the GetConsoleHistory operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistoryRequest. type GetConsoleHistoryRequest struct { // The OCID of the console history. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cpe_device_config_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_device_config_content_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cpe_device_config_content_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_device_config_content_request_response.go index aa63f1d04..945f40f1f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cpe_device_config_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_device_config_content_request_response.go @@ -1,16 +1,20 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "io" "net/http" ) // GetCpeDeviceConfigContentRequest wrapper for the GetCpeDeviceConfigContent operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContentRequest. type GetCpeDeviceConfigContentRequest struct { // The OCID of the CPE. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cpe_device_shape_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_device_shape_request_response.go similarity index 84% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cpe_device_shape_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_device_shape_request_response.go index 3ebe8d681..84d8906c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cpe_device_shape_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_device_shape_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetCpeDeviceShapeRequest wrapper for the GetCpeDeviceShape operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShapeRequest. type GetCpeDeviceShapeRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE device shape. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. CpeDeviceShapeId *string `mandatory:"true" contributesTo:"path" name:"cpeDeviceShapeId"` // Unique identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cpe_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_request_response.go index 96cc60df8..418942b58 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cpe_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetCpeRequest wrapper for the GetCpe operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpeRequest. type GetCpeRequest struct { // The OCID of the CPE. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_group_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_group_request_response.go index 34799f4af..f8252789a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetCrossConnectGroupRequest wrapper for the GetCrossConnectGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroupRequest. type GetCrossConnectGroupRequest struct { // The OCID of the cross-connect group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_letter_of_authority_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_letter_of_authority_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_letter_of_authority_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_letter_of_authority_request_response.go index 988bd1fe6..cec55c1d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_letter_of_authority_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_letter_of_authority_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetCrossConnectLetterOfAuthorityRequest wrapper for the GetCrossConnectLetterOfAuthority operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthorityRequest. type GetCrossConnectLetterOfAuthorityRequest struct { // The OCID of the cross-connect. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_request_response.go index 3a7db32f1..49336ddac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetCrossConnectRequest wrapper for the GetCrossConnect operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnectRequest. type GetCrossConnectRequest struct { // The OCID of the cross-connect. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_status_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_status_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_status_request_response.go index e09d45223..44ed593c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_cross_connect_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_cross_connect_status_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetCrossConnectStatusRequest wrapper for the GetCrossConnectStatus operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatusRequest. type GetCrossConnectStatusRequest struct { // The OCID of the cross-connect. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_dedicated_vm_host_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_dedicated_vm_host_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_dedicated_vm_host_request_response.go index 0e8019bba..30c24105b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_dedicated_vm_host_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetDedicatedVmHostRequest wrapper for the GetDedicatedVmHost operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHostRequest. type GetDedicatedVmHostRequest struct { // The OCID of the dedicated VM host. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_dhcp_options_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_dhcp_options_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_dhcp_options_request_response.go index 4ee5d0b59..577cf23b9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_dhcp_options_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetDhcpOptionsRequest wrapper for the GetDhcpOptions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptionsRequest. type GetDhcpOptionsRequest struct { // The OCID for the set of DHCP options. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_attachment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_drg_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_attachment_request_response.go index 5e8056f84..5b80f13b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetDrgAttachmentRequest wrapper for the GetDrgAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachmentRequest. type GetDrgAttachmentRequest struct { // The OCID of the DRG attachment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_drg_redundancy_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_redundancy_status_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_drg_redundancy_status_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_redundancy_status_request_response.go index 79834f76c..11819b185 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_drg_redundancy_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_redundancy_status_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetDrgRedundancyStatusRequest wrapper for the GetDrgRedundancyStatus operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatusRequest. type GetDrgRedundancyStatusRequest struct { // The OCID of the DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_drg_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_request_response.go index 820cefcd9..a0da37139 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_drg_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetDrgRequest wrapper for the GetDrg operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrgRequest. type GetDrgRequest struct { // The OCID of the DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_fast_connect_provider_service_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_fast_connect_provider_service_key_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/get_fast_connect_provider_service_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_fast_connect_provider_service_key_request_response.go index 00542af84..554deb088 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_fast_connect_provider_service_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_fast_connect_provider_service_key_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetFastConnectProviderServiceKeyRequest wrapper for the GetFastConnectProviderServiceKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKeyRequest. type GetFastConnectProviderServiceKeyRequest struct { // The OCID of the provider service. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_fast_connect_provider_service_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_fast_connect_provider_service_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_fast_connect_provider_service_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_fast_connect_provider_service_request_response.go index 9ffe9d531..35d3eeb9c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_fast_connect_provider_service_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_fast_connect_provider_service_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetFastConnectProviderServiceRequest wrapper for the GetFastConnectProviderService operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderServiceRequest. type GetFastConnectProviderServiceRequest struct { // The OCID of the provider service. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_device_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_device_config_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_device_config_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_device_config_request_response.go index 1fb668912..e81a914ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_device_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_device_config_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetIPSecConnectionDeviceConfigRequest wrapper for the GetIPSecConnectionDeviceConfig operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfigRequest. type GetIPSecConnectionDeviceConfigRequest struct { // The OCID of the IPSec connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_device_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_device_status_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_device_status_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_device_status_request_response.go index 9d7546cc8..2a6df6165 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_device_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_device_status_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetIPSecConnectionDeviceStatusRequest wrapper for the GetIPSecConnectionDeviceStatus operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatusRequest. type GetIPSecConnectionDeviceStatusRequest struct { // The OCID of the IPSec connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_request_response.go index aa2060997..4dbe91629 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetIPSecConnectionRequest wrapper for the GetIPSecConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnectionRequest. type GetIPSecConnectionRequest struct { // The OCID of the IPSec connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_tunnel_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_tunnel_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_tunnel_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_tunnel_request_response.go index 3f0d70f24..bba9ec375 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_tunnel_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_tunnel_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetIPSecConnectionTunnelRequest wrapper for the GetIPSecConnectionTunnel operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnelRequest. type GetIPSecConnectionTunnelRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go index 6d763e8ec..c4248727c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetIPSecConnectionTunnelSharedSecretRequest wrapper for the GetIPSecConnectionTunnelSharedSecret operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecretRequest. type GetIPSecConnectionTunnelSharedSecretRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_image_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_image_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_image_request_response.go index f5859a2ed..939a55e6c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_image_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetImageRequest wrapper for the GetImage operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImageRequest. type GetImageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_image_shape_compatibility_entry_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_image_shape_compatibility_entry_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_image_shape_compatibility_entry_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_image_shape_compatibility_entry_request_response.go index a020c7bc5..f062d4420 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_image_shape_compatibility_entry_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_image_shape_compatibility_entry_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetImageShapeCompatibilityEntryRequest wrapper for the GetImageShapeCompatibilityEntry operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntryRequest. type GetImageShapeCompatibilityEntryRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_configuration_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_instance_configuration_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_configuration_request_response.go index 98b263ba2..10f594eeb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_configuration_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetInstanceConfigurationRequest wrapper for the GetInstanceConfiguration operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfigurationRequest. type GetInstanceConfigurationRequest struct { // The OCID of the instance configuration. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_console_connection_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_instance_console_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_console_connection_request_response.go index ef425dba0..718afdf7e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_console_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetInstanceConsoleConnectionRequest wrapper for the GetInstanceConsoleConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnectionRequest. type GetInstanceConsoleConnectionRequest struct { // The OCID of the instance console connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_instance_request_response.go new file mode 100644 index 000000000..b8e2fd786 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_instance_request_response.go @@ -0,0 +1,72 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// GetInstancePoolInstanceRequest wrapper for the GetInstancePoolInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstanceRequest. +type GetInstancePoolInstanceRequest struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. + InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` + + // The OCID of the instance. + InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` + + // Unique Oracle-assigned identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetInstancePoolInstanceRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetInstancePoolInstanceRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// GetInstancePoolInstanceResponse wrapper for the GetInstancePoolInstance operation +type GetInstancePoolInstanceResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The InstancePoolInstance instance + InstancePoolInstance `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetInstancePoolInstanceResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetInstancePoolInstanceResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_pool_load_balancer_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_load_balancer_attachment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_instance_pool_load_balancer_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_load_balancer_attachment_request_response.go index c9ed8fa16..92b74c136 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_pool_load_balancer_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_load_balancer_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetInstancePoolLoadBalancerAttachmentRequest wrapper for the GetInstancePoolLoadBalancerAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachmentRequest. type GetInstancePoolLoadBalancerAttachmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_request_response.go index 770abcf98..d7afec480 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetInstancePoolRequest wrapper for the GetInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePoolRequest. type GetInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_instance_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_request_response.go index d6f392a09..3fbcdcc68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_instance_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetInstanceRequest wrapper for the GetInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstanceRequest. type GetInstanceRequest struct { // The OCID of the instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_internet_gateway_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_internet_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_internet_gateway_request_response.go index 56bfc8b12..67734b5cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_internet_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetInternetGatewayRequest wrapper for the GetInternetGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGatewayRequest. type GetInternetGatewayRequest struct { // The OCID of the internet gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_ipsec_cpe_device_config_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_ipsec_cpe_device_config_content_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_ipsec_cpe_device_config_content_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_ipsec_cpe_device_config_content_request_response.go index c709cd229..f757b2ef1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_ipsec_cpe_device_config_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_ipsec_cpe_device_config_content_request_response.go @@ -1,16 +1,20 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "io" "net/http" ) // GetIpsecCpeDeviceConfigContentRequest wrapper for the GetIpsecCpeDeviceConfigContent operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContentRequest. type GetIpsecCpeDeviceConfigContentRequest struct { // The OCID of the IPSec connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_ipv6_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_ipv6_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_ipv6_request_response.go index 720f53250..3c0c54d38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_ipv6_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetIpv6Request wrapper for the GetIpv6 operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6Request. type GetIpv6Request struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` // Unique identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_local_peering_gateway_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_local_peering_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_local_peering_gateway_request_response.go index 30aa1f9e2..fbf2986ef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_local_peering_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetLocalPeeringGatewayRequest wrapper for the GetLocalPeeringGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGatewayRequest. type GetLocalPeeringGatewayRequest struct { // The OCID of the local peering gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_nat_gateway_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_nat_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_nat_gateway_request_response.go index 15721c644..b7d86d8f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_nat_gateway_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetNatGatewayRequest wrapper for the GetNatGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGatewayRequest. type GetNatGatewayRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_network_security_group_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_network_security_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_network_security_group_request_response.go index 9687822bb..76f9bb41d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_network_security_group_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetNetworkSecurityGroupRequest wrapper for the GetNetworkSecurityGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroupRequest. type GetNetworkSecurityGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_private_ip_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_private_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_private_ip_request_response.go index 156cb7f3e..f524405d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_private_ip_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetPrivateIpRequest wrapper for the GetPrivateIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIpRequest. type GetPrivateIpRequest struct { // The OCID of the private IP. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_ip_address_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_ip_address_details.go index 7deda5d2d..47b80b97b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_ip_address_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // GetPublicIpByIpAddressDetails IP address of the public IP. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_ip_address_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_ip_address_request_response.go index de7daeed9..a742f34a5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_ip_address_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetPublicIpByIpAddressRequest wrapper for the GetPublicIpByIpAddress operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddressRequest. type GetPublicIpByIpAddressRequest struct { // IP address details for fetching the public IP. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_private_ip_id_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_private_ip_id_details.go index 79b8cc30b..77a5f4a25 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_private_ip_id_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // GetPublicIpByPrivateIpIdDetails Details of the private IP that the public IP is assigned to. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_private_ip_id_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_private_ip_id_request_response.go index b20db8484..1f8ee94f2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_by_private_ip_id_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetPublicIpByPrivateIpIdRequest wrapper for the GetPublicIpByPrivateIpId operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpIdRequest. type GetPublicIpByPrivateIpIdRequest struct { // Private IP details for fetching the public IP. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_pool_request_response.go new file mode 100644 index 000000000..fb7b3dc91 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_pool_request_response.go @@ -0,0 +1,69 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// GetPublicIpPoolRequest wrapper for the GetPublicIpPool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPoolRequest. +type GetPublicIpPoolRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetPublicIpPoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetPublicIpPoolRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetPublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// GetPublicIpPoolResponse wrapper for the GetPublicIpPool operation +type GetPublicIpPoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicIpPool instance + PublicIpPool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetPublicIpPoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetPublicIpPoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_request_response.go index 344aa1213..80c5fd066 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_public_ip_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetPublicIpRequest wrapper for the GetPublicIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIpRequest. type GetPublicIpRequest struct { // The OCID of the public IP. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_remote_peering_connection_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_remote_peering_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_remote_peering_connection_request_response.go index b31dc2052..f18529c51 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_remote_peering_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetRemotePeeringConnectionRequest wrapper for the GetRemotePeeringConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnectionRequest. type GetRemotePeeringConnectionRequest struct { // The OCID of the remote peering connection (RPC). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_route_table_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_route_table_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_route_table_request_response.go index eefb37df6..94157bf55 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_route_table_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetRouteTableRequest wrapper for the GetRouteTable operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTableRequest. type GetRouteTableRequest struct { // The OCID of the route table. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_security_list_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_security_list_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_security_list_request_response.go index 8a6764179..c1a9c8140 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_security_list_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetSecurityListRequest wrapper for the GetSecurityList operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityListRequest. type GetSecurityListRequest struct { // The OCID of the security list. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_service_gateway_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_service_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_service_gateway_request_response.go index a2149ae80..e4c634803 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_service_gateway_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetServiceGatewayRequest wrapper for the GetServiceGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGatewayRequest. type GetServiceGatewayRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_service_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_service_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_service_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_service_request_response.go index baeb51bdc..109a98bd4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_service_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_service_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetServiceRequest wrapper for the GetService operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetServiceRequest. type GetServiceRequest struct { - // The service's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceId *string `mandatory:"true" contributesTo:"path" name:"serviceId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_subnet_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_subnet_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_subnet_request_response.go index f7d6291aa..ea08f2354 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_subnet_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetSubnetRequest wrapper for the GetSubnet operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnetRequest. type GetSubnetRequest struct { // The OCID of the subnet. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_tunnel_cpe_device_config_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_tunnel_cpe_device_config_content_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_tunnel_cpe_device_config_content_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_tunnel_cpe_device_config_content_request_response.go index 51d5debce..f61c0b533 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_tunnel_cpe_device_config_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_tunnel_cpe_device_config_content_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "io" "net/http" ) // GetTunnelCpeDeviceConfigContentRequest wrapper for the GetTunnelCpeDeviceConfigContent operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContentRequest. type GetTunnelCpeDeviceConfigContentRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_tunnel_cpe_device_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_tunnel_cpe_device_config_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/get_tunnel_cpe_device_config_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_tunnel_cpe_device_config_request_response.go index 407d4173d..3422faa1a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_tunnel_cpe_device_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_tunnel_cpe_device_config_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetTunnelCpeDeviceConfigRequest wrapper for the GetTunnelCpeDeviceConfig operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfigRequest. type GetTunnelCpeDeviceConfigRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vcn_dns_resolver_association_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vcn_dns_resolver_association_request_response.go new file mode 100644 index 000000000..fb4c58411 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vcn_dns_resolver_association_request_response.go @@ -0,0 +1,69 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// GetVcnDnsResolverAssociationRequest wrapper for the GetVcnDnsResolverAssociation operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociationRequest. +type GetVcnDnsResolverAssociationRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetVcnDnsResolverAssociationRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetVcnDnsResolverAssociationRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetVcnDnsResolverAssociationRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// GetVcnDnsResolverAssociationResponse wrapper for the GetVcnDnsResolverAssociation operation +type GetVcnDnsResolverAssociationResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The VcnDnsResolverAssociation instance + VcnDnsResolverAssociation `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetVcnDnsResolverAssociationResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetVcnDnsResolverAssociationResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vcn_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_vcn_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_vcn_request_response.go index c6dabbc65..6b2f34a1a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vcn_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVcnRequest wrapper for the GetVcn operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcnRequest. type GetVcnRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_virtual_circuit_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_virtual_circuit_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_virtual_circuit_request_response.go index 96cf12cd2..311c56736 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_virtual_circuit_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVirtualCircuitRequest wrapper for the GetVirtualCircuit operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuitRequest. type GetVirtualCircuitRequest struct { // The OCID of the virtual circuit. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vlan_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/get_vlan_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_vlan_request_response.go index 44daf453f..8b2836db1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vlan_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVlanRequest wrapper for the GetVlan operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlanRequest. type GetVlanRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // Unique identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_vnic_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vnic_attachment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_vnic_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_vnic_attachment_request_response.go index 86879c331..d9d40ce01 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_vnic_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vnic_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVnicAttachmentRequest wrapper for the GetVnicAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachmentRequest. type GetVnicAttachmentRequest struct { // The OCID of the VNIC attachment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vnic_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_vnic_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_vnic_request_response.go index 01988863c..143613332 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_vnic_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVnicRequest wrapper for the GetVnic operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnicRequest. type GetVnicRequest struct { // The OCID of the VNIC. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_attachment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_attachment_request_response.go index e936fb54b..80539715b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeAttachmentRequest wrapper for the GetVolumeAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachmentRequest. type GetVolumeAttachmentRequest struct { // The OCID of the volume attachment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_asset_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_asset_assignment_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_asset_assignment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_asset_assignment_request_response.go index fc380132c..e68aa1d76 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_asset_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_asset_assignment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeBackupPolicyAssetAssignmentRequest wrapper for the GetVolumeBackupPolicyAssetAssignment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignmentRequest. type GetVolumeBackupPolicyAssetAssignmentRequest struct { // The OCID of an asset (e.g. a volume). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_assignment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_assignment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_assignment_request_response.go index 61282cc4b..cfbe336fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_assignment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeBackupPolicyAssignmentRequest wrapper for the GetVolumeBackupPolicyAssignment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignmentRequest. type GetVolumeBackupPolicyAssignmentRequest struct { // The OCID of the volume backup policy assignment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_request_response.go index 55ccbff0a..de702f838 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_policy_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeBackupPolicyRequest wrapper for the GetVolumeBackupPolicy operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicyRequest. type GetVolumeBackupPolicyRequest struct { // The OCID of the volume backup policy. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_request_response.go index a080af060..87b819879 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeBackupRequest wrapper for the GetVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackupRequest. type GetVolumeBackupRequest struct { // The OCID of the volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_group_backup_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_group_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_group_backup_request_response.go index 9069fa4e8..f13f87333 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_group_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeGroupBackupRequest wrapper for the GetVolumeGroupBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackupRequest. type GetVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_group_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_group_request_response.go index a39d9c03a..3c299c856 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeGroupRequest wrapper for the GetVolumeGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroupRequest. type GetVolumeGroupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_kms_key_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_kms_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_kms_key_request_response.go index 553c690f1..6fef5b4df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_kms_key_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeKmsKeyRequest wrapper for the GetVolumeKmsKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKeyRequest. type GetVolumeKmsKeyRequest struct { // The OCID of the volume. VolumeId *string `mandatory:"true" contributesTo:"path" name:"volumeId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/get_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_request_response.go index fecd511a5..077c90c01 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetVolumeRequest wrapper for the GetVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolumeRequest. type GetVolumeRequest struct { // The OCID of the volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/get_windows_instance_initial_credentials_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_windows_instance_initial_credentials_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/get_windows_instance_initial_credentials_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/get_windows_instance_initial_credentials_request_response.go index be4cba5a1..d51ae7dbd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/get_windows_instance_initial_credentials_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/get_windows_instance_initial_credentials_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // GetWindowsInstanceInitialCredentialsRequest wrapper for the GetWindowsInstanceInitialCredentials operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentialsRequest. type GetWindowsInstanceInitialCredentialsRequest struct { // The OCID of the instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/i_scsi_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/i_scsi_volume_attachment.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/i_scsi_volume_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/i_scsi_volume_attachment.go index 856075c57..ddd82c4bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/i_scsi_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/i_scsi_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IScsiVolumeAttachment An ISCSI volume attachment. @@ -45,7 +45,8 @@ type IScsiVolumeAttachment struct { // Example: `169.254.0.2` Ipv4 *string `mandatory:"true" json:"ipv4"` - // The target volume's iSCSI Qualified Name in the format defined by RFC 3720 (https://tools.ietf.org/html/rfc3720#page-32). + // The target volume's iSCSI Qualified Name in the format defined + // by RFC 3720 (https://tools.ietf.org/html/rfc3720#page-32). // Example: `iqn.2015-12.us.oracle.com:` Iqn *string `mandatory:"true" json:"iqn"` @@ -64,17 +65,22 @@ type IScsiVolumeAttachment struct { // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` - // Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. + // Whether the attachment should be created in shareable mode. If an attachment + // is created in shareable mode, then other instances can attach the same volume, provided + // that they also create their attachments in shareable mode. Only certain volume types can + // be attached in shareable mode. Defaults to false if not specified. IsShareable *bool `mandatory:"false" json:"isShareable"` // Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not. IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` - // The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name. + // The Challenge-Handshake-Authentication-Protocol (CHAP) secret + // valid for the associated CHAP user name. // (Also called the "CHAP password".) ChapSecret *string `mandatory:"false" json:"chapSecret"` - // The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See RFC 1994 (https://tools.ietf.org/html/rfc1994) for more on CHAP. + // The volume's system-generated Challenge-Handshake-Authentication-Protocol + // (CHAP) user name. See RFC 1994 (https://tools.ietf.org/html/rfc1994) for more on CHAP. // Example: `ocid1.volume.oc1.phx.` ChapUsername *string `mandatory:"false" json:"chapUsername"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/icmp_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/icmp_options.go similarity index 52% rename from vendor/github.com/oracle/oci-go-sdk/core/icmp_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/icmp_options.go index 723f92c8b..a9479feb2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/icmp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/icmp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,18 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// IcmpOptions Optional object to specify a particular ICMP type and code. If you specify ICMP as the protocol -// but do not provide 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. -// See ICMP Parameters (http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) -// for allowed values. To enable MTU negotiation for ingress internet traffic, 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. +// 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. type IcmpOptions struct { // The ICMP type. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/core/image.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image.go index 971e281a2..07d497847 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Image A boot disk image for launching an instance. For more information, see diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_capability_schema_descriptor.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/image_capability_schema_descriptor.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_capability_schema_descriptor.go index 7e2f797b3..ca2d5785f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_capability_schema_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageCapabilitySchemaDescriptor Image Capability Schema Descriptor is a type of capability for an image. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/image_memory_constraints.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_memory_constraints.go new file mode 100644 index 000000000..6dac61085 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_memory_constraints.go @@ -0,0 +1,32 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ImageMemoryConstraints For a flexible image and shape, the amount of memory supported for instances that use this image. +type ImageMemoryConstraints struct { + + // The minimum amount of memory, in gigabytes. + MinInGBs *int `mandatory:"false" json:"minInGBs"` + + // The maximum amount of memory, in gigabytes. + MaxInGBs *int `mandatory:"false" json:"maxInGBs"` +} + +func (m ImageMemoryConstraints) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_ocpu_constraints.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_ocpu_constraints.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/image_ocpu_constraints.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_ocpu_constraints.go index ebb0448b4..49f1504eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_ocpu_constraints.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_ocpu_constraints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageOcpuConstraints OCPU options for an image and shape. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_shape_compatibility_entry.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_shape_compatibility_entry.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/image_shape_compatibility_entry.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_shape_compatibility_entry.go index 66c4a881d..0751b1d9a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_shape_compatibility_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_shape_compatibility_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageShapeCompatibilityEntry An image and shape that are compatible. @@ -26,6 +26,8 @@ type ImageShapeCompatibilityEntry struct { // The shape name. Shape *string `mandatory:"true" json:"shape"` + MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"` + OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_shape_compatibility_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_shape_compatibility_summary.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/image_shape_compatibility_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_shape_compatibility_summary.go index d04eaabae..1cb2248a1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_shape_compatibility_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_shape_compatibility_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageShapeCompatibilitySummary Summary information for a compatible image and shape. @@ -26,6 +26,8 @@ type ImageShapeCompatibilitySummary struct { // The shape name. Shape *string `mandatory:"true" json:"shape"` + MemoryConstraints *ImageMemoryConstraints `mandatory:"false" json:"memoryConstraints"` + OcpuConstraints *ImageOcpuConstraints `mandatory:"false" json:"ocpuConstraints"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/image_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_details.go index 1425109a2..b3e095285 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageSourceDetails The representation of ImageSourceDetails @@ -24,7 +24,7 @@ type ImageSourceDetails interface { GetOperatingSystemVersion() *string - // The format of the image to be imported. Only monolithic + // The format of the image to be imported. Only monolithic // images are supported. This attribute is not used for exported Oracle images with the OCI image format. GetSourceImageType() ImageSourceDetailsSourceImageTypeEnum } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_source_via_object_storage_tuple_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_via_object_storage_tuple_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/image_source_via_object_storage_tuple_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_via_object_storage_tuple_details.go index 5e5a87c97..c61375eb8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_source_via_object_storage_tuple_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_via_object_storage_tuple_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageSourceViaObjectStorageTupleDetails The representation of ImageSourceViaObjectStorageTupleDetails @@ -34,7 +34,7 @@ type ImageSourceViaObjectStorageTupleDetails struct { OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"` - // The format of the image to be imported. Only monolithic + // The format of the image to be imported. Only monolithic // images are supported. This attribute is not used for exported Oracle images with the OCI image format. SourceImageType ImageSourceDetailsSourceImageTypeEnum `mandatory:"false" json:"sourceImageType,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/image_source_via_object_storage_uri_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_via_object_storage_uri_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/image_source_via_object_storage_uri_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_via_object_storage_uri_details.go index 78ad99823..84dabc8c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/image_source_via_object_storage_uri_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/image_source_via_object_storage_uri_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ImageSourceViaObjectStorageUriDetails The representation of ImageSourceViaObjectStorageUriDetails @@ -28,7 +28,7 @@ type ImageSourceViaObjectStorageUriDetails struct { OperatingSystemVersion *string `mandatory:"false" json:"operatingSystemVersion"` - // The format of the image to be imported. Only monolithic + // The format of the image to be imported. Only monolithic // images are supported. This attribute is not used for exported Oracle images with the OCI image format. SourceImageType ImageSourceDetailsSourceImageTypeEnum `mandatory:"false" json:"sourceImageType,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ingress_security_rule.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ingress_security_rule.go similarity index 74% rename from vendor/github.com/oracle/oci-go-sdk/core/ingress_security_rule.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ingress_security_rule.go index 66e83044d..f5c36c222 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ingress_security_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ingress_security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IngressSecurityRule A rule for allowing inbound IP packets. @@ -31,21 +31,12 @@ type IngressSecurityRule struct { // 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/Content/Network/Concepts/ipv6.htm). + // 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"` - // 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. IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"` // A stateless rule allows traffic in one direction. Remember to add a corresponding @@ -62,12 +53,8 @@ type IngressSecurityRule struct { // particular `Service` through a service gateway). SourceType IngressSecurityRuleSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` - // 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. TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"` - // 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. UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"` // An optional description of your choice for the rule. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance.go index 0ee94167c..615dc0567 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Instance A compute host. The image used to launch the instance determines its operating system and other @@ -121,9 +121,10 @@ type Instance struct { // * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter. LaunchMode InstanceLaunchModeEnum `mandatory:"false" json:"launchMode,omitempty"` - // Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values. LaunchOptions *LaunchOptions `mandatory:"false" json:"launchOptions"` + InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"` + AvailabilityConfig *InstanceAvailabilityConfig `mandatory:"false" json:"availabilityConfig"` // Custom metadata that you provide. @@ -131,7 +132,6 @@ type Instance struct { ShapeConfig *InstanceShapeConfig `mandatory:"false" json:"shapeConfig"` - // Details for creating an instance SourceDetails InstanceSourceDetails `mandatory:"false" json:"sourceDetails"` // System tags for this resource. Each key is predefined and scoped to a namespace. @@ -145,6 +145,8 @@ type Instance struct { // Regardless of how the instance was stopped, the flag will be reset to empty as soon as instance reaches Stopped state. // Example: `2018-05-25T21:10:29.600Z` TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"` + + PlatformConfig PlatformConfig `mandatory:"false" json:"platformConfig"` } func (m Instance) String() string { @@ -164,6 +166,7 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { IpxeScript *string `json:"ipxeScript"` LaunchMode InstanceLaunchModeEnum `json:"launchMode"` LaunchOptions *LaunchOptions `json:"launchOptions"` + InstanceOptions *InstanceOptions `json:"instanceOptions"` AvailabilityConfig *InstanceAvailabilityConfig `json:"availabilityConfig"` Metadata map[string]string `json:"metadata"` ShapeConfig *InstanceShapeConfig `json:"shapeConfig"` @@ -171,6 +174,7 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { SystemTags map[string]map[string]interface{} `json:"systemTags"` AgentConfig *InstanceAgentConfig `json:"agentConfig"` TimeMaintenanceRebootDue *common.SDKTime `json:"timeMaintenanceRebootDue"` + PlatformConfig platformconfig `json:"platformConfig"` AvailabilityDomain *string `json:"availabilityDomain"` CompartmentId *string `json:"compartmentId"` Id *string `json:"id"` @@ -205,6 +209,8 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { m.LaunchOptions = model.LaunchOptions + m.InstanceOptions = model.InstanceOptions + m.AvailabilityConfig = model.AvailabilityConfig m.Metadata = model.Metadata @@ -227,6 +233,16 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { m.TimeMaintenanceRebootDue = model.TimeMaintenanceRebootDue + nn, e = model.PlatformConfig.UnmarshalPolymorphicJSON(model.PlatformConfig.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlatformConfig = nn.(PlatformConfig) + } else { + m.PlatformConfig = nil + } + m.AvailabilityDomain = model.AvailabilityDomain m.CompartmentId = model.CompartmentId diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_action_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_action_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_action_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_action_request_response.go index c5266caed..abf10659b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_action_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_action_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // InstanceActionRequest wrapper for the InstanceAction operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceActionRequest. type InstanceActionRequest struct { // The OCID of the instance. @@ -26,7 +30,7 @@ type InstanceActionRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_config.go new file mode 100644 index 000000000..746b489ef --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_config.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceAgentConfig Configuration options for the Oracle Cloud Agent software running on the instance. +type InstanceAgentConfig struct { + + // Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the + // monitoring plugins. + // These are the monitoring plugins: Compute Instance Monitoring + // and Custom Logs Monitoring. + // The monitoring plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You + // can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` + // object. + IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + + // Whether Oracle Cloud Agent can run all the available management plugins. + // These are the management plugins: OS Management Service Agent and Compute Instance + // Run Command. + // The management plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isManagementDisabled` is false, all of the management plugins are enabled. You + // can optionally disable individual management plugins by providing a value in the `pluginsConfig` + // object. + IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + + // Whether Oracle Cloud Agent can run all of the available plugins. + // This includes the management and monitoring plugins. + // For more information about the available plugins, see + // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` + + // The configuration of plugins associated with this instance. + PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"` +} + +func (m InstanceAgentConfig) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_agent_features.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_features.go similarity index 74% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_agent_features.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_features.go index 75e798f3f..549245eb8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_agent_features.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_features.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,16 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// InstanceAgentFeatures Instance agent features supported on the image +// InstanceAgentFeatures Oracle Cloud Agent features supported on the image. type InstanceAgentFeatures struct { - // Whether the agent running on the instance can gather performance metrics and monitor the instance. + // Whether Oracle Cloud Agent can gather performance metrics and monitor the instance. IsMonitoringSupported *bool `mandatory:"false" json:"isMonitoringSupported"` - // Whether the agent running on the instance can run all the available management plugins + // Whether Oracle Cloud Agent can run all the available management plugins. IsManagementSupported *bool `mandatory:"false" json:"isManagementSupported"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_plugin_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_plugin_config_details.go new file mode 100644 index 000000000..87ee0786f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_agent_plugin_config_details.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceAgentPluginConfigDetails The configuration of plugins associated with this instance. +type InstanceAgentPluginConfigDetails struct { + + // The plugin name. To get a list of available plugins, use the + // ListInstanceagentAvailablePlugins + // operation in the Oracle Cloud Agent API. For more information about the available plugins, see + // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + Name *string `mandatory:"true" json:"name"` + + // Whether the plugin should be enabled or disabled. + // To enable the monitoring and management plugins, the `isMonitoringDisabled` and + // `isManagementDisabled` attributes must also be set to false. + DesiredState InstanceAgentPluginConfigDetailsDesiredStateEnum `mandatory:"true" json:"desiredState"` +} + +func (m InstanceAgentPluginConfigDetails) String() string { + return common.PointerString(m) +} + +// InstanceAgentPluginConfigDetailsDesiredStateEnum Enum with underlying type: string +type InstanceAgentPluginConfigDetailsDesiredStateEnum string + +// Set of constants representing the allowable values for InstanceAgentPluginConfigDetailsDesiredStateEnum +const ( + InstanceAgentPluginConfigDetailsDesiredStateEnabled InstanceAgentPluginConfigDetailsDesiredStateEnum = "ENABLED" + InstanceAgentPluginConfigDetailsDesiredStateDisabled InstanceAgentPluginConfigDetailsDesiredStateEnum = "DISABLED" +) + +var mappingInstanceAgentPluginConfigDetailsDesiredState = map[string]InstanceAgentPluginConfigDetailsDesiredStateEnum{ + "ENABLED": InstanceAgentPluginConfigDetailsDesiredStateEnabled, + "DISABLED": InstanceAgentPluginConfigDetailsDesiredStateDisabled, +} + +// GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues Enumerates the set of values for InstanceAgentPluginConfigDetailsDesiredStateEnum +func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues() []InstanceAgentPluginConfigDetailsDesiredStateEnum { + values := make([]InstanceAgentPluginConfigDetailsDesiredStateEnum, 0) + for _, v := range mappingInstanceAgentPluginConfigDetailsDesiredState { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_availability_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_availability_config.go similarity index 77% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_availability_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_availability_config.go index d61d66884..e423c8977 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_availability_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_availability_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,16 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// InstanceAvailabilityConfig Options for customers to define the general policy of how compute service perform maintenance on VM instances. +// InstanceAvailabilityConfig Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware. type InstanceAvailabilityConfig struct { - // Actions customers can specify that would be applied to their instances after scheduled or unexpected host maintenance. - // * `RESTORE_INSTANCE` - This would be the default action if recoveryAction is not set. VM instances - // will be restored to the power state it was in before maintenance. - // * `STOP_INSTANCE` - This action allow customers to have their VM instances be stopped after maintenance. + // The lifecycle state for an instance when it is recovered after infrastructure maintenance. + // * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event. + // If the instance was running, it is automatically rebooted. This is the default action when a value is not set. + // * `STOP_INSTANCE` - The instance is recovered in the stopped state. RecoveryAction InstanceAvailabilityConfigRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration.go index c3bf7d6b7..964050c83 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfiguration An instance configuration is a template that defines the settings to use when creating Compute instances. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go new file mode 100644 index 000000000..5acdfd440 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go @@ -0,0 +1,71 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "encoding/json" + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig The platform configuration used when launching a bare metal instance specific to the AMD Milan platform. +type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig struct { + + // The number of NUMA nodes per socket. + NumaNodesPerSocket InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"` +} + +func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) String() string { + return common.PointerString(m) +} + +// MarshalJSON marshals to json representation +func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig + }{ + "AMD_MILAN_BM", + (MarshalTypeInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig)(m), + } + + return json.Marshal(&s) +} + +// InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string +type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string + +// Set of constants representing the allowable values for InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +const ( + InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0" + InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" + InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" + InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" +) + +var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocket = map[string]InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ + "NPS0": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0, + "NPS1": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, + "NPS2": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, + "NPS4": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, +} + +// GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum +func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum { + values := make([]InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0) + for _, v := range mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocket { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_attach_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_attach_vnic_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_attach_vnic_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_attach_vnic_details.go index 9cb562170..b05cf867a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_attach_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_attach_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,11 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationAttachVnicDetails The representation of InstanceConfigurationAttachVnicDetails type InstanceConfigurationAttachVnicDetails struct { - - // Details for creating a new VNIC. CreateVnicDetails *InstanceConfigurationCreateVnicDetails `mandatory:"false" json:"createVnicDetails"` // A user-friendly name for the attachment. Does not have to be unique, and it cannot be changed. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_attach_volume_details.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_attach_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_attach_volume_details.go index b03ce7abf..80bcb5cc2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationAttachVolumeDetails Volume attachmentDetails. Please see AttachVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_availability_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_availability_config.go similarity index 78% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_availability_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_availability_config.go index fd52f3d38..f84bce3f5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_availability_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_availability_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,16 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// InstanceConfigurationAvailabilityConfig Options for customers to define the general policy of how compute service perform maintenance on VM instances. +// InstanceConfigurationAvailabilityConfig Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware. type InstanceConfigurationAvailabilityConfig struct { - // Actions customers can specify that would be applied to their instances after scheduled or unexpected host maintenance. - // * `RESTORE_INSTANCE` - This would be the default action if recoveryAction is not set. VM instances - // will be restored to the power state it was in before maintenance. - // * `STOP_INSTANCE` - This action allow customers to have their VM instances be stopped after maintenance. + // The lifecycle state for an instance when it is recovered after infrastructure maintenance. + // * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event. + // If the instance was running, it is automatically rebooted. This is the default action when a value is not set. + // * `STOP_INSTANCE` - The instance is recovered in the stopped state. RecoveryAction InstanceConfigurationAvailabilityConfigRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_block_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_block_volume_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_block_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_block_volume_details.go index 3daa6f630..ffe2cf468 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_block_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_block_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationBlockVolumeDetails Create new block volumes or attach to an existing volume. Specify either createDetails or volumeId. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_create_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_create_vnic_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_create_vnic_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_create_vnic_details.go index 7968b07b4..b3c905ecc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_create_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_create_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationCreateVnicDetails Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_create_volume_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_create_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_create_volume_details.go index e0af18c12..904d75d0f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_create_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationCreateVolumeDetails Creates a new block volume. Please see CreateVolumeDetails @@ -62,9 +62,6 @@ type InstanceConfigurationCreateVolumeDetails struct { // The size of the volume in GBs. SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"` - // Specifies the volume source details for a new Block volume. The volume source is either another Block volume in the same availability domain or a Block volume backup. - // This is an optional field. If not specified or set to null, the new Block volume will be empty. - // When specified, the new Block volume will contain data from the source volume or backup. SourceDetails InstanceConfigurationVolumeSourceDetails `mandatory:"false" json:"sourceDetails"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_details.go index 8dcffe1be..5cb34889c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationInstanceDetails The representation of InstanceConfigurationInstanceDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_options.go new file mode 100644 index 000000000..5eadc26fa --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_options.go @@ -0,0 +1,31 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceConfigurationInstanceOptions Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints. +type InstanceConfigurationInstanceOptions struct { + + // Whether to disable the legacy (/v1) instance metadata service endpoints. + // Customers who have migrated to /v2 should set this to true for added security. + // Default is false. + AreLegacyImdsEndpointsDisabled *bool `mandatory:"false" json:"areLegacyImdsEndpointsDisabled"` +} + +func (m InstanceConfigurationInstanceOptions) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_details.go index be3168437..b3c3d7149 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationInstanceSourceDetails The representation of InstanceConfigurationInstanceSourceDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_via_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_via_boot_volume_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_via_boot_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_via_boot_volume_details.go index 4064b4930..0ceb78a8a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_via_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationInstanceSourceViaBootVolumeDetails The representation of InstanceConfigurationInstanceSourceViaBootVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_via_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_via_image_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_via_image_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_via_image_details.go index d922347f1..4102e544c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_instance_source_via_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,14 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationInstanceSourceViaImageDetails The representation of InstanceConfigurationInstanceSourceViaImageDetails type InstanceConfigurationInstanceSourceViaImageDetails struct { - // The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 16384 GB (16TB). + // The size of the boot volume in GBs. The minimum value is 50 GB and the maximum + // value is 16384 GB (16TB). BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"` // The OCID of the image used to boot the instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_iscsi_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_iscsi_attach_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_iscsi_attach_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_iscsi_attach_volume_details.go index eb8548e37..18ebb8c28 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_iscsi_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_iscsi_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationIscsiAttachVolumeDetails The representation of InstanceConfigurationIscsiAttachVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_agent_config_details.go new file mode 100644 index 000000000..2154d3efe --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_agent_config_details.go @@ -0,0 +1,63 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceConfigurationLaunchInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance. +type InstanceConfigurationLaunchInstanceAgentConfigDetails struct { + + // Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the + // monitoring plugins. Default value is false (monitoring plugins are enabled). + // These are the monitoring plugins: Compute Instance Monitoring + // and Custom Logs Monitoring. + // The monitoring plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You + // can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` + // object. + IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + + // Whether Oracle Cloud Agent can run all the available management plugins. + // Default value is false (management plugins are enabled). + // These are the management plugins: OS Management Service Agent and Compute Instance + // Run Command. + // The management plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isManagementDisabled` is false, all of the management plugins are enabled. You + // can optionally disable individual management plugins by providing a value in the `pluginsConfig` + // object. + IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + + // Whether Oracle Cloud Agent can run all the available plugins. + // This includes the management and monitoring plugins. + // To get a list of available plugins, use the + // ListInstanceagentAvailablePlugins + // operation in the Oracle Cloud Agent API. For more information about the available plugins, see + // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` + + // The configuration of plugins associated with this instance. + PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"` +} + +func (m InstanceConfigurationLaunchInstanceAgentConfigDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_details.go index c5be30af7..6a59d635b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationLaunchInstanceDetails Instance launch details for creating an instance from an instance configuration. Use the `sourceDetails` @@ -30,8 +30,6 @@ type InstanceConfigurationLaunchInstanceDetails struct { // The OCID of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` - // Details for the primary VNIC, which is automatically created and attached when - // the instance is launched. CreateVnicDetails *InstanceConfigurationCreateVnicDetails `mandatory:"false" json:"createVnicDetails"` // Defined tags for this resource. Each key is predefined and scoped to a @@ -122,8 +120,8 @@ type InstanceConfigurationLaunchInstanceDetails struct { ShapeConfig *InstanceConfigurationLaunchInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"` - // Details for creating an instance. - // Use this parameter to specify whether a boot volume or an image should be used to launch a new instance. + PlatformConfig InstanceConfigurationLaunchInstancePlatformConfig `mandatory:"false" json:"platformConfig"` + SourceDetails InstanceConfigurationInstanceSourceDetails `mandatory:"false" json:"sourceDetails"` // A fault domain is a grouping of hardware and infrastructure within an availability domain. @@ -151,7 +149,6 @@ type InstanceConfigurationLaunchInstanceDetails struct { // * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter. LaunchMode InstanceConfigurationLaunchInstanceDetailsLaunchModeEnum `mandatory:"false" json:"launchMode,omitempty"` - // Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values. LaunchOptions *InstanceConfigurationLaunchOptions `mandatory:"false" json:"launchOptions"` AgentConfig *InstanceConfigurationLaunchInstanceAgentConfigDetails `mandatory:"false" json:"agentConfig"` @@ -164,6 +161,8 @@ type InstanceConfigurationLaunchInstanceDetails struct { // * `REBOOT` - Run maintenance using a reboot. PreferredMaintenanceAction InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum `mandatory:"false" json:"preferredMaintenanceAction,omitempty"` + InstanceOptions *InstanceConfigurationInstanceOptions `mandatory:"false" json:"instanceOptions"` + AvailabilityConfig *InstanceConfigurationAvailabilityConfig `mandatory:"false" json:"availabilityConfig"` } @@ -185,6 +184,7 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) Metadata map[string]string `json:"metadata"` Shape *string `json:"shape"` ShapeConfig *InstanceConfigurationLaunchInstanceShapeConfigDetails `json:"shapeConfig"` + PlatformConfig instanceconfigurationlaunchinstanceplatformconfig `json:"platformConfig"` SourceDetails instanceconfigurationinstancesourcedetails `json:"sourceDetails"` FaultDomain *string `json:"faultDomain"` DedicatedVmHostId *string `json:"dedicatedVmHostId"` @@ -193,6 +193,7 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) AgentConfig *InstanceConfigurationLaunchInstanceAgentConfigDetails `json:"agentConfig"` IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` PreferredMaintenanceAction InstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnum `json:"preferredMaintenanceAction"` + InstanceOptions *InstanceConfigurationInstanceOptions `json:"instanceOptions"` AvailabilityConfig *InstanceConfigurationAvailabilityConfig `json:"availabilityConfig"` }{} @@ -223,6 +224,16 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) m.ShapeConfig = model.ShapeConfig + nn, e = model.PlatformConfig.UnmarshalPolymorphicJSON(model.PlatformConfig.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlatformConfig = nn.(InstanceConfigurationLaunchInstancePlatformConfig) + } else { + m.PlatformConfig = nil + } + nn, e = model.SourceDetails.UnmarshalPolymorphicJSON(model.SourceDetails.JsonData) if e != nil { return @@ -247,6 +258,8 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) m.PreferredMaintenanceAction = model.PreferredMaintenanceAction + m.InstanceOptions = model.InstanceOptions + m.AvailabilityConfig = model.AvailabilityConfig return diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_platform_config.go new file mode 100644 index 000000000..9245dc03f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_platform_config.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "encoding/json" + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceConfigurationLaunchInstancePlatformConfig The platform configuration requested for the instance. +// If the parameter is provided, the instance is created with the platform configured as specified. If some +// properties are missing or the entire parameter is not provided, the instance is created +// with the default configuration values for the `shape` that you specify. +// Each shape only supports certain configurable values. If the values that you provide are not valid for the +// specified `shape`, an error is returned. +type InstanceConfigurationLaunchInstancePlatformConfig interface { +} + +type instanceconfigurationlaunchinstanceplatformconfig struct { + JsonData []byte + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerinstanceconfigurationlaunchinstanceplatformconfig instanceconfigurationlaunchinstanceplatformconfig + s := struct { + Model Unmarshalerinstanceconfigurationlaunchinstanceplatformconfig + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "AMD_MILAN_BM": + mm := InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + return *m, nil + } +} + +func (m instanceconfigurationlaunchinstanceplatformconfig) String() string { + return common.PointerString(m) +} + +// InstanceConfigurationLaunchInstancePlatformConfigTypeEnum Enum with underlying type: string +type InstanceConfigurationLaunchInstancePlatformConfigTypeEnum string + +// Set of constants representing the allowable values for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum +const ( + InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM" +) + +var mappingInstanceConfigurationLaunchInstancePlatformConfigType = map[string]InstanceConfigurationLaunchInstancePlatformConfigTypeEnum{ + "AMD_MILAN_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBm, +} + +// GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstancePlatformConfigTypeEnum +func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumValues() []InstanceConfigurationLaunchInstancePlatformConfigTypeEnum { + values := make([]InstanceConfigurationLaunchInstancePlatformConfigTypeEnum, 0) + for _, v := range mappingInstanceConfigurationLaunchInstancePlatformConfigType { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_shape_config_details.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_shape_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_shape_config_details.go index 768916b09..9faf82f92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_instance_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationLaunchInstanceShapeConfigDetails The shape configuration requested for the instance. @@ -30,6 +30,9 @@ type InstanceConfigurationLaunchInstanceShapeConfigDetails struct { // The total number of OCPUs available to the instance. Ocpus *float32 `mandatory:"false" json:"ocpus"` + + // The total amount of memory available to the instance, in gigabytes. + MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` } func (m InstanceConfigurationLaunchInstanceShapeConfigDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_options.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_options.go index 1302486e0..b3718bc42 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_launch_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationLaunchOptions Options for tuning the compatibility and performance of VM shapes. The values that you specify override any @@ -25,21 +25,21 @@ type InstanceConfigurationLaunchOptions struct { // * `ISCSI` - ISCSI attached block storage device. // * `SCSI` - Emulated SCSI disk. // * `IDE` - Emulated IDE disk. - // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data + // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data // volumes on Oracle provided images. // * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block // storage volumes on Oracle-provided images. BootVolumeType InstanceConfigurationLaunchOptionsBootVolumeTypeEnum `mandatory:"false" json:"bootVolumeType,omitempty"` - // Firmware used to boot VM. Select the option that matches your operating system. - // * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating + // Firmware used to boot VM. Select the option that matches your operating system. + // * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating // systems that boot using MBR style bootloaders. - // * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the + // * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the // default for Oracle-provided images. Firmware InstanceConfigurationLaunchOptionsFirmwareEnum `mandatory:"false" json:"firmware,omitempty"` // Emulation type for the physical network interface card (NIC). - // * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver. + // * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver. // * `VFIO` - Direct attached Virtual Function network controller. This is the networking type // when you launch an instance using hardware-assisted (SR-IOV) networking. // * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers. @@ -49,7 +49,7 @@ type InstanceConfigurationLaunchOptions struct { // * `ISCSI` - ISCSI attached block storage device. // * `SCSI` - Emulated SCSI disk. // * `IDE` - Emulated IDE disk. - // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data + // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data // volumes on Oracle provided images. // * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block // storage volumes on Oracle-provided images. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_paravirtualized_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_paravirtualized_attach_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_paravirtualized_attach_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_paravirtualized_attach_volume_details.go index 4f97df51f..3597680da 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_paravirtualized_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_paravirtualized_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationParavirtualizedAttachVolumeDetails The representation of InstanceConfigurationParavirtualizedAttachVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_summary.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_summary.go index fdb57c5be..7231a01a0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationSummary Summary information for an instance configuration. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_details.go index c053c7384..4a8aedff2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationVolumeSourceDetails The representation of InstanceConfigurationVolumeSourceDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_from_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_from_volume_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_from_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_from_volume_backup_details.go index fa08e466a..bc5f3b839 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_from_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_from_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationVolumeSourceFromVolumeBackupDetails Specifies the volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_from_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_from_volume_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_from_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_from_volume_details.go index 142568319..bc60f590f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_configuration_volume_source_from_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_configuration_volume_source_from_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConfigurationVolumeSourceFromVolumeDetails Specifies the source volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_console_connection.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_console_connection.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_console_connection.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_console_connection.go index fdd75ae43..da263c7c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_console_connection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_console_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,12 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceConsoleConnection The `InstanceConsoleConnection` API provides you with console access to Compute instances, // enabling you to troubleshoot malfunctioning instances remotely. -// For more information about console access, see -// Accessing the Console (https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm). +// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm). type InstanceConsoleConnection struct { // The OCID of the compartment to contain the console connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_credentials.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_credentials.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_credentials.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_credentials.go index 525eb6543..5ac9686f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_credentials.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_credentials.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceCredentials The credentials for a particular instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_options.go new file mode 100644 index 000000000..c547538e0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_options.go @@ -0,0 +1,31 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstanceOptions Optional mutable instance options +type InstanceOptions struct { + + // Whether to disable the legacy (/v1) instance metadata service endpoints. + // Customers who have migrated to /v2 should set this to true for added security. + // Default is false. + AreLegacyImdsEndpointsDisabled *bool `mandatory:"false" json:"areLegacyImdsEndpointsDisabled"` +} + +func (m InstanceOptions) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_pool.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool.go index 0c3b1f100..93ca83a90 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstancePool An instance pool is a group of instances within the same region that are created based off of the same diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_instance.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_instance.go new file mode 100644 index 000000000..be24b5d52 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_instance.go @@ -0,0 +1,93 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// InstancePoolInstance Instance data along with the lifecycleState of instance to instance pool attachment. +type InstancePoolInstance struct { + + // The OCID of the instance. + Id *string `mandatory:"true" json:"id"` + + // The OCID of the instance pool. + InstancePoolId *string `mandatory:"true" json:"instancePoolId"` + + // The availability domain the instance is running in. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // the lifecycle state of the instance in the instance pool + LifecycleState InstancePoolInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The OCID of the compartment that contains the instance. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID of the instance configuration used to create the instance. + InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` + + // The region that contains the availability domain the instance is running in. + Region *string `mandatory:"true" json:"region"` + + // The shape of an instance. The shape determines the number of CPUs, amount of memory, + // and other resources allocated to the instance. + // You can enumerate all available shapes by calling ListShapes. + Shape *string `mandatory:"true" json:"shape"` + + // The lifecycleState of the underlying instance. Refer lifecycleState in Instance + State *string `mandatory:"true" json:"state"` + + // The date and time the instance pool instance 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 user-friendly name. Does not have to be unique. + DisplayName *string `mandatory:"false" json:"displayName"` + + // The fault domain the instance is running in. + FaultDomain *string `mandatory:"false" json:"faultDomain"` + + // The load balancer backends that are configured for the instance pool instance. + LoadBalancerBackends []InstancePoolInstanceLoadBalancerBackend `mandatory:"false" json:"loadBalancerBackends"` +} + +func (m InstancePoolInstance) String() string { + return common.PointerString(m) +} + +// InstancePoolInstanceLifecycleStateEnum Enum with underlying type: string +type InstancePoolInstanceLifecycleStateEnum string + +// Set of constants representing the allowable values for InstancePoolInstanceLifecycleStateEnum +const ( + InstancePoolInstanceLifecycleStateAttaching InstancePoolInstanceLifecycleStateEnum = "ATTACHING" + InstancePoolInstanceLifecycleStateActive InstancePoolInstanceLifecycleStateEnum = "ACTIVE" + InstancePoolInstanceLifecycleStateDetaching InstancePoolInstanceLifecycleStateEnum = "DETACHING" +) + +var mappingInstancePoolInstanceLifecycleState = map[string]InstancePoolInstanceLifecycleStateEnum{ + "ATTACHING": InstancePoolInstanceLifecycleStateAttaching, + "ACTIVE": InstancePoolInstanceLifecycleStateActive, + "DETACHING": InstancePoolInstanceLifecycleStateDetaching, +} + +// GetInstancePoolInstanceLifecycleStateEnumValues Enumerates the set of values for InstancePoolInstanceLifecycleStateEnum +func GetInstancePoolInstanceLifecycleStateEnumValues() []InstancePoolInstanceLifecycleStateEnum { + values := make([]InstancePoolInstanceLifecycleStateEnum, 0) + for _, v := range mappingInstancePoolInstanceLifecycleState { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_instance_load_balancer_backend.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_instance_load_balancer_backend.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_pool_instance_load_balancer_backend.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_instance_load_balancer_backend.go index d91ad20d0..dab4f91cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_instance_load_balancer_backend.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_instance_load_balancer_backend.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstancePoolInstanceLoadBalancerBackend Represents the load balancer Backend that is configured for an instance pool instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_load_balancer_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_load_balancer_attachment.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_pool_load_balancer_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_load_balancer_attachment.go index 14e7f8e58..3e16eed03 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_load_balancer_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_load_balancer_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstancePoolLoadBalancerAttachment Represents a load balancer that is attached to an instance pool. @@ -35,7 +35,9 @@ type InstancePoolLoadBalancerAttachment struct { // The port value used for the backends. Port *int `mandatory:"true" json:"port"` - // Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. + // Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. + // Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration + // that is associated with the instance pool. VnicSelection *string `mandatory:"true" json:"vnicSelection"` // The status of the interaction between the instance pool and the load balancer. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_placement_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_placement_configuration.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_pool_placement_configuration.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_placement_configuration.go index 29a1f9531..e04a2e422 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_placement_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_placement_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstancePoolPlacementConfiguration The location for where an instance pool will place instances. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_placement_secondary_vnic_subnet.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_placement_secondary_vnic_subnet.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_pool_placement_secondary_vnic_subnet.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_placement_secondary_vnic_subnet.go index 313b08cf2..c14536b9d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_placement_secondary_vnic_subnet.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_placement_secondary_vnic_subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstancePoolPlacementSecondaryVnicSubnet The secondary VNIC object for the placement configuration for an instance pool. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_summary.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_pool_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_summary.go index f6b868989..0c3004f9a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_pool_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstancePoolSummary Summary information for an instance pool. @@ -42,7 +42,7 @@ type InstancePoolSummary struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The user-friendly name. Does not have to be unique. + // The user-friendly name. Does not have to be unique. DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_shape_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_shape_config.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_shape_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_shape_config.go index 8de276500..f50d7aa69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_shape_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_shape_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceShapeConfig The shape configuration for an instance. The shape configuration determines diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_details.go index 95fbee918..e9b6d8d31 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceSourceDetails The representation of InstanceSourceDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_source_via_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_via_boot_volume_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_source_via_boot_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_via_boot_volume_details.go index f7ab62234..406257798 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_source_via_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceSourceViaBootVolumeDetails The representation of InstanceSourceViaBootVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_source_via_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_via_image_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_source_via_image_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_via_image_details.go index 21c50e805..cf853484f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_source_via_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceSourceViaImageDetails The representation of InstanceSourceViaImageDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_summary.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/instance_summary.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/instance_summary.go index c3a2f64c1..804b24537 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/instance_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // InstanceSummary Condensed instance data when listing instances in an instance pool. @@ -42,7 +42,7 @@ type InstanceSummary struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The user-friendly name. Does not have to be unique. + // The user-friendly name. Does not have to be unique. DisplayName *string `mandatory:"false" json:"displayName"` // The fault domain the instance is running in. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/internet_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/internet_gateway.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/internet_gateway.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/internet_gateway.go index 320871970..90b55c234 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/internet_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/internet_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,17 +14,15 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/overview.htm#scenarios). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type InternetGateway struct { // The OCID of the compartment containing the internet gateway. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection.go index e9a3c05f6..5707c8d72 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IpSecConnection A connection between a DRG and CPE. This connection consists of multiple IPSec @@ -31,12 +31,10 @@ import ( // Oracle uses the IPSec connection's static routes when routing a tunnel's traffic *only* // if that tunnel's `routing` attribute = `STATIC`. Otherwise the static routes are ignored. // For more information about the workflow for setting up an IPSec connection, see -// IPSec VPN (https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPsec.htm). +// IPSec VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type IpSecConnection struct { // The OCID of the compartment containing the IPSec connection. @@ -61,7 +59,7 @@ type IpSecConnection struct { // you must provide at least one valid static route. If you configure both // tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. // The CIDR can be either IPv4 or IPv6. Note that IPv6 addressing is currently supported only - // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `10.0.1.0/24` // Example: `2001:db8::/32` StaticRoutes []string `mandatory:"true" json:"staticRoutes"` @@ -86,7 +84,7 @@ type IpSecConnection struct { // If you don't provide a value when creating the IPSec connection, the `ipAddress` attribute // for the Cpe object specified by `cpeId` is used as the `cpeLocalIdentifier`. // For information about why you'd provide this value, see - // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat). + // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). // Example IP address: `10.0.3.3` // Example hostname: `cpe.example.com` CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_device_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_device_config.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_device_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_device_config.go index 97fab30cb..2c811b395 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_device_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_device_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IpSecConnectionDeviceConfig Deprecated. For tunnel information, instead see: diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_device_status.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_device_status.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_device_status.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_device_status.go index 27a5a02a5..3f8d9808f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_device_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_device_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IpSecConnectionDeviceStatus Deprecated. For tunnel information, instead see diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_tunnel.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_tunnel.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_tunnel.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_tunnel.go index b558f41d7..c4ce28b9a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_tunnel.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_tunnel.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IpSecConnectionTunnel Information about a single tunnel in an IPSec connection. This object does not include the tunnel's @@ -22,10 +22,10 @@ import ( // IPSecConnectionTunnelSharedSecret object. type IpSecConnectionTunnel struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the tunnel. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. Id *string `mandatory:"true" json:"id"` // The tunnel's lifecycle state. @@ -49,9 +49,10 @@ type IpSecConnectionTunnel struct { // entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // Information for establishing the tunnel's BGP session. BgpSessionInfo *BgpSessionInfo `mandatory:"false" json:"bgpSessionInfo"` + EncryptionDomainConfig *EncryptionDomainConfig `mandatory:"false" json:"encryptionDomainConfig"` + // The type of routing used for this tunnel (either BGP dynamic routing or static routing). Routing IpSecConnectionTunnelRoutingEnum `mandatory:"false" json:"routing,omitempty"` @@ -76,12 +77,14 @@ const ( IpSecConnectionTunnelStatusUp IpSecConnectionTunnelStatusEnum = "UP" IpSecConnectionTunnelStatusDown IpSecConnectionTunnelStatusEnum = "DOWN" IpSecConnectionTunnelStatusDownForMaintenance IpSecConnectionTunnelStatusEnum = "DOWN_FOR_MAINTENANCE" + IpSecConnectionTunnelStatusPartialUp IpSecConnectionTunnelStatusEnum = "PARTIAL_UP" ) var mappingIpSecConnectionTunnelStatus = map[string]IpSecConnectionTunnelStatusEnum{ "UP": IpSecConnectionTunnelStatusUp, "DOWN": IpSecConnectionTunnelStatusDown, "DOWN_FOR_MAINTENANCE": IpSecConnectionTunnelStatusDownForMaintenance, + "PARTIAL_UP": IpSecConnectionTunnelStatusPartialUp, } // GetIpSecConnectionTunnelStatusEnumValues Enumerates the set of values for IpSecConnectionTunnelStatusEnum @@ -150,11 +153,13 @@ type IpSecConnectionTunnelRoutingEnum string const ( IpSecConnectionTunnelRoutingBgp IpSecConnectionTunnelRoutingEnum = "BGP" IpSecConnectionTunnelRoutingStatic IpSecConnectionTunnelRoutingEnum = "STATIC" + IpSecConnectionTunnelRoutingPolicy IpSecConnectionTunnelRoutingEnum = "POLICY" ) var mappingIpSecConnectionTunnelRouting = map[string]IpSecConnectionTunnelRoutingEnum{ "BGP": IpSecConnectionTunnelRoutingBgp, "STATIC": IpSecConnectionTunnelRoutingStatic, + "POLICY": IpSecConnectionTunnelRoutingPolicy, } // GetIpSecConnectionTunnelRoutingEnumValues Enumerates the set of values for IpSecConnectionTunnelRoutingEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_tunnel_shared_secret.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_tunnel_shared_secret.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_tunnel_shared_secret.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_tunnel_shared_secret.go index 7948e4bba..2337fdc71 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ip_sec_connection_tunnel_shared_secret.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ip_sec_connection_tunnel_shared_secret.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // IpSecConnectionTunnelSharedSecret The tunnel's shared secret (pre-shared key). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/ipv6.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/ipv6.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/ipv6.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/ipv6.go index 38d7adb40..3d7a7d0b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/ipv6.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/ipv6.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Ipv6 An *IPv6* is a conceptual term that refers to an IPv6 address and related properties. @@ -22,10 +22,10 @@ import ( // 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 currently supported only in certain regions. For important -// details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). +// details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). type Ipv6 struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the IPv6. + // 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"` @@ -33,29 +33,25 @@ type Ipv6 struct { // entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6. + // 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 private IPv6 CIDR block // of the VNIC's subnet (see the `ipv6CidrBlock` attribute for the Subnet - // object). + // 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/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. + // 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/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. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` @@ -85,6 +81,10 @@ type Ipv6 struct { // 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"` + + // 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:"false" json:"vnicId"` } func (m Ipv6) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_agent_config_details.go new file mode 100644 index 000000000..19ef49c0e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_agent_config_details.go @@ -0,0 +1,63 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// LaunchInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance. +type LaunchInstanceAgentConfigDetails struct { + + // Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the + // monitoring plugins. Default value is false (monitoring plugins are enabled). + // These are the monitoring plugins: Compute Instance Monitoring + // and Custom Logs Monitoring. + // The monitoring plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You + // can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` + // object. + IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + + // Whether Oracle Cloud Agent can run all the available management plugins. + // Default value is false (management plugins are enabled). + // These are the management plugins: OS Management Service Agent and Compute Instance + // Run Command. + // The management plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isManagementDisabled` is false, all of the management plugins are enabled. You + // can optionally disable individual management plugins by providing a value in the `pluginsConfig` + // object. + IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + + // Whether Oracle Cloud Agent can run all the available plugins. + // This includes the management and monitoring plugins. + // To get a list of available plugins, use the + // ListInstanceagentAvailablePlugins + // operation in the Oracle Cloud Agent API. For more information about the available plugins, see + // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` + + // The configuration of plugins associated with this instance. + PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"` +} + +func (m LaunchInstanceAgentConfigDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_availability_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_availability_config_details.go similarity index 78% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_instance_availability_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_availability_config_details.go index 1682b0f05..3eafd0845 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_availability_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_availability_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,16 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// LaunchInstanceAvailabilityConfigDetails Options for customers to define the general policy of how compute service perform maintenance on VM instances. +// LaunchInstanceAvailabilityConfigDetails Options for defining the availability of a VM instance after a maintenance event that impacts the underlying hardware. type LaunchInstanceAvailabilityConfigDetails struct { - // Actions customers can specify that would be applied to their instances after scheduled or unexpected host maintenance. - // * `RESTORE_INSTANCE` - This would be the default action if recoveryAction is not set. VM instances - // will be restored to the power state it was in before maintenance. - // * `STOP_INSTANCE` - This action allow customers to have their VM instances be stopped after maintenance. + // The lifecycle state for an instance when it is recovered after infrastructure maintenance. + // * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event. + // If the instance was running, it is automatically rebooted. This is the default action when a value is not set. + // * `STOP_INSTANCE` - The instance is recovered in the stopped state. RecoveryAction LaunchInstanceAvailabilityConfigDetailsRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_configuration_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_instance_configuration_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_configuration_request_response.go index 03fc8d7d9..18a412df6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_configuration_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // LaunchInstanceConfigurationRequest wrapper for the LaunchInstanceConfiguration operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfigurationRequest. type LaunchInstanceConfigurationRequest struct { // The OCID of the instance configuration. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_instance_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_details.go index f5bb16228..df471d090 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // LaunchInstanceDetails Instance launch details. @@ -34,8 +34,6 @@ type LaunchInstanceDetails struct { // You can enumerate all available shapes by calling ListShapes. Shape *string `mandatory:"true" json:"shape"` - // Details for the primary VNIC, which is automatically created and attached when - // the instance is launched. CreateVnicDetails *CreateVnicDetails `mandatory:"false" json:"createVnicDetails"` // The OCID of the dedicated VM host. @@ -107,10 +105,10 @@ type LaunchInstanceDetails struct { // For more information about iPXE, see http://ipxe.org. IpxeScript *string `mandatory:"false" json:"ipxeScript"` - // Options for tuning the compatibility and performance of VM shapes. The values that you specify override any - // default values. LaunchOptions *LaunchOptions `mandatory:"false" json:"launchOptions"` + InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"` + AvailabilityConfig *LaunchInstanceAvailabilityConfigDetails `mandatory:"false" json:"availabilityConfig"` // Custom metadata key/value pairs that you provide, such as the SSH public key @@ -154,8 +152,6 @@ type LaunchInstanceDetails struct { ShapeConfig *LaunchInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"` - // Details for creating an instance. - // Use this parameter to specify whether a boot volume or an image should be used to launch a new instance. SourceDetails InstanceSourceDetails `mandatory:"false" json:"sourceDetails"` // Deprecated. Instead use `subnetId` in @@ -163,8 +159,10 @@ type LaunchInstanceDetails struct { // At least one of them is required; if you provide both, the values must match. SubnetId *string `mandatory:"false" json:"subnetId"` - // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false. + // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false. IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` + + PlatformConfig LaunchInstancePlatformConfig `mandatory:"false" json:"platformConfig"` } func (m LaunchInstanceDetails) String() string { @@ -185,6 +183,7 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { ImageId *string `json:"imageId"` IpxeScript *string `json:"ipxeScript"` LaunchOptions *LaunchOptions `json:"launchOptions"` + InstanceOptions *InstanceOptions `json:"instanceOptions"` AvailabilityConfig *LaunchInstanceAvailabilityConfigDetails `json:"availabilityConfig"` Metadata map[string]string `json:"metadata"` AgentConfig *LaunchInstanceAgentConfigDetails `json:"agentConfig"` @@ -192,6 +191,7 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { SourceDetails instancesourcedetails `json:"sourceDetails"` SubnetId *string `json:"subnetId"` IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` + PlatformConfig launchinstanceplatformconfig `json:"platformConfig"` AvailabilityDomain *string `json:"availabilityDomain"` CompartmentId *string `json:"compartmentId"` Shape *string `json:"shape"` @@ -224,6 +224,8 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { m.LaunchOptions = model.LaunchOptions + m.InstanceOptions = model.InstanceOptions + m.AvailabilityConfig = model.AvailabilityConfig m.Metadata = model.Metadata @@ -246,6 +248,16 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled + nn, e = model.PlatformConfig.UnmarshalPolymorphicJSON(model.PlatformConfig.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlatformConfig = nn.(LaunchInstancePlatformConfig) + } else { + m.PlatformConfig = nil + } + m.AvailabilityDomain = model.AvailabilityDomain m.CompartmentId = model.CompartmentId diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_platform_config.go new file mode 100644 index 000000000..304e29692 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_platform_config.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "encoding/json" + "github.com/oracle/oci-go-sdk/v36/common" +) + +// LaunchInstancePlatformConfig The platform configuration requested for the instance. +// If the parameter is provided, the instance is created with the platform configured as specified. If some +// properties are missing or the entire parameter is not provided, the instance is created +// with the default configuration values for the `shape` that you specify. +// Each shape only supports certain configurable values. If the values that you provide are not valid for the +// specified `shape`, an error is returned. +type LaunchInstancePlatformConfig interface { +} + +type launchinstanceplatformconfig struct { + JsonData []byte + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *launchinstanceplatformconfig) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerlaunchinstanceplatformconfig launchinstanceplatformconfig + s := struct { + Model Unmarshalerlaunchinstanceplatformconfig + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *launchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "AMD_MILAN_BM": + mm := AmdMilanBmLaunchInstancePlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + return *m, nil + } +} + +func (m launchinstanceplatformconfig) String() string { + return common.PointerString(m) +} + +// LaunchInstancePlatformConfigTypeEnum Enum with underlying type: string +type LaunchInstancePlatformConfigTypeEnum string + +// Set of constants representing the allowable values for LaunchInstancePlatformConfigTypeEnum +const ( + LaunchInstancePlatformConfigTypeAmdMilanBm LaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM" +) + +var mappingLaunchInstancePlatformConfigType = map[string]LaunchInstancePlatformConfigTypeEnum{ + "AMD_MILAN_BM": LaunchInstancePlatformConfigTypeAmdMilanBm, +} + +// GetLaunchInstancePlatformConfigTypeEnumValues Enumerates the set of values for LaunchInstancePlatformConfigTypeEnum +func GetLaunchInstancePlatformConfigTypeEnumValues() []LaunchInstancePlatformConfigTypeEnum { + values := make([]LaunchInstancePlatformConfigTypeEnum, 0) + for _, v := range mappingLaunchInstancePlatformConfigType { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_instance_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_request_response.go index 95c183807..1194597d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // LaunchInstanceRequest wrapper for the LaunchInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstanceRequest. type LaunchInstanceRequest struct { // Instance details diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_shape_config_details.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_instance_shape_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_shape_config_details.go index d24ee57d9..f99b09d69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_instance_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // LaunchInstanceShapeConfigDetails The shape configuration requested for the instance. @@ -29,6 +29,9 @@ type LaunchInstanceShapeConfigDetails struct { // The total number of OCPUs available to the instance. Ocpus *float32 `mandatory:"false" json:"ocpus"` + + // The total amount of memory available to the instance, in gigabytes. + MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` } func (m LaunchInstanceShapeConfigDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/launch_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_options.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/launch_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/launch_options.go index c0adb4b71..e2acd4781 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/launch_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // LaunchOptions Options for tuning the compatibility and performance of VM shapes. The values that you specify override any @@ -25,21 +25,21 @@ type LaunchOptions struct { // * `ISCSI` - ISCSI attached block storage device. // * `SCSI` - Emulated SCSI disk. // * `IDE` - Emulated IDE disk. - // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data + // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data // volumes on Oracle-provided images. // * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block // storage volumes on Oracle-provided images. BootVolumeType LaunchOptionsBootVolumeTypeEnum `mandatory:"false" json:"bootVolumeType,omitempty"` - // Firmware used to boot VM. Select the option that matches your operating system. - // * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating + // Firmware used to boot VM. Select the option that matches your operating system. + // * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating // systems that boot using MBR style bootloaders. - // * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the + // * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the // default for Oracle-provided images. Firmware LaunchOptionsFirmwareEnum `mandatory:"false" json:"firmware,omitempty"` // Emulation type for the physical network interface card (NIC). - // * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver. + // * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver. // * `VFIO` - Direct attached Virtual Function network controller. This is the networking type // when you launch an instance using hardware-assisted (SR-IOV) networking. // * `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers. @@ -49,7 +49,7 @@ type LaunchOptions struct { // * `ISCSI` - ISCSI attached block storage device. // * `SCSI` - Emulated SCSI disk. // * `IDE` - Emulated IDE disk. - // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data + // * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data // volumes on Oracle-provided images. // * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block // storage volumes on Oracle-provided images. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/letter_of_authority.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/letter_of_authority.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/letter_of_authority.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/letter_of_authority.go index ce0fae917..df03dc4cb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/letter_of_authority.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/letter_of_authority.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // LetterOfAuthority The Letter of Authority for the cross-connect. You must submit this letter when diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_allowed_peer_regions_for_remote_peering_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_allowed_peer_regions_for_remote_peering_request_response.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/list_allowed_peer_regions_for_remote_peering_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_allowed_peer_regions_for_remote_peering_request_response.go index 42adc9d50..a855c1030 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_allowed_peer_regions_for_remote_peering_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_allowed_peer_regions_for_remote_peering_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListAllowedPeerRegionsForRemotePeeringRequest wrapper for the ListAllowedPeerRegionsForRemotePeering operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeeringRequest. type ListAllowedPeerRegionsForRemotePeeringRequest struct { // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_listing_resource_versions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_listing_resource_versions_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_listing_resource_versions_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_listing_resource_versions_request_response.go index 7fc014f0e..ea1e5f414 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_listing_resource_versions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_listing_resource_versions_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListAppCatalogListingResourceVersionsRequest wrapper for the ListAppCatalogListingResourceVersions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersionsRequest. type ListAppCatalogListingResourceVersionsRequest struct { // The OCID of the listing. @@ -62,9 +66,6 @@ type ListAppCatalogListingResourceVersionsResponse struct { // A list of []AppCatalogListingResourceVersionSummary instances Items []AppCatalogListingResourceVersionSummary `presentIn:"body"` - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_listings_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_listings_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_listings_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_listings_request_response.go index 47d1a57e1..650968cba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_listings_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_listings_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListAppCatalogListingsRequest wrapper for the ListAppCatalogListings operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListingsRequest. type ListAppCatalogListingsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_subscriptions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_subscriptions_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_subscriptions_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_subscriptions_request_response.go index c3afc2f33..e88491d2d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_app_catalog_subscriptions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_app_catalog_subscriptions_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListAppCatalogSubscriptionsRequest wrapper for the ListAppCatalogSubscriptions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptionsRequest. type ListAppCatalogSubscriptionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_boot_volume_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volume_attachments_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_boot_volume_attachments_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volume_attachments_request_response.go index aaa2a8691..fe466802b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_boot_volume_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volume_attachments_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListBootVolumeAttachmentsRequest wrapper for the ListBootVolumeAttachments operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachmentsRequest. type ListBootVolumeAttachmentsRequest struct { // The name of the availability domain. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_boot_volume_backups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volume_backups_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_boot_volume_backups_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volume_backups_request_response.go index b52527785..2494f205d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_boot_volume_backups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volume_backups_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListBootVolumeBackupsRequest wrapper for the ListBootVolumeBackups operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackupsRequest. type ListBootVolumeBackupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -48,7 +52,8 @@ type ListBootVolumeBackupsRequest struct { // is case sensitive. SortOrder ListBootVolumeBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state value is + // case-insensitive. LifecycleState BootVolumeBackupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_boot_volumes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volumes_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_boot_volumes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volumes_request_response.go index 4b181f14c..38d142daf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_boot_volumes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_boot_volumes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListBootVolumesRequest wrapper for the ListBootVolumes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumesRequest. type ListBootVolumesRequest struct { // The name of the availability domain. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/list_byoip_allocated_ranges_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_byoip_allocated_ranges_request_response.go new file mode 100644 index 000000000..f2ef80b3a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_byoip_allocated_ranges_request_response.go @@ -0,0 +1,82 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ListByoipAllocatedRangesRequest wrapper for the ListByoipAllocatedRanges operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRangesRequest. +type ListByoipAllocatedRangesRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListByoipAllocatedRangesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListByoipAllocatedRangesRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListByoipAllocatedRangesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ListByoipAllocatedRangesResponse wrapper for the ListByoipAllocatedRanges operation +type ListByoipAllocatedRangesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ByoipAllocatedRangeCollection instances + ByoipAllocatedRangeCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListByoipAllocatedRangesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListByoipAllocatedRangesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/list_byoip_ranges_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_byoip_ranges_request_response.go new file mode 100644 index 000000000..2efacde84 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_byoip_ranges_request_response.go @@ -0,0 +1,147 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ListByoipRangesRequest wrapper for the ListByoipRanges operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRangesRequest. +type ListByoipRangesRequest struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // 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"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // A filter to return only resources that match the given lifecycle state name exactly. + LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"` + + // 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 ListByoipRangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListByoipRangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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 +} + +func (request ListByoipRangesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListByoipRangesRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListByoipRangesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ListByoipRangesResponse wrapper for the ListByoipRanges operation +type ListByoipRangesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ByoipRangeCollection instances + ByoipRangeCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListByoipRangesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListByoipRangesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListByoipRangesSortByEnum Enum with underlying type: string +type ListByoipRangesSortByEnum string + +// Set of constants representing the allowable values for ListByoipRangesSortByEnum +const ( + ListByoipRangesSortByTimecreated ListByoipRangesSortByEnum = "TIMECREATED" + ListByoipRangesSortByDisplayname ListByoipRangesSortByEnum = "DISPLAYNAME" +) + +var mappingListByoipRangesSortBy = map[string]ListByoipRangesSortByEnum{ + "TIMECREATED": ListByoipRangesSortByTimecreated, + "DISPLAYNAME": ListByoipRangesSortByDisplayname, +} + +// GetListByoipRangesSortByEnumValues Enumerates the set of values for ListByoipRangesSortByEnum +func GetListByoipRangesSortByEnumValues() []ListByoipRangesSortByEnum { + values := make([]ListByoipRangesSortByEnum, 0) + for _, v := range mappingListByoipRangesSortBy { + values = append(values, v) + } + return values +} + +// ListByoipRangesSortOrderEnum Enum with underlying type: string +type ListByoipRangesSortOrderEnum string + +// Set of constants representing the allowable values for ListByoipRangesSortOrderEnum +const ( + ListByoipRangesSortOrderAsc ListByoipRangesSortOrderEnum = "ASC" + ListByoipRangesSortOrderDesc ListByoipRangesSortOrderEnum = "DESC" +) + +var mappingListByoipRangesSortOrder = map[string]ListByoipRangesSortOrderEnum{ + "ASC": ListByoipRangesSortOrderAsc, + "DESC": ListByoipRangesSortOrderDesc, +} + +// GetListByoipRangesSortOrderEnumValues Enumerates the set of values for ListByoipRangesSortOrderEnum +func GetListByoipRangesSortOrderEnumValues() []ListByoipRangesSortOrderEnum { + values := make([]ListByoipRangesSortOrderEnum, 0) + for _, v := range mappingListByoipRangesSortOrder { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cluster_network_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cluster_network_instances_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cluster_network_instances_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cluster_network_instances_request_response.go index 003a5e980..e691bebea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cluster_network_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cluster_network_instances_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListClusterNetworkInstancesRequest wrapper for the ListClusterNetworkInstances operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstancesRequest. type ListClusterNetworkInstancesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cluster_networks_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cluster_networks_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cluster_networks_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cluster_networks_request_response.go index ed571f1e9..d7f753e44 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cluster_networks_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cluster_networks_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListClusterNetworksRequest wrapper for the ListClusterNetworks operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworksRequest. type ListClusterNetworksRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_compute_global_image_capability_schema_versions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_global_image_capability_schema_versions_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_compute_global_image_capability_schema_versions_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_global_image_capability_schema_versions_request_response.go index cd5969e90..cb1347b0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_compute_global_image_capability_schema_versions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_global_image_capability_schema_versions_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListComputeGlobalImageCapabilitySchemaVersionsRequest wrapper for the ListComputeGlobalImageCapabilitySchemaVersions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersionsRequest. type ListComputeGlobalImageCapabilitySchemaVersionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compute global image capability schema diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_compute_global_image_capability_schemas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_global_image_capability_schemas_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_compute_global_image_capability_schemas_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_global_image_capability_schemas_request_response.go index 67748c297..063263236 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_compute_global_image_capability_schemas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_global_image_capability_schemas_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListComputeGlobalImageCapabilitySchemasRequest wrapper for the ListComputeGlobalImageCapabilitySchemas operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemasRequest. type ListComputeGlobalImageCapabilitySchemasRequest struct { // A filter to return only resources that match the given compartment OCID exactly. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_compute_image_capability_schemas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_image_capability_schemas_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_compute_image_capability_schemas_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_image_capability_schemas_request_response.go index f273f70d0..d42d2f806 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_compute_image_capability_schemas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_compute_image_capability_schemas_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListComputeImageCapabilitySchemasRequest wrapper for the ListComputeImageCapabilitySchemas operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemasRequest. type ListComputeImageCapabilitySchemasRequest struct { // A filter to return only resources that match the given compartment OCID exactly. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_console_histories_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_console_histories_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_console_histories_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_console_histories_request_response.go index 307bf0994..680cb5faa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_console_histories_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_console_histories_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListConsoleHistoriesRequest wrapper for the ListConsoleHistories operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistoriesRequest. type ListConsoleHistoriesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -46,7 +50,8 @@ type ListConsoleHistoriesRequest struct { // is case sensitive. SortOrder ListConsoleHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state + // value is case-insensitive. LifecycleState ConsoleHistoryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cpe_device_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cpe_device_shapes_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cpe_device_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cpe_device_shapes_request_response.go index e0168b18e..3dafd32e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cpe_device_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cpe_device_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListCpeDeviceShapesRequest wrapper for the ListCpeDeviceShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapesRequest. type ListCpeDeviceShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cpes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cpes_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cpes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cpes_request_response.go index c6fa5aff2..293e1f98e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cpes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cpes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListCpesRequest wrapper for the ListCpes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpesRequest. type ListCpesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connect_groups_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_groups_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connect_groups_request_response.go index 7c3652e68..c12b70528 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connect_groups_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListCrossConnectGroupsRequest wrapper for the ListCrossConnectGroups operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroupsRequest. type ListCrossConnectGroupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -42,7 +46,8 @@ type ListCrossConnectGroupsRequest struct { // is case sensitive. SortOrder ListCrossConnectGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only resources that match the specified lifecycle state. The value is case insensitive. + // A filter to return only resources that match the specified lifecycle + // state. The value is case insensitive. LifecycleState CrossConnectGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_locations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connect_locations_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_locations_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connect_locations_request_response.go index 5b194fd25..e062054ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cross_connect_locations_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connect_locations_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListCrossConnectLocationsRequest wrapper for the ListCrossConnectLocations operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocationsRequest. type ListCrossConnectLocationsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_cross_connects_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connects_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_cross_connects_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connects_request_response.go index 412866c36..33f5fc24d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_cross_connects_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_cross_connects_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListCrossConnectsRequest wrapper for the ListCrossConnects operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnectsRequest. type ListCrossConnectsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -45,7 +49,8 @@ type ListCrossConnectsRequest struct { // is case sensitive. SortOrder ListCrossConnectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only resources that match the specified lifecycle state. The value is case insensitive. + // A filter to return only resources that match the specified lifecycle + // state. The value is case insensitive. LifecycleState CrossConnectLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_crossconnect_port_speed_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_crossconnect_port_speed_shapes_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_crossconnect_port_speed_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_crossconnect_port_speed_shapes_request_response.go index 8aeac709e..f3d6e1cb8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_crossconnect_port_speed_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_crossconnect_port_speed_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListCrossconnectPortSpeedShapesRequest wrapper for the ListCrossconnectPortSpeedShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapesRequest. type ListCrossconnectPortSpeedShapesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_instance_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_instance_shapes_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_instance_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_instance_shapes_request_response.go index 69cf0b5fb..dba140dfd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_instance_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_instance_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDedicatedVmHostInstanceShapesRequest wrapper for the ListDedicatedVmHostInstanceShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapesRequest. type ListDedicatedVmHostInstanceShapesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_instances_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_instances_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_instances_request_response.go index 05152a72c..dc9ce28a0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_instances_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDedicatedVmHostInstancesRequest wrapper for the ListDedicatedVmHostInstances operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstancesRequest. type ListDedicatedVmHostInstancesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_shapes_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_shapes_request_response.go index 42a97f5f1..16ec1a938 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_host_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_host_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDedicatedVmHostShapesRequest wrapper for the ListDedicatedVmHostShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapesRequest. type ListDedicatedVmHostShapesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_hosts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_hosts_request_response.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_hosts_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_hosts_request_response.go index 8b79fd8a4..d45ce541c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_dedicated_vm_hosts_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dedicated_vm_hosts_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDedicatedVmHostsRequest wrapper for the ListDedicatedVmHosts operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHostsRequest. type ListDedicatedVmHostsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dhcp_options_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_dhcp_options_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_dhcp_options_request_response.go index 659fbada6..9c87a1387 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_dhcp_options_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDhcpOptionsRequest wrapper for the ListDhcpOptions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptionsRequest. type ListDhcpOptionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -45,7 +49,8 @@ type ListDhcpOptionsRequest struct { // is case sensitive. SortOrder ListDhcpOptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState DhcpOptionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_drg_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_drg_attachments_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/list_drg_attachments_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_drg_attachments_request_response.go index 09042d4b8..216cb0cfc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_drg_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_drg_attachments_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDrgAttachmentsRequest wrapper for the ListDrgAttachments operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachmentsRequest. type ListDrgAttachmentsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // The OCID of the DRG. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_drgs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_drgs_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_drgs_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_drgs_request_response.go index e8db8fe52..531dc3f21 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_drgs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_drgs_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListDrgsRequest wrapper for the ListDrgs operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgsRequest. type ListDrgsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_services_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_fast_connect_provider_services_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_services_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_fast_connect_provider_services_request_response.go index 3340c3a15..fb60d543b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_services_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_fast_connect_provider_services_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListFastConnectProviderServicesRequest wrapper for the ListFastConnectProviderServices operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServicesRequest. type ListFastConnectProviderServicesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go index 4fe98aeae..d5164cc68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListFastConnectProviderVirtualCircuitBandwidthShapesRequest wrapper for the ListFastConnectProviderVirtualCircuitBandwidthShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapesRequest. type ListFastConnectProviderVirtualCircuitBandwidthShapesRequest struct { // The OCID of the provider service. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_i_p_sec_connection_tunnels_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_i_p_sec_connection_tunnels_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_i_p_sec_connection_tunnels_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_i_p_sec_connection_tunnels_request_response.go index 33b8981ff..764e2661c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_i_p_sec_connection_tunnels_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_i_p_sec_connection_tunnels_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListIPSecConnectionTunnelsRequest wrapper for the ListIPSecConnectionTunnels operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnelsRequest. type ListIPSecConnectionTunnelsRequest struct { // The OCID of the IPSec connection. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_i_p_sec_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_i_p_sec_connections_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_i_p_sec_connections_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_i_p_sec_connections_request_response.go index 63a4f9534..2c8094c69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_i_p_sec_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_i_p_sec_connections_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListIPSecConnectionsRequest wrapper for the ListIPSecConnections operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnectionsRequest. type ListIPSecConnectionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_image_shape_compatibility_entries_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_image_shape_compatibility_entries_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_image_shape_compatibility_entries_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_image_shape_compatibility_entries_request_response.go index 6c3e50c35..53702b785 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_image_shape_compatibility_entries_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_image_shape_compatibility_entries_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListImageShapeCompatibilityEntriesRequest wrapper for the ListImageShapeCompatibilityEntries operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntriesRequest. type ListImageShapeCompatibilityEntriesRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_images_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_images_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_images_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_images_request_response.go index 4731af781..6ab6eb4ea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_images_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_images_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListImagesRequest wrapper for the ListImages operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImagesRequest. type ListImagesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -53,7 +57,8 @@ type ListImagesRequest struct { // is case sensitive. SortOrder ListImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state + // value is case-insensitive. LifecycleState ImageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_configurations_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_instance_configurations_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_configurations_request_response.go index 2d869cbf0..5b44d20ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_configurations_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_configurations_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInstanceConfigurationsRequest wrapper for the ListInstanceConfigurations operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurationsRequest. type ListInstanceConfigurationsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_console_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_console_connections_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_instance_console_connections_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_console_connections_request_response.go index 5be526483..44ece9adc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_console_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_console_connections_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInstanceConsoleConnectionsRequest wrapper for the ListInstanceConsoleConnections operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnectionsRequest. type ListInstanceConsoleConnectionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_devices_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_devices_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_instance_devices_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_devices_request_response.go index 24e3b6e5d..90a0f316b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_devices_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_devices_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInstanceDevicesRequest wrapper for the ListInstanceDevices operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevicesRequest. type ListInstanceDevicesRequest struct { // The OCID of the instance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_pool_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_pool_instances_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_instance_pool_instances_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_pool_instances_request_response.go index 1820e3076..ab5786db1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_pool_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_pool_instances_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInstancePoolInstancesRequest wrapper for the ListInstancePoolInstances operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstancesRequest. type ListInstancePoolInstancesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_pools_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_instance_pools_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_pools_request_response.go index 9f427afef..0b4dacf17 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_instance_pools_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instance_pools_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInstancePoolsRequest wrapper for the ListInstancePools operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePoolsRequest. type ListInstancePoolsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -42,7 +46,8 @@ type ListInstancePoolsRequest struct { // is case sensitive. SortOrder ListInstancePoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state + // value is case-insensitive. LifecycleState InstancePoolSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instances_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_instances_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_instances_request_response.go index 9f10f880d..8afa443f0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_instances_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInstancesRequest wrapper for the ListInstances operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstancesRequest. type ListInstancesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -46,7 +50,8 @@ type ListInstancesRequest struct { // is case sensitive. SortOrder ListInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state + // value is case-insensitive. LifecycleState InstanceLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_internet_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_internet_gateways_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_internet_gateways_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_internet_gateways_request_response.go index 5d34a4bf2..edc117148 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_internet_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_internet_gateways_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListInternetGatewaysRequest wrapper for the ListInternetGateways operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGatewaysRequest. type ListInternetGatewaysRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -45,7 +49,8 @@ type ListInternetGatewaysRequest struct { // is case sensitive. SortOrder ListInternetGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState InternetGatewayLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_ipv6s_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_ipv6s_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_ipv6s_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_ipv6s_request_response.go index 34b4b72b9..67f75f575 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_ipv6s_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_ipv6s_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListIpv6sRequest wrapper for the ListIpv6s operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6sRequest. type ListIpv6sRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_local_peering_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_local_peering_gateways_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/list_local_peering_gateways_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_local_peering_gateways_request_response.go index 867e440e9..7209756a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_local_peering_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_local_peering_gateways_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListLocalPeeringGatewaysRequest wrapper for the ListLocalPeeringGateways operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGatewaysRequest. type ListLocalPeeringGatewaysRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -26,7 +30,7 @@ type ListLocalPeeringGatewaysRequest struct { // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_nat_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_nat_gateways_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_nat_gateways_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_nat_gateways_request_response.go index 4cd93a4a7..23eaf0456 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_nat_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_nat_gateways_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListNatGatewaysRequest wrapper for the ListNatGateways operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGatewaysRequest. type ListNatGatewaysRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -45,7 +49,8 @@ type ListNatGatewaysRequest struct { // is case sensitive. SortOrder ListNatGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only resources that match the specified lifecycle state. The value is case insensitive. + // A filter to return only resources that match the specified lifecycle + // state. The value is case insensitive. LifecycleState NatGatewayLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_group_security_rules_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_network_security_group_security_rules_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_group_security_rules_request_response.go index 7ba169a5a..338565afb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_group_security_rules_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListNetworkSecurityGroupSecurityRulesRequest wrapper for the ListNetworkSecurityGroupSecurityRules operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRulesRequest. type ListNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Direction of the security rule. Set to `EGRESS` for rules that allow outbound IP packets, diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_network_security_group_vnics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_group_vnics_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_network_security_group_vnics_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_group_vnics_request_response.go index 19a5f7d53..efc310710 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_network_security_group_vnics_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_group_vnics_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListNetworkSecurityGroupVnicsRequest wrapper for the ListNetworkSecurityGroupVnics operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnicsRequest. type ListNetworkSecurityGroupVnicsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_network_security_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_groups_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_network_security_groups_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_groups_request_response.go index d5e6f0b98..c61b6dad7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_network_security_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_network_security_groups_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListNetworkSecurityGroupsRequest wrapper for the ListNetworkSecurityGroups operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroupsRequest. type ListNetworkSecurityGroupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -45,7 +49,8 @@ type ListNetworkSecurityGroupsRequest struct { // is case sensitive. SortOrder ListNetworkSecurityGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only resources that match the specified lifecycle state. The value is case insensitive. + // A filter to return only resources that match the specified lifecycle + // state. The value is case insensitive. LifecycleState NetworkSecurityGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_private_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_private_ips_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/list_private_ips_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_private_ips_request_response.go index 6ed8b4aff..251ad329e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_private_ips_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_private_ips_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListPrivateIpsRequest wrapper for the ListPrivateIps operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIpsRequest. type ListPrivateIpsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -33,7 +37,7 @@ type ListPrivateIpsRequest struct { // The OCID of the VNIC. VnicId *string `mandatory:"false" contributesTo:"query" name:"vnicId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"false" contributesTo:"query" name:"vlanId"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/list_public_ip_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_public_ip_pools_request_response.go new file mode 100644 index 000000000..d53132bf3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_public_ip_pools_request_response.go @@ -0,0 +1,147 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ListPublicIpPoolsRequest wrapper for the ListPublicIpPools operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPoolsRequest. +type ListPublicIpPoolsRequest struct { + + // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // 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"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // A filter to return only resources that match the given BYOIP CIDR block. + ByoipRangeId *string `mandatory:"false" contributesTo:"query" name:"byoipRangeId"` + + // 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 ListPublicIpPoolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListPublicIpPoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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 +} + +func (request ListPublicIpPoolsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListPublicIpPoolsRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListPublicIpPoolsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ListPublicIpPoolsResponse wrapper for the ListPublicIpPools operation +type ListPublicIpPoolsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of PublicIpPoolCollection instances + PublicIpPoolCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListPublicIpPoolsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListPublicIpPoolsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListPublicIpPoolsSortByEnum Enum with underlying type: string +type ListPublicIpPoolsSortByEnum string + +// Set of constants representing the allowable values for ListPublicIpPoolsSortByEnum +const ( + ListPublicIpPoolsSortByTimecreated ListPublicIpPoolsSortByEnum = "TIMECREATED" + ListPublicIpPoolsSortByDisplayname ListPublicIpPoolsSortByEnum = "DISPLAYNAME" +) + +var mappingListPublicIpPoolsSortBy = map[string]ListPublicIpPoolsSortByEnum{ + "TIMECREATED": ListPublicIpPoolsSortByTimecreated, + "DISPLAYNAME": ListPublicIpPoolsSortByDisplayname, +} + +// GetListPublicIpPoolsSortByEnumValues Enumerates the set of values for ListPublicIpPoolsSortByEnum +func GetListPublicIpPoolsSortByEnumValues() []ListPublicIpPoolsSortByEnum { + values := make([]ListPublicIpPoolsSortByEnum, 0) + for _, v := range mappingListPublicIpPoolsSortBy { + values = append(values, v) + } + return values +} + +// ListPublicIpPoolsSortOrderEnum Enum with underlying type: string +type ListPublicIpPoolsSortOrderEnum string + +// Set of constants representing the allowable values for ListPublicIpPoolsSortOrderEnum +const ( + ListPublicIpPoolsSortOrderAsc ListPublicIpPoolsSortOrderEnum = "ASC" + ListPublicIpPoolsSortOrderDesc ListPublicIpPoolsSortOrderEnum = "DESC" +) + +var mappingListPublicIpPoolsSortOrder = map[string]ListPublicIpPoolsSortOrderEnum{ + "ASC": ListPublicIpPoolsSortOrderAsc, + "DESC": ListPublicIpPoolsSortOrderDesc, +} + +// GetListPublicIpPoolsSortOrderEnumValues Enumerates the set of values for ListPublicIpPoolsSortOrderEnum +func GetListPublicIpPoolsSortOrderEnumValues() []ListPublicIpPoolsSortOrderEnum { + values := make([]ListPublicIpPoolsSortOrderEnum, 0) + for _, v := range mappingListPublicIpPoolsSortOrder { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_public_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_public_ips_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_public_ips_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_public_ips_request_response.go index dad4a965d..b96b9d31c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_public_ips_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_public_ips_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListPublicIpsRequest wrapper for the ListPublicIps operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIpsRequest. type ListPublicIpsRequest struct { // Whether the public IP is regional or specific to a particular availability domain. @@ -43,6 +47,9 @@ type ListPublicIpsRequest struct { // A filter to return only public IPs that match given lifetime. Lifetime ListPublicIpsLifetimeEnum `mandatory:"false" contributesTo:"query" name:"lifetime" omitEmpty:"true"` + // A filter to return only resources that belong to the given public IP pool. + PublicIpPoolId *string `mandatory:"false" contributesTo:"query" name:"publicIpPoolId"` + // Unique Oracle-assigned 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_remote_peering_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_remote_peering_connections_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_remote_peering_connections_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_remote_peering_connections_request_response.go index 736b552d1..d7a97e36f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_remote_peering_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_remote_peering_connections_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListRemotePeeringConnectionsRequest wrapper for the ListRemotePeeringConnections operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnectionsRequest. type ListRemotePeeringConnectionsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_route_tables_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_route_tables_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_route_tables_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_route_tables_request_response.go index e89d57d85..5b4da2eb3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_route_tables_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_route_tables_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListRouteTablesRequest wrapper for the ListRouteTables operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTablesRequest. type ListRouteTablesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -26,7 +30,7 @@ type ListRouteTablesRequest struct { // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -45,7 +49,8 @@ type ListRouteTablesRequest struct { // is case sensitive. SortOrder ListRouteTablesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState RouteTableLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_security_lists_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_security_lists_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_security_lists_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_security_lists_request_response.go index dfaef9ae7..3891e80ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_security_lists_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_security_lists_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListSecurityListsRequest wrapper for the ListSecurityLists operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityListsRequest. type ListSecurityListsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -26,7 +30,7 @@ type ListSecurityListsRequest struct { // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -45,7 +49,8 @@ type ListSecurityListsRequest struct { // is case sensitive. SortOrder ListSecurityListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState SecurityListLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_service_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_service_gateways_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_service_gateways_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_service_gateways_request_response.go index 6caa2b041..17f056d9e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_service_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_service_gateways_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListServiceGatewaysRequest wrapper for the ListServiceGateways operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGatewaysRequest. type ListServiceGatewaysRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -42,7 +46,8 @@ type ListServiceGatewaysRequest struct { // is case sensitive. SortOrder ListServiceGatewaysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to return only resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState ServiceGatewayLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_services_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_services_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_services_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_services_request_response.go index 1537b4582..9c60c3360 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_services_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_services_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListServicesRequest wrapper for the ListServices operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServicesRequest. type ListServicesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_shapes_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_shapes_request_response.go index 4e6a93771..5d9ed37ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListShapesRequest wrapper for the ListShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapesRequest. type ListShapesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_subnets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_subnets_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_subnets_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_subnets_request_response.go index f2eda3610..63db83338 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_subnets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_subnets_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListSubnetsRequest wrapper for the ListSubnets operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnetsRequest. type ListSubnetsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -26,7 +30,7 @@ type ListSubnetsRequest struct { // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -45,7 +49,8 @@ type ListSubnetsRequest struct { // is case sensitive. SortOrder ListSubnetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState SubnetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_vcns_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_vcns_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_vcns_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_vcns_request_response.go index 9791d7f71..85a14acc2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_vcns_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_vcns_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVcnsRequest wrapper for the ListVcns operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcnsRequest. type ListVcnsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -42,7 +46,8 @@ type ListVcnsRequest struct { // is case sensitive. SortOrder ListVcnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState VcnLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuit_bandwidth_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuit_bandwidth_shapes_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuit_bandwidth_shapes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuit_bandwidth_shapes_request_response.go index 427a59400..ca99c4c76 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuit_bandwidth_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuit_bandwidth_shapes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVirtualCircuitBandwidthShapesRequest wrapper for the ListVirtualCircuitBandwidthShapes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapesRequest. type ListVirtualCircuitBandwidthShapesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuit_public_prefixes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuit_public_prefixes_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuit_public_prefixes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuit_public_prefixes_request_response.go index f554a54e8..52f714351 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuit_public_prefixes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuit_public_prefixes_request_response.go @@ -1,21 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVirtualCircuitPublicPrefixesRequest wrapper for the ListVirtualCircuitPublicPrefixes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixesRequest. type ListVirtualCircuitPublicPrefixesRequest struct { // The OCID of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` - // A filter to only return resources that match the given verification state. + // A filter to only return resources that match the given verification + // state. // The state value is case-insensitive. VerificationState VirtualCircuitPublicPrefixVerificationStateEnum `mandatory:"false" contributesTo:"query" name:"verificationState" omitEmpty:"true"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuits_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuits_request_response.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuits_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuits_request_response.go index a75a4125d..c4b62178f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_virtual_circuits_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_virtual_circuits_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVirtualCircuitsRequest wrapper for the ListVirtualCircuits operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuitsRequest. type ListVirtualCircuitsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -42,7 +46,8 @@ type ListVirtualCircuitsRequest struct { // is case sensitive. SortOrder ListVirtualCircuitsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only resources that match the specified lifecycle state. The value is case insensitive. + // A filter to return only resources that match the specified lifecycle + // state. The value is case insensitive. LifecycleState VirtualCircuitLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_vlans_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_vlans_request_response.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/list_vlans_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_vlans_request_response.go index 4009c5924..fe5a3ac7a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_vlans_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_vlans_request_response.go @@ -1,21 +1,25 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVlansRequest wrapper for the ListVlans operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlansRequest. type ListVlansRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated @@ -49,7 +53,8 @@ type ListVlansRequest struct { // 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 filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState VlanLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_vnic_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_vnic_attachments_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_vnic_attachments_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_vnic_attachments_request_response.go index d63df5cb7..cbadfaf43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_vnic_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_vnic_attachments_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVnicAttachmentsRequest wrapper for the ListVnicAttachments operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachmentsRequest. type ListVnicAttachmentsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_attachments_request_response.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/list_volume_attachments_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_attachments_request_response.go index 00981bb7e..ac5dd8b54 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_attachments_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVolumeAttachmentsRequest wrapper for the ListVolumeAttachments operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachmentsRequest. type ListVolumeAttachmentsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_backup_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_backup_policies_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/list_volume_backup_policies_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_backup_policies_request_response.go index acd07bef3..922d422fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_backup_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_backup_policies_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVolumeBackupPoliciesRequest wrapper for the ListVolumeBackupPolicies operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPoliciesRequest. type ListVolumeBackupPoliciesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_backups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_backups_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_volume_backups_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_backups_request_response.go index 7320805d1..603df1929 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_backups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_backups_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVolumeBackupsRequest wrapper for the ListVolumeBackups operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackupsRequest. type ListVolumeBackupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -48,7 +52,8 @@ type ListVolumeBackupsRequest struct { // is case sensitive. SortOrder ListVolumeBackupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state + // value is case-insensitive. LifecycleState VolumeBackupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_group_backups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_group_backups_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_volume_group_backups_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_group_backups_request_response.go index da2092a41..18235e45a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_group_backups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_group_backups_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVolumeGroupBackupsRequest wrapper for the ListVolumeGroupBackups operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackupsRequest. type ListVolumeGroupBackupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_groups_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_volume_groups_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_groups_request_response.go index be64cb98b..1c5c23e52 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_volume_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volume_groups_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVolumeGroupsRequest wrapper for the ListVolumeGroups operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroupsRequest. type ListVolumeGroupsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -46,7 +50,8 @@ type ListVolumeGroupsRequest struct { // is case sensitive. SortOrder ListVolumeGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle + // state. The state value is case-insensitive. LifecycleState VolumeGroupLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/list_volumes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volumes_request_response.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/list_volumes_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/list_volumes_request_response.go index b54c9d6bc..142f4c0f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/list_volumes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/list_volumes_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ListVolumesRequest wrapper for the ListVolumes operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumesRequest. type ListVolumesRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. @@ -49,7 +53,8 @@ type ListVolumesRequest struct { // The OCID of the volume group. VolumeGroupId *string `mandatory:"false" contributesTo:"query" name:"volumeGroupId"` - // A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. + // A filter to only return resources that match the given lifecycle state. The state + // value is case-insensitive. LifecycleState VolumeLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/local_peering_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/local_peering_gateway.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/local_peering_gateway.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/local_peering_gateway.go index f32e43a2f..5d366c766 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/local_peering_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/local_peering_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Tasks/VCNpeering.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type LocalPeeringGateway struct { // The OCID of the compartment containing the LPG. @@ -55,7 +53,7 @@ type LocalPeeringGateway struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID of the VCN the LPG belongs to. + // The OCID (https://docs.cloud.oracle.com/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 @@ -86,7 +84,7 @@ type LocalPeeringGateway struct { // The OCID of the route table the LPG is using. // For information about why you would associate a route table with an LPG, see - // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/Content/Network/Tasks/transitrouting.htm). + // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/modify_vcn_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/modify_vcn_cidr_details.go new file mode 100644 index 000000000..05d521ba4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/modify_vcn_cidr_details.go @@ -0,0 +1,32 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// ModifyVcnCidrDetails Details for updating a CIDR block. +type ModifyVcnCidrDetails struct { + + // The CIDR IP address to update. + OriginalCidrBlock *string `mandatory:"true" json:"originalCidrBlock"` + + // The new CIDR IP address. + NewCidrBlock *string `mandatory:"true" json:"newCidrBlock"` +} + +func (m ModifyVcnCidrDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/modify_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/modify_vcn_cidr_request_response.go new file mode 100644 index 000000000..e388efdd3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/modify_vcn_cidr_request_response.go @@ -0,0 +1,82 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ModifyVcnCidrRequest wrapper for the ModifyVcnCidr operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidrRequest. +type ModifyVcnCidrRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` + + // Details object for updating a VCN CIDR. + ModifyVcnCidrDetails `contributesTo:"body"` + + // 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"` + + // 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ModifyVcnCidrRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ModifyVcnCidrRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ModifyVcnCidrRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ModifyVcnCidrResponse wrapper for the ModifyVcnCidr operation +type ModifyVcnCidrResponse 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"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response ModifyVcnCidrResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ModifyVcnCidrResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/nat_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/nat_gateway.go similarity index 83% rename from vendor/github.com/oracle/oci-go-sdk/core/nat_gateway.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/nat_gateway.go index cf72e730c..d1c4c6810 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/nat_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/nat_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,27 +14,26 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // NatGateway A NAT (Network Address Translation) gateway, which represents a router that lets instances // without public IPs contact the public internet without exposing the instance to inbound // internet traffic. For more information, see -// NAT Gateway (https://docs.cloud.oracle.com/Content/Network/Tasks/NATgateway.htm). +// NAT Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/NATgateway.htm). // To use any of the API operations, you must be authorized in an // IAM policy. If you are not authorized, talk to an // administrator. If you are an administrator who needs to write // policies to give users access, see Getting Started with -// Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type NatGateway struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains // the NAT gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the NAT gateway. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // NAT gateway. Id *string `mandatory:"true" json:"id"` // Whether the NAT gateway blocks traffic through it. The default is `false`. @@ -51,7 +50,7 @@ type NatGateway struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway // belongs to. VcnId *string `mandatory:"true" json:"vcnId"` @@ -68,6 +67,9 @@ type NatGateway struct { // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. + PublicIpId *string `mandatory:"false" json:"publicIpId"` } func (m NatGateway) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/network_security_group.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/network_security_group.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/network_security_group.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/network_security_group.go index 753ed7e7b..4dba6d25e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/network_security_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/network_security_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // NetworkSecurityGroup A *network security group* (NSG) provides virtual firewall rules for a specific set of @@ -44,15 +44,13 @@ import ( // * 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type NetworkSecurityGroup struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment the network security group is in. + // 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/Content/General/Concepts/identifiers.htm) of the network security group. + // 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. @@ -62,7 +60,7 @@ type NetworkSecurityGroup struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group's VCN. + // 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 diff --git a/vendor/github.com/oracle/oci-go-sdk/core/network_security_group_vnic.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/network_security_group_vnic.go similarity index 80% rename from vendor/github.com/oracle/oci-go-sdk/core/network_security_group_vnic.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/network_security_group_vnic.go index 0487b116e..ec04a7042 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/network_security_group_vnic.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/network_security_group_vnic.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,16 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // NetworkSecurityGroupVnic Information about a VNIC that belongs to a network security group. type NetworkSecurityGroupVnic struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC. + // 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/Content/General/Concepts/identifiers.htm) of the parent resource that the VNIC + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/paravirtualized_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/paravirtualized_volume_attachment.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/paravirtualized_volume_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/paravirtualized_volume_attachment.go index aa3abb86d..1c94b467d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/paravirtualized_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/paravirtualized_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ParavirtualizedVolumeAttachment A paravirtualized volume attachment. @@ -52,7 +52,10 @@ type ParavirtualizedVolumeAttachment struct { // Whether the attachment was created in read-only mode. IsReadOnly *bool `mandatory:"false" json:"isReadOnly"` - // Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. + // Whether the attachment should be created in shareable mode. If an attachment + // is created in shareable mode, then other instances can attach the same volume, provided + // that they also create their attachments in shareable mode. Only certain volume types can + // be attached in shareable mode. Defaults to false if not specified. IsShareable *bool `mandatory:"false" json:"isShareable"` // Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/peer_region_for_remote_peering.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/peer_region_for_remote_peering.go similarity index 81% rename from vendor/github.com/oracle/oci-go-sdk/core/peer_region_for_remote_peering.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/peer_region_for_remote_peering.go index ea3bd964e..650fe0f2a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/peer_region_for_remote_peering.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/peer_region_for_remote_peering.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,10 +14,11 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// PeerRegionForRemotePeering Details about a region that supports remote VCN peering. For more information, see VCN Peering (https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm). +// PeerRegionForRemotePeering Details about a region that supports remote VCN peering. For more +// information, see VCN Peering (https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm). type PeerRegionForRemotePeering struct { // The region's name. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/platform_config.go new file mode 100644 index 000000000..cee168da9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/platform_config.go @@ -0,0 +1,88 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "encoding/json" + "github.com/oracle/oci-go-sdk/v36/common" +) + +// PlatformConfig The platform configuration for the instance. The type of platform configuration is +// determined by the `type`. +type PlatformConfig interface { +} + +type platformconfig struct { + JsonData []byte + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *platformconfig) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerplatformconfig platformconfig + s := struct { + Model Unmarshalerplatformconfig + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *platformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "AMD_MILAN_BM": + mm := AmdMilanBmPlatformConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + return *m, nil + } +} + +func (m platformconfig) String() string { + return common.PointerString(m) +} + +// PlatformConfigTypeEnum Enum with underlying type: string +type PlatformConfigTypeEnum string + +// Set of constants representing the allowable values for PlatformConfigTypeEnum +const ( + PlatformConfigTypeAmdMilanBm PlatformConfigTypeEnum = "AMD_MILAN_BM" +) + +var mappingPlatformConfigType = map[string]PlatformConfigTypeEnum{ + "AMD_MILAN_BM": PlatformConfigTypeAmdMilanBm, +} + +// GetPlatformConfigTypeEnumValues Enumerates the set of values for PlatformConfigTypeEnum +func GetPlatformConfigTypeEnumValues() []PlatformConfigTypeEnum { + values := make([]PlatformConfigTypeEnum, 0) + for _, v := range mappingPlatformConfigType { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/port_range.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/port_range.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/port_range.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/port_range.go index f14dce23d..5d2a4de2d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/port_range.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/port_range.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // PortRange The representation of PortRange diff --git a/vendor/github.com/oracle/oci-go-sdk/core/private_ip.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/private_ip.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/private_ip.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/private_ip.go index b7ad4ac4d..b744c7cd9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/private_ip.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/private_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // PrivateIp A *private IP* is a conceptual term that refers to an IPv4 private IP address and related properties. @@ -27,7 +27,7 @@ import ( // 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/Content/Network/Tasks/managingIPaddresses.htm). +// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // **Note:** Only // ListPrivateIps and // GetPrivateIp work with @@ -44,9 +44,7 @@ import ( // Vlan. // 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type PrivateIp struct { // The private IP's availability domain. This attribute will be null if this is a *secondary* @@ -78,7 +76,7 @@ type PrivateIp struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/public_ip.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/public_ip.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip.go index 26738aaef..cb5175915 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/public_ip.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // PublicIp A *public IP* is a conceptual term that refers to a public IP address and related properties. @@ -23,9 +23,7 @@ import ( // 1. Ephemeral // 2. Reserved // For more information and comparison of the two types, -// see Public IP Addresses (https://docs.cloud.oracle.com/Content/Network/Tasks/managingpublicIPs.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). type PublicIp struct { // The OCID of the entity the public IP is assigned to, or in the process of @@ -82,7 +80,7 @@ type PublicIp struct { // * `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/Content/Network/Tasks/managingpublicIPs.htm). + // see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). Lifetime PublicIpLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` // Deprecated. Use `assignedEntityId` instead. @@ -105,6 +103,9 @@ type PublicIp struct { // 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"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool object created in the current tenancy. + PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` } func (m PublicIp) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool.go new file mode 100644 index 000000000..d03b13c90 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool.go @@ -0,0 +1,85 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// PublicIpPool A public IP pool is a set of public IP addresses represented as one or more IPv4 CIDR blocks. Resources like load balancers and compute instances can be allocated public IP addresses from a public IP pool. +type PublicIpPool struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this pool. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + Id *string `mandatory:"true" json:"id"` + + // The date and time the public IP pool 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 CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block. + CidrBlocks []string `mandatory:"false" json:"cidrBlocks"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The public IP pool's current state. + LifecycleState PublicIpPoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` +} + +func (m PublicIpPool) String() string { + return common.PointerString(m) +} + +// PublicIpPoolLifecycleStateEnum Enum with underlying type: string +type PublicIpPoolLifecycleStateEnum string + +// Set of constants representing the allowable values for PublicIpPoolLifecycleStateEnum +const ( + PublicIpPoolLifecycleStateInactive PublicIpPoolLifecycleStateEnum = "INACTIVE" + PublicIpPoolLifecycleStateUpdating PublicIpPoolLifecycleStateEnum = "UPDATING" + PublicIpPoolLifecycleStateActive PublicIpPoolLifecycleStateEnum = "ACTIVE" + PublicIpPoolLifecycleStateDeleting PublicIpPoolLifecycleStateEnum = "DELETING" + PublicIpPoolLifecycleStateDeleted PublicIpPoolLifecycleStateEnum = "DELETED" +) + +var mappingPublicIpPoolLifecycleState = map[string]PublicIpPoolLifecycleStateEnum{ + "INACTIVE": PublicIpPoolLifecycleStateInactive, + "UPDATING": PublicIpPoolLifecycleStateUpdating, + "ACTIVE": PublicIpPoolLifecycleStateActive, + "DELETING": PublicIpPoolLifecycleStateDeleting, + "DELETED": PublicIpPoolLifecycleStateDeleted, +} + +// GetPublicIpPoolLifecycleStateEnumValues Enumerates the set of values for PublicIpPoolLifecycleStateEnum +func GetPublicIpPoolLifecycleStateEnumValues() []PublicIpPoolLifecycleStateEnum { + values := make([]PublicIpPoolLifecycleStateEnum, 0) + for _, v := range mappingPublicIpPoolLifecycleState { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool_collection.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool_collection.go new file mode 100644 index 000000000..824bf9303 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool_collection.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// PublicIpPoolCollection Results of a `ListPublicIpPool` operation. +type PublicIpPoolCollection struct { + + // A list of public IP pool summaries. + Items []PublicIpPoolSummary `mandatory:"true" json:"items"` +} + +func (m PublicIpPoolCollection) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool_summary.go new file mode 100644 index 000000000..1dc8f4a04 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/public_ip_pool_summary.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// PublicIpPoolSummary Summary information about a public IP pool. +type PublicIpPoolSummary struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. + CompartmentId *string `mandatory:"false" json:"compartmentId"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + Id *string `mandatory:"false" json:"id"` + + // The public IP pool's current state. + LifecycleState PublicIpPoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // The date and time the public IP pool was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` +} + +func (m PublicIpPoolSummary) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/remote_peering_connection.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remote_peering_connection.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/remote_peering_connection.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/remote_peering_connection.go index d758f6a31..b51c80771 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/remote_peering_connection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remote_peering_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Tasks/VCNpeering.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type RemotePeeringConnection struct { // The OCID of the compartment that contains the RPC. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/remove_image_shape_compatibility_entry_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_image_shape_compatibility_entry_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/remove_image_shape_compatibility_entry_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/remove_image_shape_compatibility_entry_request_response.go index 714813195..c69d57450 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/remove_image_shape_compatibility_entry_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_image_shape_compatibility_entry_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // RemoveImageShapeCompatibilityEntryRequest wrapper for the RemoveImageShapeCompatibilityEntry operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntryRequest. type RemoveImageShapeCompatibilityEntryRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/remove_network_security_group_security_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_network_security_group_security_rules_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/remove_network_security_group_security_rules_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/remove_network_security_group_security_rules_details.go index cd3189717..ced17e776 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/remove_network_security_group_security_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // RemoveNetworkSecurityGroupSecurityRulesDetails The representation of RemoveNetworkSecurityGroupSecurityRulesDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/remove_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_network_security_group_security_rules_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/remove_network_security_group_security_rules_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/remove_network_security_group_security_rules_request_response.go index e958b6282..8110371e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/remove_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_network_security_group_security_rules_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // RemoveNetworkSecurityGroupSecurityRulesRequest wrapper for the RemoveNetworkSecurityGroupSecurityRules operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRulesRequest. type RemoveNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request with one or more security rules associated with the network security group that diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_public_ip_pool_capacity_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_public_ip_pool_capacity_details.go new file mode 100644 index 000000000..0dfbe66a9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_public_ip_pool_capacity_details.go @@ -0,0 +1,30 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// RemovePublicIpPoolCapacityDetails The information needed to remove capacity from a public IP pool. +type RemovePublicIpPoolCapacityDetails struct { + + // The CIDR block to remove from the public IP pool. + // Example: `10.0.1.0/24` + CidrBlock *string `mandatory:"true" json:"cidrBlock"` +} + +func (m RemovePublicIpPoolCapacityDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_public_ip_pool_capacity_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_public_ip_pool_capacity_request_response.go new file mode 100644 index 000000000..bdfbd489a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_public_ip_pool_capacity_request_response.go @@ -0,0 +1,79 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// RemovePublicIpPoolCapacityRequest wrapper for the RemovePublicIpPoolCapacity operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacityRequest. +type RemovePublicIpPoolCapacityRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` + + // The CIDR block to remove from the IP pool. + RemovePublicIpPoolCapacityDetails `contributesTo:"body"` + + // 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 +} + +func (request RemovePublicIpPoolCapacityRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request RemovePublicIpPoolCapacityRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request RemovePublicIpPoolCapacityRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// RemovePublicIpPoolCapacityResponse wrapper for the RemovePublicIpPoolCapacity operation +type RemovePublicIpPoolCapacityResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicIpPool instance + PublicIpPool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response RemovePublicIpPoolCapacityResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response RemovePublicIpPoolCapacityResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_vcn_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_vcn_cidr_details.go new file mode 100644 index 000000000..b23f630d6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_vcn_cidr_details.go @@ -0,0 +1,29 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// RemoveVcnCidrDetails Details for removing a CIDR block from a VCN. +type RemoveVcnCidrDetails struct { + + // The CIDR block to remove. + CidrBlock *string `mandatory:"true" json:"cidrBlock"` +} + +func (m RemoveVcnCidrDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_vcn_cidr_request_response.go new file mode 100644 index 000000000..88d37f667 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/remove_vcn_cidr_request_response.go @@ -0,0 +1,82 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// RemoveVcnCidrRequest wrapper for the RemoveVcnCidr operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidrRequest. +type RemoveVcnCidrRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` + + // Details object for removing a VCN CIDR. + RemoveVcnCidrDetails `contributesTo:"body"` + + // 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"` + + // 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request RemoveVcnCidrRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request RemoveVcnCidrRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request RemoveVcnCidrRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// RemoveVcnCidrResponse wrapper for the RemoveVcnCidr operation +type RemoveVcnCidrResponse 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"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response RemoveVcnCidrResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response RemoveVcnCidrResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/reset_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/reset_instance_pool_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/reset_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/reset_instance_pool_request_response.go index d0c490a6d..d173928e5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/reset_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/reset_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // ResetInstancePoolRequest wrapper for the ResetInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePoolRequest. type ResetInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -23,7 +27,7 @@ type ResetInstancePoolRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/route_rule.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/route_rule.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/route_rule.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/route_rule.go index 4996fffd9..a0a325e71 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/route_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/route_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // RouteRule A mapping between a destination IP address range and a virtual device to route matching @@ -23,7 +23,7 @@ type RouteRule struct { // The OCID for the route rule's target. For information about the type of // targets you can specify, see - // Route Tables (https://docs.cloud.oracle.com/Content/Network/Tasks/managingroutetables.htm). + // 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 @@ -40,7 +40,7 @@ type RouteRule struct { // * 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. Note that IPv6 addressing is currently supported - // only in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // 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 route rule for traffic destined for a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/route_table.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/route_table.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/route_table.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/route_table.go index 9b0ea9631..090fa4077 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/route_table.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/route_table.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,17 +14,15 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/overview.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type RouteTable struct { // The OCID of the compartment containing the route table. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/security_list.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/security_list.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/security_list.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/security_list.go index aa064de22..e72993d40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/security_list.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/security_list.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/securitylists.htm). +// 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 @@ -31,9 +31,7 @@ import ( // 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type SecurityList struct { // The OCID of the compartment containing the security list. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/security_rule.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/security_rule.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/security_rule.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/security_rule.go index ad66fca41..35f14224d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/security_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // SecurityRule A security rule is one of the items in a NetworkSecurityGroup. @@ -22,7 +22,8 @@ import ( // either inbound (`direction`= INGRESS) or outbound (`direction`= EGRESS) IP packets. 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 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 @@ -39,7 +40,7 @@ type SecurityRule struct { // Allowed values: // * An 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -58,15 +59,6 @@ type SecurityRule struct { // NetworkSecurityGroup. DestinationType SecurityRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` - // 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 rule for each. IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"` // An Oracle-assigned identifier for the security rule. You specify this ID when you want to @@ -91,7 +83,7 @@ type SecurityRule struct { // Allowed values: // * An 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -109,15 +101,11 @@ type SecurityRule struct { // NetworkSecurityGroup. SourceType SecurityRuleSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` - // 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. 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"` - // 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. UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/service.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/service.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/service.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/service.go index 1952fadad..e8342b944 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/service.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,12 +14,12 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Tasks/servicegateway.htm), the +// 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. @@ -40,7 +40,7 @@ type Service struct { // Example: `OCI PHX Object Storage` Description *string `mandatory:"true" json:"description"` - // The `Service` object's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // 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. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/service_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/service_gateway.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/service_gateway.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/service_gateway.go index 132af4b5e..6a792f271 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/service_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/service_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ServiceGateway Represents a router that lets your VCN privately access specific Oracle services such as Object @@ -23,12 +23,10 @@ import ( // 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/Content/Network/Tasks/servicegateway.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type ServiceGateway struct { // Whether the service gateway blocks all traffic through it. The default is `false`. When @@ -36,11 +34,11 @@ type ServiceGateway struct { // Example: `true` BlockTraffic *bool `mandatory:"true" json:"blockTraffic"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the + // 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/Content/General/Concepts/identifiers.htm) of the service gateway. + // 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. @@ -52,7 +50,7 @@ type ServiceGateway struct { // UpdateServiceGateway. Services []ServiceIdResponseDetails `mandatory:"true" json:"services"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN the service gateway + // 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"` @@ -72,7 +70,7 @@ type ServiceGateway struct { // The OCID of the route table the service gateway is using. // For information about why you would associate a route table with a service gateway, see - // Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.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"` // The date and time the service gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/service_id_request_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/service_id_request_details.go similarity index 82% rename from vendor/github.com/oracle/oci-go-sdk/core/service_id_request_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/service_id_request_details.go index 641deaabb..50040b5f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/service_id_request_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/service_id_request_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ServiceIdRequestDetails The representation of ServiceIdRequestDetails type ServiceIdRequestDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Service. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Service. ServiceId *string `mandatory:"true" json:"serviceId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/service_id_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/service_id_response_details.go similarity index 84% rename from vendor/github.com/oracle/oci-go-sdk/core/service_id_response_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/service_id_response_details.go index ba57714dd..297fd2469 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/service_id_response_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/service_id_response_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,13 +14,13 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ServiceIdResponseDetails The representation of ServiceIdResponseDetails type ServiceIdResponseDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the service. + // 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. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/shape.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/shape.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/shape.go index 7953bd3e7..a7a0cf111 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Shape A compute instance shape that can be used in LaunchInstance. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/shape_max_vnic_attachment_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_max_vnic_attachment_options.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/shape_max_vnic_attachment_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/shape_max_vnic_attachment_options.go index 1136f2b7b..1778ca9c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/shape_max_vnic_attachment_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_max_vnic_attachment_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ShapeMaxVnicAttachmentOptions For a flexible shape, the number of VNIC attachments that are available for instances that use this shape. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/shape_memory_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_memory_options.go similarity index 78% rename from vendor/github.com/oracle/oci-go-sdk/core/shape_memory_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/shape_memory_options.go index 9011b115c..712b4811b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/shape_memory_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_memory_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ShapeMemoryOptions For a flexible shape, the amount of memory available for instances that use this shape. @@ -29,6 +29,12 @@ type ShapeMemoryOptions struct { // The default amount of memory per OCPU available for this shape, in gigabytes. DefaultPerOcpuInGBs *float32 `mandatory:"false" json:"defaultPerOcpuInGBs"` + + // The minimum amount of memory per OCPU available for this shape, in gigabytes. + MinPerOcpuInGBs *float32 `mandatory:"false" json:"minPerOcpuInGBs"` + + // The maximum amount of memory per OCPU available for this shape, in gigabytes. + MaxPerOcpuInGBs *float32 `mandatory:"false" json:"maxPerOcpuInGBs"` } func (m ShapeMemoryOptions) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/shape_networking_bandwidth_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_networking_bandwidth_options.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/shape_networking_bandwidth_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/shape_networking_bandwidth_options.go index bedf41245..c21df7b91 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/shape_networking_bandwidth_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_networking_bandwidth_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ShapeNetworkingBandwidthOptions For a flexible shape, the amount of networking bandwidth available for instances that use this shape. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/shape_ocpu_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_ocpu_options.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/shape_ocpu_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/shape_ocpu_options.go index f00327c8f..0e5a06f6f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/shape_ocpu_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/shape_ocpu_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // ShapeOcpuOptions For a flexible shape, the number of OCPUs available for instances that use this shape. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/softreset_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/softreset_instance_pool_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/softreset_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/softreset_instance_pool_request_response.go index 6568ba942..2334d9220 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/softreset_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/softreset_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // SoftresetInstancePoolRequest wrapper for the SoftresetInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePoolRequest. type SoftresetInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -23,7 +27,7 @@ type SoftresetInstancePoolRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/start_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/start_instance_pool_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/start_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/start_instance_pool_request_response.go index c5df60bb5..227f8c224 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/start_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/start_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // StartInstancePoolRequest wrapper for the StartInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePoolRequest. type StartInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -23,7 +27,7 @@ type StartInstancePoolRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/stop_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/stop_instance_pool_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/stop_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/stop_instance_pool_request_response.go index 55f301a2f..05783c9c1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/stop_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/stop_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // StopInstancePoolRequest wrapper for the StopInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePoolRequest. type StopInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -23,7 +27,7 @@ type StopInstancePoolRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/subnet.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/subnet.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/subnet.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/subnet.go index b991bde9b..d6ecab3c8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/subnet.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,17 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/overview.htm) and -// VCNs and Subnets (https://docs.cloud.oracle.com/Content/Network/Tasks/managingVCNs.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Subnet struct { // The subnet's CIDR block. @@ -81,7 +79,7 @@ type Subnet struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` @@ -92,7 +90,7 @@ type Subnet struct { // 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. Note that IPv6 addressing is currently supported only - // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // in certain 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"` @@ -127,7 +125,7 @@ type Subnet struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` @@ -149,6 +147,7 @@ const ( SubnetLifecycleStateAvailable SubnetLifecycleStateEnum = "AVAILABLE" SubnetLifecycleStateTerminating SubnetLifecycleStateEnum = "TERMINATING" SubnetLifecycleStateTerminated SubnetLifecycleStateEnum = "TERMINATED" + SubnetLifecycleStateUpdating SubnetLifecycleStateEnum = "UPDATING" ) var mappingSubnetLifecycleState = map[string]SubnetLifecycleStateEnum{ @@ -156,6 +155,7 @@ var mappingSubnetLifecycleState = map[string]SubnetLifecycleStateEnum{ "AVAILABLE": SubnetLifecycleStateAvailable, "TERMINATING": SubnetLifecycleStateTerminating, "TERMINATED": SubnetLifecycleStateTerminated, + "UPDATING": SubnetLifecycleStateUpdating, } // GetSubnetLifecycleStateEnumValues Enumerates the set of values for SubnetLifecycleStateEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/core/tcp_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/tcp_options.go similarity index 64% rename from vendor/github.com/oracle/oci-go-sdk/core/tcp_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/tcp_options.go index c52f18a1d..8b0263999 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/tcp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/tcp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,14 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// TcpOptions Optional object to specify ports for a TCP rule. If you specify TCP as the -// protocol but omit this object, then all ports are allowed. +// 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. type TcpOptions struct { - - // An inclusive range of allowed destination ports. Use the same number for the min and max - // to indicate a single port. Defaults to all ports if not specified. DestinationPortRange *PortRange `mandatory:"false" json:"destinationPortRange"` - // An inclusive range of allowed source ports. Use the same number for the min and max to - // indicate a single port. Defaults to all ports if not specified. SourcePortRange *PortRange `mandatory:"false" json:"sourcePortRange"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/terminate_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_cluster_network_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/terminate_cluster_network_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_cluster_network_request_response.go index 6fc2f03cc..9cd81ca02 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/terminate_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_cluster_network_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // TerminateClusterNetworkRequest wrapper for the TerminateClusterNetwork operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetworkRequest. type TerminateClusterNetworkRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/terminate_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_instance_pool_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/terminate_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_instance_pool_request_response.go index 3fb7c9ae2..6ce3db7cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/terminate_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_instance_pool_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // TerminateInstancePoolRequest wrapper for the TerminateInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePoolRequest. type TerminateInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/terminate_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_instance_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/terminate_instance_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_instance_request_response.go index 25aabb5c4..0de6da1c2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/terminate_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/terminate_instance_request_response.go @@ -1,22 +1,26 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // TerminateInstanceRequest wrapper for the TerminateInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstanceRequest. type TerminateInstanceRequest struct { // The OCID of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/tunnel_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_config.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/tunnel_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_config.go index 79f1514e2..ab357e618 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/tunnel_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // TunnelConfig Deprecated. For tunnel information, instead see: diff --git a/vendor/github.com/oracle/oci-go-sdk/core/tunnel_cpe_device_config.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_cpe_device_config.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/tunnel_cpe_device_config.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_cpe_device_config.go index 257047e55..d7e4aee28 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/tunnel_cpe_device_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_cpe_device_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // TunnelCpeDeviceConfig The set of CPE configuration answers for the tunnel, which the customer provides in diff --git a/vendor/github.com/oracle/oci-go-sdk/core/tunnel_status.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_status.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/tunnel_status.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_status.go index 958b4fdd2..67c773186 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/tunnel_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/tunnel_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // TunnelStatus Deprecated. For tunnel information, instead see IPSecConnectionTunnel. @@ -48,12 +48,14 @@ const ( TunnelStatusLifecycleStateUp TunnelStatusLifecycleStateEnum = "UP" TunnelStatusLifecycleStateDown TunnelStatusLifecycleStateEnum = "DOWN" TunnelStatusLifecycleStateDownForMaintenance TunnelStatusLifecycleStateEnum = "DOWN_FOR_MAINTENANCE" + TunnelStatusLifecycleStatePartialUp TunnelStatusLifecycleStateEnum = "PARTIAL_UP" ) var mappingTunnelStatusLifecycleState = map[string]TunnelStatusLifecycleStateEnum{ "UP": TunnelStatusLifecycleStateUp, "DOWN": TunnelStatusLifecycleStateDown, "DOWN_FOR_MAINTENANCE": TunnelStatusLifecycleStateDownForMaintenance, + "PARTIAL_UP": TunnelStatusLifecycleStatePartialUp, } // GetTunnelStatusLifecycleStateEnumValues Enumerates the set of values for TunnelStatusLifecycleStateEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/core/udp_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/udp_options.go similarity index 64% rename from vendor/github.com/oracle/oci-go-sdk/core/udp_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/udp_options.go index 000abbe97..9b90bee73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/udp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/udp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,19 +14,14 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// UdpOptions Optional object to specify ports for a UDP rule. If you specify UDP as the -// protocol but omit this object, then all ports are allowed. +// 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. type UdpOptions struct { - - // An inclusive range of allowed destination ports. Use the same number for the min and max - // to indicate a single port. Defaults to all ports if not specified. DestinationPortRange *PortRange `mandatory:"false" json:"destinationPortRange"` - // An inclusive range of allowed source ports. Use the same number for the min and max to - // indicate a single port. Defaults to all ports if not specified. SourcePortRange *PortRange `mandatory:"false" json:"sourcePortRange"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_backup_details.go index 057057933..a93c293d2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateBootVolumeBackupDetails The representation of UpdateBootVolumeBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_backup_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_backup_request_response.go index 79c2f937c..6c8da4861 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateBootVolumeBackupRequest wrapper for the UpdateBootVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackupRequest. type UpdateBootVolumeBackupRequest struct { // The OCID of the boot volume backup. @@ -19,7 +23,7 @@ type UpdateBootVolumeBackupRequest struct { UpdateBootVolumeBackupDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_details.go index 29d093be9..a8a940928 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateBootVolumeDetails The representation of UpdateBootVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_kms_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_kms_key_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_kms_key_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_kms_key_details.go index f0d1fae9e..f02733efe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_kms_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_kms_key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateBootVolumeKmsKeyDetails The representation of UpdateBootVolumeKmsKeyDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_kms_key_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_kms_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_kms_key_request_response.go index dceda1078..c08b73635 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_kms_key_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateBootVolumeKmsKeyRequest wrapper for the UpdateBootVolumeKmsKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKeyRequest. type UpdateBootVolumeKmsKeyRequest struct { // The OCID of the boot volume. @@ -19,7 +23,7 @@ type UpdateBootVolumeKmsKeyRequest struct { UpdateBootVolumeKmsKeyDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_request_response.go index cd2d71cc9..1d4f4f900 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_boot_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateBootVolumeRequest wrapper for the UpdateBootVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolumeRequest. type UpdateBootVolumeRequest struct { // The OCID of the boot volume. @@ -19,7 +23,7 @@ type UpdateBootVolumeRequest struct { UpdateBootVolumeDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_byoip_range_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_byoip_range_details.go new file mode 100644 index 000000000..70a7ce970 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_byoip_range_details.go @@ -0,0 +1,40 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// UpdateByoipRangeDetails The information used to update a `ByoipRange` resource. +type UpdateByoipRangeDetails struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m UpdateByoipRangeDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_byoip_range_request_response.go new file mode 100644 index 000000000..d5cb8366c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_byoip_range_request_response.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// UpdateByoipRangeRequest wrapper for the UpdateByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRangeRequest. +type UpdateByoipRangeRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Byoip Range details. + UpdateByoipRangeDetails `contributesTo:"body"` + + // 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 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// UpdateByoipRangeResponse wrapper for the UpdateByoipRange operation +type UpdateByoipRangeResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ByoipRange instance + ByoipRange `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cluster_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cluster_network_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cluster_network_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cluster_network_details.go index 4d2ca9468..361c9026e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cluster_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cluster_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateClusterNetworkDetails The data to update a cluster network. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cluster_network_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cluster_network_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cluster_network_request_response.go index 0b9ee0a3d..af1370605 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cluster_network_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateClusterNetworkRequest wrapper for the UpdateClusterNetwork operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetworkRequest. type UpdateClusterNetworkRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. @@ -26,7 +30,7 @@ type UpdateClusterNetworkRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_compute_image_capability_schema_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_compute_image_capability_schema_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_compute_image_capability_schema_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_compute_image_capability_schema_details.go index e5aef1643..5713bf69e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_compute_image_capability_schema_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_compute_image_capability_schema_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateComputeImageCapabilitySchemaDetails Create Image Capability Schema for an image. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_compute_image_capability_schema_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_compute_image_capability_schema_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_compute_image_capability_schema_request_response.go index 8c94b6844..b41e04f69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_compute_image_capability_schema_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateComputeImageCapabilitySchemaRequest wrapper for the UpdateComputeImageCapabilitySchema operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchemaRequest. type UpdateComputeImageCapabilitySchemaRequest struct { // The id of the compute image capability schema or the image ocid @@ -19,7 +23,7 @@ type UpdateComputeImageCapabilitySchemaRequest struct { UpdateComputeImageCapabilitySchemaDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_console_history_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_console_history_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_console_history_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_console_history_details.go index 035437df3..3866afcc8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_console_history_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_console_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateConsoleHistoryDetails The representation of UpdateConsoleHistoryDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_console_history_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_console_history_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_console_history_request_response.go index cf62d7f6c..7169cdccf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_console_history_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateConsoleHistoryRequest wrapper for the UpdateConsoleHistory operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistoryRequest. type UpdateConsoleHistoryRequest struct { // The OCID of the console history. @@ -19,7 +23,7 @@ type UpdateConsoleHistoryRequest struct { UpdateConsoleHistoryDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cpe_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cpe_details.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cpe_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cpe_details.go index 340ab7ec8..55907a850 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cpe_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cpe_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateCpeDetails The representation of UpdateCpeDetails @@ -34,7 +34,7 @@ type UpdateCpeDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide // a value if you want to generate CPE device configuration content for IPSec connections // that use this CPE. For a list of possible values, see // ListCpeDeviceShapes. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cpe_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cpe_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cpe_request_response.go index 4271e15de..16bd9ec29 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cpe_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateCpeRequest wrapper for the UpdateCpe operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpeRequest. type UpdateCpeRequest struct { // The OCID of the CPE. @@ -19,7 +23,7 @@ type UpdateCpeRequest struct { UpdateCpeDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_details.go index b6af41e80..667433dfb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateCrossConnectDetails Update a CrossConnect diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_group_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_group_details.go index 90b7c3c9c..ec8db5da3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateCrossConnectGroupDetails The representation of UpdateCrossConnectGroupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_group_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_group_request_response.go index d4a8b413b..38c583a49 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateCrossConnectGroupRequest wrapper for the UpdateCrossConnectGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroupRequest. type UpdateCrossConnectGroupRequest struct { // The OCID of the cross-connect group. @@ -19,7 +23,7 @@ type UpdateCrossConnectGroupRequest struct { UpdateCrossConnectGroupDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_request_response.go index d5e8c0383..7c0b14a5c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_cross_connect_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateCrossConnectRequest wrapper for the UpdateCrossConnect operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnectRequest. type UpdateCrossConnectRequest struct { // The OCID of the cross-connect. @@ -19,7 +23,7 @@ type UpdateCrossConnectRequest struct { UpdateCrossConnectDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_dedicated_vm_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dedicated_vm_host_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_dedicated_vm_host_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_dedicated_vm_host_details.go index 9342092a3..d66b6195e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_dedicated_vm_host_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dedicated_vm_host_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateDedicatedVmHostDetails Details for updating the dedicated virtual machine host details. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dedicated_vm_host_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/update_dedicated_vm_host_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_dedicated_vm_host_request_response.go index 98af72cfd..b0b3cf5a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dedicated_vm_host_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateDedicatedVmHostRequest wrapper for the UpdateDedicatedVmHost operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHostRequest. type UpdateDedicatedVmHostRequest struct { // The OCID of the dedicated VM host. @@ -19,7 +23,7 @@ type UpdateDedicatedVmHostRequest struct { UpdateDedicatedVmHostDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dhcp_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_dhcp_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_dhcp_details.go index ef0aa11c8..0baeeedaa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_dhcp_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dhcp_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateDhcpDetails The representation of UpdateDhcpDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dhcp_options_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_dhcp_options_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_dhcp_options_request_response.go index 36455284c..b99d93a07 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_dhcp_options_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateDhcpOptionsRequest wrapper for the UpdateDhcpOptions operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptionsRequest. type UpdateDhcpOptionsRequest struct { // The OCID for the set of DHCP options. @@ -19,7 +23,7 @@ type UpdateDhcpOptionsRequest struct { UpdateDhcpDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_attachment_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_attachment_details.go similarity index 84% rename from vendor/github.com/oracle/oci-go-sdk/core/update_drg_attachment_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_attachment_details.go index c9c14bfc6..8cbce31dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_attachment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateDrgAttachmentDetails The representation of UpdateDrgAttachmentDetails @@ -26,8 +26,8 @@ type UpdateDrgAttachmentDetails struct { // The OCID of the route table the DRG attachment will use. // 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/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.htm) + // * 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"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_attachment_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_drg_attachment_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_attachment_request_response.go index 621c6b108..53c12e2d4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_attachment_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateDrgAttachmentRequest wrapper for the UpdateDrgAttachment operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachmentRequest. type UpdateDrgAttachmentRequest struct { // The OCID of the DRG attachment. @@ -19,7 +23,7 @@ type UpdateDrgAttachmentRequest struct { UpdateDrgAttachmentDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_drg_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_details.go index 12a5c51c9..3f8084639 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateDrgDetails The representation of UpdateDrgDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_drg_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_request_response.go index 0da9d552e..bc94b59b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_drg_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateDrgRequest wrapper for the UpdateDrg operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrgRequest. type UpdateDrgRequest struct { // The OCID of the DRG. @@ -19,7 +23,7 @@ type UpdateDrgRequest struct { UpdateDrgDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_request_response.go index 394f28097..18f86a27a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateIPSecConnectionRequest wrapper for the UpdateIPSecConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnectionRequest. type UpdateIPSecConnectionRequest struct { // The OCID of the IPSec connection. @@ -19,7 +23,7 @@ type UpdateIPSecConnectionRequest struct { UpdateIpSecConnectionDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_tunnel_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_tunnel_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_tunnel_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_tunnel_request_response.go index 403eda263..100d0825f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_tunnel_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_tunnel_request_response.go @@ -1,28 +1,32 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateIPSecConnectionTunnelRequest wrapper for the UpdateIPSecConnectionTunnel operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnelRequest. type UpdateIPSecConnectionTunnelRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Details object for updating a IPSecConnection tunnel's details. UpdateIpSecConnectionTunnelDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go index 76fc19919..42906aacb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -1,28 +1,32 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateIPSecConnectionTunnelSharedSecretRequest wrapper for the UpdateIPSecConnectionTunnelSharedSecret operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecretRequest. type UpdateIPSecConnectionTunnelSharedSecretRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Details object for updating a IPSec connection tunnel's sharedSecret. UpdateIpSecConnectionTunnelSharedSecretDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_image_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_image_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_image_details.go index c92f560db..f41261b2b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateImageDetails The representation of UpdateImageDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_image_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_image_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_image_request_response.go index 1497bb692..dbedef07f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_image_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateImageRequest wrapper for the UpdateImage operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImageRequest. type UpdateImageRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. @@ -26,7 +30,7 @@ type UpdateImageRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_agent_config_details.go new file mode 100644 index 000000000..cd7600149 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_agent_config_details.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// UpdateInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance. +type UpdateInstanceAgentConfigDetails struct { + + // Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the + // monitoring plugins. + // These are the monitoring plugins: Compute Instance Monitoring + // and Custom Logs Monitoring. + // The monitoring plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You + // can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` + // object. + IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"` + + // Whether Oracle Cloud Agent can run all the available management plugins. + // These are the management plugins: OS Management Service Agent and Compute Instance + // Run Command. + // The management plugins are controlled by this parameter and by the per-plugin + // configuration in the `pluginsConfig` object. + // - If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of + // the per-plugin configuration. + // - If `isManagementDisabled` is false, all of the management plugins are enabled. You + // can optionally disable individual management plugins by providing a value in the `pluginsConfig` + // object. + IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"` + + // Whether Oracle Cloud Agent can run all the available plugins. + // This includes the management and monitoring plugins. + // To get a list of available plugins, use the + // ListInstanceagentAvailablePlugins + // operation in the Oracle Cloud Agent API. For more information about the available plugins, see + // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` + + // The configuration of plugins associated with this instance. + PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"` +} + +func (m UpdateInstanceAgentConfigDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_availability_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_availability_config_details.go similarity index 78% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_availability_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_availability_config_details.go index 688a13308..302c2832a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_availability_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_availability_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,16 +14,16 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// UpdateInstanceAvailabilityConfigDetails Options for customers to define the general policy of how compute service perform maintenance on VM instances. +// UpdateInstanceAvailabilityConfigDetails Options for defining the availability of a VM instance after a maintenance event that impacts the underlying hardware. type UpdateInstanceAvailabilityConfigDetails struct { - // Actions customers can specify that would be applied to their instances after scheduled or unexpected host maintenance. - // * `RESTORE_INSTANCE` - This would be the default action if recoveryAction is not set. VM instances - // will be restored to the power state it was in before maintenance. - // * `STOP_INSTANCE` - This action allow customers to have their VM instances be stopped after maintenance. + // The lifecycle state for an instance when it is recovered after infrastructure maintenance. + // * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event. + // If the instance was running, it is automatically rebooted. This is the default action when a value is not set. + // * `STOP_INSTANCE` - The instance is recovered in the stopped state. RecoveryAction UpdateInstanceAvailabilityConfigDetailsRecoveryActionEnum `mandatory:"false" json:"recoveryAction,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_configuration_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_configuration_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_configuration_details.go index 493722ebf..54d6637d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateInstanceConfigurationDetails The representation of UpdateInstanceConfigurationDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_configuration_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_configuration_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_configuration_request_response.go index e74969bb2..e22a5734f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_configuration_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateInstanceConfigurationRequest wrapper for the UpdateInstanceConfiguration operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfigurationRequest. type UpdateInstanceConfigurationRequest struct { // The OCID of the instance configuration. @@ -26,7 +30,7 @@ type UpdateInstanceConfigurationRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_console_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_console_connection_details.go new file mode 100644 index 000000000..2c69c523b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_console_connection_details.go @@ -0,0 +1,36 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// UpdateInstanceConsoleConnectionDetails Specifies the properties for updating tags for an instance console connection. +type UpdateInstanceConsoleConnectionDetails struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m UpdateInstanceConsoleConnectionDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_console_connection_request_response.go new file mode 100644 index 000000000..a2b349213 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_console_connection_request_response.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// UpdateInstanceConsoleConnectionRequest wrapper for the UpdateInstanceConsoleConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnectionRequest. +type UpdateInstanceConsoleConnectionRequest struct { + + // The OCID of the instance console connection. + InstanceConsoleConnectionId *string `mandatory:"true" contributesTo:"path" name:"instanceConsoleConnectionId"` + + // Update instanceConsoleConnection tags + UpdateInstanceConsoleConnectionDetails `contributesTo:"body"` + + // 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 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateInstanceConsoleConnectionRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateInstanceConsoleConnectionRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateInstanceConsoleConnectionRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// UpdateInstanceConsoleConnectionResponse wrapper for the UpdateInstanceConsoleConnection operation +type UpdateInstanceConsoleConnectionResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The InstanceConsoleConnection instance + InstanceConsoleConnection `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateInstanceConsoleConnectionResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateInstanceConsoleConnectionResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_details.go index 242cc2d08..5b5183fac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateInstanceDetails The representation of UpdateInstanceDetails @@ -35,7 +35,6 @@ type UpdateInstanceDetails struct { // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Instance agent configuration options to choose for updating the instance AgentConfig *UpdateInstanceAgentConfigDetails `mandatory:"false" json:"agentConfig"` // Custom metadata key/value string pairs that you provide. Any set of key/value pairs @@ -76,6 +75,8 @@ type UpdateInstanceDetails struct { ShapeConfig *UpdateInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"` + InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"` + // A fault domain is a grouping of hardware and infrastructure within an availability domain. // Each availability domain contains three fault domains. Fault domains let you distribute your // instances so that they are not on the same physical hardware within a single availability domain. @@ -87,7 +88,6 @@ type UpdateInstanceDetails struct { // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` - // Options for tuning the compatibility and performance of VM shapes. LaunchOptions *UpdateLaunchOptions `mandatory:"false" json:"launchOptions"` AvailabilityConfig *UpdateInstanceAvailabilityConfigDetails `mandatory:"false" json:"availabilityConfig"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_details.go index 2ab364a93..1432c05bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateInstancePoolDetails The data to update an instance pool. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_placement_configuration_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_placement_configuration_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_placement_configuration_details.go index bbe027578..c56e20263 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_placement_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateInstancePoolPlacementConfigurationDetails The location for where an instance pool will place instances. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_request_response.go index 4deadc01a..bf632017f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_pool_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateInstancePoolRequest wrapper for the UpdateInstancePool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePoolRequest. type UpdateInstancePoolRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance pool. @@ -26,7 +30,7 @@ type UpdateInstancePoolRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_request_response.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_request_response.go index a87257fc0..8b94f791e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateInstanceRequest wrapper for the UpdateInstance operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstanceRequest. type UpdateInstanceRequest struct { // The OCID of the instance. @@ -26,7 +30,7 @@ type UpdateInstanceRequest struct { OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // 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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_shape_config_details.go similarity index 87% rename from vendor/github.com/oracle/oci-go-sdk/core/update_instance_shape_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_shape_config_details.go index 8716f23fe..4a9b5db22 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_instance_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateInstanceShapeConfigDetails The shape configuration requested for the instance. If provided, the instance will be updated @@ -28,6 +28,9 @@ type UpdateInstanceShapeConfigDetails struct { // The total number of OCPUs available to the instance. Ocpus *float32 `mandatory:"false" json:"ocpus"` + + // The total amount of memory available to the instance, in gigabytes. + MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` } func (m UpdateInstanceShapeConfigDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_internet_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_internet_gateway_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_internet_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_internet_gateway_details.go index dbe20262e..41d240e3d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_internet_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_internet_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateInternetGatewayDetails The representation of UpdateInternetGatewayDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_internet_gateway_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_internet_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_internet_gateway_request_response.go index 5edf04824..425ea4ae2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_internet_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateInternetGatewayRequest wrapper for the UpdateInternetGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGatewayRequest. type UpdateInternetGatewayRequest struct { // The OCID of the internet gateway. @@ -19,7 +23,7 @@ type UpdateInternetGatewayRequest struct { UpdateInternetGatewayDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_details.go index aab4ee8e8..23cd55c42 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateIpSecConnectionDetails The representation of UpdateIpSecConnectionDetails @@ -38,7 +38,7 @@ type UpdateIpSecConnectionDetails struct { // fully qualified domain name (FQDN)). The type of identifier you provide here must correspond // to the value for `cpeLocalIdentifierType`. // For information about why you'd provide this value, see - // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/Content/Network/Tasks/overviewIPsec.htm#nat). + // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). // Example IP address: `10.0.3.3` // Example hostname: `cpe.example.com` CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"` @@ -50,7 +50,7 @@ type UpdateIpSecConnectionDetails struct { // Static routes to the CPE. If you provide this attribute, it replaces the entire current set of // static routes. A static route's CIDR must not be a multicast address or class E address. // The CIDR can be either IPv4 or IPv6. Note that IPv6 addressing is currently supported only - // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // in certain regions. See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `10.0.1.0/24` // Example: `2001:db8::/32` StaticRoutes []string `mandatory:"false" json:"staticRoutes"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_tunnel_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_tunnel_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_tunnel_details.go index e3fbe6b5f..bc4d5ac39 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_tunnel_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateIpSecConnectionTunnelDetails The representation of UpdateIpSecConnectionTunnelDetails @@ -30,8 +30,9 @@ type UpdateIpSecConnectionTunnelDetails struct { // Internet Key Exchange protocol version. IkeVersion UpdateIpSecConnectionTunnelDetailsIkeVersionEnum `mandatory:"false" json:"ikeVersion,omitempty"` - // Information for establishing a BGP session for the IPSec tunnel. BgpSessionConfig *UpdateIpSecTunnelBgpSessionDetails `mandatory:"false" json:"bgpSessionConfig"` + + EncryptionDomainConfig *UpdateIpSecTunnelEncryptionDomainDetails `mandatory:"false" json:"encryptionDomainConfig"` } func (m UpdateIpSecConnectionTunnelDetails) String() string { @@ -45,11 +46,13 @@ type UpdateIpSecConnectionTunnelDetailsRoutingEnum string const ( UpdateIpSecConnectionTunnelDetailsRoutingBgp UpdateIpSecConnectionTunnelDetailsRoutingEnum = "BGP" UpdateIpSecConnectionTunnelDetailsRoutingStatic UpdateIpSecConnectionTunnelDetailsRoutingEnum = "STATIC" + UpdateIpSecConnectionTunnelDetailsRoutingPolicy UpdateIpSecConnectionTunnelDetailsRoutingEnum = "POLICY" ) var mappingUpdateIpSecConnectionTunnelDetailsRouting = map[string]UpdateIpSecConnectionTunnelDetailsRoutingEnum{ "BGP": UpdateIpSecConnectionTunnelDetailsRoutingBgp, "STATIC": UpdateIpSecConnectionTunnelDetailsRoutingStatic, + "POLICY": UpdateIpSecConnectionTunnelDetailsRoutingPolicy, } // GetUpdateIpSecConnectionTunnelDetailsRoutingEnumValues Enumerates the set of values for UpdateIpSecConnectionTunnelDetailsRoutingEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_tunnel_shared_secret_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_tunnel_shared_secret_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_tunnel_shared_secret_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_tunnel_shared_secret_details.go index 8510151e6..cb3516cca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_connection_tunnel_shared_secret_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_connection_tunnel_shared_secret_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateIpSecConnectionTunnelSharedSecretDetails The representation of UpdateIpSecConnectionTunnelSharedSecretDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_tunnel_bgp_session_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_tunnel_bgp_session_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_tunnel_bgp_session_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_tunnel_bgp_session_details.go index 46c4ef1b4..375ec018d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_ip_sec_tunnel_bgp_session_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_tunnel_bgp_session_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateIpSecTunnelBgpSessionDetails The representation of UpdateIpSecTunnelBgpSessionDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_tunnel_encryption_domain_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_tunnel_encryption_domain_details.go new file mode 100644 index 000000000..338596644 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ip_sec_tunnel_encryption_domain_details.go @@ -0,0 +1,33 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// UpdateIpSecTunnelEncryptionDomainDetails Request to enable a multi-encryption domain policy on the VPNaaS tunnel. +// The cross product of oracleTrafficSelector and cpeTrafficSelector can't be more than 50. +type UpdateIpSecTunnelEncryptionDomainDetails struct { + + // Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. + OracleTrafficSelector []string `mandatory:"false" json:"oracleTrafficSelector"` + + // Lists IPv4 or IPv6-enabled subnets in your on-premises network. + CpeTrafficSelector []string `mandatory:"false" json:"cpeTrafficSelector"` +} + +func (m UpdateIpSecTunnelEncryptionDomainDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_ipv6_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ipv6_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_ipv6_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_ipv6_details.go index 2df641452..6e68a14af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_ipv6_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ipv6_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateIpv6Details The representation of UpdateIpv6Details @@ -42,7 +42,7 @@ type UpdateIpv6Details struct { // Example: `false` IsInternetAccessAllowed *bool `mandatory:"false" json:"isInternetAccessAllowed"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the IPv6 to. + // 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"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ipv6_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_ipv6_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_ipv6_request_response.go index 6f35aa68b..273815793 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_ipv6_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateIpv6Request wrapper for the UpdateIpv6 operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6Request. type UpdateIpv6Request struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` // IPv6 details to be updated. UpdateIpv6Details `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_launch_options.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_launch_options.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_launch_options.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_launch_options.go index 2ed255270..796f1bb18 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_launch_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateLaunchOptions Options for tuning the compatibility and performance of VM shapes. @@ -46,12 +46,13 @@ type UpdateLaunchOptions struct { // as expected, the changes are not supported. Revert the instance to the original networking type. NetworkType UpdateLaunchOptionsNetworkTypeEnum `mandatory:"false" json:"networkType,omitempty"` - // Whether to enable in-transit encryption for the boot volume's paravirtualized attachment. + // Whether to enable in-transit encryption for the volume's paravirtualized attachment. + // To enable in-transit encryption for block volumes and boot volumes, this field must be set to `true`. // Data in transit is transferred over an internal and highly secure network. If you have specific // compliance requirements related to the encryption of the data while it is moving between the - // instance and the boot volume, you can enable in-transit encryption. In-transit encryption is - // not enabled by default. - // All boot volumes are encrypted at rest. + // instance and the boot volume or the block volume, you can enable in-transit encryption. + // In-transit encryption is not enabled by default. + // All boot volumes and block volumes are encrypted at rest. // For more information, see Block Volume Encryption (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti). IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_local_peering_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_local_peering_gateway_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/update_local_peering_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_local_peering_gateway_details.go index 5df0a3e9f..de4274c96 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_local_peering_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_local_peering_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateLocalPeeringGatewayDetails The representation of UpdateLocalPeeringGatewayDetails @@ -36,7 +36,7 @@ type UpdateLocalPeeringGatewayDetails struct { // The OCID of the route table the LPG will use. // For information about why you would associate a route table with an LPG, see - // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/Content/Network/Tasks/transitrouting.htm). + // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_local_peering_gateway_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_local_peering_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_local_peering_gateway_request_response.go index cb5603671..459442882 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_local_peering_gateway_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateLocalPeeringGatewayRequest wrapper for the UpdateLocalPeeringGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGatewayRequest. type UpdateLocalPeeringGatewayRequest struct { // The OCID of the local peering gateway. @@ -19,7 +23,7 @@ type UpdateLocalPeeringGatewayRequest struct { UpdateLocalPeeringGatewayDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_nat_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_nat_gateway_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_nat_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_nat_gateway_details.go index 27f5664fc..a43683227 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_nat_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_nat_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateNatGatewayDetails The representation of UpdateNatGatewayDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_nat_gateway_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_nat_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_nat_gateway_request_response.go index 2df43a5da..f9cf101ec 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_nat_gateway_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateNatGatewayRequest wrapper for the UpdateNatGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGatewayRequest. type UpdateNatGatewayRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // Details object for updating a NAT gateway. UpdateNatGatewayDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_details.go index 0d70c608a..9cd60ac78 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateNetworkSecurityGroupDetails The representation of UpdateNetworkSecurityGroupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_request_response.go index d647c4729..6928c10c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateNetworkSecurityGroupRequest wrapper for the UpdateNetworkSecurityGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroupRequest. type UpdateNetworkSecurityGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Details object for updating a network security group. UpdateNetworkSecurityGroupDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_security_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_security_rules_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_security_rules_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_security_rules_details.go index 9543cdad2..8d9a70e41 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_security_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateNetworkSecurityGroupSecurityRulesDetails The representation of UpdateNetworkSecurityGroupSecurityRulesDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_security_rules_request_response.go similarity index 85% rename from vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_security_rules_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_security_rules_request_response.go index f42955657..d8d0fcdbe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_network_security_group_security_rules_request_response.go @@ -1,18 +1,22 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateNetworkSecurityGroupSecurityRulesRequest wrapper for the UpdateNetworkSecurityGroupSecurityRules operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRulesRequest. type UpdateNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request with one or more security rules associated with the network security group that diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_private_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_private_ip_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_private_ip_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_private_ip_details.go index ccb9bf812..6738fd194 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_private_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_private_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdatePrivateIpDetails The representation of UpdatePrivateIpDetails @@ -41,7 +41,7 @@ type UpdatePrivateIpDetails struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_private_ip_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_private_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_private_ip_request_response.go index 574eb6160..b8c1581f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_private_ip_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdatePrivateIpRequest wrapper for the UpdatePrivateIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIpRequest. type UpdatePrivateIpRequest struct { // The OCID of the private IP. @@ -19,7 +23,7 @@ type UpdatePrivateIpRequest struct { UpdatePrivateIpDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_public_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_public_ip_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_details.go index 9218d10be..bed453240 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_public_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdatePublicIpDetails The representation of UpdatePublicIpDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_pool_details.go new file mode 100644 index 000000000..3ae6b3bce --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_pool_details.go @@ -0,0 +1,40 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// UpdatePublicIpPoolDetails The data to update for a public IP pool. +type UpdatePublicIpPoolDetails struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + 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"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m UpdatePublicIpPoolDetails) String() string { + return common.PointerString(m) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_pool_request_response.go new file mode 100644 index 000000000..84682fb22 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_pool_request_response.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// UpdatePublicIpPoolRequest wrapper for the UpdatePublicIpPool operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPoolRequest. +type UpdatePublicIpPoolRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` + + // Public IP pool details. + UpdatePublicIpPoolDetails `contributesTo:"body"` + + // 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 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"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdatePublicIpPoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdatePublicIpPoolRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdatePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// UpdatePublicIpPoolResponse wrapper for the UpdatePublicIpPool operation +type UpdatePublicIpPoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicIpPool instance + PublicIpPool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdatePublicIpPoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdatePublicIpPoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_public_ip_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_request_response.go index 8a12052d0..a6fbaf070 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_public_ip_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdatePublicIpRequest wrapper for the UpdatePublicIp operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIpRequest. type UpdatePublicIpRequest struct { // The OCID of the public IP. @@ -19,7 +23,7 @@ type UpdatePublicIpRequest struct { UpdatePublicIpDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_remote_peering_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_remote_peering_connection_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_remote_peering_connection_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_remote_peering_connection_details.go index 41841cde7..eca6f548c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_remote_peering_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_remote_peering_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateRemotePeeringConnectionDetails The representation of UpdateRemotePeeringConnectionDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_remote_peering_connection_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_remote_peering_connection_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_remote_peering_connection_request_response.go index 130649cf0..93206c32b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_remote_peering_connection_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateRemotePeeringConnectionRequest wrapper for the UpdateRemotePeeringConnection operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnectionRequest. type UpdateRemotePeeringConnectionRequest struct { // The OCID of the remote peering connection (RPC). @@ -19,7 +23,7 @@ type UpdateRemotePeeringConnectionRequest struct { UpdateRemotePeeringConnectionDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_route_table_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_route_table_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_route_table_details.go index d5da1e520..886e3d666 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_route_table_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateRouteTableDetails The representation of UpdateRouteTableDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_route_table_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_route_table_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_route_table_request_response.go index aca88c2c5..ea3c8a780 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_route_table_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateRouteTableRequest wrapper for the UpdateRouteTable operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTableRequest. type UpdateRouteTableRequest struct { // The OCID of the route table. @@ -19,7 +23,7 @@ type UpdateRouteTableRequest struct { UpdateRouteTableDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_security_list_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_list_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_security_list_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_list_details.go index cc47dfc67..904dde4a4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_security_list_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_list_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateSecurityListDetails The representation of UpdateSecurityListDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_list_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_security_list_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_list_request_response.go index 0728336bf..bc7ff323c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_list_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateSecurityListRequest wrapper for the UpdateSecurityList operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityListRequest. type UpdateSecurityListRequest struct { // The OCID of the security list. @@ -19,7 +23,7 @@ type UpdateSecurityListRequest struct { UpdateSecurityListDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_security_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_rule_details.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_security_rule_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_rule_details.go index 2d59c7c02..8c9fe616a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_security_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_security_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateSecurityRuleDetails A rule for allowing inbound (`direction`= INGRESS) or outbound (`direction`= EGRESS) IP packets. @@ -42,7 +42,7 @@ type UpdateSecurityRuleDetails struct { // Allowed values: // * An 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -61,15 +61,6 @@ type UpdateSecurityRuleDetails struct { // NetworkSecurityGroup. DestinationType UpdateSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` - // 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 rule for each. IcmpOptions *IcmpOptions `mandatory:"false" json:"icmpOptions"` // A stateless rule allows traffic in one direction. Remember to add a corresponding @@ -84,7 +75,7 @@ type UpdateSecurityRuleDetails struct { // Allowed values: // * An 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/Content/Network/Concepts/ipv6.htm). + // 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`. @@ -102,12 +93,8 @@ type UpdateSecurityRuleDetails struct { // NetworkSecurityGroup. SourceType UpdateSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` - // 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. TcpOptions *TcpOptions `mandatory:"false" json:"tcpOptions"` - // 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. UdpOptions *UdpOptions `mandatory:"false" json:"udpOptions"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_service_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_service_gateway_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_service_gateway_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_service_gateway_details.go index 4f5f973e2..ffaede673 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_service_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_service_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateServiceGatewayDetails The representation of UpdateServiceGatewayDetails @@ -41,7 +41,7 @@ type UpdateServiceGatewayDetails struct { // The OCID of the route table the service gateway will use. // For information about why you would associate a route table with a service gateway, see - // Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/Content/Network/Tasks/transitroutingoracleservices.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"` // List of all the `Service` objects you want enabled on this service gateway. Sending an empty list diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_service_gateway_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_service_gateway_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_service_gateway_request_response.go index 6c8c8f2b3..2b04e90bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_service_gateway_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateServiceGatewayRequest wrapper for the UpdateServiceGateway operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGatewayRequest. type UpdateServiceGatewayRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // Details object for updating a service gateway. UpdateServiceGatewayDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_subnet_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_subnet_details.go similarity index 73% rename from vendor/github.com/oracle/oci-go-sdk/core/update_subnet_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_subnet_details.go index d185831ff..9e95ac1af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_subnet_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateSubnetDetails The representation of UpdateSubnetDetails @@ -45,6 +45,16 @@ type UpdateSubnetDetails struct { // 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 CIDR block of the subnet. The new CIDR block must meet the following criteria: + // - Must be valid. + // - The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges. + // - The old and new CIDR block ranges must use the same network address. Example: `10.0.0.0/25` and `10.0.0.0/24`. + // - Must contain all IP addresses in use in the old CIDR range. + // - The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range. + // **Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress. + // Example: `172.16.0.0/16` + CidrBlock *string `mandatory:"false" json:"cidrBlock"` } func (m UpdateSubnetDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_subnet_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_subnet_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_subnet_request_response.go index afa8fa44d..333f47d5a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_subnet_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateSubnetRequest wrapper for the UpdateSubnet operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnetRequest. type UpdateSubnetRequest struct { // The OCID of the subnet. @@ -19,7 +23,7 @@ type UpdateSubnetRequest struct { UpdateSubnetDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_tunnel_cpe_device_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_tunnel_cpe_device_config_details.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/update_tunnel_cpe_device_config_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_tunnel_cpe_device_config_details.go index 39d3f680a..8a2acc177 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_tunnel_cpe_device_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_tunnel_cpe_device_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateTunnelCpeDeviceConfigDetails The representation of UpdateTunnelCpeDeviceConfigDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_tunnel_cpe_device_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_tunnel_cpe_device_config_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/update_tunnel_cpe_device_config_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_tunnel_cpe_device_config_request_response.go index e0d7b6ff1..d2c582f09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_tunnel_cpe_device_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_tunnel_cpe_device_config_request_response.go @@ -1,28 +1,32 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateTunnelCpeDeviceConfigRequest wrapper for the UpdateTunnelCpeDeviceConfig operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfigRequest. type UpdateTunnelCpeDeviceConfigRequest struct { // The OCID of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Request to input the tunnel's cpe configuration parameters UpdateTunnelCpeDeviceConfigDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_vcn_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vcn_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_vcn_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_vcn_details.go index 4ed37677d..1c921ebb9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_vcn_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVcnDetails The representation of UpdateVcnDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vcn_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_vcn_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_vcn_request_response.go index 4b4502aa3..3254cc9e0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vcn_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVcnRequest wrapper for the UpdateVcn operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcnRequest. type UpdateVcnRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Details object for updating a VCN. UpdateVcnDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_virtual_circuit_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_virtual_circuit_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_virtual_circuit_details.go index bd7d54043..620061583 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_virtual_circuit_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_virtual_circuit_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVirtualCircuitDetails The representation of UpdateVirtualCircuitDetails @@ -69,7 +69,7 @@ type UpdateVirtualCircuitDetails struct { 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 + // 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. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_virtual_circuit_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_virtual_circuit_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_virtual_circuit_request_response.go index 70800a4e1..59a393aac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_virtual_circuit_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVirtualCircuitRequest wrapper for the UpdateVirtualCircuit operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuitRequest. type UpdateVirtualCircuitRequest struct { // The OCID of the virtual circuit. @@ -19,7 +23,7 @@ type UpdateVirtualCircuitRequest struct { UpdateVirtualCircuitDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_vlan_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vlan_details.go similarity index 72% rename from vendor/github.com/oracle/oci-go-sdk/core/update_vlan_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_vlan_details.go index 1fd48fa35..459c30a66 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_vlan_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vlan_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVlanDetails The representation of UpdateVlanDetails @@ -42,6 +42,15 @@ type UpdateVlanDetails struct { // The OCID of the route table the VLAN will use. RouteTableId *string `mandatory:"false" json:"routeTableId"` + + // The CIDR block of the VLAN. The new CIDR block must meet the following criteria: + // - Must be valid. + // - The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges. + // - The old and new CIDR block ranges must use the same network address. Example: `10.0.0.0/25` and `10.0.0.0/24`. + // - Must contain all IP addresses in use in the old CIDR range. + // - The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range. + // **Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress. + CidrBlock *string `mandatory:"false" json:"cidrBlock"` } func (m UpdateVlanDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vlan_request_response.go similarity index 86% rename from vendor/github.com/oracle/oci-go-sdk/core/update_vlan_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_vlan_request_response.go index ec2e3d992..4e188bcad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vlan_request_response.go @@ -1,25 +1,29 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVlanRequest wrapper for the UpdateVlan operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlanRequest. type UpdateVlanRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // Details object for updating a subnet. UpdateVlanDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vnic_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_vnic_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_vnic_details.go index db8b82191..3816fffcf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVnicDetails The representation of UpdateVnicDetails @@ -45,7 +45,7 @@ type UpdateVnicDetails struct { // ListPrivateIps and // GetPrivateIp. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm). + // 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 @@ -60,7 +60,7 @@ type UpdateVnicDetails struct { // 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/Content/Network/Tasks/managingroutetables.htm#privateip). + // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). // If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of // belonging to a subnet), the value of the `skipSourceDestCheck` attribute is ignored. // This is because the source/destination check is always disabled for VNICs in a VLAN. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vnic_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_vnic_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_vnic_request_response.go index 567d64617..7fc74a668 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_vnic_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVnicRequest wrapper for the UpdateVnic operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnicRequest. type UpdateVnicRequest struct { // The OCID of the VNIC. @@ -19,7 +23,7 @@ type UpdateVnicRequest struct { UpdateVnicDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_details.go index a49c3c83f..c55ac3f75 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVolumeBackupDetails The representation of UpdateVolumeBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_policy_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_policy_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_policy_details.go index 57224e865..9a2de164a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_policy_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,10 +14,10 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) -// UpdateVolumeBackupPolicyDetails Specifies the properties for a updating a user defined backup policy. +// UpdateVolumeBackupPolicyDetails Specifies the properties for updating a user defined backup policy. // For more information about user defined backup policies, // see User Defined Policies (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in // Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_policy_request_response.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_policy_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_policy_request_response.go index 9dfd44957..f201c04e9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_policy_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVolumeBackupPolicyRequest wrapper for the UpdateVolumeBackupPolicy operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicyRequest. type UpdateVolumeBackupPolicyRequest struct { // The OCID of the volume backup policy. @@ -19,7 +23,7 @@ type UpdateVolumeBackupPolicyRequest struct { UpdateVolumeBackupPolicyDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_request_response.go index df16a05f2..cb3d8b2c7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVolumeBackupRequest wrapper for the UpdateVolumeBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackupRequest. type UpdateVolumeBackupRequest struct { // The OCID of the volume backup. @@ -19,7 +23,7 @@ type UpdateVolumeBackupRequest struct { UpdateVolumeBackupDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_details.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_details.go index afb0d6ceb..12110a56d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVolumeDetails The representation of UpdateVolumeDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_backup_details.go index 0f6b405dd..f4f343821 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVolumeGroupBackupDetails The representation of UpdateVolumeGroupBackupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_backup_request_response.go similarity index 88% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_backup_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_backup_request_response.go index ca7645669..dad7af13b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_backup_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVolumeGroupBackupRequest wrapper for the UpdateVolumeGroupBackup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackupRequest. type UpdateVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. @@ -19,7 +23,7 @@ type UpdateVolumeGroupBackupRequest struct { UpdateVolumeGroupBackupDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_details.go index 85f779af7..608e9355b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVolumeGroupDetails The representation of UpdateVolumeGroupDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_request_response.go index 830d687b9..7f3b6ee48 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_group_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVolumeGroupRequest wrapper for the UpdateVolumeGroup operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroupRequest. type UpdateVolumeGroupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. @@ -19,7 +23,7 @@ type UpdateVolumeGroupRequest struct { UpdateVolumeGroupDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_kms_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_kms_key_details.go similarity index 92% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_kms_key_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_kms_key_details.go index 2dc9015a8..cfedc2718 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_kms_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_kms_key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdateVolumeKmsKeyDetails The representation of UpdateVolumeKmsKeyDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_kms_key_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_kms_key_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_kms_key_request_response.go index 64d35c6f9..e5767adf4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_kms_key_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVolumeKmsKeyRequest wrapper for the UpdateVolumeKmsKey operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKeyRequest. type UpdateVolumeKmsKeyRequest struct { // The OCID of the volume. @@ -19,7 +23,7 @@ type UpdateVolumeKmsKeyRequest struct { UpdateVolumeKmsKeyDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_request_response.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/update_volume_request_response.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_request_response.go index a20e5411f..661c70160 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/update_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/update_volume_request_response.go @@ -1,15 +1,19 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" "net/http" ) // UpdateVolumeRequest wrapper for the UpdateVolume operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolumeRequest. type UpdateVolumeRequest struct { // The OCID of the volume. @@ -19,7 +23,7 @@ type UpdateVolumeRequest struct { UpdateVolumeDetails `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 + // 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"` diff --git a/vendor/github.com/oracle/oci-go-sdk/core/updated_network_security_group_security_rules.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/updated_network_security_group_security_rules.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/updated_network_security_group_security_rules.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/updated_network_security_group_security_rules.go index d4de8ea2c..d8c47513c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/updated_network_security_group_security_rules.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/updated_network_security_group_security_rules.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // UpdatedNetworkSecurityGroupSecurityRules The representation of UpdatedNetworkSecurityGroupSecurityRules diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/validate_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/validate_byoip_range_request_response.go new file mode 100644 index 000000000..14ea831c7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/validate_byoip_range_request_response.go @@ -0,0 +1,67 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// ValidateByoipRangeRequest wrapper for the ValidateByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRangeRequest. +type ValidateByoipRangeRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ValidateByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ValidateByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ValidateByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateByoipRangeResponse wrapper for the ValidateByoipRange operation +type ValidateByoipRangeResponse 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"` + + // The OCID of the work request. Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response ValidateByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ValidateByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/vcn.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/vcn.go similarity index 90% rename from vendor/github.com/oracle/oci-go-sdk/core/vcn.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/vcn.go index fe26b64e1..b1ddf4ecf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/vcn.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/vcn.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,22 +14,23 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Vcn A virtual cloud network (VCN). For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm). +// 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Vcn struct { - // The CIDR IP address block of the VCN. + // Deprecated. The first CIDR IP address from cidrBlocks. // Example: `172.16.0.0/16` CidrBlock *string `mandatory:"true" json:"cidrBlock"` + // The list of IPv4 CIDR blocks the VCN will use. + CidrBlocks []string `mandatory:"true" json:"cidrBlocks"` + // The OCID of the compartment containing the VCN. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -65,7 +66,7 @@ type Vcn struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` @@ -79,7 +80,7 @@ type Vcn struct { // provides one and uses that *same* CIDR for the `ipv6PublicCidrBlock`. If you do provide a // value, Oracle provides a *different* CIDR for the `ipv6PublicCidrBlock`. Note that IPv6 // addressing is currently supported only in certain regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123::/48` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` @@ -98,7 +99,7 @@ type Vcn struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` } @@ -116,6 +117,7 @@ const ( VcnLifecycleStateAvailable VcnLifecycleStateEnum = "AVAILABLE" VcnLifecycleStateTerminating VcnLifecycleStateEnum = "TERMINATING" VcnLifecycleStateTerminated VcnLifecycleStateEnum = "TERMINATED" + VcnLifecycleStateUpdating VcnLifecycleStateEnum = "UPDATING" ) var mappingVcnLifecycleState = map[string]VcnLifecycleStateEnum{ @@ -123,6 +125,7 @@ var mappingVcnLifecycleState = map[string]VcnLifecycleStateEnum{ "AVAILABLE": VcnLifecycleStateAvailable, "TERMINATING": VcnLifecycleStateTerminating, "TERMINATED": VcnLifecycleStateTerminated, + "UPDATING": VcnLifecycleStateUpdating, } // GetVcnLifecycleStateEnumValues Enumerates the set of values for VcnLifecycleStateEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/vcn_dns_resolver_association.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/vcn_dns_resolver_association.go new file mode 100644 index 000000000..20fa4f670 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/vcn_dns_resolver_association.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// API covering the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. Use this API +// to manage resources such as virtual cloud networks (VCNs), compute instances, and +// block storage volumes. +// + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" +) + +// VcnDnsResolverAssociation The information about the VCN and the DNS resolver in the association. +type VcnDnsResolverAssociation struct { + + // The OCID of the VCN in the association. + VcnId *string `mandatory:"true" json:"vcnId"` + + // The current state of the association. + LifecycleState VcnDnsResolverAssociationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The OCID of the DNS resolver in the association. + DnsResolverId *string `mandatory:"false" json:"dnsResolverId"` +} + +func (m VcnDnsResolverAssociation) String() string { + return common.PointerString(m) +} + +// VcnDnsResolverAssociationLifecycleStateEnum Enum with underlying type: string +type VcnDnsResolverAssociationLifecycleStateEnum string + +// Set of constants representing the allowable values for VcnDnsResolverAssociationLifecycleStateEnum +const ( + VcnDnsResolverAssociationLifecycleStateProvisioning VcnDnsResolverAssociationLifecycleStateEnum = "PROVISIONING" + VcnDnsResolverAssociationLifecycleStateAvailable VcnDnsResolverAssociationLifecycleStateEnum = "AVAILABLE" + VcnDnsResolverAssociationLifecycleStateTerminating VcnDnsResolverAssociationLifecycleStateEnum = "TERMINATING" + VcnDnsResolverAssociationLifecycleStateTerminated VcnDnsResolverAssociationLifecycleStateEnum = "TERMINATED" +) + +var mappingVcnDnsResolverAssociationLifecycleState = map[string]VcnDnsResolverAssociationLifecycleStateEnum{ + "PROVISIONING": VcnDnsResolverAssociationLifecycleStateProvisioning, + "AVAILABLE": VcnDnsResolverAssociationLifecycleStateAvailable, + "TERMINATING": VcnDnsResolverAssociationLifecycleStateTerminating, + "TERMINATED": VcnDnsResolverAssociationLifecycleStateTerminated, +} + +// GetVcnDnsResolverAssociationLifecycleStateEnumValues Enumerates the set of values for VcnDnsResolverAssociationLifecycleStateEnum +func GetVcnDnsResolverAssociationLifecycleStateEnumValues() []VcnDnsResolverAssociationLifecycleStateEnum { + values := make([]VcnDnsResolverAssociationLifecycleStateEnum, 0) + for _, v := range mappingVcnDnsResolverAssociationLifecycleState { + values = append(values, v) + } + return values +} diff --git a/vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit.go index d10b25f0d..5942d3a50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VirtualCircuit For use with Oracle Cloud Infrastructure FastConnect. @@ -22,7 +22,7 @@ import ( // 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/Content/Network/Concepts/fastconnect.htm). +// 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 @@ -32,12 +32,10 @@ import ( // 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type VirtualCircuit struct { - // The provisioned data rate of the connection. To get a list of the + // The provisioned data rate of the connection. To get a list of the // available bandwidth levels (that is, shapes), see // ListFastConnectProviderVirtualCircuitBandwidthShapes. // Example: `10 Gbps` @@ -93,7 +91,7 @@ type VirtualCircuit struct { // The virtual circuit's current state. For information about // the different states, see - // FastConnect Overview (https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm). + // FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). LifecycleState VirtualCircuitLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The Oracle BGP ASN. @@ -139,7 +137,7 @@ type VirtualCircuit struct { 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/Content/Network/Concepts/fastconnect.htm). + // see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). Type VirtualCircuitTypeEnum `mandatory:"false" json:"type,omitempty"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit_bandwidth_shape.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit_bandwidth_shape.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit_bandwidth_shape.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit_bandwidth_shape.go index 39f8d7be0..9fec82c07 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit_bandwidth_shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit_bandwidth_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VirtualCircuitBandwidthShape An individual bandwidth level for virtual circuits. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit_public_prefix.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit_public_prefix.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit_public_prefix.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit_public_prefix.go index 1c0467423..c219debad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/virtual_circuit_public_prefix.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/virtual_circuit_public_prefix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,12 +14,12 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // 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/Content/Network/Concepts/fastconnect.htm). +// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). type VirtualCircuitPublicPrefix struct { // Publix IP prefix (CIDR) that the customer specified. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/vlan.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/vlan.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/vlan.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/vlan.go index f811953ae..f1d9ff109 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/vlan.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/vlan.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Vlan A resource to be used only with the Oracle Cloud VMware Solution. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/vnic.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/vnic.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/vnic.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/vnic.go index 4a33ce765..7bdb9627d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/vnic.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/vnic.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Vnic A virtual network interface card. Each VNIC resides in a subnet in a VCN. @@ -22,11 +22,11 @@ import ( // 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/Content/Network/Tasks/managingVNICs.htm). +// 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/Content/Network/Tasks/managingIPaddresses.htm). +// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // // If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs // that reside in a VLAN instead of a subnet. These VNICs have other differences, which @@ -34,9 +34,7 @@ import ( // Also see Vlan. // 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/Content/Identity/Concepts/policygetstarted.htm). -// **Warning:** Oracle recommends that you avoid using any confidential information when you -// supply string values using the API. +// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Vnic struct { // The VNIC's availability domain. @@ -77,7 +75,7 @@ type Vnic struct { // 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/Content/Network/Concepts/dns.htm). + // 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"` @@ -116,7 +114,7 @@ type Vnic struct { // 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/Content/Network/Tasks/managingroutetables.htm#privateip). + // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). // // If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of // belonging to a subnet), the `skipSourceDestCheck` attribute is `true`. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/vnic_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/vnic_attachment.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/vnic_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/vnic_attachment.go index 7e075dfd2..53066d82e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/vnic_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/vnic_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VnicAttachment Represents an attachment between a VNIC and an instance. For more information, see diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume.go similarity index 97% rename from vendor/github.com/oracle/oci-go-sdk/core/volume.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume.go index 63c3a0afe..97551023a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // Volume A detachable block volume device that allows you to dynamically expand @@ -45,7 +45,8 @@ type Volume struct { // The current state of a volume. LifecycleState VolumeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead. + // The size of the volume in MBs. This field is deprecated. Use + // sizeInGBs instead. SizeInMBs *int64 `mandatory:"true" json:"sizeInMBs"` // The date and time the volume was created. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -83,8 +84,6 @@ type Volume struct { // The size of the volume in GBs. SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"` - // The volume source, either an existing volume in the same availability domain or a volume backup. - // If null, an empty volume is created. SourceDetails VolumeSourceDetails `mandatory:"false" json:"sourceDetails"` // The OCID of the source volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_attachment.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_attachment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_attachment.go index 1c3861d19..36805b5fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeAttachment A base object for all types of attachments between a storage volume and an instance. @@ -61,7 +61,10 @@ type VolumeAttachment interface { // Whether the attachment was created in read-only mode. GetIsReadOnly() *bool - // Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. + // Whether the attachment should be created in shareable mode. If an attachment + // is created in shareable mode, then other instances can attach the same volume, provided + // that they also create their attachments in shareable mode. Only certain volume types can + // be attached in shareable mode. Defaults to false if not specified. GetIsShareable() *bool // Whether in-transit encryption for the data volume's paravirtualized attachment is enabled or not. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup.go similarity index 98% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_backup.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup.go index 333420c15..6c50c0d73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeBackup A point-in-time copy of a volume that can then be used to create a new block volume diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup_policy.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_policy.go similarity index 96% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_backup_policy.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_policy.go index 47d364bdb..432cd868c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeBackupPolicy A policy for automatically creating volume backups according to a diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup_policy_assignment.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_policy_assignment.go similarity index 89% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_backup_policy_assignment.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_policy_assignment.go index 4e4edd7a4..fce760184 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup_policy_assignment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_policy_assignment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeBackupPolicyAssignment Specifies the volume that the volume backup policy is assigned to. @@ -31,7 +31,8 @@ type VolumeBackupPolicyAssignment struct { // The OCID of the volume backup policy that has been assigned to the volume. PolicyId *string `mandatory:"true" json:"policyId"` - // The date and time the volume backup policy was assigned to the volume. The format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // The date and time the volume backup policy was assigned to the volume. The format is + // defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup_schedule.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_schedule.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_backup_schedule.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_schedule.go index d3dffe07d..d74e8a708 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_backup_schedule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_backup_schedule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeBackupSchedule Defines the backup frequency and retention period for a volume backup policy. For more information, @@ -30,17 +30,27 @@ type VolumeBackupSchedule struct { // How long, in seconds, to keep the volume backups created by this schedule. RetentionSeconds *int `mandatory:"true" json:"retentionSeconds"` - // The number of seconds that the volume backup start time should be shifted from the default interval boundaries specified by the period. The volume backup start time is the frequency start time plus the offset. + // The number of seconds that the volume backup start + // time should be shifted from the default interval boundaries specified by + // the period. The volume backup start time is the frequency start time plus the offset. OffsetSeconds *int `mandatory:"false" json:"offsetSeconds"` - // Indicates how the offset is defined. If value is `STRUCTURED`, then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used and `offsetSeconds` will be ignored in requests and users should ignore its value from the responses. - // `hourOfDay` is applicable for periods `ONE_DAY`, `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`. - // `dayOfWeek` is applicable for period `ONE_WEEK`. + // Indicates how the offset is defined. If value is `STRUCTURED`, + // then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used + // and `offsetSeconds` will be ignored in requests and users should ignore its + // value from the responses. + // `hourOfDay` is applicable for periods `ONE_DAY`, + // `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`. + // `dayOfWeek` is applicable for period + // `ONE_WEEK`. // `dayOfMonth` is applicable for periods `ONE_MONTH` and `ONE_YEAR`. // 'month' is applicable for period 'ONE_YEAR'. // They will be ignored in the requests for inapplicable periods. - // If value is `NUMERIC_SECONDS`, then `offsetSeconds` will be used for both requests and responses and the structured fields will be ignored in the requests and users should ignore their values from the responses. - // For clients using older versions of Apis and not sending `offsetType` in their requests, the behaviour is just like `NUMERIC_SECONDS`. + // If value is `NUMERIC_SECONDS`, then `offsetSeconds` + // will be used for both requests and responses and the structured fields will be + // ignored in the requests and users should ignore their values from the responses. + // For clients using older versions of Apis and not sending `offsetType` in their + // requests, the behaviour is just like `NUMERIC_SECONDS`. OffsetType VolumeBackupScheduleOffsetTypeEnum `mandatory:"false" json:"offsetType,omitempty"` // The hour of the day to schedule the volume backup. @@ -224,7 +234,7 @@ const ( ) var mappingVolumeBackupScheduleTimeZone = map[string]VolumeBackupScheduleTimeZoneEnum{ - "UTC": VolumeBackupScheduleTimeZoneUtc, + "UTC": VolumeBackupScheduleTimeZoneUtc, "REGIONAL_DATA_CENTER_TIME": VolumeBackupScheduleTimeZoneRegionalDataCenterTime, } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_group.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_group.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group.go index 13528f138..51608b021 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeGroup Specifies a volume group which is a collection of @@ -30,7 +30,8 @@ type VolumeGroup struct { // The OCID of the compartment that contains the volume group. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // A user-friendly name for the volume group. Does not have to be unique, and it's changeable. Avoid entering confidential information. + // A user-friendly name for the volume group. Does not have to be + // unique, and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID for the volume group. @@ -61,11 +62,10 @@ type VolumeGroup struct { // The aggregate size of the volume group in GBs. SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"` - // The volume group source. The source is either another a list of - // volume IDs in the same availability domain, another volume group, or a volume group backup. SourceDetails VolumeGroupSourceDetails `mandatory:"false" json:"sourceDetails"` - // Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup. + // Specifies whether the newly created cloned volume group's data has finished copying + // from the source volume group or backup. IsHydrated *bool `mandatory:"false" json:"isHydrated"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_backup.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_backup.go similarity index 76% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_group_backup.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_backup.go index beb711c9e..c7db07e2e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_backup.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeGroupBackup A point-in-time copy of a volume group that can then be used to create a new volume group @@ -29,7 +29,8 @@ type VolumeGroupBackup struct { // The OCID of the compartment that contains the volume group backup. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // A user-friendly name for the volume group backup. Does not have to be unique and it's changeable. Avoid entering confidential information. + // A user-friendly name for the volume group backup. Does not have + // to be unique and it's changeable. Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the volume group backup. @@ -53,6 +54,13 @@ type VolumeGroupBackup struct { // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // The date and time the volume group backup will expire and be automatically deleted. + // Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). This parameter will always be present for volume group + // backups that were created automatically by a scheduled-backup policy. For manually + // created volume group backups, it will be absent, signifying that there is no expiration + // time and the backup will last forever until manually deleted. + ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"` + // Free-form tags for this resource. Each tag is a simple key-value pair with no // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` @@ -64,21 +72,28 @@ type VolumeGroupBackup struct { // The aggregate size of the volume group backup, in GBs. SizeInGBs *int64 `mandatory:"false" json:"sizeInGBs"` + // Specifies whether the volume group backup was created manually, or via scheduled + // backup policy. + SourceType VolumeGroupBackupSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` + // The date and time the request to create the volume group backup was received. Format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). TimeRequestReceived *common.SDKTime `mandatory:"false" json:"timeRequestReceived"` // The aggregate size used by the volume group backup, in MBs. - // It is typically smaller than sizeInMBs, depending on the space - // consumed on the volume group and whether the volume backup is full or incremental. + // It is typically smaller than sizeInMBs, depending on the spaceconsumed + // on the volume group and whether the volume backup is full or incremental. UniqueSizeInMbs *int64 `mandatory:"false" json:"uniqueSizeInMbs"` // The aggregate size used by the volume group backup, in GBs. - // It is typically smaller than sizeInGBs, depending on the space - // consumed on the volume group and whether the volume backup is full or incremental. + // It is typically smaller than sizeInGBs, depending on the spaceconsumed + // on the volume group and whether the volume backup is full or incremental. UniqueSizeInGbs *int64 `mandatory:"false" json:"uniqueSizeInGbs"` // The OCID of the source volume group. VolumeGroupId *string `mandatory:"false" json:"volumeGroupId"` + + // The OCID of the source volume group backup. + SourceVolumeGroupBackupId *string `mandatory:"false" json:"sourceVolumeGroupBackupId"` } func (m VolumeGroupBackup) String() string { @@ -118,6 +133,29 @@ func GetVolumeGroupBackupLifecycleStateEnumValues() []VolumeGroupBackupLifecycle return values } +// VolumeGroupBackupSourceTypeEnum Enum with underlying type: string +type VolumeGroupBackupSourceTypeEnum string + +// Set of constants representing the allowable values for VolumeGroupBackupSourceTypeEnum +const ( + VolumeGroupBackupSourceTypeManual VolumeGroupBackupSourceTypeEnum = "MANUAL" + VolumeGroupBackupSourceTypeScheduled VolumeGroupBackupSourceTypeEnum = "SCHEDULED" +) + +var mappingVolumeGroupBackupSourceType = map[string]VolumeGroupBackupSourceTypeEnum{ + "MANUAL": VolumeGroupBackupSourceTypeManual, + "SCHEDULED": VolumeGroupBackupSourceTypeScheduled, +} + +// GetVolumeGroupBackupSourceTypeEnumValues Enumerates the set of values for VolumeGroupBackupSourceTypeEnum +func GetVolumeGroupBackupSourceTypeEnumValues() []VolumeGroupBackupSourceTypeEnum { + values := make([]VolumeGroupBackupSourceTypeEnum, 0) + for _, v := range mappingVolumeGroupBackupSourceType { + values = append(values, v) + } + return values +} + // VolumeGroupBackupTypeEnum Enum with underlying type: string type VolumeGroupBackupTypeEnum string diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_details.go similarity index 95% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_details.go index d1eb5baae..932b3df33 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeGroupSourceDetails Specifies the source for a volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volume_group_backup_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volume_group_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volume_group_backup_details.go index e61dd94c3..56e0a2023 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeGroupSourceFromVolumeGroupBackupDetails Specifies the volume group backup to restore from. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volume_group_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volume_group_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volume_group_details.go index fdaa30de0..09539e907 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volume_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeGroupSourceFromVolumeGroupDetails Specifies the volume group to clone from. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volumes_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volumes_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volumes_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volumes_details.go index 0c0ef885b..1e4b925f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_group_source_from_volumes_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_group_source_from_volumes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeGroupSourceFromVolumesDetails Specifies the volumes in a volume group. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_kms_key.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_kms_key.go similarity index 91% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_kms_key.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_kms_key.go index 5a5278102..4d9621686 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_kms_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_kms_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -14,7 +14,7 @@ package core import ( - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeKmsKey The Key Management master encryption key associated with this volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_details.go similarity index 94% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_source_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_details.go index 995ae92a7..6d6d139f1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeSourceDetails The representation of VolumeSourceDetails diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_source_from_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_from_volume_backup_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_source_from_volume_backup_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_from_volume_backup_details.go index 02d978203..e05df6144 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_source_from_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_from_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeSourceFromVolumeBackupDetails Specifies the volume backup. diff --git a/vendor/github.com/oracle/oci-go-sdk/core/volume_source_from_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_from_volume_details.go similarity index 93% rename from vendor/github.com/oracle/oci-go-sdk/core/volume_source_from_volume_details.go rename to vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_from_volume_details.go index b3f693723..8d1c3fd73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/core/volume_source_from_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/volume_source_from_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ package core import ( "encoding/json" - "github.com/oracle/oci-go-sdk/common" + "github.com/oracle/oci-go-sdk/v36/common" ) // VolumeSourceFromVolumeDetails Specifies the source volume. diff --git a/vendor/github.com/oracle/oci-go-sdk/v36/core/withdraw_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v36/core/withdraw_byoip_range_request_response.go new file mode 100644 index 000000000..4d68cea29 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v36/core/withdraw_byoip_range_request_response.go @@ -0,0 +1,63 @@ +// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "github.com/oracle/oci-go-sdk/v36/common" + "net/http" +) + +// WithdrawByoipRangeRequest wrapper for the WithdrawByoipRange operation +// +// See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRangeRequest. +type WithdrawByoipRangeRequest struct { + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request WithdrawByoipRangeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request WithdrawByoipRangeRequest) HTTPRequest(method, path string) (http.Request, error) { + return common.MakeDefaultHTTPRequestWithTaggedStruct(method, path, request) +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request WithdrawByoipRangeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// WithdrawByoipRangeResponse wrapper for the WithdrawByoipRange operation +type WithdrawByoipRangeResponse 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"` +} + +func (response WithdrawByoipRangeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response WithdrawByoipRangeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/modules.txt b/vendor/modules.txt index f5a55521e..f7a0f0ffb 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -570,6 +570,8 @@ github.com/mitchellh/go-testing-interface github.com/mitchellh/go-vnc # github.com/mitchellh/go-wordwrap v1.0.0 github.com/mitchellh/go-wordwrap +# github.com/mitchellh/gox v1.0.1 +## explicit # github.com/mitchellh/iochan v1.0.0 github.com/mitchellh/iochan # github.com/mitchellh/mapstructure v1.4.0 @@ -593,11 +595,13 @@ github.com/nu7hatch/gouuid # github.com/olekukonko/tablewriter v0.0.0-20180105111133-96aac992fc8b ## explicit github.com/olekukonko/tablewriter -# github.com/oracle/oci-go-sdk v24.3.0+incompatible +# github.com/oracle/oci-go-sdk v18.0.0+incompatible ## explicit -github.com/oracle/oci-go-sdk/common -github.com/oracle/oci-go-sdk/common/auth -github.com/oracle/oci-go-sdk/core +# github.com/oracle/oci-go-sdk/v36 v36.2.0 +## explicit +github.com/oracle/oci-go-sdk/v36/common +github.com/oracle/oci-go-sdk/v36/common/auth +github.com/oracle/oci-go-sdk/v36/core # github.com/outscale/osc-sdk-go/osc v0.0.0-20200722135656-d654809d0699 ## explicit github.com/outscale/osc-sdk-go/osc